Skip to content

Commit

Permalink
Merge pull request #356 from cksource/t/17017
Browse files Browse the repository at this point in the history
Fixed missing 'embed_provider' in manual tests.
  • Loading branch information
Comandeer committed May 9, 2017
2 parents 4ac98c5 + 2133b7a commit bf83d41
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 12 deletions.
6 changes: 4 additions & 2 deletions tests/plugins/autoembed/manual/autoembed.html
Expand Up @@ -36,14 +36,16 @@
extraPlugins: 'embed',
height: 500,
// Make them narrow so images don't take too much space.
width: 600
width: 600,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );

CKEDITOR.replace( 'editor2', {
removePlugins: 'embed',
extraPlugins: 'embedsemantic',
height: 500,
// Make them narrow so images don't take too much space.
width: 600
width: 600,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );
</script>
3 changes: 2 additions & 1 deletion tests/plugins/autoembed/manual/notifications.html
Expand Up @@ -19,6 +19,7 @@
CKEDITOR.replace( 'editor1', {
extraPlugins: 'embed',
height: 500,
width: 600
width: 600,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );
</script>
5 changes: 3 additions & 2 deletions tests/plugins/autoembed/manual/spontaneousreembed.html
Expand Up @@ -18,6 +18,7 @@
extraPlugins: 'embed',
height: 500,
// Make them narrow so images don't take too much space.
width: 600
width: 600,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );
</script>
</script>
3 changes: 2 additions & 1 deletion tests/plugins/autoembed/manual/undoautoembed.html
Expand Up @@ -12,6 +12,7 @@
CKEDITOR.replace( 'editor1', {
extraPlugins: 'embed',
height: 500,
width: 600
width: 600,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );
</script>
5 changes: 3 additions & 2 deletions tests/plugins/embed/manual/embed.html
Expand Up @@ -44,9 +44,10 @@
extraPlugins: 'wysiwygarea,sourcearea,htmlwriter,entities,toolbar,elementspath,undo,clipboard,format,basicstyles,image2,embed',
height: 500,
// Make them narrow so images don't take too much space.
width: 600
width: 600,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
};
CKEDITOR.replace( 'editor1', cfg );
CKEDITOR.replace( 'editor2', cfg );
} )();
</script>
</script>
4 changes: 3 additions & 1 deletion tests/plugins/embed/manual/iframefocus.html
Expand Up @@ -22,5 +22,7 @@
<p><button>Focus indicator</button></p>

<script>
CKEDITOR.replace( 'editor1' );
CKEDITOR.replace( 'editor1', {
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );
</script>
5 changes: 3 additions & 2 deletions tests/plugins/embedsemantic/manual/embedsemantic.html
Expand Up @@ -39,9 +39,10 @@
extraPlugins: 'wysiwygarea,sourcearea,htmlwriter,entities,toolbar,elementspath,undo,clipboard,format,basicstyles,image2,embedsemantic',
height: 500,
// Make them narrow so images don't take too much space.
width: 600
width: 600,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
};
CKEDITOR.replace( 'editor1', cfg );
CKEDITOR.replace( 'editor2', cfg );
} )();
</script>
</script>
4 changes: 3 additions & 1 deletion tests/tickets/13158/1.html
Expand Up @@ -3,5 +3,7 @@
</div>

<script>
CKEDITOR.replace( 'editor' );
CKEDITOR.replace( 'editor', {
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );
</script>

0 comments on commit bf83d41

Please sign in to comment.