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

CSS Junk when copying text from Libreoffice Writer to Atto Text Editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.8.2
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      As discussed in https://moodle.org/mod/forum/discuss.php?d=278682, while copying text from Libreoffice Writer to Atto text editor, CSS code is getting displayed on top.

      Here are more details/steps:
      OS: Ubuntu 14.04.1 LTS
      Moodle: 2.8.2+

      Step 1: Insert/Add some data in Libreoffice Writer.
      Step 2: Save file (either in .docx, .odt) and close.
      Step 3: Reopen file.
      Step 4: Now, copy and paste content from that Libreoffice file to Atto text editor in Moodle (any activity or resource can be used which have atto text editor).
      Step 5: Click save and display.
      Step 6: CSS junk will appear at the top.

      Above problem however does not exist when copying & pasting data from webpage to Atto Text editor.

      Bug also successfully reproduced on demo.moodle.net

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              emerrill Eric Merrill
              Reporter:
              pss123 Prashant Singh
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: