Skip to content

How to get custom toolbar button working? #668

Closed Answered by Thor-x86
Thor-x86 asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind, the lexical package between my side (v0.22.1) and @mdx-editor/editor side (v0.17.1) are not match. To fix this, I just have to run this command.

pnpm remove lexical
pnpm add [email protected]

I think I need to pull request to expose the commands. So, any users who need to create a custom toolbar button don't need to check the version over and over again.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Thor-x86
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