-
Notifications
You must be signed in to change notification settings - Fork 280
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
ColorButton with Alloy Editor: Cannot read property 'focus' of undefined #737
Comments
Thanks a lot @jaffnae, that's extremely useful!! I've scheduled this issue for our next milestone and will be taking a look shortly. |
Thanks for that. Can I ask if you have any timelines as to when you'll have more info on this? |
antoniopol06
pushed a commit
to antoniopol06/alloy-editor
that referenced
this issue
May 11, 2017
antoniopol06
pushed a commit
to antoniopol06/alloy-editor
that referenced
this issue
May 18, 2017
antoniopol06
pushed a commit
to antoniopol06/alloy-editor
that referenced
this issue
May 18, 2017
jbalsas
added a commit
that referenced
this issue
May 18, 2017
jbalsas
added a commit
that referenced
this issue
May 18, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use the colorbutton plugin. I have added all the dependencies as described in the documentation. I can see the Text Colour icon show up in the tool bar and am able to edit the font colours. However as soon as I edit the color, an error gets thrown in my console: "Uncaught TypeError: Cannot read property 'focus' of undefined"
The error is quite strange because I basically minimised the code to a stand-alone page which contains no additional code other than what's been specified on the page I linked above. I've also ensured I have all the dependencies in the Plugin folder (floatpanel, panel, button, panelbutton and colorbutton).
Here's the stand-alone page that I'm hosting specifically on Heroku. You can highlight a word and change it's color (and then observe the JS error getting thrown in the inspector): https://tempapp53.herokuapp.com/
The text was updated successfully, but these errors were encountered: