Skip to content

Commit

Permalink
Fix (media-embed): fix the test with placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-stv committed Jul 25, 2023
1 parent 450d1dc commit a753adc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ckeditor5-media-embed/tests/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ describe( 'MediaEmbed integration', () => {
const editor = await ClassicTestEditor.create( element, {
plugins: [ MediaEmbed, Paragraph ]
} );
const editingRoot = editor.editing.view.document.getRoot();

editingRoot.placeholder = 'foo';
enablePlaceholder( {
view: editor.editing.view,
element: editor.editing.view.document.getRoot(),
text: 'foo',
element: editingRoot,
isDirectHost: false
} );

Expand Down

0 comments on commit a753adc

Please sign in to comment.