Explorar el Código

Adjusting to changes in engine view.

Szymon Kupś hace 8 años
padre
commit
b84d04bc43
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-undo/tests/undoengine-integration.js

+ 1 - 1
packages/ckeditor5-undo/tests/undoengine-integration.js

@@ -919,7 +919,7 @@ describe( 'UndoEngine integration', () => {
 
 	describe( 'pasting', () => {
 		function pasteHtml( editor, html ) {
-			editor.editing.view.fire( 'paste', {
+			editor.editing.view.document.fire( 'paste', {
 				dataTransfer: createDataTransfer( { 'text/html': html } ),
 				preventDefault() {}
 			} );