Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3052

CKEditor can be loaded before registering external plugins

    XMLWordPrintable

Details

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD