[dokuwiki] New PR: Add event when saving drafts and make dw_locktimer reusable by plugin JS

  • From: "micgro42" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 6 Jun 2018 17:19:29 +0200 (CEST)

Hi,

micgro42 opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/2413:

Some plugins that completely replace the editor may still want to have their 
edit-progress be saved as drafts by the default DokuWiki draft-saving process.

- refactor the server-side draft saving to happen only at a single place and 
trigger a new event: `COMMON_DRAFT_SAVE`
- extend the the `dw_locktimer` to allow posting further fields to the server 
when saving drafts in the background while editing
- move `#draft__status` out of the toolbar `<div>` so we can hide the toolbar 
without hiding the draft status

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

010c85e0-699d-11e8-830d-e541463bc50d


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: Add event when saving drafts and make dw_locktimer reusable by plugin JS - micgro42