Creating bullet list with inline formatting prevents cursor positioning in bullet

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 6.14.0
    • Affects Version/s: 6.0.0-m42
    • Environment:
    • Severity 3 - Minor

      A video is attached showing the bug.

      Steps to reproduce:

      • Edit a page in Safari
      • Find some bold text (was inside a table, not sure if necessary or not)
      • Hit enter at the end of the text. In some cases, the new paragraph is also bold.
      • In the case where the new paragraph is bold, insert a bulleted list with the keyboard (Shift+Cmd+B)

      Expected behaviour:

      • New bulleted list appears. Doesn't really matter if the content is bold or not.

      Actual behaviour:

      • It is not possible to position the cursor in the new list, and cursor jumps down to the following text.

      The markup created by the editor is <ul><li><strong></strong></li></ul>, with no content inside the <strong> tag. This seems to prevent cursor placement either with the mouse or keyboard.

      To me this actually looks like two independent bugs:

      • inline formatting isn't cleared when hitting enter at the end of a paragraph in Safari
      • when creating a bullet list in an empty paragraph with inline formatting, the inline formatting in the li prevents cursor positioning.

      I could fix this locally by inserting a non-breaking space into the <strong> element with the inspector.

            Assignee:
            Unassigned
            Reporter:
            Matt Ryall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: