Skip to content

Conversation

@solarkraft
Copy link
Contributor

@solarkraft solarkraft commented Oct 22, 2021

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.

@solarkraft
Copy link
Contributor Author

@splitbrain or @annda, would you mind having a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant