1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
<p>Test URLs</p>
<ul>
<li><input type="text" value="https://placekitten.com/g/200/300"></li>
<li><input type="text" value="https://twitter.com/reinmarpl/status/573118615274315776"></li>
<li><input type="text" value="https://www.youtube.com/watch?v=GUl9_5kK9ts"></li>
<li><input type="text" value="https://instagram.com/p/wZB11CIfqX/"></li>
<li><input type="text" value="https://www.google.dk/maps/place/Zygmunta+S%C5%82omi%C5%84skiego+15,+Warszawa"></li>
<li><input type="text" value="https://www.flickr.com/photos/polandmfa/7005560084/"></li>
<li><input type="text" value="http://i.imgur.com/Z3ilPBI.jpg"></li>
<li><input type="text" value="https://open.spotify.com/track/2XsTC2dPbmWREu5RQ1mQC0"></li>
</ul>
<p>Dat rich editor – embed</p>
<textarea id="editor1" cols="10" rows="10">
<p>Foo bar.</p>
<p>Foo bar.</p>
</textarea>
<p>Dat rich editor – embedsemantic</p>
<textarea id="editor2" cols="10" rows="10">
<p>Foo bar.</p>
<p>Foo bar.</p>
</textarea>
<script>
embedTools.delayJsonp();
CKEDITOR.replace( 'editor1', {
removePlugins: 'embedsemantic',
extraPlugins: 'embed',
height: 500,
// Make them narrow so images don't take too much space.
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,
embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
} );
</script>
|