- From: bemes9226 <notifications@github.com>
- Date: Wed, 18 Jan 2023 09:16:44 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 18 January 2023 17:16:57 UTC
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); -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1144 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1144@github.com>
Received on Wednesday, 18 January 2023 17:16:57 UTC