diff options
Diffstat (limited to 'app/assets/javascripts/ckeditor/plugins/widget/dev/widgetstyles.html')
-rw-r--r-- | app/assets/javascripts/ckeditor/plugins/widget/dev/widgetstyles.html | 144 |
1 files changed, 0 insertions, 144 deletions
diff --git a/app/assets/javascripts/ckeditor/plugins/widget/dev/widgetstyles.html b/app/assets/javascripts/ckeditor/plugins/widget/dev/widgetstyles.html deleted file mode 100644 index da58e44..0000000 --- a/app/assets/javascripts/ckeditor/plugins/widget/dev/widgetstyles.html +++ /dev/null | |||
@@ -1,144 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- | ||
3 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. | ||
4 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
5 | --> | ||
6 | <html> | ||
7 | <head> | ||
8 | <meta charset="utf-8"> | ||
9 | <title>Applying styles to widgets — CKEditor Sample</title> | ||
10 | <script src="../../../ckeditor.js"></script> | ||
11 | <link rel="stylesheet" href="../../../samples/old/sample.css"> | ||
12 | <link rel="stylesheet" href="../../../contents.css"> | ||
13 | <link rel="stylesheet" href="assets/contents.css"> | ||
14 | </head> | ||
15 | <body> | ||
16 | <h1 class="samples">Applying styles to widgets</h1> | ||
17 | |||
18 | <h2>Classic (iframe-based) Sample</h2> | ||
19 | <textarea cols="80" id="editor1" name="editor1" rows="10"> | ||
20 | <h1>Apollo 11</h1> | ||
21 | |||
22 | <figure class="image" style="float: right"> | ||
23 | <img alt="Saturn V" src="../../../samples/assets/sample.jpg" width="150" /> | ||
24 | <figcaption>Roll out of Saturn V on launch pad</figcaption> | ||
25 | </figure> | ||
26 | |||
27 | <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> | ||
28 | |||
29 | <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 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> | ||
30 | |||
31 | <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2> | ||
32 | |||
33 | <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p> | ||
34 | |||
35 | <blockquote> | ||
36 | <p>One small step for [a] man, one giant leap for mankind.</p> | ||
37 | </blockquote> | ||
38 | |||
39 | <p><span class="math-tex">\( \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \)</span></p> | ||
40 | |||
41 | <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> | ||
42 | |||
43 | <blockquote> | ||
44 | <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p> | ||
45 | </blockquote> | ||
46 | |||
47 | <figure class="image" style="float: right"> | ||
48 | <img alt="The Eagle" src="../../../samples/assets/sample.jpg" width="150" /> | ||
49 | <figcaption>The Eagle in lunar orbit</figcaption> | ||
50 | </figure> | ||
51 | |||
52 | <h2>Technical details <a id="tech-details" name="tech-details"></a></h2> | ||
53 | |||
54 | <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>'s Apollo program. The Apollo spacecraft had three parts:</p> | ||
55 | |||
56 | <ol> | ||
57 | <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li> | ||
58 | <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li> | ||
59 | <li><strong>Lunar Module</strong> for landing on the Moon.</li> | ||
60 | </ol> | ||
61 | |||
62 | <p>After being sent to the Moon by the Saturn V'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> | ||
63 | </textarea> | ||
64 | |||
65 | <h2>Inline Sample</h2> | ||
66 | <div id="editor2" contenteditable="true"> | ||
67 | <h1>Apollo 11</h1> | ||
68 | |||
69 | <figure class="image" style="float: right"> | ||
70 | <img alt="Saturn V" src="../../../samples/assets/sample.jpg" width="150" /> | ||
71 | <figcaption>Roll out of Saturn V on launch pad</figcaption> | ||
72 | </figure> | ||
73 | |||
74 | <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> | ||
75 | |||
76 | <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 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> | ||
77 | |||
78 | <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2> | ||
79 | |||
80 | <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p> | ||
81 | |||
82 | <blockquote> | ||
83 | <p>One small step for [a] man, one giant leap for mankind.</p> | ||
84 | </blockquote> | ||
85 | |||
86 | <p><span class="math-tex">\( \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \)</span></p> | ||
87 | |||
88 | <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> | ||
89 | |||
90 | <blockquote> | ||
91 | <p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p> | ||
92 | </blockquote> | ||
93 | |||
94 | <figure class="image" style="float: right"> | ||
95 | <img alt="The Eagle" src="../../../samples/assets/sample.jpg" width="150" /> | ||
96 | <figcaption>The Eagle in lunar orbit</figcaption> | ||
97 | </figure> | ||
98 | |||
99 | <h2>Technical details <a id="tech-details" name="tech-details"></a></h2> | ||
100 | |||
101 | <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>'s Apollo program. The Apollo spacecraft had three parts:</p> | ||
102 | |||
103 | <ol> | ||
104 | <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li> | ||
105 | <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li> | ||
106 | <li><strong>Lunar Module</strong> for landing on the Moon.</li> | ||
107 | </ol> | ||
108 | |||
109 | <p>After being sent to the Moon by the Saturn V'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> | ||
110 | </div> | ||
111 | |||
112 | <script> | ||
113 | if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) | ||
114 | CKEDITOR.tools.enableHtml5Elements( document ); | ||
115 | |||
116 | CKEDITOR.disableAutoInline = true; | ||
117 | |||
118 | var stylesSet = [ | ||
119 | { name: 'Medium border', type: 'widget', widget: 'image', attributes: { 'class': 'mediumBorder' } }, | ||
120 | { name: 'Thick border', type: 'widget', widget: 'image', attributes: { 'class': 'thickBorder' } }, | ||
121 | { name: 'So important', type: 'widget', widget: 'image', attributes: { 'class': 'important soMuch' } }, | ||
122 | |||
123 | { name: 'Red marker', type: 'widget', widget: 'placeholder', attributes: { 'class': 'redMarker' } }, | ||
124 | { name: 'Invisible Placeholder', type: 'widget', widget: 'placeholder', attributes: { 'class': 'invisible' } }, | ||
125 | |||
126 | { name: 'Invisible Mathjax', type: 'widget', widget: 'mathjax', attributes: { 'class': 'invisible' } } | ||
127 | ]; | ||
128 | |||
129 | CKEDITOR.replace( 'editor1', { | ||
130 | extraPlugins: 'placeholder,image2,mathjax', | ||
131 | contentsCss: [ '../../../contents.css', 'assets/contents.css' ], | ||
132 | stylesSet: stylesSet, | ||
133 | height: 300 | ||
134 | } ); | ||
135 | |||
136 | CKEDITOR.inline( 'editor2', { | ||
137 | extraPlugins: 'placeholder,image2,mathjax', | ||
138 | stylesSet: stylesSet, | ||
139 | height: 300 | ||
140 | } ); | ||
141 | |||
142 | </script> | ||
143 | </body> | ||
144 | </html> | ||