This adds the ability to save the document using Ctrl/Cmd+Enter. This combination is already bound to hard_break:insert (hence the chaining), but it has Shift-Enter as well, so no functionality is lost.
I couldn't find a better way to save the document than selecting for the button in the DOM, but would happily change it to a better way if shown one.
Whether the document should be saveable without changes is debatable. The common implementations seem to differ and Dokuwiki already handles this case without creating a new revision.
This adds the ability to save the document using Ctrl/Cmd+Enter. This combination is already bound to hard_break:insert (hence the chaining), but it has Shift-Enter as well, so no functionality is lost.
I couldn't find a better way to save the document than selecting for the button in the DOM, but would happily change it to a better way if shown one.
Whether the document should be saveable without changes is debatable. The common implementations seem to differ and Dokuwiki already handles this case without creating a new revision.