[Webkit-unassigned] [Bug 206348] New: Images from LibreOffice incorrectly pasted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 16 05:08:03 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206348

            Bug ID: 206348
           Summary: Images from LibreOffice incorrectly pasted
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vepomoc at gmail.com
                CC: wenson_hsieh at apple.com

Created attachment 387911

  --> https://bugs.webkit.org/attachment.cgi?id=387911&action=review

LibreOffice document with image

Reproduction steps:

1. Open LibreOffice document with image (see attachment).
2. Open https://jsfiddle.net/Comandeer/rkog2zm1/
3. Copy all content from the LibreOffice document and paste it into [contenteditable] area on the JSFiddle page.

Expected result:

Content, including image, is pasted correctly.

Actual result:

Image is broken. Safari seems to strip [src] attribute from img element:

<img name="Image1" align="texttop" width="157" height="149" border="0">

However, different than with pasting from Word, the source is not substituted with blob:// URL. This causes the inability to paste images from LibreOffice documents.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200116/b9b654ea/attachment-0001.htm>


More information about the webkit-unassigned mailing list