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.87k stars 592 forks source link

fix: Code does not highlight until editor is focused #410

Closed tommoor closed 3 years ago

tommoor commented 3 years ago

closes #408 and simplifies the code while we're at it.

aulneau commented 3 years ago

@tommoor just to note, I tested this in my fork and it has not solved the issue I described here https://github.com/outline/rich-markdown-editor/issues/408

tommoor commented 3 years ago

Oh weird, well it fixed a bug that I was seeing for sure - could be yours is slightly different