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
Click on any element in the editor that is not a link.
See the error in console.
The current behavior
TypeError: Cannot read properties of null (reading 'href')
at LexicalClickableLinkPlugin.dev.js:68:21
at beginUpdate (Lexical.dev.js:8013:5)
at updateEditor (Lexical.dev.js:8104:5)
at LexicalEditor.update (Lexical.dev.js:10810:5)
at HTMLDivElement.onClick (LexicalClickableLinkPlugin.dev.js:57:21)
The expected behavior
No error in console
The text was updated successfully, but these errors were encountered:
vimutti77
changed the title
Bug: Got error 'Cannot read property of null' when using 'LexicalClickableLinkPlugin' and clicking on a non-link element
Bug: Got error Cannot read property of null when using LexicalClickableLinkPlugin and clicking on a non-link element
May 18, 2023
Got error 'Cannot read property of null' when using 'LexicalClickableLinkPlugin' and clicking on a non-link element
Lexical version: 0.10.0
Steps To Reproduce
The current behavior
The expected behavior
No error in console
The text was updated successfully, but these errors were encountered: