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

Avoid dialog closing when Enter key is pressed on creditor while in "Source" mode

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • None
    • dialogs
    • None

      Steps to reproduce

      1.  Set to true the "Source" option for the RichText on the config-magnolia.js file
      2.  Modify a component (e.g, TextandImage) for use as configJsFile the /.resources/ckeditor/config-magnolia.js file
      3. Create the component, Use the Source option and , on the textarea, press Enter key
      4. Check the dialog is closed

      Expected results

      Pressing the Enter key doesn't close the dialog

      Actual results

      Pressing the Enter key closes the dialog

      Workaround

      N/A

      Development notes

      even trying to override the onkeypress function for this textarea, the dialog still closes

        Acceptance criteria

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD