8 Replies Latest reply on Sep 20, 2017 1:45 AM by kautuksahni

    Toolbar for OOTB richtext editor is not showing up in the dialog

    rbotor

      Hi guys,

       

      I tried to add the default OOTB richtext editor to my dialog.

      Here is the xml snippet:

       

      <directiondescription

                  jcr:primaryType="nt:unstructured"

                  sling:resourceType="cq/gui/components/authoring/dialog/richtext"

                  useFixedInlineToolbar="{Boolean}true"

                  fieldLabel="Direction description"

                 name="directiondescription"/>

       

      But the toolbar does not show up when I click the text field.

      Instead, I get this error message in the javascript:

       

      Uncaught TypeError: CUI.rte.ui.cui.DefaultFullScreenAdapter is not a constructor

          at instanceGenerator.initializeEditorKernel (rte.js:42861)

          at instanceGenerator.start (rte.js:43168)

          at processConfig (rte.js:35483)

          at Object.success (rte.js:35512)

          at fire (jquery.js:3143)

          at Object.fireWith [as resolveWith] (jquery.js:3255)

          at done (jquery.js:9309)

          at XMLHttpRequest.callback (jquery.js:9713)

       

      js_error_richtext.jpg

       

       

      Would you know if this needs a hotfix and what hot fix number?

      Thanks!

       

      Racs