Bug 206348

Summary: Images from LibreOffice incorrectly pasted
Product: WebKit Reporter: Comandeer <vepomoc>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
LibreOffice document with image none

Comandeer
Reported 2020-01-16 05:08:03 PST
Created attachment 387911 [details] 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.
Attachments
LibreOffice document with image (15.96 KB, application/vnd.oasis.opendocument.text)
2020-01-16 05:08 PST, Comandeer
no flags
Radar WebKit Bug Importer
Comment 1 2020-01-18 16:08:29 PST
Note You need to log in before you can comment on or make changes to this bug.