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

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

      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.

        Acceptance criteria

              fgrilli Federico Grilli
              aboehler Annick Boehler
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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