Replies: 1 comment 1 reply
-
Just added a new |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please let me know if this question should be moved to the Craftcms repo. It isn't specific to the CKEditor plugin, but I found it while working on the plugin, so I entered it here.
When trying to initialize a custom build for CKEditor, I noticed that the code was being executed before the textarea fields were created (even on the window load event). I assume that Craft and a plugin (Neo) are doing a bunch of JS work as well on load to layout the page. I did hacky things to make it work. I could probably figure a semi better implementation, but it would still be fragile. Are there any better solutions than iterating over the page?
Note: I attempted to load the JS via the asset bundle (I thought maybe that would load last - No idea why it would, but I tried it).
Beta Was this translation helpful? Give feedback.
All reactions