dokuwiki-plugin-prosemirror icon indicating copy to clipboard operation
dokuwiki-plugin-prosemirror copied to clipboard

keymap: change to support hard-breaks

Open gyger opened this issue 1 year ago • 1 comments

Allows for Shift-Enter to create a hard break. This follows the implementation of the prosemirror sample. https://github.com/ProseMirror/prosemirror-example-setup/blob/master/src/keymap.ts

gyger avatar May 06 '24 08:05 gyger

This is a different way to implement the support for Shift+Enter for hard breaks in the editor. Similar to PR https://github.com/cosmocode/dokuwiki-plugin-prosemirror/pull/115, but this follows the implementation of the example editor.

gyger avatar May 06 '24 08:05 gyger