mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +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 ) {
|
function pasteHtml( editor: ClassicEditor, html: string ) {
|
||||||
editor.editing.view.document.fire( 'paste', {
|
editor.editing.view.document.fire( 'paste', {
|
||||||
dataTransfer: createDataTransfer( { 'text/html': html } ),
|
dataTransfer: createDataTransfer( { 'text/html': html } ),
|
||||||
preventDefault() {
|
preventDefault() {},
|
||||||
return undefined;
|
stopPropagation() {}
|
||||||
}
|
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user