Currently there is no setting options to disable automatic
indentation, however DokuWiki has a "userscript" feature.
To disable it, save this script as "conf/userscript.js".
/**
* Disables an automatic list indentation feature
*/
addInitEvent(function() {
var field = $('wiki__text');
if (!field) return;
var events = field.events;
if (!events) return;
for (var $$guid in events.keydown) {
if (events.keydown[$$guid].toString().match(/^function\s+keyHandler\b/)) {
removeEvent(field, 'keydown', events.keydown[$$guid]);
}
}
});
Usage Notice:
* Better be aware that you're using a "quick hack".
* This script may only be valid for DokuWiki 2009-12-25.
Since the "conf/userscript.js" is for your own special
functionalities or temporal workarounds, you must
reevaluate the script when upgrading your DokuWiki
installation.
* This script removes any events using keyHandler() function
on the 'wiki__text' id in your DokuWiki pages. That means,
if your DokuWiki uses such event for other than automatic
indentation, this script may break some functionalities.