ProseMirror / prosemirror-markdown

ProseMirror Markdown integration
https://prosemirror.net
MIT License
345 stars 81 forks source link

Do not override user defined softbreak token handler #21

Closed d4rkr00t closed 6 years ago

d4rkr00t commented 6 years ago

Currently tokenHandles unconditionally override softbreak node handlers, meaning that if I add a rule for softbreaks to be replaced with something else it won't work because of that override.

marijnh commented 6 years ago

That makes sense, thanks for adding a test too!

d4rkr00t commented 6 years ago

Thanks :)