Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ediotr.can(...).setColor is not a function #187

Closed
abrenner94 opened this issue Jan 8, 2024 · 1 comment
Closed

ediotr.can(...).setColor is not a function #187

abrenner94 opened this issue Jan 8, 2024 · 1 comment

Comments

@abrenner94
Copy link

Hi,

i have some problems when i try to use MenuButtonTextColor or MenuButtonUnderline.
I am getting the error
Uncaugt TypeError: editor.can(...).setColor is not a function

I have already set up a codesandsbox where you can see the error:

Codesandbox Demo

@sjdemartini
Copy link
Owner

@abrenner94 You need to install the Color extension and pass it in to the editor's extensions array when you use useEditor. Please see #174 (comment)

@sjdemartini sjdemartini closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2024
sjdemartini added a commit that referenced this issue Mar 21, 2024
Since it's common to get questions/"issues" pertaining to this and is
important to help diagnose as well.

e.g. #187,
#174,
#136 (comment)
sjdemartini added a commit that referenced this issue Mar 21, 2024
Since it's common to get questions/"issues" pertaining to this and is
important to help diagnose as well.

e.g. #187,
#174,
#136 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants