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
If a link is on its own line, trying to add text or spaces before or after it produces buggy behavior. The cursor will jump to the next line. Probably related to how the underlying Slate DOM is parsed and converted from MDAST, resulting in invalid node structure. I might investigate adding empty text nodes around them in the normalization phase, or comparing the MDAST and Slate DOM for links on their own lines compared to ones embedded within paragraphs (which don't have this issue) to debug it.
link-space-bug.mp4
Can also see how hitting enter at the end of a link extends the block, so the hover menu thinks it needs to remain open.
The text was updated successfully, but these errors were encountered:
If a link is on its own line, trying to add text or spaces before or after it produces buggy behavior. The cursor will jump to the next line. Probably related to how the underlying Slate DOM is parsed and converted from MDAST, resulting in invalid node structure. I might investigate adding empty text nodes around them in the normalization phase, or comparing the MDAST and Slate DOM for links on their own lines compared to ones embedded within paragraphs (which don't have this issue) to debug it.
link-space-bug.mp4
Can also see how hitting enter at the end of a link extends the block, so the hover menu thinks it needs to remain open.
The text was updated successfully, but these errors were encountered: