cosmocode / dokuwiki-plugin-prosemirror

A modern WYSIWYG editor for DokuWiki
https://wysiwyg.wiki.cosmocode.de/
54 stars 20 forks source link

Error inserting soft return/ line break #112

Closed s-nairolf closed 3 years ago

s-nairolf commented 4 years ago

Pasting some text, which includes a soft return/ line break (MS Windows + ) results in an error on saving: "Fatal error: Call to undefined method dokuwiki\plugin\prosemirror\parser\HardBreakNode::increaseMark() in C:\Users\Schmuhl\DokuWikiStickProsemirror+Inhalt\dokuwiki\lib\plugins\prosemirror\parser\TextNode.php on line 133". Toggling to classical DW Editor (instead of saving) results in an empty editor window without any error message.

auto-comment[bot] commented 4 years ago

Thank you for opening this issue. CosmoCode is a software company in Berlin providing services for wiki, app and web development. As such we can't guarantee quick responses for issues opened on our Open Source projects. If you require certain features or bugs fixed, you can always hire us. Feel free to contact us at dokuwiki@cosmocode.de for an offer.

s-nairolf commented 3 years ago

As far as I understand, issue was closed by the following commit:

https://github.com/cosmocode/dokuwiki-plugin-prosemirror/commit/9265305f4b59ee7f0212707136307665aac8fb0b

Tested copying "soft return" from MS Word into prosemirror editor: it's working now. Thank you for solving the issue.