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

When pasting into ATTO, class names are stripped out

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.2
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto)
    • Labels:
      None

      Description

      When a page HTML contains a class on a <p> <table> etc, pasting plain text from notepad etc into the ATTO editor, causes all the class names to be stripped out of the html.

      <p class="myClassName">Lorem dolar sit amet</p>

      Then paste plain text using WYSIWYG. Looking at the HTML now shows the class was stripped from the <p> tag.

       

      <p>Lorem dolar sit amet</p>
      <p>New pasted text</p>
      

       

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jsavage Jeff Savage
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: