Warning: Use of undefined constant wp_cumulus_widget - assumed 'wp_cumulus_widget' (this will throw an Error in a future version of PHP) in /var/www/poil.dk/public_html/s/wp-content/plugins/wp-cumulus/wp-cumulus.php on line 375

Warning: session_start() [function.session-start]: Cannot start session when headers already sent in /var/www/poil.dk/public_html/s/wp-content/plugins/enhanced-wordpress-contactform/wp-contactform.php on line 276
Inlineeditor: An inline editor for dokuwiki – Simon-Shlomo Poil


To support easy editing of NBTwiki pages, I have implemented an inline editor. The inline editor appears if the user double click the text; like this:

Clicking the green button will save text changes. And clicking the red button will discard the changes.

The editor in action:

 

Tech stuff:

The editor is builded on code from the quickedit plugin. Compared with the quickedit plugin, the inlineeditor supports locking/unlocking of pages, an editor toolbar, and better security.

The editor is build using javascript, php – and the updates are done using AJAX.

You can find the inlineeditor plugin here: http://www.dokuwiki.org/plugin:inlineeditor

 


 

Inlineeditor: An inline editor for dokuwiki
Tagged on: