File: scrolloncut.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 (99 lines) | stat: -rw-r--r-- 3,699 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<head>
	<link rel="stylesheet" href="/apps/ckeditor/contents.css">
</head>

<div>
	<h2>Classic</h2>
	<hr>
	<div id="classic"></div>
</div>

<div>
	<h2>Divarea</h2>
	<hr>
	<div id="divarea"></div>
</div>

<div>
	<h2>Inline</h2>
	<hr>
	<div id="inline" contenteditable="true"></div>
</div>

<div>
	<h2>Inline header</h2>
	<hr>
	<h1 id="inlineheader" contenteditable="true" style="width:500px;">
		Apollo 11
		<br>
		<br>
		Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. <img height="20" alt="CKEditor logo" src="%BASE_PATH%_assets/logo.png" /> Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.
		<br>
		<br>
		Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.
		<br>
		<br>
		Broadcasting and quotes
		<br>
		<br>
		Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:
		<br>
		<br>
		"One small step for [a] man, one giant leap for mankind."
		<br>
		<br>
		Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:
		<br>
		<br>
		"[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth."
	</h1>
</div>

<div style="display:none;" id="startup-content">
	<h1>Apollo 11</h1>

	<p>Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. <img height="20" alt="CKEditor logo" src="%BASE_PATH%_assets/logo.png" /> Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>

	<figure class="image right"><img alt="CKEditor logo" src="%BASE_PATH%_assets/logo.png" />
		<figcaption>CKEditor</figcaption>
	</figure>

	<p>Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>

	<h2>Broadcasting and quotes</h2>

	<p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>

	<blockquote>
		<p>One small step for [a] man, one giant leap for mankind.</p>
	</blockquote>

	<p>Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:</p>

	<blockquote>
		<p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
	</blockquote>
</div>


<script>
	if ( !( CKEDITOR.env.edge && CKEDITOR.env.version >= 16 ) ) {
		bender.ignore();
	}

	var startupContent = document.querySelector( '#startup-content' ).innerHTML;

	CKEDITOR.on( 'instanceReady', function( evt ) {
		if ( evt.editor.name != 'inlineheader' ) {
			evt.editor.setData( startupContent );
		}
	} );

	CKEDITOR.replace( 'classic' );
	CKEDITOR.replace( 'divarea', {
		extraPlugins: 'divarea'
	} );

	CKEDITOR.inline( 'inline' );
	CKEDITOR.inline( 'inlineheader' );
</script>