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
Additional context
After investigating the code I came to the conclusion that the linkNode.setTitle(title) in updateLink$ method might not work correctly.
@petyosi thank you for the answer. The video shows that the link node inside the editor (blue highlighted "One") is not updated when I change the title in the dialog input.
First I changed it to "Two", I closed the dialog, and the link node in the editor still shows "One".
Then I changed to "three" - and the link note still shows "One".
Got it. The link title is used for the contents of the link inserted only initially. Afterwards, it won't change the contents - just the title attribute. There's an issue somewhere that discussed this in further depth.
The closest bug is #443, but I am not sure if it is 100% the same issue.
Describe the bug
The link title node (the link's anchor text in the editor after adding the link) is not updated after the link edit.
Reproduction
Steps to reproduce the behavior:
Expected behavior
The link node displayed in the editor should be updated in the new title.
Screenshots
Screen.Recording.2024-11-26.at.10.59.30.mov
The recording comes from the https://mdxeditor.dev/editor/demo.
MacOs on Chrome.
Additional context
After investigating the code I came to the conclusion that the
linkNode.setTitle(title)
inupdateLink$
method might not work correctly.The text was updated successfully, but these errors were encountered: