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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
While this fixes #1893 introduces another unwanted behavior, e.g if there is a link at the end of the content, the link is shown when the cursor is placed at the end. So there should be an additonal check i.e node.isText || (!node.isText && node.marks.length) to make sure when using the text it will not make text as active when cursor is at the end of the link.
6437790
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this fixes #1893 introduces another unwanted behavior, e.g if there is a link at the end of the content, the link is shown when the cursor is placed at the end. So there should be an additonal check i.e
node.isText || (!node.isText && node.marks.length)
to make sure when using the text it will not make text as active when cursor is at the end of the link.