Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save command #158

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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.

None yet

1 participant