File: iframefocus.html

package info (click to toggle)
ckeditor 4.16.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 258,804 kB
  • sloc: javascript: 239,590; sh: 184; makefile: 64; python: 37; php: 15; xml: 5
file content (28 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (4)
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
<head>
	<style>
	button:focus {
		border: 3px #f00 solid;
	}
	</style>
</head>
<p>Test URLs</p>

<ul>
	<li>https://vimeo.com/86541796</li>
	<li>https://www.youtube.com/watch?v=cakkDjbBKmg</li>
</ul>

<p>Dat rich editor</p>

<textarea id="editor1" cols="10" rows="10">
	<p>Foo bar</p>
	<p>Foo bar.</p>
</textarea>

<p><button>Focus indicator</button></p>

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