about summary refs log tree commit diff stats
path: root/app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 11:39:16 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 11:39:16 -0400
commit3a628945ade35f3ba351ba90e271608520753174 (patch)
tree05c496db4cf11aec1e334336858bf3fafff0c9e0 /app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html
parentffcc44d1a73ae1191e835fa625f2f8a7e3e25bda (diff)
downloadthoughts-3a628945ade35f3ba351ba90e271608520753174.tar.gz
thoughts-3a628945ade35f3ba351ba90e271608520753174.tar.bz2
thoughts-3a628945ade35f3ba351ba90e271608520753174.zip
Removed ckeditor
Diffstat (limited to 'app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html')
-rw-r--r--app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html339
1 files changed, 0 insertions, 339 deletions
diff --git a/app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html b/app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html deleted file mode 100644 index 1070a6e..0000000 --- a/app/assets/javascripts/ckeditor/plugins/image2/dev/image2.html +++ /dev/null
@@ -1,339 +0,0 @@
1<!DOCTYPE html>
2<!--
3Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
4For licensing, see LICENSE.md or http://ckeditor.com/license
5-->
6<html>
7<head>
8 <meta charset="utf-8">
9 <title>Widget Image &mdash; CKEditor Sample</title>
10 <script src="../../../ckeditor.js"></script>
11 <script src="../../../dev/console/console.js"></script>
12 <script src="../../../dev/console/focusconsole.js"></script>
13 <script src="../../widget/dev/console.js"></script>
14 <script>
15 if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 )
16 CKEDITOR.tools.enableHtml5Elements( document );
17
18 var editor;
19
20 // The instanceReady event is fired, when an instance of CKEditor has finished
21 // its initialization.
22 CKEDITOR.on( 'instanceReady', function( ev ) {
23 editor = ev.editor;
24
25 // Show this "on" button.
26 document.getElementById( 'readOnlyOn' ).style.display = '';
27
28 // Event fired when the readOnly property changes.
29 editor.on( 'readOnly', function() {
30 document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
31 document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
32 });
33 });
34
35 function toggleReadOnly( isReadOnly ) {
36 // Change the read-only state of the editor.
37 // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly
38 editor.setReadOnly( isReadOnly );
39 }
40
41 </script>
42 <link href="../../../samples/old/sample.css" rel="stylesheet">
43
44 <style>
45
46 body {
47 font-size: 13px;
48 }
49 .editable {
50 padding: 20px;
51 border: 2px solid #dfdfdf;
52 overflow: auto;
53 }
54
55 body p {
56 line-height: 1.8em;
57 }
58
59 /* Reset some styles from sample.css */
60 .cke_editable.cke_editable_inline
61 {
62 cursor: auto;
63 }
64 .cke_editable.cke_editable_inline.cke_focus
65 {
66 box-shadow: none;
67 background: inherit;
68 cursor: auto;
69 }
70
71 </style>
72 <link href="contents.css" rel="stylesheet">
73 <link href="../../../contents.css" rel="stylesheet">
74</head>
75<body>
76 <h1 class="samples">
77 <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; Widget Image
78 </h1>
79
80 <h2>Classic (iframe-based) Sample</h2>
81
82 <textarea id="editor1" cols="10" rows="10">
83 <h1>Apollo 11</h1>
84
85 <figure class="image" style="float: right">
86 <img alt="Saturn V" src="assets/image1.jpg" width="200" data-foo="*********" data-bar="@@@@@@@@" />
87 <figcaption>Roll out of Saturn V on launch pad</figcaption>
88 </figure>
89
90 <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
91
92 <p>Armstrong spent about <s>three and a half</s> 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, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
93
94 <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
95
96 <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
97
98 <blockquote>
99 <p>One small step for [a] man, one giant leap for mankind.</p>
100 </blockquote>
101
102 <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
103
104 <blockquote>
105 <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
106 </blockquote>
107
108 <figure class="image" style="float: right">
109 <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
110 <figcaption>The Eagle in lunar orbit</figcaption>
111 </figure>
112
113 <h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
114
115 <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
116
117 <ol>
118 <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
119 <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
120 <li><strong>Lunar Module</strong> for landing on the Moon.</li>
121 </ol>
122
123 <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
124
125 <p style="text-align:center">
126 <img alt="Saturn V" src="assets/image1.jpg" width="200" />
127 </p>
128
129 <hr />
130 <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
131 </textarea>
132
133 <h2>Inline Sample</h2>
134
135 <div id="editor2" contenteditable="true" class="editable">
136 <h2>Apollo 11</h2>
137
138 <figure class="image" style="float: right">
139 <img alt="Saturn V" src="assets/image1.jpg" width="200" />
140 <figcaption>Roll out of Saturn V on launch pad</figcaption>
141 </figure>
142
143 <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
144
145 <p>Armstrong spent about <s>three and a half</s> 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, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
146
147 <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
148
149 <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
150
151 <blockquote>
152 <p>One small step for [a] man, one giant leap for mankind.</p>
153 </blockquote>
154
155 <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
156
157 <blockquote>
158 <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
159 </blockquote>
160
161 <figure class="image" style="float: right">
162 <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
163 <figcaption>The Eagle in lunar orbit</figcaption>
164 </figure>
165
166 <h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
167
168 <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
169
170 <ol>
171 <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
172 <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
173 <li><strong>Lunar Module</strong> for landing on the Moon.</li>
174 </ol>
175
176 <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
177
178 <p style="text-align:center">
179 <img alt="Saturn V" src="assets/image1.jpg" width="200" />
180 </p>
181
182 <hr />
183 <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
184 </div>
185
186 <h2>Div Editing Area Sample</h2>
187
188 <textarea id="editor3" cols="10" rows="10">
189 <h1>Apollo 11</h1>
190
191 <figure class="caption" style="float: right">
192 <img alt="Saturn V" src="assets/image1.jpg" width="200" />
193 <figcaption>Roll out of Saturn V on launch pad</figcaption>
194 </figure>
195
196 <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
197
198 <p>Armstrong spent about <s>three and a half</s> 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, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
199
200 <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
201
202 <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
203
204 <blockquote>
205 <p>One small step for [a] man, one giant leap for mankind.</p>
206 </blockquote>
207
208 <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
209
210 <blockquote>
211 <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
212 </blockquote>
213
214 <figure class="caption" style="float: right">
215 <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
216 <figcaption>The Eagle in lunar orbit</figcaption>
217 </figure>
218
219 <h2>Technical Details <a id="tech-details" name="tech-details"></a></h2>
220
221 <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
222
223 <ol>
224 <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
225 <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
226 <li><strong>Lunar Module</strong> for landing on the Moon.</li>
227 </ol>
228
229 <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
230
231 <p style="text-align:center">
232 <img alt="Saturn V" src="assets/image1.jpg" width="200" />
233 </p>
234
235 <hr />
236 <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
237 </textarea>
238
239 <h2>alignClasses samples</h2>
240
241 <textarea id="editor4" cols="10" rows="10">
242 <h1>Apollo 11</h1>
243
244 <figure class="align-left image">
245 <img alt="Saturn V" src="assets/image1.jpg" width="200" data-foo="*********" data-bar="@@@@@@@@" />
246 <figcaption>Roll out of Saturn V on launch pad</figcaption>
247 </figure>
248
249 <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
250
251 <blockquote>
252 <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
253 </blockquote>
254
255 <figure class="align-right image">
256 <img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
257 <figcaption>The Eagle in lunar orbit</figcaption>
258 </figure>
259
260 <h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
261
262 <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p>
263
264 <ol>
265 <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
266 <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
267 <li><strong>Lunar Module</strong> for landing on the Moon.</li>
268 </ol>
269
270 <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
271
272 <p class="align-center">
273 <img alt="Saturn V" src="assets/image1.jpg" width="200" />
274 </p>
275
276 <hr />
277 <p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
278 </textarea>
279
280 <p>
281 <input id="readOnlyOn" onclick="toggleReadOnly( true );" type="button" value="Make it read-only" style="display:none">
282 <input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none">
283 </p>
284
285 <script>
286
287 CKEDITOR.disableAutoInline = true;
288
289 CKEDITOR.replace( 'editor1', {
290 extraPlugins: 'image2',
291 height: 600,
292 contentsCss: [ '../../../contents.css', 'contents.css' ],
293 extraAllowedContent: 'img[data-foo,data-bar]',
294
295 filebrowserBrowseUrl: '/ckfinder/ckfinder.html',
296 filebrowserImageBrowseUrl: '/ckfinder/ckfinder.html?Type=Images',
297 filebrowserUploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
298 filebrowserImageUploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
299 } );
300
301 CKEDITOR.inline( 'editor2', {
302 extraPlugins: 'image2,sourcedialog'
303 } );
304
305 CKEDITOR.replace( 'editor3', {
306 extraPlugins: 'image2,divarea',
307 height: 600
308 } );
309
310 CKEDITOR.replace( 'editor4', {
311 extraPlugins: 'image2',
312 image2_alignClasses: [ 'align-left', 'align-center', 'align-right' ],
313 contentsCss: [ '../../../contents.css', 'contents.css' ],
314 height: 600
315 } );
316
317 CKCONSOLE.create( 'widget', { editor: 'editor1' } );
318 CKCONSOLE.create( 'focus', { editor: 'editor1' } );
319 CKCONSOLE.create( 'widget', { editor: 'editor2', folded: true } );
320 CKCONSOLE.create( 'focus', { editor: 'editor2', folded: true } );
321 CKCONSOLE.create( 'widget', { editor: 'editor3' } );
322 CKCONSOLE.create( 'focus', { editor: 'editor3' } );
323 CKCONSOLE.create( 'widget', { editor: 'editor4' } );
324 CKCONSOLE.create( 'focus', { editor: 'editor4' } );
325
326 </script>
327
328 <div id="footer">
329 <hr>
330 <p>
331 CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
332 </p>
333 <p id="copy">
334 Copyright &copy; 2003-2017, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
335 Knabben. All rights reserved.
336 </p>
337 </div>
338</body>
339</html>