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

Richtexteditor is not initialized when added dynamically (multi value field, stories editor)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.6.10, 5.7.3, 6.1
    • None
    • None
    • None
    • Yes
    • Yes
    • Features 10
    • 5

      Timebox for investigation.

      If you add a block with a ckeditor field defined like this:

      class: info.magnolia.editor.block.stock.FieldSetBlockDefinition
      label: References
      fields:
        text:
          i18n: true
          images: true
          label: Text
          source: true
          tables: true
          class: info.magnolia.ui.form.field.definition.RichTextFieldDefinition
      

      You will see that you don't get it working if you click first time on the story to edit it. You need to refresh the browser that the editor loads as expected. Sometimes it's necessary to use a defined RichtextField instead of the extend Richtextfield. You probably don't want that magnolia seperates paragraphs into differenct component.

        Acceptance criteria

          1. qa.png
            qa.png
            98 kB
          2. not-supported-RichTextFieldDefinition-in-content-editor.png
            not-supported-RichTextFieldDefinition-in-content-editor.png
            501 kB
          3. CkeInitBug.png
            CkeInitBug.png
            19 kB
          4. bug.jpg
            bug.jpg
            251 kB

              jsimak Jaroslav Simak
              marvink2 Marvin Kerkhoff
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.25d
                    0.25d