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

CKEditor: Enable Paragraph format plugin

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Open contacts-v8.yaml definition
      2. Edit richtext field, add source: true as example below
      3. Go to contacts-v8 app and edit richtext in Source mode by clicking Source button on toolbar
      4.  Add the following: <h1> Hey Diddle Diddle </h1>, then switch to Normal mode
      5. Observe the content format
      6. Switch to Source mode again

       Example

      richtext:
        label: rich text
        $type: richTextField
        source: true

       

      Expected results

      Content is formatted to h1 style

      Actual results

      When switching Normal mode to Source mode, the <h1> tag had been changed to <p> tag

      Development notes:

      Enable Format plugin (https://ckeditor.com/docs/ckeditor4/latest/features/format.html)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              thien.quach Quach Hao Thien
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD