Skip to content

Save command#158

Open
solarkraft wants to merge 2 commits into
cosmocode:masterfrom
fablab-luenen:save-command
Open

Save command#158
solarkraft wants to merge 2 commits into
cosmocode:masterfrom
fablab-luenen:save-command

Conversation

@solarkraft

@solarkraft solarkraft commented Oct 22, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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