Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pkwasnik committed Oct 7, 2020
1 parent ea6bcc5 commit 404984c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ckeditor5-media-embed/tests/insertmediacommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ describe( 'MediaEmbedCommand', () => {
model.schema.register( 'table', { allowIn: '$root', isLimit: true, isObject: true, isBlock: true } );
model.schema.register( 'tableRow', { allowIn: 'table', isLimit: true } );
model.schema.register( 'tableCell', { allowIn: 'tableRow', isLimit: true, isSelectable: true } );
model.schema.extend( 'p', { allowIn: 'tableCell' } );
model.schema.extend( 'media', { allowIn: 'p' } );
model.schema.extend( 'media', { allowIn: 'tableCell' } );

setData( model, '<table><tableRow><tableCell>[<media></media>]</tableCell></tableRow></table>' );

Expand Down

0 comments on commit 404984c

Please sign in to comment.