Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-102

Article editor UI cannot handle FieldSetBlockDefinition with RichTextFieldDefinition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • 1.0.3
    • None
    • article-editor-1.0.3-SNAPSHOT-tomcat-bundle.zip
      (taken from afp fileserver)

    Description

      Article editor UI cannot handle FieldSetBlockDefinition with RichTextFieldDefinition

      According to the definition class FieldSetBlockDefinition, it should be possible to add a RichTextFieldDefinition to the fields list.
      However, the article editor fails to properly "start" the richText editor, the value of the field cannot be changed, if you add a block with a RichTextFieldDefinition.

      example block definition.

      class: info.magnolia.editor.content.block.stock.FieldSetBlockDefinition
      templateId: block-examples:blocks/richquote
      fields:
        quotation:
          class: info.magnolia.ui.form.field.definition.RichTextFieldDefinition
        citedPerson:
          class: info.magnolia.ui.form.field.definition.TextFieldDefinition
      

      The light-module block-examples (on git) contains such a block for testing reasons (blockname="richquote").

      See screenshot about how the block with the richtextfield looks like.

      Interestingly, after restarting the bundle, the Article editor shows the richtextfield appropriately and the field is editable. But if you then add another block of this type, the 2nd won't work.
      (shrug)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD