WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
251320
sed this document.execCommand('copy') it's working in desktop not in IOS
https://bugs.webkit.org/show_bug.cgi?id=251320
Summary
sed this document.execCommand('copy') it's working in desktop not in IOS
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-04 11:40:18 PST
<
rdar://problem/105043623
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug