Description
Allow multiple user to edit different sections of the same page, simulatenously.
As a bonus, this editor could be made inline:
- click the [Edit] link next to a section header
- the section is replaced by an inline editor (plain, or other)
- when done, the editor is replaced by the rendered section.
Need to support enhanced locking based on sections of a page.
This feature is AJAX based:
- AJAX call to LOCK a page section and open inline the editor
POST {"id":nnn,"method":"edit.lock","params":[section-id]} RETURN section-markup
- AJAX call to SAVE and keep the page Lock (auto save – see JSPWIKI-436]
POST {"id":nnn,"method":"edit.autosave","params":[section-id--or-lock-key,section-markup]}
- AJAX call to SAVE and unlock the section.
This should return a rendered page section.
POST {"id":nnn,"method":"edit.save","params":[section-id--or-lock-key,section-markup]}
- AJAX call to cancel and unlock the section.
POST {"id":nnn,"method":"edit.cancel","params":[section-id--or-lock-key]}
Attachments
Issue Links
- is related to
-
JSPWIKI-436 Auto-save during editing
- Open
-
JSPWIKI-107 Enhancement to page editing on the client's side to minimise the "do not edit" time
- Open