outline / rich-markdown-editor

The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:
https://www.getoutline.com
BSD 3-Clause "New" or "Revised" License
2.88k stars 590 forks source link

fix: emoji highlight behavior #601

Closed thenanyu closed 2 years ago

thenanyu commented 2 years ago

https://www.loom.com/share/5780df97a76b487f869dedf3a1e90274

I don't know the ins and outs of prosemirror super well, but these simple config changes seem to fix the issue while behaving correctly in other conceivable ways

the best scenario would be for the emoji picker to just write the emoji text and not put a new node type into the mix but I think that would require deeper surgery