[Webkit-unassigned] [Bug 251320] New: sed this document.execCommand('copy') it's working in desktop not in IOS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 28 11:39:34 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251320
Bug ID: 251320
Summary: sed this document.execCommand('copy') it's working in
desktop not in IOS
Product: WebKit
Version: Safari 16
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bemes9226 at gmail.com
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);
--
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/20230128/bfb0386e/attachment.htm>
More information about the webkit-unassigned
mailing list