====== SaveAndEdit Plugin ====== ---- plugin ---- description: Adds a checkbox to the edit mode in order to continue editing after the page has been saved. author : Michael Hamann email : michael@content-space.de type : action lastupdate : 2024-05-07 compatible : Greebo, Hogfather depends : conflicts : similar : tags : editing downloadurl: https://github.com/michitux/dokuwiki-plugin-saveandedit/zipball/master bugtracker : https://github.com/michitux/dokuwiki-plugin-saveandedit/issues sourcerepo : https://github.com/michitux/dokuwiki-plugin-saveandedit/ donationurl: ---- Have you ever worked on a page for a long time and wanted to save the content you have but still continue editing after saving and hated that you had to click again "Edit" after saving and wait another time for the page to load? Then this plugin is for you! It allows you to change that behavior by checking a simple checkbox below the edit area. When you press save after checking that checkbox, you won't be redirected to the page but instead the editor will load again and you can continue editing. ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Usage ===== This plugin adds a checkbox that is shown below the editor, if you check it the edit form will reappear when you press "Save" after saving the page instead of redirecting to the page itself. This is useful if you are working on a page for a long time and want to save intermediate states your work. ===== Configuration and Settings ===== There are currently no configuration settings for this plugin. You can translate the plugin by copying lang/en/lang.php to lang/YOUR_LANGUAGE/lang.php and change the one line where the English text is set. Just provide that line somewhere below, send me an email (see above for the address) or even create a fork of the repository linked above and send me a patch or a pull request on GitHub. ===== Development ===== Feel free to provide improvements of the code as patch or pull request on GitHub. Bugs and feature requests should be reported on GitHub. === Change Log === {{rss>https://github.com/michitux/dokuwiki-plugin-saveandedit/commits/master.atom date}} === Known Bugs and Issues === * Before DokuWiki release "Greebo" (Spring 2018), there were known problems with [[blogtng]]: The data you entered for blogtng hadn't been saved when you checked the "Continue editing..." checkbox. This has been fixed with version 2018-05-05 for DokuWiki release "Greebo", so please make sure you have updated DokuWiki and both plugins. If this is not possible, make sure you save without the "Continue editing..." option before you leave the editing screen when you have changed the data for blogtng (e.g. don't press cancel after saving with the "Continue editing..." option). * Please note that because the standard save function of DokuWiki is executed the lock of the page is released and afterwards regained. This might fail if at the same moment someone else is trying to edit the page, then you will see the message that the page is locked. I currently don't see any reason to change this as that moment should be a fraction of a second long. Please report a bug if you see this happen. * This plugin does not work in all versions of DokuWiki that were released before 2008-08-23 because back then the redirect has been done at another place. === ToDo/Wish List === * Save using Ajax so the editing isn't interrupted at all (and provide a keyboard shortcut for that) ===== FAQ ===== //None so far.// ===== Discussion ===== Please report bugs and feature request in the issue tracker on GitHub linked above. Feel free to leave comments below, if there should be too many I might either remove or summarize them in the FAQ or move them to an external discussion page.