====== Auto-Indent Control Plugin ====== ---- plugin ---- description: Provides a toggle switch to control auto-indent function in edit window author : Kazutaka Miyasaka email : kazmiya@gmail.com type : action lastupdate : 2012-08-09 compatible : Lemming, Anteater, Rincewind, Angua depends : conflicts : similar : tags : editing, javascript, keyboard downloadurl: https://github.com/kazmiya/dokuwiki-plugin-autoindentcontrol/zipball/master bugtracker : https://github.com/kazmiya/dokuwiki-plugin-autoindentcontrol/issues sourcerepo : https://github.com/kazmiya/dokuwiki-plugin-autoindentcontrol/ ---- ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. **Changelog**: {{rss>https://github.com/kazmiya/dokuwiki-plugin-autoindentcontrol/commits/master.atom 5 date 1d}} ===== Overview ===== {{http://img52.imageshack.us/img52/2520/autoindentcontrolswitch.png?nolink |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 typing((See [[http://forum.dokuwiki.org/thread/4956]].)), etc.). This plugin provides a toggle switch to turn ON/OFF the auto-indent feature in the edit window. ===== Configuration ===== The following options can be configured through the [[:plugin:config|Configuration Manager]]. ==== default_behavior ==== 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") ==== show_toggle_switch ==== 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) ===== Feedback ===== Any feedback is welcome. Please use the [[https://github.com/kazmiya/dokuwiki-plugin-autoindentcontrol/issues|Issue Tracker]] to send your feedback.