Bind Enter to splitBlockKeepMarks instead of splitBlock #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As it is by far the more common situation in wysiwyg editors that marks persist after pressing enter, it makes sense for this to be the default in ProseMirror. A keymap can be used to revert Enter to use splitBlock instead.
I disagree, as I described in our earlier discussion. So nope, not going to happen. It's easy enough to rebind, since most real-world setups will be setting up their own custom keymap anyway.
Pull request closed