-
New Feature
-
Resolution: Unresolved
-
Normal
-
None
-
4.17.1.0
-
None
User Story
As a developer, I want to use ZK's embedded feature to include a ZK page with a CKEDITOR instance in a containing website, which may be developed with other frameworks.
Details
Since the recent update, ZK's CKEDITOR plugin registers its contructor on jq instead of $, which is already a step in the right direction.
If the outer framework already includes CKEDITOR, there is a race condition regarding which CKEDITOR library has the last say. (Both are loaded in window.CKEDITOR)
However, both editor library will register their own features (such as location for config file, location for language pack files, etc.), which causes errors down the line
ex calling [rootURL1]/path2/path2/de.js for german translation file.
Namespace / closure proofing the ZK CKEDITOR might be difficult though, as per discussion here:
https://stackoverflow.com/questions/46601249/multiple-versions-of-ckeditor-on-same-page
If that's not a workable option, we should place a warning on the ZK embedded docs / CKEZ docs to indicate that loading multiple CKEDITOR versions may lead to issues.