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

When editing source in basic content element "enter" automatically saves without giving new line break

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.9
    • 6.2.6, 6.2.8
    • None

    Description

      When editing source in basic content element (see screenshot) if you try to add a line break by hitting 'enter' key, it doesn't give the new line but automatically saves it. Before it was ok to use and didn't save just after hitting 'save changes'.

      Do we know why? Can we fix this? 

      Steps to reproduce

      • Make available Source option in CKEditor for text and image mtk component (for example by configuring configJsFile=/.resources/ckeditor/config-default.js
      • Go to Pages, add a new page with the Basic mtk template. Create a new Text and Image component
      • Add some text, click on Source and try to add a line break by hitting 'enter' key

      Current result

      Dialog is saved and closed.

      Expected result

      A line break is added to the Rich text field content.

      Workaround

      N/A

      Dev notes

      Used to work in 5.7. Not working in any of the 6.2 versions.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                aboehler Annick Boehler
                Votes:
                1 Vote for this issue
                Watchers:
                3 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 - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 0.5h
                      0.5h