Closed buddh4 closed 4 years ago
This was a mismatch between that ProseMirror's schema allowed and what the Markdown parser accepted—ProseMirror allowed hard breaks in title nodes, but CommonMark apparently forbids that. I've adjusted the schema in attached patch.
Works great, thanks!
Great, published as 1.4.5
When adding a hard break
Ctrl+Enter
within a headline the markdown result is:Which will be rendered as:
My workaround was to use the
splitBlock
command in theCtrl+Enter
keymap if the selection resides within a headline.