XWiki Platform
  1. XWiki Platform
  2. XWIKI-13748

Save embedded images that use Data URI as attachments when importing an office document

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 7.4.5
    • Fix Version/s: 8.3, 8.2.2, 7.4.6
    • Component/s: Office
    • Labels:
      None
    • Tests:
      Unit
    • Development Priority:
      Medium
    • Difficulty:
      Medium
    • Documentation:
      N/A
    • Similar issues:

      Description

      When you import an office document using a recent version of Libre/OpenOffice, the images end up in the content of the wiki page embedded using the Data URI scheme. This is not nice as it makes the content hard to read/modify. It would be better to save these images as attachments.

        Activity

        Hide
        Vincent Massol added a comment -

        That would be a nice improvement indeed

        Show
        Vincent Massol added a comment - That would be a nice improvement indeed
        Hide
        Vincent Massol added a comment -

        I misread, I thought the issue was for any copy paste of HTML content in the WYSIWYG editor.

        Show
        Vincent Massol added a comment - I misread, I thought the issue was for any copy paste of HTML content in the WYSIWYG editor.
        Hide
        Marius Dumitru Florea added a comment -

        Note that the embedded images used to be saved as attachments (this was the initial behavior) but recent version of Libre/OpenOffice started to convert embedded images to Data URI Scheme. This issue just restores the initial behavior (and what the users expect).

        Show
        Marius Dumitru Florea added a comment - Note that the embedded images used to be saved as attachments (this was the initial behavior) but recent version of Libre/OpenOffice started to convert embedded images to Data URI Scheme. This issue just restores the initial behavior (and what the users expect).
        Hide
        Vincent Massol added a comment -

        ah ok good that you mention this Marius, I hadn't realized! So this issue could be considered as a regression/bug fix.

        Show
        Vincent Massol added a comment - ah ok good that you mention this Marius, I hadn't realized! So this issue could be considered as a regression/bug fix.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: