mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
test(ckeditor5-math): fix errors due to missing stopPropagation
This commit is contained in:
parent
4fb333f15e
commit
6134d010ac
@ -166,9 +166,8 @@ describe( 'AutoMath - integration', () => {
|
||||
function pasteHtml( editor: ClassicEditor, html: string ) {
|
||||
editor.editing.view.document.fire( 'paste', {
|
||||
dataTransfer: createDataTransfer( { 'text/html': html } ),
|
||||
preventDefault() {
|
||||
return undefined;
|
||||
}
|
||||
preventDefault() {},
|
||||
stopPropagation() {}
|
||||
} );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user