File: image2.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 (57 lines) | stat: -rw-r--r-- 1,848 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<style>
	div[id*=editor] { margin-bottom: 10px; }
</style>

<h2>Beginning</h2>

<div id="editor02">
	<figure class="image"><img alt="CKEditor Logo" src="/tests/_assets/logo.png" /><figcaption>Caption</figcaption></figure>
	<h1>Hello world!</h1>
	<p>I&#39;m an instance of <a href="http://ckeditor.com">CKEditor</a>.</p>
</div>

<h2>End</h2>

<div id="editor12">
	<h1>Hello world!</h1>
	<p>I&#39;m an instance of <a href="http://ckeditor.com">CKEditor</a>.</p>
	<figure class="image"><img alt="CKEditor Logo" src="/tests/_assets/logo.png" /><figcaption>Caption</figcaption></figure>
</div>

<h2>Middle</h2>

<div id="editor22">
	<h1>Hello world!</h1>
	<figure class="image"><img alt="CKEditor Logo" src="/tests/_assets/logo.png" /><figcaption>Caption</figcaption></figure>
	<p>I&#39;m an instance of <a href="http://ckeditor.com">CKEditor</a>.</p>
</div>

<h2>Both beginning and end</h2>

<div id="editor32">
	<figure class="image"><img alt="CKEditor Logo" src="/tests/_assets/logo.png" /><figcaption>Caption</figcaption></figure>
	<h1>Hello world!</h1>
	<p>I&#39;m an instance of <a href="http://ckeditor.com">CKEditor</a>.</p>
	<figure class="image"><img alt="CKEditor Logo" src="/tests/_assets/logo.png" /><figcaption>Caption</figcaption></figure>
</div>

<h2>Only non-editable</h2>

<div id="editor42">
	<figure class="image"><img alt="CKEditor Logo" src="/tests/_assets/logo.png" /><figcaption>Caption</figcaption></figure>
	<figure class="image"><img alt="CKEditor Logo" src="/tests/_assets/logo.png" /><figcaption>Caption</figcaption></figure>
</div>


<script>
	var config2 = {
		height: 250,
		allowedContent: true
	};

	CKEDITOR.replace( 'editor02', config2 );
	CKEDITOR.replace( 'editor12', config2 );
	CKEDITOR.replace( 'editor22', config2 );
	CKEDITOR.replace( 'editor32', config2 );
	CKEDITOR.replace( 'editor42', config2 );
</script>