You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be a simple flag: markdownShortcutsPlugin({insertNodesOnEnter: true}).
I tried implementing it myself by copying the plugin, but with no success, as I don't know why lexical is not picking the regexp up correctly for markdown transformers when pressing Enter, but still requires a space to be inserted.
An example can be seen in #714 when inserting a thematic break with ---.
(PS. I'd be glad to keep in touch. Feel free to send me an email!)
The text was updated successfully, but these errors were encountered:
To be honest, I have no idea how to do that either. That part of the markdown shortcuts implementation is quite convoluted. If you want to help, you can search or ask for direction in Lexical's discord. The team does their best to keep things organized, yet I often struggle to find information in there.
I've found this discussion, but I found no later development.
#290 (comment)
It could be a simple flag:
markdownShortcutsPlugin({insertNodesOnEnter: true})
.I tried implementing it myself by copying the plugin, but with no success, as I don't know why lexical is not picking the
regexp
up correctly for markdown transformers when pressing Enter, but still requires a space to be inserted.An example can be seen in #714 when inserting a thematic break with
---
.(PS. I'd be glad to keep in touch. Feel free to send me an email!)
The text was updated successfully, but these errors were encountered: