|
@@ -304,6 +304,7 @@ describe( 'AutoMediaEmbed - integration', () => {
|
|
|
);
|
|
);
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
|
|
+ // #47
|
|
|
it( 'does not transform a valid URL into a media if the element cannot be placed in the current position', () => {
|
|
it( 'does not transform a valid URL into a media if the element cannot be placed in the current position', () => {
|
|
|
setData( editor.model, '<image src="foo.png"><caption>Foo.[]</caption></image>' );
|
|
setData( editor.model, '<image src="foo.png"><caption>Foo.[]</caption></image>' );
|
|
|
pasteHtml( editor, 'https://www.youtube.com/watch?v=H08tGjXNHO4' );
|
|
pasteHtml( editor, 'https://www.youtube.com/watch?v=H08tGjXNHO4' );
|