Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5249

Omit XML declaration and document type when importing office file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 2.4 M1
    • Fix Version/s: 2.4 M2, 2.3.2
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Currently, when an office file is imported the import service returns to the editor a complete HTML document (with XML header, document type and HTML head) while it should return only the content of the BODY element because the returned HTML replaces the currently selected text (or, if there's no text selected, it is inserted at the caret position). This is already done when pasting office content.

        Attachments

          Activity

            People

            Assignee:
            mflorea Marius Dumitru Florea
            Reporter:
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: