Better handling of formatting in pasted text

This commit is contained in:
Scott Nonnenberg 2023-05-23 15:00:05 -07:00 committed by GitHub
parent d012779e87
commit a31cf5645e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 105 additions and 43 deletions

View file

@ -2552,6 +2552,14 @@
"updated": "2023-04-22T00:07:56.294Z",
"reasonDetail": "We need a persistent timer to track long-hovers"
},
{
"rule": "DOM-innerHTML",
"path": "ts/quill/signal-clipboard/util.ts",
"line": " event.clipboardData?.setData('text/signal', container.innerHTML);",
"reasonCategory": "regexMatchedSafeCode",
"updated": "2023-05-22T23:45:02.074Z",
"reasonDetail": "Reading from innerHTML, not setting it"
},
{
"rule": "React-useRef",
"path": "ts/state/smart/InstallScreen.tsx",