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

Omit XML declaration and document type when importing office file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4 M2, 2.3.2
    • 2.3.1, 2.4 M1
    • WYSIWYG Editor
    • None
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: