Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch t/ckeditor5-engine/1210
Browse files Browse the repository at this point in the history
Internal: Align code to the new view API, introduced in engine t/1210.
  • Loading branch information
Piotr Jasiun committed Feb 16, 2018
2 parents cc2d84c + 027546a commit 9d1536c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/undoengine-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,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() {}
} );
Expand Down

0 comments on commit 9d1536c

Please sign in to comment.