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

Multiple span tags when a word is bolded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.3, 3.3, 3.7.5, 3.8.2, 3.9
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto)
    • Labels:
      None
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

      Description

      Every time an user selects a word inside the editor an bolded and unbolded it, the atto editor is creating additional spans around the word, so its polluting constantly the DOM with additional spans. In my opinion this is not a good behaviour of the editor.

      I have attached an image showing the result of the editor after some bold-unbold iterations.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            guillalva06 Guillermo Leon Alvarez Salamanca
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: