It's better when it's simple

User Tools

Site Tools


Auto-Indent Control Plugin

Compatible with DokuWiki

2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25

plugin Provides a toggle switch to control auto-indent function in edit window

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with editing, javascript, keyboard

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.



Toggle Switch Image

An auto-indent feature which helps you to type wikitexts such as lists and preformatted text has been introduced to DokuWiki 2009-12-25 “Lemming”. However there are some cases where you might want to disable the feature because of several reasons (browser issues, one's way of typing1), etc.).

This plugin provides a toggle switch to turn ON/OFF the auto-indent feature in the edit window.


The following options can be configured through the Configuration Manager.


This option sets the default behavior of the auto-indent feature in the edit window (“Enable” or “Disable”). This setting is used when users first enter the edit window or if administrators have set the show_toggle_switch option to off.

  • Type: Boolean
  • Default: 0 (Labeled: “Disable”)


Enabling this option shows a toggle switch to turn ON/OFF the auto indent feature in the right bottom of the edit window. When a user presses the switch, the current selected value is saved in a cookie and maintained between visits. If this option is disabled, the default_behavior value is used regardless of the cookie.

  • Type: Boolean
  • Default: 1 (Checked)


Any feedback is welcome. Please use the Issue Tracker to send your feedback.

plugin/autoindentcontrol.txt · Last modified: 2018-05-30 20:47 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki