Table of Contents
Auto-Indent Control Plugin
Compatible with DokuWiki
2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Download and Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Changelog:
- New version 2012-08-09 (2012-08-09 18:06)
- Add rtl style (2012-08-09 18:04)
- Make compatible with Angua (2012-08-09 13:34)
- Fix to follow my coding standards (2012-08-09 12:51)
- Make preparations for Angua (2012-08-09 12:45)
Overview
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.
Configuration
The following options can be configured through the 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 Issue Tracker to send your feedback.