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

Office documents imported in the WYSIWYG editor sometimes fail to render properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 6.0.1
    • WYSIWYG Editor
    • None
    • Unknown
    • N/A
    • N/A

    Description

      This is because the office importer generates pages in xwiki/2.0 syntax.

      When you use the WYSIWYG office import feature, it adds the generated content to the current page being edited (which will be in xwiki/2.1 syntax if you just created it for example) and thus the xwiki/2.0 content is being rendered as xwiki/2.1 content, hence the potential issues.

      The simplest solution is for the WYSIWYG editor's import feature to get the XDOM from the office importer and to render it using a Block Renderer matching the current page's syntax.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: