Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45948

Atto leaves meaningless span tag around text when formatting removed.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.7, 3.7
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_37_STABLE

      Description

      When you remove formatting from text in Atto, it wraps the selection in a meaningless span tag with no class or id, leaving some messy HTML.

      1. Create some text in an Atto editor
      2. Highlight a phrase and select Bold
      3. Unselect Bold
      4. Examine html with the Show HTML button

      The text now includes various span tags littering the HTML

      Tested in Chrome 35.0.1916.114 on Mac and Safari 5.1.10 on Mac

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: