ckeditor 4.0.6 → 4.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. data/README.md +54 -6
  2. data/app/assets/javascripts/ckeditor/config.js +10 -10
  3. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/{application.js → application.js.erb} +1 -2
  4. data/app/assets/javascripts/ckeditor/filebrowser/stylesheets/{uploader.css → uploader.css.erb} +2 -2
  5. data/app/assets/javascripts/ckeditor/init.js.erb +2 -2
  6. data/app/assets/javascripts/ckeditor/override.js.erb +21 -0
  7. data/app/controllers/ckeditor/application_controller.rb +2 -1
  8. data/app/controllers/ckeditor/attachment_files_controller.rb +4 -4
  9. data/app/controllers/ckeditor/pictures_controller.rb +4 -4
  10. data/app/views/ckeditor/shared/_asset.html.erb +1 -1
  11. data/app/views/ckeditor/shared/_asset_tmpl.html.erb +2 -2
  12. data/app/views/layouts/ckeditor/application.html.erb +0 -1
  13. data/lib/ckeditor.rb +49 -7
  14. data/lib/ckeditor/utils.rb +1 -1
  15. data/lib/ckeditor/version.rb +2 -2
  16. data/lib/generators/ckeditor/templates/ckeditor.rb +4 -0
  17. data/test/ckeditor_test.rb +53 -0
  18. data/test/support/helpers.rb +2 -2
  19. data/vendor/assets/javascripts/ckeditor/CHANGES.md +259 -102
  20. data/vendor/assets/javascripts/ckeditor/build-config.js +3 -2
  21. data/vendor/assets/javascripts/ckeditor/ckeditor.js +778 -732
  22. data/vendor/assets/javascripts/ckeditor/contents.css +20 -17
  23. data/vendor/assets/javascripts/ckeditor/lang/af.js +1 -1
  24. data/vendor/assets/javascripts/ckeditor/lang/ar.js +1 -1
  25. data/vendor/assets/javascripts/ckeditor/lang/bg.js +1 -1
  26. data/vendor/assets/javascripts/ckeditor/lang/bn.js +1 -1
  27. data/vendor/assets/javascripts/ckeditor/lang/bs.js +1 -1
  28. data/vendor/assets/javascripts/ckeditor/lang/ca.js +1 -1
  29. data/vendor/assets/javascripts/ckeditor/lang/cs.js +1 -1
  30. data/vendor/assets/javascripts/ckeditor/lang/cy.js +1 -1
  31. data/vendor/assets/javascripts/ckeditor/lang/da.js +1 -1
  32. data/vendor/assets/javascripts/ckeditor/lang/de.js +1 -1
  33. data/vendor/assets/javascripts/ckeditor/lang/el.js +1 -1
  34. data/vendor/assets/javascripts/ckeditor/lang/en-au.js +1 -1
  35. data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +1 -1
  36. data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +1 -1
  37. data/vendor/assets/javascripts/ckeditor/lang/en.js +1 -1
  38. data/vendor/assets/javascripts/ckeditor/lang/eo.js +1 -1
  39. data/vendor/assets/javascripts/ckeditor/lang/es.js +1 -1
  40. data/vendor/assets/javascripts/ckeditor/lang/et.js +1 -1
  41. data/vendor/assets/javascripts/ckeditor/lang/eu.js +1 -1
  42. data/vendor/assets/javascripts/ckeditor/lang/fa.js +1 -1
  43. data/vendor/assets/javascripts/ckeditor/lang/fi.js +1 -1
  44. data/vendor/assets/javascripts/ckeditor/lang/fo.js +1 -1
  45. data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +1 -1
  46. data/vendor/assets/javascripts/ckeditor/lang/fr.js +1 -1
  47. data/vendor/assets/javascripts/ckeditor/lang/gl.js +1 -1
  48. data/vendor/assets/javascripts/ckeditor/lang/gu.js +1 -1
  49. data/vendor/assets/javascripts/ckeditor/lang/he.js +1 -1
  50. data/vendor/assets/javascripts/ckeditor/lang/hi.js +1 -1
  51. data/vendor/assets/javascripts/ckeditor/lang/hr.js +1 -1
  52. data/vendor/assets/javascripts/ckeditor/lang/hu.js +1 -1
  53. data/vendor/assets/javascripts/ckeditor/lang/id.js +1 -1
  54. data/vendor/assets/javascripts/ckeditor/lang/is.js +1 -1
  55. data/vendor/assets/javascripts/ckeditor/lang/it.js +1 -1
  56. data/vendor/assets/javascripts/ckeditor/lang/ja.js +1 -1
  57. data/vendor/assets/javascripts/ckeditor/lang/ka.js +1 -1
  58. data/vendor/assets/javascripts/ckeditor/lang/km.js +1 -1
  59. data/vendor/assets/javascripts/ckeditor/lang/ko.js +1 -1
  60. data/vendor/assets/javascripts/ckeditor/lang/ku.js +1 -1
  61. data/vendor/assets/javascripts/ckeditor/lang/lt.js +1 -1
  62. data/vendor/assets/javascripts/ckeditor/lang/lv.js +1 -1
  63. data/vendor/assets/javascripts/ckeditor/lang/mk.js +1 -1
  64. data/vendor/assets/javascripts/ckeditor/lang/mn.js +1 -1
  65. data/vendor/assets/javascripts/ckeditor/lang/ms.js +1 -1
  66. data/vendor/assets/javascripts/ckeditor/lang/nb.js +1 -1
  67. data/vendor/assets/javascripts/ckeditor/lang/nl.js +1 -1
  68. data/vendor/assets/javascripts/ckeditor/lang/no.js +1 -1
  69. data/vendor/assets/javascripts/ckeditor/lang/pl.js +1 -1
  70. data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +1 -1
  71. data/vendor/assets/javascripts/ckeditor/lang/pt.js +1 -1
  72. data/vendor/assets/javascripts/ckeditor/lang/ro.js +1 -1
  73. data/vendor/assets/javascripts/ckeditor/lang/ru.js +1 -1
  74. data/vendor/assets/javascripts/ckeditor/lang/si.js +1 -1
  75. data/vendor/assets/javascripts/ckeditor/lang/sk.js +1 -1
  76. data/vendor/assets/javascripts/ckeditor/lang/sl.js +1 -1
  77. data/vendor/assets/javascripts/ckeditor/lang/sq.js +1 -1
  78. data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +1 -1
  79. data/vendor/assets/javascripts/ckeditor/lang/sr.js +1 -1
  80. data/vendor/assets/javascripts/ckeditor/lang/sv.js +1 -1
  81. data/vendor/assets/javascripts/ckeditor/lang/th.js +1 -1
  82. data/vendor/assets/javascripts/ckeditor/lang/tr.js +1 -1
  83. data/vendor/assets/javascripts/ckeditor/lang/ug.js +1 -1
  84. data/vendor/assets/javascripts/ckeditor/lang/uk.js +1 -1
  85. data/vendor/assets/javascripts/ckeditor/lang/vi.js +1 -1
  86. data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +1 -1
  87. data/vendor/assets/javascripts/ckeditor/lang/zh.js +1 -1
  88. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +6 -6
  89. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +1 -1
  90. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +1 -1
  91. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +1 -1
  92. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +3 -4
  93. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +9 -0
  94. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +2 -2
  95. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +6 -6
  96. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +1 -1
  97. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +1 -1
  98. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
  99. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +4 -4
  100. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +3 -3
  101. data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +5 -5
  102. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +1 -1
  103. data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  104. data/vendor/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  105. data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +21 -21
  106. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +7 -6
  107. data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +20 -20
  108. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  109. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  110. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  111. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  112. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  113. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  114. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  115. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  116. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  117. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  118. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  119. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  120. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  121. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  122. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  123. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  124. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.png +0 -0
  125. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  126. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.png +0 -0
  127. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  128. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.png +0 -0
  129. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  130. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  131. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  132. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  133. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  134. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  135. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  136. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  137. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  138. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  139. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  140. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  141. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  142. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  143. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  144. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  145. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  146. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  147. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  148. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  149. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  150. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  151. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  152. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +1 -1
  153. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +9 -9
  154. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +3 -3
  155. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +8 -9
  156. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +1 -1
  157. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +1 -1
  158. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
  159. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +1 -1
  160. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +4 -4
  161. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +1 -1
  162. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +2 -2
  163. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +3 -3
  164. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +1 -1
  165. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +11 -10
  166. data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +3 -3
  167. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmp.html +5 -18
  168. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +62 -62
  169. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +1 -1
  170. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +1 -1
  171. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +1 -1
  172. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +1 -1
  173. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +1 -1
  174. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +1 -1
  175. data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +1 -1
  176. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +1 -1
  177. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +1 -1
  178. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +1 -1
  179. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +1 -1
  180. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +1 -1
  181. data/vendor/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  182. data/vendor/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  183. metadata +28 -41
  184. data/vendor/assets/javascripts/ckeditor/samples/ajax.html +0 -82
  185. data/vendor/assets/javascripts/ckeditor/samples/api.html +0 -207
  186. data/vendor/assets/javascripts/ckeditor/samples/appendto.html +0 -57
  187. data/vendor/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  188. data/vendor/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
  189. data/vendor/assets/javascripts/ckeditor/samples/assets/posteddata.php +0 -59
  190. data/vendor/assets/javascripts/ckeditor/samples/assets/sample.css +0 -3
  191. data/vendor/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
  192. data/vendor/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
  193. data/vendor/assets/javascripts/ckeditor/samples/datafiltering.html +0 -401
  194. data/vendor/assets/javascripts/ckeditor/samples/divreplace.html +0 -141
  195. data/vendor/assets/javascripts/ckeditor/samples/index.html +0 -128
  196. data/vendor/assets/javascripts/ckeditor/samples/inlineall.html +0 -311
  197. data/vendor/assets/javascripts/ckeditor/samples/inlinebycode.html +0 -121
  198. data/vendor/assets/javascripts/ckeditor/samples/inlinetextarea.html +0 -110
  199. data/vendor/assets/javascripts/ckeditor/samples/jquery.html +0 -97
  200. data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/assets/my_dialog.js +0 -48
  201. data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/dialog.html +0 -187
  202. data/vendor/assets/javascripts/ckeditor/samples/plugins/enterkey/enterkey.html +0 -103
  203. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  204. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  205. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
  206. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
  207. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputhtml.html +0 -221
  208. data/vendor/assets/javascripts/ckeditor/samples/plugins/magicline/magicline.html +0 -207
  209. data/vendor/assets/javascripts/ckeditor/samples/plugins/toolbar/toolbar.html +0 -232
  210. data/vendor/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
  211. data/vendor/assets/javascripts/ckeditor/samples/readonly.html +0 -73
  212. data/vendor/assets/javascripts/ckeditor/samples/replacebyclass.html +0 -57
  213. data/vendor/assets/javascripts/ckeditor/samples/replacebycode.html +0 -56
  214. data/vendor/assets/javascripts/ckeditor/samples/sample.css +0 -339
  215. data/vendor/assets/javascripts/ckeditor/samples/sample.js +0 -33
  216. data/vendor/assets/javascripts/ckeditor/samples/sample_posteddata.php +0 -16
  217. data/vendor/assets/javascripts/ckeditor/samples/tabindex.html +0 -75
  218. data/vendor/assets/javascripts/ckeditor/samples/uicolor.html +0 -69
  219. data/vendor/assets/javascripts/ckeditor/samples/uilanguages.html +0 -119
  220. data/vendor/assets/javascripts/ckeditor/samples/xhtmlstyle.html +0 -231
@@ -1,73 +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
- <title>Using the CKEditor Read-Only API &mdash; CKEditor Sample</title>
9
- <meta charset="utf-8">
10
- <script src="../ckeditor.js"></script>
11
- <link rel="stylesheet" href="sample.css">
12
- <script>
13
-
14
- var editor;
15
-
16
- // The instanceReady event is fired, when an instance of CKEditor has finished
17
- // its initialization.
18
- CKEDITOR.on( 'instanceReady', function( ev ) {
19
- editor = ev.editor;
20
-
21
- // Show this "on" button.
22
- document.getElementById( 'readOnlyOn' ).style.display = '';
23
-
24
- // Event fired when the readOnly property changes.
25
- editor.on( 'readOnly', function() {
26
- document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
27
- document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
28
- });
29
- });
30
-
31
- function toggleReadOnly( isReadOnly ) {
32
- // Change the read-only state of the editor.
33
- // http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly
34
- editor.setReadOnly( isReadOnly );
35
- }
36
-
37
- </script>
38
- </head>
39
- <body>
40
- <h1 class="samples">
41
- <a href="index.html">CKEditor Samples</a> &raquo; Using the CKEditor Read-Only API
42
- </h1>
43
- <div class="description">
44
- <p>
45
- This sample shows how to use the
46
- <code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly">setReadOnly</a></code>
47
- API to put editor into the read-only state that makes it impossible for users to change the editor contents.
48
- </p>
49
- <p>
50
- For details on how to create this setup check the source code of this sample page.
51
- </p>
52
- </div>
53
- <form action="sample_posteddata.php" method="post">
54
- <p>
55
- <textarea class="ckeditor" id="editor1" name="editor1" cols="100" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
56
- </p>
57
- <p>
58
- <input id="readOnlyOn" onclick="toggleReadOnly();" type="button" value="Make it read-only" style="display:none">
59
- <input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none">
60
- </p>
61
- </form>
62
- <div id="footer">
63
- <hr>
64
- <p>
65
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
66
- </p>
67
- <p id="copy">
68
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
69
- Knabben. All rights reserved.
70
- </p>
71
- </div>
72
- </body>
73
- </html>
@@ -1,57 +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
- <title>Replace Textareas by Class Name &mdash; CKEditor Sample</title>
9
- <meta charset="utf-8">
10
- <script src="../ckeditor.js"></script>
11
- <link rel="stylesheet" href="sample.css">
12
- </head>
13
- <body>
14
- <h1 class="samples">
15
- <a href="index.html">CKEditor Samples</a> &raquo; Replace Textarea Elements by Class Name
16
- </h1>
17
- <div class="description">
18
- <p>
19
- This sample shows how to automatically replace all <code>&lt;textarea&gt;</code> elements
20
- of a given class with a CKEditor instance.
21
- </p>
22
- <p>
23
- To replace a <code>&lt;textarea&gt;</code> element, simply assign it the <code>ckeditor</code>
24
- class, as in the code below:
25
- </p>
26
- <pre class="samples">
27
- &lt;textarea <strong>class="ckeditor</strong>" name="editor1"&gt;&lt;/textarea&gt;
28
- </pre>
29
- <p>
30
- Note that other <code>&lt;textarea&gt;</code> attributes (like <code>id</code> or <code>name</code>) need to be adjusted to your document.
31
- </p>
32
- </div>
33
- <form action="sample_posteddata.php" method="post">
34
- <p>
35
- <label for="editor1">
36
- Editor 1:
37
- </label>
38
- <textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">
39
- &lt;h1&gt;&lt;img alt=&quot;Saturn V carrying Apollo 11&quot; class=&quot;right&quot; src=&quot;assets/sample.jpg&quot;/&gt; Apollo 11&lt;/h1&gt; &lt;p&gt;&lt;b&gt;Apollo 11&lt;/b&gt; was the spaceflight that landed the first humans, Americans &lt;a href=&quot;http://en.wikipedia.org/wiki/Neil_Armstrong&quot; title=&quot;Neil Armstrong&quot;&gt;Neil Armstrong&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Buzz_Aldrin&quot; title=&quot;Buzz Aldrin&quot;&gt;Buzz Aldrin&lt;/a&gt;, 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.&lt;/p&gt; &lt;p&gt;Armstrong spent about &lt;s&gt;three and a half&lt;/s&gt; two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&amp;nbsp;kg) of lunar material for return to Earth. A third member of the mission, &lt;a href=&quot;http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)&quot; title=&quot;Michael Collins (astronaut)&quot;&gt;Michael Collins&lt;/a&gt;, piloted the &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_Command/Service_Module&quot; title=&quot;Apollo Command/Service Module&quot;&gt;command&lt;/a&gt; spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.&lt;/p&gt; &lt;h2&gt;Broadcasting and &lt;em&gt;quotes&lt;/em&gt; &lt;a id=&quot;quotes&quot; name=&quot;quotes&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;One small step for [a] man, one giant leap for mankind.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Apollo 11 effectively ended the &lt;a href=&quot;http://en.wikipedia.org/wiki/Space_Race&quot; title=&quot;Space Race&quot;&gt;Space Race&lt;/a&gt; and fulfilled a national goal proposed in 1961 by the late U.S. President &lt;a href=&quot;http://en.wikipedia.org/wiki/John_F._Kennedy&quot; title=&quot;John F. Kennedy&quot;&gt;John F. Kennedy&lt;/a&gt; in a speech before the United States Congress:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.&lt;/p&gt;&lt;/blockquote&gt; &lt;h2&gt;Technical details &lt;a id=&quot;tech-details&quot; name=&quot;tech-details&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;table align=&quot;right&quot; border=&quot;1&quot; bordercolor=&quot;#ccc&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;margin:10px 0 10px 15px;&quot;&gt; &lt;caption&gt;&lt;strong&gt;Mission crew&lt;/strong&gt;&lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope=&quot;col&quot;&gt;Position&lt;/th&gt; &lt;th scope=&quot;col&quot;&gt;Astronaut&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Commander&lt;/td&gt; &lt;td&gt;Neil A. Armstrong&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Command Module Pilot&lt;/td&gt; &lt;td&gt;Michael Collins&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Lunar Module Pilot&lt;/td&gt; &lt;td&gt;Edwin &amp;quot;Buzz&amp;quot; E. Aldrin, Jr.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;Launched by a &lt;strong&gt;Saturn V&lt;/strong&gt; rocket from &lt;a href=&quot;http://en.wikipedia.org/wiki/Kennedy_Space_Center&quot; title=&quot;Kennedy Space Center&quot;&gt;Kennedy Space Center&lt;/a&gt; in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of &lt;a href=&quot;http://en.wikipedia.org/wiki/NASA&quot; title=&quot;NASA&quot;&gt;NASA&lt;/a&gt;&amp;#39;s Apollo program. The Apollo spacecraft had three parts:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Command Module&lt;/strong&gt; with a cabin for the three astronauts which was the only part which landed back on Earth&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Service Module&lt;/strong&gt; which supported the Command Module with propulsion, electrical power, oxygen and water&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Lunar Module&lt;/strong&gt; for landing on the Moon.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;After being sent to the Moon by the Saturn V&amp;#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 &lt;a href=&quot;http://en.wikipedia.org/wiki/Mare_Tranquillitatis&quot; title=&quot;Mare Tranquillitatis&quot;&gt;Sea of Tranquility&lt;/a&gt;. 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 &lt;a href=&quot;http://en.wikipedia.org/wiki/Pacific_Ocean&quot; title=&quot;Pacific Ocean&quot;&gt;Pacific Ocean&lt;/a&gt; on July 24.&lt;/p&gt; &lt;hr/&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;small&gt;Source: &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_11&quot;&gt;Wikipedia.org&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
40
- </textarea>
41
- </p>
42
- <p>
43
- <input type="submit" value="Submit">
44
- </p>
45
- </form>
46
- <div id="footer">
47
- <hr>
48
- <p>
49
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
50
- </p>
51
- <p id="copy">
52
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
53
- Knabben. All rights reserved.
54
- </p>
55
- </div>
56
- </body>
57
- </html>
@@ -1,56 +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
- <title>Replace Textarea by Code &mdash; CKEditor Sample</title>
9
- <meta charset="utf-8">
10
- <script src="../ckeditor.js"></script>
11
- <link href="sample.css" rel="stylesheet">
12
- </head>
13
- <body>
14
- <h1 class="samples">
15
- <a href="index.html">CKEditor Samples</a> &raquo; Replace Textarea Elements Using JavaScript Code
16
- </h1>
17
- <form action="sample_posteddata.php" method="post">
18
- <div class="description">
19
- <p>
20
- This editor is using an <code>&lt;iframe&gt;</code> element-based editing area, provided by the <strong>Wysiwygarea</strong> plugin.
21
- </p>
22
- <pre class="samples">
23
- CKEDITOR.replace( '<em>textarea_id</em>' )
24
- </pre>
25
- </div>
26
- <textarea cols="80" id="editor1" name="editor1" rows="10">
27
- &lt;h1&gt;&lt;img alt=&quot;Saturn V carrying Apollo 11&quot; class=&quot;right&quot; src=&quot;assets/sample.jpg&quot;/&gt; Apollo 11&lt;/h1&gt; &lt;p&gt;&lt;b&gt;Apollo 11&lt;/b&gt; was the spaceflight that landed the first humans, Americans &lt;a href=&quot;http://en.wikipedia.org/wiki/Neil_Armstrong&quot; title=&quot;Neil Armstrong&quot;&gt;Neil Armstrong&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Buzz_Aldrin&quot; title=&quot;Buzz Aldrin&quot;&gt;Buzz Aldrin&lt;/a&gt;, 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.&lt;/p&gt; &lt;p&gt;Armstrong spent about &lt;s&gt;three and a half&lt;/s&gt; two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&amp;nbsp;kg) of lunar material for return to Earth. A third member of the mission, &lt;a href=&quot;http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)&quot; title=&quot;Michael Collins (astronaut)&quot;&gt;Michael Collins&lt;/a&gt;, piloted the &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_Command/Service_Module&quot; title=&quot;Apollo Command/Service Module&quot;&gt;command&lt;/a&gt; spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.&lt;/p&gt; &lt;h2&gt;Broadcasting and &lt;em&gt;quotes&lt;/em&gt; &lt;a id=&quot;quotes&quot; name=&quot;quotes&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;One small step for [a] man, one giant leap for mankind.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Apollo 11 effectively ended the &lt;a href=&quot;http://en.wikipedia.org/wiki/Space_Race&quot; title=&quot;Space Race&quot;&gt;Space Race&lt;/a&gt; and fulfilled a national goal proposed in 1961 by the late U.S. President &lt;a href=&quot;http://en.wikipedia.org/wiki/John_F._Kennedy&quot; title=&quot;John F. Kennedy&quot;&gt;John F. Kennedy&lt;/a&gt; in a speech before the United States Congress:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.&lt;/p&gt;&lt;/blockquote&gt; &lt;h2&gt;Technical details &lt;a id=&quot;tech-details&quot; name=&quot;tech-details&quot;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;table align=&quot;right&quot; border=&quot;1&quot; bordercolor=&quot;#ccc&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;margin:10px 0 10px 15px;&quot;&gt; &lt;caption&gt;&lt;strong&gt;Mission crew&lt;/strong&gt;&lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope=&quot;col&quot;&gt;Position&lt;/th&gt; &lt;th scope=&quot;col&quot;&gt;Astronaut&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;Commander&lt;/td&gt; &lt;td&gt;Neil A. Armstrong&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Command Module Pilot&lt;/td&gt; &lt;td&gt;Michael Collins&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Lunar Module Pilot&lt;/td&gt; &lt;td&gt;Edwin &amp;quot;Buzz&amp;quot; E. Aldrin, Jr.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;p&gt;Launched by a &lt;strong&gt;Saturn V&lt;/strong&gt; rocket from &lt;a href=&quot;http://en.wikipedia.org/wiki/Kennedy_Space_Center&quot; title=&quot;Kennedy Space Center&quot;&gt;Kennedy Space Center&lt;/a&gt; in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of &lt;a href=&quot;http://en.wikipedia.org/wiki/NASA&quot; title=&quot;NASA&quot;&gt;NASA&lt;/a&gt;&amp;#39;s Apollo program. The Apollo spacecraft had three parts:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Command Module&lt;/strong&gt; with a cabin for the three astronauts which was the only part which landed back on Earth&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Service Module&lt;/strong&gt; which supported the Command Module with propulsion, electrical power, oxygen and water&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Lunar Module&lt;/strong&gt; for landing on the Moon.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;After being sent to the Moon by the Saturn V&amp;#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 &lt;a href=&quot;http://en.wikipedia.org/wiki/Mare_Tranquillitatis&quot; title=&quot;Mare Tranquillitatis&quot;&gt;Sea of Tranquility&lt;/a&gt;. 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 &lt;a href=&quot;http://en.wikipedia.org/wiki/Pacific_Ocean&quot; title=&quot;Pacific Ocean&quot;&gt;Pacific Ocean&lt;/a&gt; on July 24.&lt;/p&gt; &lt;hr/&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;small&gt;Source: &lt;a href=&quot;http://en.wikipedia.org/wiki/Apollo_11&quot;&gt;Wikipedia.org&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
28
- </textarea>
29
- <script>
30
-
31
- // This call can be placed at any point after the
32
- // <textarea>, or inside a <head><script> in a
33
- // window.onload event handler.
34
-
35
- // Replace the <textarea id="editor"> with an CKEditor
36
- // instance, using default configurations.
37
-
38
- CKEDITOR.replace( 'editor1' );
39
-
40
- </script>
41
- <p>
42
- <input type="submit" value="Submit">
43
- </p>
44
- </form>
45
- <div id="footer">
46
- <hr>
47
- <p>
48
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
49
- </p>
50
- <p id="copy">
51
- Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
52
- Knabben. All rights reserved.
53
- </p>
54
- </div>
55
- </body>
56
- </html>
@@ -1,339 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
-
6
- html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre
7
- {
8
- line-height: 1.5em;
9
- }
10
-
11
- body
12
- {
13
- padding: 10px 30px;
14
- }
15
-
16
- input, textarea, select, option, optgroup, button, td, th
17
- {
18
- font-size: 100%;
19
- }
20
-
21
- pre, code, kbd, samp, tt
22
- {
23
- font-family: monospace,monospace;
24
- font-size: 1em;
25
- }
26
-
27
- body {
28
- width: 960px;
29
- margin: 0 auto;
30
- }
31
-
32
- code
33
- {
34
- background: #f3f3f3;
35
- border: 1px solid #ddd;
36
- padding: 1px 4px;
37
-
38
- -moz-border-radius: 3px;
39
- -webkit-border-radius: 3px;
40
- border-radius: 3px;
41
- }
42
-
43
- abbr
44
- {
45
- border-bottom: 1px dotted #555;
46
- cursor: pointer;
47
- }
48
-
49
- .new
50
- {
51
- background: #FF7E00;
52
- border: 1px solid #DA8028;
53
- color: #fff;
54
- font-size: 10px;
55
- font-weight: bold;
56
- padding: 1px 4px;
57
- text-shadow: 0 1px 0 #C97626;
58
- text-transform: uppercase;
59
- margin: 0 0 0 3px;
60
-
61
- -moz-border-radius: 3px;
62
- -webkit-border-radius: 3px;
63
- border-radius: 3px;
64
-
65
- -moz-box-shadow: 0 2px 3px 0 #FFA54E inset;
66
- -webkit-box-shadow: 0 2px 3px 0 #FFA54E inset;
67
- box-shadow: 0 2px 3px 0 #FFA54E inset;
68
- }
69
-
70
- h1.samples
71
- {
72
- color: #0782C1;
73
- font-size: 200%;
74
- font-weight: normal;
75
- margin: 0;
76
- padding: 0;
77
- }
78
-
79
- h1.samples a
80
- {
81
- color: #0782C1;
82
- text-decoration: none;
83
- border-bottom: 1px dotted #0782C1;
84
- }
85
-
86
- .samples a:hover
87
- {
88
- border-bottom: 1px dotted #0782C1;
89
- }
90
-
91
- h2.samples
92
- {
93
- color: #000000;
94
- font-size: 130%;
95
- margin: 15px 0 0 0;
96
- padding: 0;
97
- }
98
-
99
- p, blockquote, address, form, pre, dl, h1.samples, h2.samples
100
- {
101
- margin-bottom: 15px;
102
- }
103
-
104
- ul.samples
105
- {
106
- margin-bottom: 15px;
107
- }
108
-
109
- .clear
110
- {
111
- clear: both;
112
- }
113
-
114
- fieldset
115
- {
116
- margin: 0;
117
- padding: 10px;
118
- }
119
-
120
- body, input, textarea
121
- {
122
- color: #333333;
123
- font-family: Arial, Helvetica, sans-serif;
124
- }
125
-
126
- body
127
- {
128
- font-size: 75%;
129
- }
130
-
131
- a.samples
132
- {
133
- color: #189DE1;
134
- text-decoration: none;
135
- }
136
-
137
- form
138
- {
139
- margin: 0;
140
- padding: 0;
141
- }
142
-
143
- pre.samples
144
- {
145
- background-color: #F7F7F7;
146
- border: 1px solid #D7D7D7;
147
- overflow: auto;
148
- padding: 0.25em;
149
- white-space: pre-wrap; /* CSS 2.1 */
150
- word-wrap: break-word; /* IE7 */
151
- -moz-tab-size: 4;
152
- -o-tab-size: 4;
153
- -webkit-tab-size: 4;
154
- tab-size: 4;
155
- }
156
-
157
- #footer
158
- {
159
- clear: both;
160
- padding-top: 10px;
161
- }
162
-
163
- #footer hr
164
- {
165
- margin: 10px 0 15px 0;
166
- height: 1px;
167
- border: solid 1px gray;
168
- border-bottom: none;
169
- }
170
-
171
- #footer p
172
- {
173
- margin: 0 10px 10px 10px;
174
- float: left;
175
- }
176
-
177
- #footer #copy
178
- {
179
- float: right;
180
- }
181
-
182
- #outputSample
183
- {
184
- width: 100%;
185
- table-layout: fixed;
186
- }
187
-
188
- #outputSample thead th
189
- {
190
- color: #dddddd;
191
- background-color: #999999;
192
- padding: 4px;
193
- white-space: nowrap;
194
- }
195
-
196
- #outputSample tbody th
197
- {
198
- vertical-align: top;
199
- text-align: left;
200
- }
201
-
202
- #outputSample pre
203
- {
204
- margin: 0;
205
- padding: 0;
206
- }
207
-
208
- .description
209
- {
210
- border: 1px dotted #B7B7B7;
211
- margin-bottom: 10px;
212
- padding: 10px 10px 0;
213
- overflow: hidden;
214
- }
215
-
216
- label
217
- {
218
- display: block;
219
- margin-bottom: 6px;
220
- }
221
-
222
- /**
223
- * CKEditor editables are automatically set with the "cke_editable" class
224
- * plus cke_editable_(inline|themed) depending on the editor type.
225
- */
226
-
227
- /* Style a bit the inline editables. */
228
- .cke_editable.cke_editable_inline
229
- {
230
- cursor: pointer;
231
- }
232
-
233
- /* Once an editable element gets focused, the "cke_focus" class is
234
- added to it, so we can style it differently. */
235
- .cke_editable.cke_editable_inline.cke_focus
236
- {
237
- box-shadow: inset 0px 0px 20px 3px #ddd, inset 0 0 1px #000;
238
- outline: none;
239
- background: #eee;
240
- cursor: text;
241
- }
242
-
243
- /* Avoid pre-formatted overflows inline editable. */
244
- .cke_editable_inline pre
245
- {
246
- white-space: pre-wrap;
247
- word-wrap: break-word;
248
- }
249
-
250
- /**
251
- * Samples index styles.
252
- */
253
-
254
- .twoColumns,
255
- .twoColumnsLeft,
256
- .twoColumnsRight
257
- {
258
- overflow: hidden;
259
- }
260
-
261
- .twoColumnsLeft,
262
- .twoColumnsRight
263
- {
264
- width: 45%;
265
- }
266
-
267
- .twoColumnsLeft
268
- {
269
- float: left;
270
- }
271
-
272
- .twoColumnsRight
273
- {
274
- float: right;
275
- }
276
-
277
- dl.samples
278
- {
279
- padding: 0 0 0 40px;
280
- }
281
- dl.samples > dt
282
- {
283
- display: list-item;
284
- list-style-type: disc;
285
- list-style-position: outside;
286
- margin: 0 0 3px;
287
- }
288
- dl.samples > dd
289
- {
290
- margin: 0 0 3px;
291
- }
292
- .warning
293
- {
294
- color: #ff0000;
295
- background-color: #FFCCBA;
296
- border: 2px dotted #ff0000;
297
- padding: 15px 10px;
298
- margin: 10px 0;
299
- }
300
-
301
- /* Used on inline samples */
302
-
303
- blockquote
304
- {
305
- font-style: italic;
306
- font-family: Georgia, Times, "Times New Roman", serif;
307
- padding: 2px 0;
308
- border-style: solid;
309
- border-color: #ccc;
310
- border-width: 0;
311
- }
312
-
313
- .cke_contents_ltr blockquote
314
- {
315
- padding-left: 20px;
316
- padding-right: 8px;
317
- border-left-width: 5px;
318
- }
319
-
320
- .cke_contents_rtl blockquote
321
- {
322
- padding-left: 8px;
323
- padding-right: 20px;
324
- border-right-width: 5px;
325
- }
326
-
327
- img.right {
328
- border: 1px solid #ccc;
329
- float: right;
330
- margin-left: 15px;
331
- padding: 5px;
332
- }
333
-
334
- img.left {
335
- border: 1px solid #ccc;
336
- float: left;
337
- margin-right: 15px;
338
- padding: 5px;
339
- }