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

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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