DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:autoindentcontrol

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
2012-08-09
Provides
Action
Repository
Source

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

Download and install the plugin using the Plugin Manager using the following URL.

:!: Using the Plugin Manager is the recommended way. If you are manually installing, you need to rename the extracted directory to “autoindentcontrol”. In that case, refer to Plugins on how to install plugins manually.

Changelog:

Overview

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.

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.

plugin/autoindentcontrol.txt · Last modified: 2016-01-06 22:17 by Aleksandr