Skip to content

Commit bf83d41

Browse files
authored
Merge pull request #356 from cksource/t/17017
Fixed missing 'embed_provider' in manual tests.
2 parents 4ac98c5 + 2133b7a commit bf83d41

File tree

8 files changed

+23
-12
lines changed

8 files changed

+23
-12
lines changed

tests/plugins/autoembed/manual/autoembed.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@
3636
extraPlugins: 'embed',
3737
height: 500,
3838
// Make them narrow so images don't take too much space.
39-
width: 600
39+
width: 600,
40+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
4041
} );
4142

4243
CKEDITOR.replace( 'editor2', {
4344
removePlugins: 'embed',
4445
extraPlugins: 'embedsemantic',
4546
height: 500,
4647
// Make them narrow so images don't take too much space.
47-
width: 600
48+
width: 600,
49+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
4850
} );
4951
</script>

tests/plugins/autoembed/manual/notifications.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
CKEDITOR.replace( 'editor1', {
2020
extraPlugins: 'embed',
2121
height: 500,
22-
width: 600
22+
width: 600,
23+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
2324
} );
2425
</script>

tests/plugins/autoembed/manual/spontaneousreembed.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
extraPlugins: 'embed',
1919
height: 500,
2020
// Make them narrow so images don't take too much space.
21-
width: 600
21+
width: 600,
22+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
2223
} );
23-
</script>
24+
</script>

tests/plugins/autoembed/manual/undoautoembed.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
CKEDITOR.replace( 'editor1', {
1313
extraPlugins: 'embed',
1414
height: 500,
15-
width: 600
15+
width: 600,
16+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
1617
} );
1718
</script>

tests/plugins/embed/manual/embed.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@
4444
extraPlugins: 'wysiwygarea,sourcearea,htmlwriter,entities,toolbar,elementspath,undo,clipboard,format,basicstyles,image2,embed',
4545
height: 500,
4646
// Make them narrow so images don't take too much space.
47-
width: 600
47+
width: 600,
48+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
4849
};
4950
CKEDITOR.replace( 'editor1', cfg );
5051
CKEDITOR.replace( 'editor2', cfg );
5152
} )();
52-
</script>
53+
</script>

tests/plugins/embed/manual/iframefocus.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@
2222
<p><button>Focus indicator</button></p>
2323

2424
<script>
25-
CKEDITOR.replace( 'editor1' );
25+
CKEDITOR.replace( 'editor1', {
26+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
27+
} );
2628
</script>

tests/plugins/embedsemantic/manual/embedsemantic.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@
3939
extraPlugins: 'wysiwygarea,sourcearea,htmlwriter,entities,toolbar,elementspath,undo,clipboard,format,basicstyles,image2,embedsemantic',
4040
height: 500,
4141
// Make them narrow so images don't take too much space.
42-
width: 600
42+
width: 600,
43+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
4344
};
4445
CKEDITOR.replace( 'editor1', cfg );
4546
CKEDITOR.replace( 'editor2', cfg );
4647
} )();
47-
</script>
48+
</script>

tests/tickets/13158/1.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
</div>
44

55
<script>
6-
CKEDITOR.replace( 'editor' );
6+
CKEDITOR.replace( 'editor', {
7+
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
8+
} );
79
</script>

0 commit comments

Comments
 (0)