Skip to content

How to correctly use $toggleLink in a custom Link plugin #6390

Closed Answered by section14
section14 asked this question in Q&A
Discussion options

You must be logged in to vote

Answering my own question here. The issue ended up being a version mismatch between lexical and @lexical/link. lexical was at 0.16.0, and @lexical/link was at 0.16.1. Which caused @lexical/link to create it's own node_modules/lexical folder, and a separate instance of LexicalEditor. Which was the root issue here.

Upgrading everything to 0.16.1 fixed my issues.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by section14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant