Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24777

JavaScript error when trying to change the heading level right after adding a heading

    Details

      Description

      Uncaught IndexSizeError: Failed to execute 'extend' on 'Selection': 1 is larger than the given node's length.
      

      the same error happens when trying to remove the heading as well.

        Issue Links

          Activity

          Show
          Damien Pobel (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/386
          Show
          Damien Pobel (Inactive) added a comment - Merged in master in https://github.com/ezsystems/PlatformUIBundle/commit/75c394550bec24c67bb72690e4f3b26779beaf65
          Hide
          Miguel das Neves Jacinto (Inactive) added a comment -

          Issue only reproduced on Chrome. In Firefox the issue does not seem valid as with and without the fix the issue does not happen, a <br> tag is present inside the HTML element even without the fix.

          QA Approved

          Show
          Miguel das Neves Jacinto (Inactive) added a comment - Issue only reproduced on Chrome. In Firefox the issue does not seem valid as with and without the fix the issue does not happen, a <br> tag is present inside the HTML element even without the fix. QA Approved
          Hide
          Damien Pobel (Inactive) added a comment -

          Note: the Chrome vs. Firefox thing was mentioned in the "Environment"

          Show
          Damien Pobel (Inactive) added a comment - Note: the Chrome vs. Firefox thing was mentioned in the "Environment"

            People

            • Assignee:
              Unassigned
              Reporter:
              Damien Pobel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: