Bug 251320

Summary: sed this document.execCommand('copy') it's working in desktop not in IOS
Product: WebKit Reporter: bemes9226
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P1 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

bemes9226
Reported 2023-01-28 11:39:34 PST
I used this document.execCommand('copy') but its not copied in ios devices, when i select rich text from webapp clicked on copytext button then pasted in word in desktop its working fine with styles, but in ios(ipad..) its not pasted any content. need to work as desktop ,it will pasted with styles formatting.but not in ios.when i select text we are getting selectedtextRange as plain text so how we can get with styles. let selectedText = RangeUtils.getPlainTextFromRange(this.selectedTextRange); this.clipboardService.copyFromContent(selectedText); note:i found one solution but its giving white spaces and styles not applied in word. .copyFromContent(selectedText);
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-04 11:40:18 PST
Note You need to log in before you can comment on or make changes to this bug.