mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Add the html to the willPaste event details
The fragment is still the important thing, but this lets the willPaste handler look at the original HTML as part of its processing too.
This commit is contained in:
parent
e00a62e6fa
commit
4d0836c670
1 changed files with 1 additions and 0 deletions
|
@ -1061,6 +1061,7 @@ class Squire {
|
|||
const event = new CustomEvent('willPaste', {
|
||||
cancelable: true,
|
||||
detail: {
|
||||
html,
|
||||
fragment: frag,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue