[MGNLUI-3052] CKEditor can be loaded before registering external plugins Created: 09/Jul/14  Updated: 09/Oct/14  Resolved: 10/Jul/14

Status: Closed
Project: Magnolia UI
Component/s: widgets
Affects Version/s: 5.2, 5.3
Fix Version/s: 5.2.7, 5.3.1

Type: Bug Priority: Major
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: ckeditor, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-1947 RichTextFieldFactory should support a... Closed
dependency
relation
is related to MGNLUI-2371 CKEditor should be implemented using ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

CKEditor can be loaded before registering external plugins.

When this is the case, plugins are loaded from the default lookup path for CKEditor plugins, i.e. relative to ckeditor.js, while there is no such plugin there.

Hence this kind of warning in console

Jun 18, 2014 11:46:50 AM com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN
Information: Requested resource [/VAADIN/widgetsets/info.magnolia.ui.vaadin.gwt.MagnoliaWidgetSet/ckeditor/plugins/magnolialink/plugin.js] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.

This typically does not happen at first load because by the time the CKEditor library is loaded, first updateFromUIDL has already completed, and populated the list of external plugins.

On subsequent occasions, it is not granted that external plugins are populated before loading the editor.


Generated at Mon Feb 12 09:02:45 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.