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

ReadOnly RichTextField still accepts new lines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.13, 6.2.27
    • dialogs

    Description

      Steps to reproduce

      1. Create a dialog that incorporates a richTextField where readOnly = true.
      2. Open said dialog and attempt to edit the field. You cannot enter any characters and any preset information is uneditable but new lines can be inserted.
      3. (See attached zip archive for an example content app with a 'preview' action)

      Expected results

      1. As the field is uneditable, it should not allow users to think they are making changes.

      Actual results

      1. The user can insert new lines in the body of text.
      2. Note: On using a save action, the new lines are not persisted.

      Development notes

      1. This does not appear in the CKEditor 4 issues list. See: https://github.com/ckeditor/ckeditor4/issues?page=1&q=is%3Aissue+readonly

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                chris.jennings Chris Jennings
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 3h
                      3h