-
Notifications
You must be signed in to change notification settings - Fork 25
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
monaco is not defined
on CP CKEditor configs
#150
Comments
monaco is not defined
when defining CKEditor configmonaco is not defined
on CP CKEditor configs
+1 I am experiencing this also on a brand new install of CK Editor. To note: this is a multisite and I am also getting an additional JS error:
Attaching a screenshot of the editor screen |
Hi, thanks for getting in touch! Looks like this is fixed in the latest version of It worked as expected up to and including You can temporarily fix this by requiring (I also raised a PR to update the composer requirement for the CKEditor plugin to skip over versions |
Hi Iwona, thank you for taking a look so quickly, and the explanation! I'll wait for the update, and use your fix if I run into problems 🙂 |
Hi @i-just - I have added |
@realjoshharrison, yes, it would be best to remove it then. |
The fix has already shipped; apparently there's a bug downstream in the Monaco editor package which no longer exposes the global API, but I put in a fix already. You just got unlucky if you ran into this, updating within the window that the regression went unnoticed. The semver in the CK Editor's
...which means it will get updates to the latest version automatically, so you don't need to put it in your project's
...to update to the latest version at any time. |
This issue should be closed, it's already been addressed downstream in |
I didn't tag that release properly, thanks for the heads up. I've re-tagged it, we should be good to go. |
Description
Hi! Small javascript error when defining CKEditor configs in the CP.
monaco is not defined
. This seems to have stopped some features of the config editor fields from working properly, e.g. autocompletion on the JSON mode, and config text field auto-sizing.Steps to reproduce
settings/ckeditor
Additional info
Thanks for taking a look :)
The text was updated successfully, but these errors were encountered: