Re: [w3c/editing] Remove write and add more details on read. (PR #456)

@snianu commented on this pull request.



>  
 ```
 
+Here the clipboard content is sanitized and tags such as `<meta>, <script>, <style>` etc are not included while pasting contents from the clipboard.

Note that the default execCommand paste mutates the DOM of the active document, so it has to use the sanitizer to create the fragment which will be processed in the context of the element that has the active selection. It also fires the paste event that some sites use to access `getData` method if they want to handle the paste themselves.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/pull/456#discussion_r1376794463
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/pull/456/review/1705056443@github.com>

Received on Monday, 30 October 2023 21:00:03 UTC