@sd-angular/core 0.0.1050 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (530) hide show
  1. package/api/package.json +2 -3
  2. package/api/sd-angular-core-api.metadata.json +1 -1
  3. package/assets/scss/sd-core.scss +0 -2
  4. package/bundles/sd-angular-core-api.umd.js +3 -25
  5. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  6. package/bundles/sd-angular-core-api.umd.min.js +1 -1
  7. package/bundles/sd-angular-core-api.umd.min.js.map +1 -1
  8. package/bundles/sd-angular-core-chart.umd.js +1 -1
  9. package/bundles/sd-angular-core-chart.umd.min.js +1 -1
  10. package/bundles/sd-angular-core-chart.umd.min.js.map +1 -1
  11. package/bundles/sd-angular-core-date-range.umd.js +1 -1
  12. package/bundles/sd-angular-core-date-range.umd.min.js +1 -1
  13. package/bundles/sd-angular-core-date-time.umd.js +1 -1
  14. package/bundles/sd-angular-core-date-time.umd.min.js +2 -2
  15. package/bundles/sd-angular-core-editor.umd.js +1 -1
  16. package/bundles/sd-angular-core-editor.umd.min.js +1 -1
  17. package/bundles/sd-angular-core-export.umd.js +5 -24
  18. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  19. package/bundles/sd-angular-core-export.umd.min.js +1 -1
  20. package/bundles/sd-angular-core-export.umd.min.js.map +1 -1
  21. package/bundles/sd-angular-core-filter.umd.js +1 -1
  22. package/bundles/sd-angular-core-filter.umd.min.js +1 -1
  23. package/bundles/sd-angular-core-filter.umd.min.js.map +1 -1
  24. package/bundles/sd-angular-core-grid-material.umd.js +61 -55
  25. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  26. package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
  27. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  28. package/bundles/sd-angular-core-grid.umd.js +1 -1
  29. package/bundles/sd-angular-core-grid.umd.min.js +1 -1
  30. package/bundles/sd-angular-core-grid.umd.min.js.map +1 -1
  31. package/bundles/sd-angular-core-input-currency.umd.js +1 -1
  32. package/bundles/sd-angular-core-input-currency.umd.min.js +1 -1
  33. package/bundles/sd-angular-core-konva.umd.js +1 -1
  34. package/bundles/sd-angular-core-konva.umd.min.js +1 -1
  35. package/bundles/sd-angular-core-notify.umd.js +1 -1
  36. package/bundles/sd-angular-core-notify.umd.min.js +1 -1
  37. package/bundles/sd-angular-core-notify.umd.min.js.map +1 -1
  38. package/bundles/sd-angular-core-upload-excel.umd.js +1 -1
  39. package/bundles/sd-angular-core-upload-excel.umd.min.js +1 -1
  40. package/bundles/sd-angular-core-upload-excel.umd.min.js.map +1 -1
  41. package/bundles/sd-angular-core-upload-file.umd.js +1 -1
  42. package/bundles/sd-angular-core-upload-file.umd.min.js +1 -1
  43. package/bundles/sd-angular-core-utility.umd.js +1 -1
  44. package/bundles/sd-angular-core-utility.umd.min.js +1 -1
  45. package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
  46. package/bundles/sd-angular-core.umd.js +6 -734
  47. package/bundles/sd-angular-core.umd.js.map +1 -1
  48. package/bundles/sd-angular-core.umd.min.js +1 -1
  49. package/bundles/sd-angular-core.umd.min.js.map +1 -1
  50. package/esm2015/api/src/lib/api.service.js +2 -2
  51. package/esm2015/api/src/lib/http.service.js +1 -1
  52. package/esm2015/export/src/lib/export.service.js +2 -2
  53. package/esm2015/grid-material/src/lib/grid-material.component.js +23 -22
  54. package/esm2015/lib/core.module.js +4 -36
  55. package/esm2015/public-api.js +1 -10
  56. package/fesm2015/sd-angular-core-api.js +2 -3
  57. package/fesm2015/sd-angular-core-api.js.map +1 -1
  58. package/fesm2015/sd-angular-core-export.js +1 -1
  59. package/fesm2015/sd-angular-core-export.js.map +1 -1
  60. package/fesm2015/sd-angular-core-grid-material.js +22 -21
  61. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  62. package/fesm2015/sd-angular-core.js +5 -367
  63. package/fesm2015/sd-angular-core.js.map +1 -1
  64. package/package.json +14 -19
  65. package/public-api.d.ts +0 -7
  66. package/sd-angular-core-1.0.2.tgz +0 -0
  67. package/sd-angular-core.metadata.json +1 -1
  68. package/assets/ckeditor/CHANGES.md +0 -1703
  69. package/assets/ckeditor/LICENSE.md +0 -1420
  70. package/assets/ckeditor/README.md +0 -39
  71. package/assets/ckeditor/adapters/jquery.js +0 -10
  72. package/assets/ckeditor/build-config.js +0 -123
  73. package/assets/ckeditor/ckeditor.js +0 -27038
  74. package/assets/ckeditor/config.js +0 -10
  75. package/assets/ckeditor/contents.css +0 -209
  76. package/assets/ckeditor/lang/en.js +0 -5
  77. package/assets/ckeditor/lang/vi.js +0 -5
  78. package/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
  79. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
  80. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +0 -11
  81. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -11
  82. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +0 -11
  83. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -11
  84. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -13
  85. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -12
  86. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -11
  87. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -11
  88. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +0 -12
  89. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -13
  90. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -13
  91. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +0 -11
  92. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +0 -11
  93. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -11
  94. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -13
  95. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +0 -13
  96. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -13
  97. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -11
  98. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +0 -12
  99. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -11
  100. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -11
  101. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +0 -11
  102. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -11
  103. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -13
  104. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +0 -12
  105. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -11
  106. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -11
  107. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -11
  108. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -11
  109. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -12
  110. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +0 -11
  111. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -13
  112. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
  113. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -11
  114. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +0 -10
  115. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -11
  116. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -11
  117. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -12
  118. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -11
  119. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -11
  120. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -12
  121. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -12
  122. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -11
  123. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +0 -12
  124. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -13
  125. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -13
  126. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -12
  127. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -12
  128. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -11
  129. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +0 -10
  130. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -11
  131. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -11
  132. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +0 -12
  133. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -12
  134. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +0 -12
  135. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -11
  136. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -11
  137. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -12
  138. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +0 -11
  139. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -12
  140. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -12
  141. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -11
  142. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -9
  143. package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +0 -9
  144. package/assets/ckeditor/plugins/about/dialogs/about.js +0 -8
  145. package/assets/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  146. package/assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  147. package/assets/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
  148. package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.css +0 -20
  149. package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -14
  150. package/assets/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +0 -25
  151. package/assets/ckeditor/plugins/copyformatting/cursors/cursor.svg +0 -14
  152. package/assets/ckeditor/plugins/copyformatting/styles/copyformatting.css +0 -45
  153. package/assets/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  154. package/assets/ckeditor/plugins/div/dialogs/div.js +0 -9
  155. package/assets/ckeditor/plugins/find/dialogs/find.js +0 -25
  156. package/assets/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  157. package/assets/ckeditor/plugins/flash/images/placeholder.png +0 -0
  158. package/assets/ckeditor/plugins/forms/dialogs/button.js +0 -8
  159. package/assets/ckeditor/plugins/forms/dialogs/checkbox.js +0 -9
  160. package/assets/ckeditor/plugins/forms/dialogs/form.js +0 -8
  161. package/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -7
  162. package/assets/ckeditor/plugins/forms/dialogs/radio.js +0 -9
  163. package/assets/ckeditor/plugins/forms/dialogs/select.js +0 -21
  164. package/assets/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  165. package/assets/ckeditor/plugins/forms/dialogs/textfield.js +0 -11
  166. package/assets/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  167. package/assets/ckeditor/plugins/icons.png +0 -0
  168. package/assets/ckeditor/plugins/icons_hidpi.png +0 -0
  169. package/assets/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  170. package/assets/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  171. package/assets/ckeditor/plugins/image/dialogs/image.js +0 -44
  172. package/assets/ckeditor/plugins/image/images/noimage.png +0 -0
  173. package/assets/ckeditor/plugins/link/dialogs/anchor.js +0 -8
  174. package/assets/ckeditor/plugins/link/dialogs/link.js +0 -30
  175. package/assets/ckeditor/plugins/link/images/anchor.png +0 -0
  176. package/assets/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  177. package/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
  178. package/assets/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  179. package/assets/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  180. package/assets/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  181. package/assets/ckeditor/plugins/magicline/images/icon.png +0 -0
  182. package/assets/ckeditor/plugins/notification/lang/az.js +0 -7
  183. package/assets/ckeditor/plugins/notification/lang/bg.js +0 -7
  184. package/assets/ckeditor/plugins/notification/lang/ca.js +0 -7
  185. package/assets/ckeditor/plugins/notification/lang/cs.js +0 -7
  186. package/assets/ckeditor/plugins/notification/lang/da.js +0 -7
  187. package/assets/ckeditor/plugins/notification/lang/de-ch.js +0 -7
  188. package/assets/ckeditor/plugins/notification/lang/de.js +0 -7
  189. package/assets/ckeditor/plugins/notification/lang/en-au.js +0 -7
  190. package/assets/ckeditor/plugins/notification/lang/en.js +0 -7
  191. package/assets/ckeditor/plugins/notification/lang/eo.js +0 -7
  192. package/assets/ckeditor/plugins/notification/lang/es-mx.js +0 -7
  193. package/assets/ckeditor/plugins/notification/lang/es.js +0 -7
  194. package/assets/ckeditor/plugins/notification/lang/et.js +0 -7
  195. package/assets/ckeditor/plugins/notification/lang/eu.js +0 -7
  196. package/assets/ckeditor/plugins/notification/lang/fa.js +0 -7
  197. package/assets/ckeditor/plugins/notification/lang/fr.js +0 -7
  198. package/assets/ckeditor/plugins/notification/lang/gl.js +0 -7
  199. package/assets/ckeditor/plugins/notification/lang/hr.js +0 -7
  200. package/assets/ckeditor/plugins/notification/lang/hu.js +0 -7
  201. package/assets/ckeditor/plugins/notification/lang/id.js +0 -7
  202. package/assets/ckeditor/plugins/notification/lang/it.js +0 -7
  203. package/assets/ckeditor/plugins/notification/lang/ja.js +0 -7
  204. package/assets/ckeditor/plugins/notification/lang/km.js +0 -7
  205. package/assets/ckeditor/plugins/notification/lang/ko.js +0 -7
  206. package/assets/ckeditor/plugins/notification/lang/ku.js +0 -7
  207. package/assets/ckeditor/plugins/notification/lang/lt.js +0 -7
  208. package/assets/ckeditor/plugins/notification/lang/lv.js +0 -7
  209. package/assets/ckeditor/plugins/notification/lang/nb.js +0 -7
  210. package/assets/ckeditor/plugins/notification/lang/nl.js +0 -7
  211. package/assets/ckeditor/plugins/notification/lang/oc.js +0 -7
  212. package/assets/ckeditor/plugins/notification/lang/pl.js +0 -7
  213. package/assets/ckeditor/plugins/notification/lang/pt-br.js +0 -7
  214. package/assets/ckeditor/plugins/notification/lang/pt.js +0 -7
  215. package/assets/ckeditor/plugins/notification/lang/ro.js +0 -7
  216. package/assets/ckeditor/plugins/notification/lang/ru.js +0 -7
  217. package/assets/ckeditor/plugins/notification/lang/sk.js +0 -7
  218. package/assets/ckeditor/plugins/notification/lang/sq.js +0 -7
  219. package/assets/ckeditor/plugins/notification/lang/sr-latn.js +0 -7
  220. package/assets/ckeditor/plugins/notification/lang/sr.js +0 -7
  221. package/assets/ckeditor/plugins/notification/lang/sv.js +0 -7
  222. package/assets/ckeditor/plugins/notification/lang/tr.js +0 -7
  223. package/assets/ckeditor/plugins/notification/lang/ug.js +0 -7
  224. package/assets/ckeditor/plugins/notification/lang/uk.js +0 -7
  225. package/assets/ckeditor/plugins/notification/lang/zh-cn.js +0 -7
  226. package/assets/ckeditor/plugins/notification/lang/zh.js +0 -7
  227. package/assets/ckeditor/plugins/notification/plugin.js +0 -933
  228. package/assets/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  229. package/assets/ckeditor/plugins/pastefromword/filter/default.js +0 -55
  230. package/assets/ckeditor/plugins/preview/preview.html +0 -13
  231. package/assets/ckeditor/plugins/scayt/CHANGELOG.md +0 -20
  232. package/assets/ckeditor/plugins/scayt/LICENSE.md +0 -28
  233. package/assets/ckeditor/plugins/scayt/README.md +0 -81
  234. package/assets/ckeditor/plugins/scayt/dialogs/dialog.css +0 -23
  235. package/assets/ckeditor/plugins/scayt/dialogs/options.js +0 -32
  236. package/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  237. package/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +0 -25
  238. package/assets/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  239. package/assets/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  240. package/assets/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  241. package/assets/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  242. package/assets/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  243. package/assets/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  244. package/assets/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  245. package/assets/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  246. package/assets/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  247. package/assets/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  248. package/assets/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  249. package/assets/ckeditor/plugins/smiley/dialogs/smiley.js +0 -11
  250. package/assets/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  251. package/assets/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  252. package/assets/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  253. package/assets/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  254. package/assets/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  255. package/assets/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  256. package/assets/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  257. package/assets/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  258. package/assets/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  259. package/assets/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  260. package/assets/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  261. package/assets/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  262. package/assets/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  263. package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  264. package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  265. package/assets/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  266. package/assets/ckeditor/plugins/smiley/images/envelope.png +0 -0
  267. package/assets/ckeditor/plugins/smiley/images/heart.gif +0 -0
  268. package/assets/ckeditor/plugins/smiley/images/heart.png +0 -0
  269. package/assets/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  270. package/assets/ckeditor/plugins/smiley/images/kiss.png +0 -0
  271. package/assets/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  272. package/assets/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  273. package/assets/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  274. package/assets/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  275. package/assets/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  276. package/assets/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  277. package/assets/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  278. package/assets/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  279. package/assets/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  280. package/assets/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  281. package/assets/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  282. package/assets/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  283. package/assets/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  284. package/assets/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  285. package/assets/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  286. package/assets/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  287. package/assets/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  288. package/assets/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  289. package/assets/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  290. package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  291. package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  292. package/assets/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  293. package/assets/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  294. package/assets/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -20
  295. package/assets/ckeditor/plugins/specialchar/dialogs/lang/af.js +0 -13
  296. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ar.js +0 -13
  297. package/assets/ckeditor/plugins/specialchar/dialogs/lang/az.js +0 -10
  298. package/assets/ckeditor/plugins/specialchar/dialogs/lang/bg.js +0 -13
  299. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -14
  300. package/assets/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
  301. package/assets/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
  302. package/assets/ckeditor/plugins/specialchar/dialogs/lang/da.js +0 -11
  303. package/assets/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +0 -13
  304. package/assets/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
  305. package/assets/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
  306. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +0 -13
  307. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +0 -13
  308. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +0 -13
  309. package/assets/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
  310. package/assets/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
  311. package/assets/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +0 -13
  312. package/assets/ckeditor/plugins/specialchar/dialogs/lang/es.js +0 -13
  313. package/assets/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
  314. package/assets/ckeditor/plugins/specialchar/dialogs/lang/eu.js +0 -13
  315. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
  316. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
  317. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +0 -10
  318. package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -12
  319. package/assets/ckeditor/plugins/specialchar/dialogs/lang/gl.js +0 -13
  320. package/assets/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -12
  321. package/assets/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
  322. package/assets/ckeditor/plugins/specialchar/dialogs/lang/hu.js +0 -12
  323. package/assets/ckeditor/plugins/specialchar/dialogs/lang/id.js +0 -13
  324. package/assets/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
  325. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ja.js +0 -9
  326. package/assets/ckeditor/plugins/specialchar/dialogs/lang/km.js +0 -13
  327. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ko.js +0 -10
  328. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
  329. package/assets/ckeditor/plugins/specialchar/dialogs/lang/lt.js +0 -13
  330. package/assets/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
  331. package/assets/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
  332. package/assets/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
  333. package/assets/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
  334. package/assets/ckeditor/plugins/specialchar/dialogs/lang/oc.js +0 -12
  335. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
  336. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
  337. package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt.js +0 -13
  338. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ro.js +0 -13
  339. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ru.js +0 -13
  340. package/assets/ckeditor/plugins/specialchar/dialogs/lang/si.js +0 -13
  341. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
  342. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sl.js +0 -12
  343. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sq.js +0 -13
  344. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +0 -13
  345. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr.js +0 -13
  346. package/assets/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
  347. package/assets/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
  348. package/assets/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
  349. package/assets/ckeditor/plugins/specialchar/dialogs/lang/tt.js +0 -13
  350. package/assets/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
  351. package/assets/ckeditor/plugins/specialchar/dialogs/lang/uk.js +0 -12
  352. package/assets/ckeditor/plugins/specialchar/dialogs/lang/vi.js +0 -14
  353. package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
  354. package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh.js +0 -9
  355. package/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
  356. package/assets/ckeditor/plugins/table/dialogs/table.js +0 -21
  357. package/assets/ckeditor/plugins/tableselection/styles/tableselection.css +0 -36
  358. package/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -19
  359. package/assets/ckeditor/plugins/templates/dialogs/templates.css +0 -84
  360. package/assets/ckeditor/plugins/templates/dialogs/templates.js +0 -10
  361. package/assets/ckeditor/plugins/templates/templates/default.js +0 -7
  362. package/assets/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  363. package/assets/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  364. package/assets/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  365. package/assets/ckeditor/plugins/videoembed/.gitattributes +0 -17
  366. package/assets/ckeditor/plugins/videoembed/README.md +0 -35
  367. package/assets/ckeditor/plugins/videoembed/dialogs/videoembedDialog.js +0 -114
  368. package/assets/ckeditor/plugins/videoembed/icons/videoembed.png +0 -0
  369. package/assets/ckeditor/plugins/videoembed/lang/en.js +0 -8
  370. package/assets/ckeditor/plugins/videoembed/lang/fr.js +0 -8
  371. package/assets/ckeditor/plugins/videoembed/plugin.js +0 -27
  372. package/assets/ckeditor/plugins/widget/images/handle.png +0 -0
  373. package/assets/ckeditor/plugins/wordcount/css/wordcount.css +0 -3
  374. package/assets/ckeditor/plugins/wordcount/lang/ar.js +0 -12
  375. package/assets/ckeditor/plugins/wordcount/lang/bg.js +0 -17
  376. package/assets/ckeditor/plugins/wordcount/lang/ca.js +0 -14
  377. package/assets/ckeditor/plugins/wordcount/lang/cs.js +0 -15
  378. package/assets/ckeditor/plugins/wordcount/lang/da.js +0 -14
  379. package/assets/ckeditor/plugins/wordcount/lang/de.js +0 -14
  380. package/assets/ckeditor/plugins/wordcount/lang/el.js +0 -14
  381. package/assets/ckeditor/plugins/wordcount/lang/en.js +0 -17
  382. package/assets/ckeditor/plugins/wordcount/lang/es.js +0 -14
  383. package/assets/ckeditor/plugins/wordcount/lang/eu.js +0 -17
  384. package/assets/ckeditor/plugins/wordcount/lang/fa.js +0 -13
  385. package/assets/ckeditor/plugins/wordcount/lang/fi.js +0 -15
  386. package/assets/ckeditor/plugins/wordcount/lang/fr.js +0 -12
  387. package/assets/ckeditor/plugins/wordcount/lang/he.js +0 -14
  388. package/assets/ckeditor/plugins/wordcount/lang/hr.js +0 -14
  389. package/assets/ckeditor/plugins/wordcount/lang/hu.js +0 -14
  390. package/assets/ckeditor/plugins/wordcount/lang/it.js +0 -15
  391. package/assets/ckeditor/plugins/wordcount/lang/ja.js +0 -14
  392. package/assets/ckeditor/plugins/wordcount/lang/ko.js +0 -16
  393. package/assets/ckeditor/plugins/wordcount/lang/nl.js +0 -14
  394. package/assets/ckeditor/plugins/wordcount/lang/no.js +0 -11
  395. package/assets/ckeditor/plugins/wordcount/lang/pl.js +0 -14
  396. package/assets/ckeditor/plugins/wordcount/lang/pt-br.js +0 -14
  397. package/assets/ckeditor/plugins/wordcount/lang/pt.js +0 -10
  398. package/assets/ckeditor/plugins/wordcount/lang/ro.js +0 -15
  399. package/assets/ckeditor/plugins/wordcount/lang/ru.js +0 -14
  400. package/assets/ckeditor/plugins/wordcount/lang/sk.js +0 -15
  401. package/assets/ckeditor/plugins/wordcount/lang/sv.js +0 -15
  402. package/assets/ckeditor/plugins/wordcount/lang/tr.js +0 -14
  403. package/assets/ckeditor/plugins/wordcount/lang/uk.js +0 -17
  404. package/assets/ckeditor/plugins/wordcount/lang/zh-cn.js +0 -17
  405. package/assets/ckeditor/plugins/wordcount/lang/zh.js +0 -17
  406. package/assets/ckeditor/plugins/wordcount/plugin.js +0 -639
  407. package/assets/ckeditor/plugins/wordcount/samples/maxParagraphs.html +0 -26
  408. package/assets/ckeditor/plugins/wordcount/samples/wordcount.html +0 -61
  409. package/assets/ckeditor/plugins/wordcount/samples/wordcountWithMaxCount.html +0 -110
  410. package/assets/ckeditor/plugins/wsc/LICENSE.md +0 -28
  411. package/assets/ckeditor/plugins/wsc/README.md +0 -80
  412. package/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  413. package/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  414. package/assets/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  415. package/assets/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
  416. package/assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  417. package/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
  418. package/assets/ckeditor/samples/css/samples.css +0 -1637
  419. package/assets/ckeditor/samples/img/github-top.png +0 -0
  420. package/assets/ckeditor/samples/img/header-bg.png +0 -0
  421. package/assets/ckeditor/samples/img/header-separator.png +0 -0
  422. package/assets/ckeditor/samples/img/logo.png +0 -0
  423. package/assets/ckeditor/samples/img/logo.svg +0 -13
  424. package/assets/ckeditor/samples/img/navigation-tip.png +0 -0
  425. package/assets/ckeditor/samples/index.html +0 -128
  426. package/assets/ckeditor/samples/js/sample.js +0 -53
  427. package/assets/ckeditor/samples/js/sf.js +0 -17
  428. package/assets/ckeditor/samples/old/ajax.html +0 -85
  429. package/assets/ckeditor/samples/old/api.html +0 -210
  430. package/assets/ckeditor/samples/old/appendto.html +0 -59
  431. package/assets/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
  432. package/assets/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +0 -204
  433. package/assets/ckeditor/samples/old/assets/posteddata.php +0 -59
  434. package/assets/ckeditor/samples/old/assets/sample.jpg +0 -0
  435. package/assets/ckeditor/samples/old/assets/uilanguages/languages.js +0 -7
  436. package/assets/ckeditor/samples/old/datafiltering.html +0 -508
  437. package/assets/ckeditor/samples/old/dialog/assets/my_dialog.js +0 -48
  438. package/assets/ckeditor/samples/old/dialog/dialog.html +0 -190
  439. package/assets/ckeditor/samples/old/divarea/divarea.html +0 -64
  440. package/assets/ckeditor/samples/old/divreplace.html +0 -144
  441. package/assets/ckeditor/samples/old/enterkey/enterkey.html +0 -106
  442. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  443. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  444. package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
  445. package/assets/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
  446. package/assets/ckeditor/samples/old/htmlwriter/outputhtml.html +0 -224
  447. package/assets/ckeditor/samples/old/index.html +0 -134
  448. package/assets/ckeditor/samples/old/inlineall.html +0 -314
  449. package/assets/ckeditor/samples/old/inlinebycode.html +0 -124
  450. package/assets/ckeditor/samples/old/inlinetextarea.html +0 -113
  451. package/assets/ckeditor/samples/old/jquery.html +0 -103
  452. package/assets/ckeditor/samples/old/magicline/magicline.html +0 -209
  453. package/assets/ckeditor/samples/old/readonly.html +0 -76
  454. package/assets/ckeditor/samples/old/replacebyclass.html +0 -60
  455. package/assets/ckeditor/samples/old/replacebycode.html +0 -59
  456. package/assets/ckeditor/samples/old/sample.css +0 -357
  457. package/assets/ckeditor/samples/old/sample.js +0 -50
  458. package/assets/ckeditor/samples/old/sample_posteddata.php +0 -16
  459. package/assets/ckeditor/samples/old/tabindex.html +0 -78
  460. package/assets/ckeditor/samples/old/toolbar/toolbar.html +0 -235
  461. package/assets/ckeditor/samples/old/uicolor.html +0 -72
  462. package/assets/ckeditor/samples/old/uilanguages.html +0 -122
  463. package/assets/ckeditor/samples/old/wysiwygarea/fullpage.html +0 -80
  464. package/assets/ckeditor/samples/old/xhtmlstyle.html +0 -234
  465. package/assets/ckeditor/samples/toolbarconfigurator/css/fontello.css +0 -55
  466. package/assets/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +0 -10
  467. package/assets/ckeditor/samples/toolbarconfigurator/font/config.json +0 -28
  468. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
  469. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.svg +0 -14
  470. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
  471. package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
  472. package/assets/ckeditor/samples/toolbarconfigurator/index.html +0 -446
  473. package/assets/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +0 -13
  474. package/assets/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +0 -9
  475. package/assets/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +0 -33
  476. package/assets/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +0 -14
  477. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +0 -19
  478. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +0 -325
  479. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +0 -288
  480. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +0 -25
  481. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +0 -36
  482. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +0 -38
  483. package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +0 -16
  484. package/assets/ckeditor/skins/office2013/dialog.css +0 -5
  485. package/assets/ckeditor/skins/office2013/editor.css +0 -5
  486. package/assets/ckeditor/skins/office2013/icons.png +0 -0
  487. package/assets/ckeditor/skins/office2013/icons_hidpi.png +0 -0
  488. package/assets/ckeditor/skins/office2013/images/arrow.png +0 -0
  489. package/assets/ckeditor/skins/office2013/images/close.png +0 -0
  490. package/assets/ckeditor/skins/office2013/images/hidpi/close.png +0 -0
  491. package/assets/ckeditor/skins/office2013/images/hidpi/lock-open.png +0 -0
  492. package/assets/ckeditor/skins/office2013/images/hidpi/lock.png +0 -0
  493. package/assets/ckeditor/skins/office2013/images/hidpi/refresh.png +0 -0
  494. package/assets/ckeditor/skins/office2013/images/lock-open.png +0 -0
  495. package/assets/ckeditor/skins/office2013/images/lock.png +0 -0
  496. package/assets/ckeditor/skins/office2013/images/refresh.png +0 -0
  497. package/assets/ckeditor/styles.js +0 -137
  498. package/bundles/sd-angular-core-modal-custom.umd.js +0 -487
  499. package/bundles/sd-angular-core-modal-custom.umd.js.map +0 -1
  500. package/bundles/sd-angular-core-modal-custom.umd.min.js +0 -16
  501. package/bundles/sd-angular-core-modal-custom.umd.min.js.map +0 -1
  502. package/esm2015/lib/controls/ckeditor-control/ckeditor-control.component.js +0 -53
  503. package/esm2015/lib/controls/date-picker-control/date-picker-control.component.js +0 -156
  504. package/esm2015/lib/pipes/sd-date.pipe.js +0 -15
  505. package/esm2015/lib/validators/chip-min-item.validator.js +0 -26
  506. package/esm2015/lib/validators/custom.validator.js +0 -39
  507. package/esm2015/lib/validators/max-date.validator.js +0 -30
  508. package/esm2015/lib/validators/min-date.validator.js +0 -30
  509. package/esm2015/modal-custom/index.js +0 -2
  510. package/esm2015/modal-custom/sd-angular-core-modal-custom.js +0 -5
  511. package/esm2015/modal-custom/src/lib/modal-custom/modal-custom.component.js +0 -123
  512. package/esm2015/modal-custom/src/lib/modal-custom.module.js +0 -30
  513. package/esm2015/modal-custom/src/public-api.js +0 -6
  514. package/fesm2015/sd-angular-core-modal-custom.js +0 -161
  515. package/fesm2015/sd-angular-core-modal-custom.js.map +0 -1
  516. package/lib/controls/ckeditor-control/ckeditor-control.component.d.ts +0 -20
  517. package/lib/controls/date-picker-control/date-picker-control.component.d.ts +0 -36
  518. package/lib/pipes/sd-date.pipe.d.ts +0 -4
  519. package/lib/validators/chip-min-item.validator.d.ts +0 -5
  520. package/lib/validators/custom.validator.d.ts +0 -5
  521. package/lib/validators/max-date.validator.d.ts +0 -5
  522. package/lib/validators/min-date.validator.d.ts +0 -5
  523. package/modal-custom/index.d.ts +0 -1
  524. package/modal-custom/package.json +0 -12
  525. package/modal-custom/sd-angular-core-modal-custom.d.ts +0 -4
  526. package/modal-custom/sd-angular-core-modal-custom.metadata.json +0 -1
  527. package/modal-custom/src/lib/modal-custom/modal-custom.component.d.ts +0 -31
  528. package/modal-custom/src/lib/modal-custom.module.d.ts +0 -2
  529. package/modal-custom/src/public-api.d.ts +0 -2
  530. package/sd-angular-core-0.0.1050.tgz +0 -0
@@ -1,190 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8">
9
- <title>Using API to Customize Dialog Windows &mdash; CKEditor Sample</title>
10
- <script src="../../../ckeditor.js"></script>
11
- <link rel="stylesheet" href="../../../samples/old/sample.css">
12
- <meta name="ckeditor-sample-name" content="Using the JavaScript API to customize dialog windows">
13
- <meta name="ckeditor-sample-group" content="Advanced Samples">
14
- <meta name="ckeditor-sample-description" content="Using the dialog windows API to customize dialog windows without changing the original editor code.">
15
- <style>
16
-
17
- .cke_button__mybutton_icon
18
- {
19
- display: none !important;
20
- }
21
-
22
- .cke_button__mybutton_label
23
- {
24
- display: inline !important;
25
- }
26
-
27
- </style>
28
- <script>
29
-
30
- CKEDITOR.on( 'instanceCreated', function( ev ){
31
- var editor = ev.editor;
32
-
33
- // Listen for the "pluginsLoaded" event, so we are sure that the
34
- // "dialog" plugin has been loaded and we are able to do our
35
- // customizations.
36
- editor.on( 'pluginsLoaded', function() {
37
-
38
- // If our custom dialog has not been registered, do that now.
39
- if ( !CKEDITOR.dialog.exists( 'myDialog' ) ) {
40
- // We need to do the following trick to find out the dialog
41
- // definition file URL path. In the real world, you would simply
42
- // point to an absolute path directly, like "/mydir/mydialog.js".
43
- var href = document.location.href.split( '/' );
44
- href.pop();
45
- href.push( 'assets/my_dialog.js' );
46
- href = href.join( '/' );
47
-
48
- // Finally, register the dialog.
49
- CKEDITOR.dialog.add( 'myDialog', href );
50
- }
51
-
52
- // Register the command used to open the dialog.
53
- editor.addCommand( 'myDialogCmd', new CKEDITOR.dialogCommand( 'myDialog' ) );
54
-
55
- // Add the a custom toolbar buttons, which fires the above
56
- // command..
57
- editor.ui.add( 'MyButton', CKEDITOR.UI_BUTTON, {
58
- label: 'My Dialog',
59
- command: 'myDialogCmd'
60
- });
61
- });
62
- });
63
-
64
- // When opening a dialog, its "definition" is created for it, for
65
- // each editor instance. The "dialogDefinition" event is then
66
- // fired. We should use this event to make customizations to the
67
- // definition of existing dialogs.
68
- CKEDITOR.on( 'dialogDefinition', function( ev ) {
69
- // Take the dialog name and its definition from the event data.
70
- var dialogName = ev.data.name;
71
- var dialogDefinition = ev.data.definition;
72
-
73
- // Check if the definition is from the dialog we're
74
- // interested on (the "Link" dialog).
75
- if ( dialogName == 'myDialog' && ev.editor.name == 'editor2' ) {
76
- // Get a reference to the "Link Info" tab.
77
- var infoTab = dialogDefinition.getContents( 'tab1' );
78
-
79
- // Add a new text field to the "tab1" tab page.
80
- infoTab.add( {
81
- type: 'text',
82
- label: 'My Custom Field',
83
- id: 'customField',
84
- 'default': 'Sample!',
85
- validate: function() {
86
- if ( ( /\d/ ).test( this.getValue() ) )
87
- return 'My Custom Field must not contain digits';
88
- }
89
- });
90
-
91
- // Remove the "select1" field from the "tab1" tab.
92
- infoTab.remove( 'select1' );
93
-
94
- // Set the default value for "input1" field.
95
- var input1 = infoTab.get( 'input1' );
96
- input1[ 'default' ] = 'www.example.com';
97
-
98
- // Remove the "tab2" tab page.
99
- dialogDefinition.removeContents( 'tab2' );
100
-
101
- // Add a new tab to the "Link" dialog.
102
- dialogDefinition.addContents( {
103
- id: 'customTab',
104
- label: 'My Tab',
105
- accessKey: 'M',
106
- elements: [
107
- {
108
- id: 'myField1',
109
- type: 'text',
110
- label: 'My Text Field'
111
- },
112
- {
113
- id: 'myField2',
114
- type: 'text',
115
- label: 'Another Text Field'
116
- }
117
- ]
118
- });
119
-
120
- // Provide the focus handler to start initial focus in "customField" field.
121
- dialogDefinition.onFocus = function() {
122
- var urlField = this.getContentElement( 'tab1', 'customField' );
123
- urlField.select();
124
- };
125
- }
126
- });
127
-
128
- var config = {
129
- extraPlugins: 'dialog',
130
- toolbar: [ [ 'MyButton' ] ]
131
- };
132
-
133
- </script>
134
- </head>
135
- <body>
136
- <h1 class="samples">
137
- <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; Using CKEditor Dialog API
138
- </h1>
139
- <div class="warning deprecated">
140
- This sample is not maintained anymore. Check out the <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/index.html">brand new samples in CKEditor Examples</a>.
141
- </div>
142
- <div class="description">
143
- <p>
144
- This sample shows how to use the
145
- <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html">CKEditor Dialog API</a>
146
- to customize CKEditor dialog windows without changing the original editor code.
147
- The following customizations are being done in the example below:
148
- </p>
149
- <p>
150
- For details on how to create this setup check the source code of this sample page.
151
- </p>
152
- </div>
153
- <p>A custom dialog is added to the editors using the <code>pluginsLoaded</code> event, from an external <a target="_blank" href="assets/my_dialog.js">dialog definition file</a>:</p>
154
- <ol>
155
- <li><strong>Creating a custom dialog window</strong> &ndash; "My Dialog" dialog window opened with the "My Dialog" toolbar button.</li>
156
- <li><strong>Creating a custom button</strong> &ndash; Add button to open the dialog with "My Dialog" toolbar button.</li>
157
- </ol>
158
- <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="https://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
159
- <script>
160
- // Replace the <textarea id="editor1"> with an CKEditor instance.
161
- CKEDITOR.replace( 'editor1', config );
162
- </script>
163
- <p>The below editor modify the dialog definition of the above added dialog using the <code>dialogDefinition</code> event:</p>
164
- <ol>
165
- <li><strong>Adding dialog tab</strong> &ndash; Add new tab "My Tab" to dialog window.</li>
166
- <li><strong>Removing a dialog window tab</strong> &ndash; Remove "Second Tab" page from the dialog window.</li>
167
- <li><strong>Adding dialog window fields</strong> &ndash; Add "My Custom Field" to the dialog window.</li>
168
- <li><strong>Removing dialog window field</strong> &ndash; Remove "Select Field" selection field from the dialog window.</li>
169
- <li><strong>Setting default values for dialog window fields</strong> &ndash; Set default value of "Text Field" text field. </li>
170
- <li><strong>Setup initial focus for dialog window</strong> &ndash; Put initial focus on "My Custom Field" text field. </li>
171
- </ol>
172
- <textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="https://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
173
- <script>
174
-
175
- // Replace the <textarea id="editor1"> with an CKEditor instance.
176
- CKEDITOR.replace( 'editor2', config );
177
-
178
- </script>
179
- <div id="footer">
180
- <hr>
181
- <p>
182
- CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
183
- </p>
184
- <p id="copy">
185
- Copyright &copy; 2003-2019, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
186
- Knabben. All rights reserved.
187
- </p>
188
- </div>
189
- </body>
190
- </html>
@@ -1,64 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8">
9
- <title>Replace Textarea with a "DIV-based" editor &mdash; CKEditor Sample</title>
10
- <script src="../../../ckeditor.js"></script>
11
- <link href="../../../samples/old/sample.css" rel="stylesheet">
12
- <meta name="ckeditor-sample-name" content="Replace Textarea with a &quot;DIV-based&quot; editor">
13
- <meta name="ckeditor-sample-group" content="Advanced Samples">
14
- <meta name="ckeditor-sample-description" content="Using &lt;code&gt;div&lt;/code&gt; instead of &lt;code&gt;iframe&lt;/code&gt; for rich editing.">
15
- </head>
16
- <body>
17
- <h1 class="samples">
18
- <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; Replace Textarea with a "DIV-based" editor
19
- </h1>
20
- <div class="warning deprecated">
21
- This sample is not maintained anymore. Check out the <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/index.html">brand new samples in CKEditor Examples</a>.
22
- </div>
23
- <form action="../../../samples/sample_posteddata.php" method="post">
24
- <div class="description">
25
- <p>
26
- This editor is using a <code>&lt;div&gt;</code> element-based editing area, provided by the <strong>Divarea</strong> plugin.
27
- </p>
28
- <pre class="samples">
29
- CKEDITOR.replace( '<em>textarea_id</em>', {
30
- extraPlugins: 'divarea'
31
- });</pre>
32
- </div>
33
- <textarea cols="80" id="editor1" name="editor1" rows="10">
34
- &lt;h1&gt;&lt;img alt=&quot;Saturn V carrying Apollo 11&quot; class=&quot;right&quot; src=&quot;../../../samples/old/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;
35
- </textarea>
36
- <script>
37
-
38
- // This call can be placed at any point after the
39
- // <textarea>, or inside a <head><script> in a
40
- // window.onload event handler.
41
-
42
- // Replace the <textarea id="editor"> with an CKEditor
43
- // instance, using default configurations.
44
- CKEDITOR.replace( 'editor1', {
45
- extraPlugins: 'divarea'
46
- });
47
-
48
- </script>
49
- <p>
50
- <input type="submit" value="Submit">
51
- </p>
52
- </form>
53
- <div id="footer">
54
- <hr>
55
- <p>
56
- CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
57
- </p>
58
- <p id="copy">
59
- Copyright &copy; 2003-2019, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
60
- Knabben. All rights reserved.
61
- </p>
62
- </div>
63
- </body>
64
- </html>
@@ -1,144 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8">
9
- <title>Replace DIV &mdash; CKEditor Sample</title>
10
- <script src="../../ckeditor.js"></script>
11
- <link href="sample.css" rel="stylesheet">
12
- <style>
13
-
14
- div.editable
15
- {
16
- border: solid 2px transparent;
17
- padding-left: 15px;
18
- padding-right: 15px;
19
- }
20
-
21
- div.editable:hover
22
- {
23
- border-color: black;
24
- }
25
-
26
- </style>
27
- <script>
28
-
29
- // Uncomment the following code to test the "Timeout Loading Method".
30
- // CKEDITOR.loadFullCoreTimeout = 5;
31
-
32
- window.onload = function() {
33
- // Listen to the double click event.
34
- if ( window.addEventListener )
35
- document.body.addEventListener( 'dblclick', onDoubleClick, false );
36
- else if ( window.attachEvent )
37
- document.body.attachEvent( 'ondblclick', onDoubleClick );
38
-
39
- };
40
-
41
- function onDoubleClick( ev ) {
42
- // Get the element which fired the event. This is not necessarily the
43
- // element to which the event has been attached.
44
- var element = ev.target || ev.srcElement;
45
-
46
- // Find out the div that holds this element.
47
- var name;
48
-
49
- do {
50
- element = element.parentNode;
51
- }
52
- while ( element && ( name = element.nodeName.toLowerCase() ) &&
53
- ( name != 'div' || element.className.indexOf( 'editable' ) == -1 ) && name != 'body' );
54
-
55
- if ( name == 'div' && element.className.indexOf( 'editable' ) != -1 )
56
- replaceDiv( element );
57
- }
58
-
59
- var editor;
60
-
61
- function replaceDiv( div ) {
62
- if ( editor )
63
- editor.destroy();
64
-
65
- editor = CKEDITOR.replace( div );
66
- }
67
-
68
- </script>
69
- </head>
70
- <body>
71
- <h1 class="samples">
72
- <a href="index.html">CKEditor Samples</a> &raquo; Replace DIV with CKEditor on the Fly
73
- </h1>
74
- <div class="warning deprecated">
75
- This sample is not maintained anymore. Check out the <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/index.html">brand new samples in CKEditor Examples</a>.
76
- </div>
77
- <div class="description">
78
- <p>
79
- This sample shows how to automatically replace <code>&lt;div&gt;</code> elements
80
- with a CKEditor instance on the fly, following user's doubleclick. The content
81
- that was previously placed inside the <code>&lt;div&gt;</code> element will now
82
- be moved into CKEditor editing area.
83
- </p>
84
- <p>
85
- For details on how to create this setup check the source code of this sample page.
86
- </p>
87
- </div>
88
- <p>
89
- Double-click any of the following <code>&lt;div&gt;</code> elements to transform them into
90
- editor instances.
91
- </p>
92
- <div class="editable">
93
- <h3>
94
- Part 1
95
- </h3>
96
- <p>
97
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
98
- semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
99
- rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
100
- nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
101
- eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
102
- </p>
103
- </div>
104
- <div class="editable">
105
- <h3>
106
- Part 2
107
- </h3>
108
- <p>
109
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
110
- semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
111
- rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
112
- nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
113
- eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
114
- </p>
115
- <p>
116
- Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus
117
- sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum
118
- vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate.
119
- </p>
120
- </div>
121
- <div class="editable">
122
- <h3>
123
- Part 3
124
- </h3>
125
- <p>
126
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
127
- semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
128
- rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
129
- nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
130
- eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
131
- </p>
132
- </div>
133
- <div id="footer">
134
- <hr>
135
- <p>
136
- CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
137
- </p>
138
- <p id="copy">
139
- Copyright &copy; 2003-2019, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
140
- Knabben. All rights reserved.
141
- </p>
142
- </div>
143
- </body>
144
- </html>
@@ -1,106 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
4
- For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8">
9
- <title>ENTER Key Configuration &mdash; CKEditor Sample</title>
10
- <script src="../../../ckeditor.js"></script>
11
- <link href="../../../samples/old/sample.css" rel="stylesheet">
12
- <meta name="ckeditor-sample-name" content="Using the &quot;Enter&quot; key in CKEditor">
13
- <meta name="ckeditor-sample-group" content="Advanced Samples">
14
- <meta name="ckeditor-sample-description" content="Configuring the behavior of &lt;em&gt;Enter&lt;/em&gt; and &lt;em&gt;Shift+Enter&lt;/em&gt; keys.">
15
- <script>
16
-
17
- var editor;
18
-
19
- function changeEnter() {
20
- // If we already have an editor, let's destroy it first.
21
- if ( editor )
22
- editor.destroy( true );
23
-
24
- // Create the editor again, with the appropriate settings.
25
- editor = CKEDITOR.replace( 'editor1', {
26
- extraPlugins: 'enterkey',
27
- enterMode: Number( document.getElementById( 'xEnter' ).value ),
28
- shiftEnterMode: Number( document.getElementById( 'xShiftEnter' ).value )
29
- });
30
- }
31
-
32
- window.onload = changeEnter;
33
-
34
- </script>
35
- </head>
36
- <body>
37
- <h1 class="samples">
38
- <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; ENTER Key Configuration
39
- </h1>
40
- <div class="warning deprecated">
41
- This sample is not maintained anymore. Check out its <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/enterkey.html">brand new version in CKEditor Examples</a>.
42
- </div>
43
- <div class="description">
44
- <p>
45
- This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys
46
- to perform actions specified in the
47
- <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode"><code>enterMode</code></a>
48
- and <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-shiftEnterMode"><code>shiftEnterMode</code></a>
49
- parameters, respectively.
50
- You can choose from the following options:
51
- </p>
52
- <ul class="samples">
53
- <li><strong><code>ENTER_P</code></strong> &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
54
- <li><strong><code>ENTER_BR</code></strong> &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
55
- <li><strong><code>ENTER_DIV</code></strong> &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
56
- </ul>
57
- <p>
58
- The sample code below shows how to configure CKEditor to create a <code>&lt;div&gt;</code> block when <em>Enter</em> key is pressed.
59
- </p>
60
- <pre class="samples">
61
- CKEDITOR.replace( '<em>textarea_id</em>', {
62
- <strong>enterMode: CKEDITOR.ENTER_DIV</strong>
63
- });</pre>
64
- <p>
65
- Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
66
- the <code>&lt;textarea&gt;</code> element to be replaced.
67
- </p>
68
- </div>
69
- <div style="float: left; margin-right: 20px">
70
- When <em>Enter</em> is pressed:<br>
71
- <select id="xEnter" onchange="changeEnter();">
72
- <option selected="selected" value="1">Create a new &lt;P&gt; (recommended)</option>
73
- <option value="3">Create a new &lt;DIV&gt;</option>
74
- <option value="2">Break the line with a &lt;BR&gt;</option>
75
- </select>
76
- </div>
77
- <div style="float: left">
78
- When <em>Shift+Enter</em> is pressed:<br>
79
- <select id="xShiftEnter" onchange="changeEnter();">
80
- <option value="1">Create a new &lt;P&gt;</option>
81
- <option value="3">Create a new &lt;DIV&gt;</option>
82
- <option selected="selected" value="2">Break the line with a &lt;BR&gt; (recommended)</option>
83
- </select>
84
- </div>
85
- <br style="clear: both">
86
- <form action="../../../samples/sample_posteddata.php" method="post">
87
- <p>
88
- <br>
89
- <textarea cols="80" id="editor1" name="editor1" rows="10">This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="https://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.</textarea>
90
- </p>
91
- <p>
92
- <input type="submit" value="Submit">
93
- </p>
94
- </form>
95
- <div id="footer">
96
- <hr>
97
- <p>
98
- CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
99
- </p>
100
- <p id="copy">
101
- Copyright &copy; 2003-2019, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
102
- Knabben. All rights reserved.
103
- </p>
104
- </div>
105
- </body>
106
- </html>
@@ -1,19 +0,0 @@
1
- var swfobject=function(){function w(){if(!u){try{var a=d.getElementsByTagName("body")[0].appendChild(d.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}u=!0;for(var a=z.length,c=0;c<a;c++)z[c]()}}function M(a){u?a():z[z.length]=a}function N(a){if("undefined"!=typeof n.addEventListener)n.addEventListener("load",a,!1);else if("undefined"!=typeof d.addEventListener)d.addEventListener("load",a,!1);else if("undefined"!=typeof n.attachEvent)U(n,"onload",a);else if("function"==typeof n.onload){var b=
2
- n.onload;n.onload=function(){b();a()}}else n.onload=a}function V(){var a=d.getElementsByTagName("body")[0],b=d.createElement("object");b.setAttribute("type","application/x-shockwave-flash");var c=a.appendChild(b);if(c){var f=0;(function(){if("undefined"!=typeof c.GetVariable){var g=c.GetVariable("$version");g&&(g=g.split(" ")[1].split(","),e.pv=[parseInt(g[0],10),parseInt(g[1],10),parseInt(g[2],10)])}else if(10>f){f++;setTimeout(arguments.callee,10);return}a.removeChild(b);c=null;E()})()}else E()}
3
- function E(){var a=r.length;if(0<a)for(var b=0;b<a;b++){var c=r[b].id,f=r[b].callbackFn,g={success:!1,id:c};if(0<e.pv[0]){var d=p(c);if(d)if(!A(r[b].swfVersion)||e.wk&&312>e.wk)if(r[b].expressInstall&&F()){g={};g.data=r[b].expressInstall;g.width=d.getAttribute("width")||"0";g.height=d.getAttribute("height")||"0";d.getAttribute("class")&&(g.styleclass=d.getAttribute("class"));d.getAttribute("align")&&(g.align=d.getAttribute("align"));for(var h={},d=d.getElementsByTagName("param"),k=d.length,l=0;l<
4
- k;l++)"movie"!=d[l].getAttribute("name").toLowerCase()&&(h[d[l].getAttribute("name")]=d[l].getAttribute("value"));G(g,h,c,f)}else W(d),f&&f(g);else v(c,!0),f&&(g.success=!0,g.ref=H(c),f(g))}else v(c,!0),f&&((c=H(c))&&"undefined"!=typeof c.SetVariable&&(g.success=!0,g.ref=c),f(g))}}function H(a){var b=null;(a=p(a))&&"OBJECT"==a.nodeName&&("undefined"!=typeof a.SetVariable?b=a:(a=a.getElementsByTagName("object")[0])&&(b=a));return b}function F(){return!B&&A("6.0.65")&&(e.win||e.mac)&&!(e.wk&&312>e.wk)}
5
- function G(a,b,c,f){B=!0;I=f||null;O={success:!1,id:c};var g=p(c);if(g){"OBJECT"==g.nodeName?(y=J(g),C=null):(y=g,C=c);a.id="SWFObjectExprInst";if("undefined"==typeof a.width||!/%$/.test(a.width)&&310>parseInt(a.width,10))a.width="310";if("undefined"==typeof a.height||!/%$/.test(a.height)&&137>parseInt(a.height,10))a.height="137";d.title=d.title.slice(0,47)+" - Flash Player Installation";f=e.ie&&e.win?"ActiveX":"PlugIn";f="MMredirectURL\x3d"+n.location.toString().replace(/&/g,"%26")+"\x26MMplayerType\x3d"+
6
- f+"\x26MMdoctitle\x3d"+d.title;b.flashvars="undefined"!=typeof b.flashvars?b.flashvars+("\x26"+f):f;e.ie&&e.win&&4!=g.readyState&&(f=d.createElement("div"),c+="SWFObjectNew",f.setAttribute("id",c),g.parentNode.insertBefore(f,g),g.style.display="none",function(){4==g.readyState?g.parentNode.removeChild(g):setTimeout(arguments.callee,10)}());K(a,b,c)}}function W(a){if(e.ie&&e.win&&4!=a.readyState){var b=d.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(J(a),b);a.style.display=
7
- "none";(function(){4==a.readyState?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(J(a),a)}function J(a){var b=d.createElement("div");if(e.win&&e.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName("object")[0])if(a=a.childNodes)for(var c=a.length,f=0;f<c;f++)1==a[f].nodeType&&"PARAM"==a[f].nodeName||8==a[f].nodeType||b.appendChild(a[f].cloneNode(!0));return b}function K(a,b,c){var f,g=p(c);if(e.wk&&312>e.wk)return f;if(g)if("undefined"==typeof a.id&&
8
- (a.id=c),e.ie&&e.win){var q="",h;for(h in a)a[h]!=Object.prototype[h]&&("data"==h.toLowerCase()?b.movie=a[h]:"styleclass"==h.toLowerCase()?q+=' class\x3d"'+a[h]+'"':"classid"!=h.toLowerCase()&&(q+=" "+h+'\x3d"'+a[h]+'"'));h="";for(var k in b)b[k]!=Object.prototype[k]&&(h+='\x3cparam name\x3d"'+k+'" value\x3d"'+b[k]+'" /\x3e');g.outerHTML='\x3cobject classid\x3d"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+q+"\x3e"+h+"\x3c/object\x3e";D[D.length]=a.id;f=p(a.id)}else{k=d.createElement("object");k.setAttribute("type",
9
- "application/x-shockwave-flash");for(var l in a)a[l]!=Object.prototype[l]&&("styleclass"==l.toLowerCase()?k.setAttribute("class",a[l]):"classid"!=l.toLowerCase()&&k.setAttribute(l,a[l]));for(q in b)b[q]!=Object.prototype[q]&&"movie"!=q.toLowerCase()&&(a=k,h=q,l=b[q],c=d.createElement("param"),c.setAttribute("name",h),c.setAttribute("value",l),a.appendChild(c));g.parentNode.replaceChild(k,g);f=k}return f}function P(a){var b=p(a);b&&"OBJECT"==b.nodeName&&(e.ie&&e.win?(b.style.display="none",function(){if(4==
10
- b.readyState){var c=p(a);if(c){for(var f in c)"function"==typeof c[f]&&(c[f]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b))}function p(a){var b=null;try{b=d.getElementById(a)}catch(c){}return b}function U(a,b,c){a.attachEvent(b,c);x[x.length]=[a,b,c]}function A(a){var b=e.pv;a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:
11
- !1}function Q(a,b,c,f){if(!e.ie||!e.mac){var g=d.getElementsByTagName("head")[0];g&&(c=c&&"string"==typeof c?c:"screen",f&&(L=m=null),m&&L==c||(f=d.createElement("style"),f.setAttribute("type","text/css"),f.setAttribute("media",c),m=g.appendChild(f),e.ie&&e.win&&"undefined"!=typeof d.styleSheets&&0<d.styleSheets.length&&(m=d.styleSheets[d.styleSheets.length-1]),L=c),e.ie&&e.win?m&&"object"==typeof m.addRule&&m.addRule(a,b):m&&"undefined"!=typeof d.createTextNode&&m.appendChild(d.createTextNode(a+
12
- " {"+b+"}")))}}function v(a,b){if(R){var c=b?"visible":"hidden";u&&p(a)?p(a).style.visibility=c:Q("#"+a,"visibility:"+c)}}function S(a){return null!=/[\\\"<>\.;]/.exec(a)&&"undefined"!=typeof encodeURIComponent?encodeURIComponent(a):a}var n=window,d=document,t=navigator,T=!1,z=[function(){T?V():E()}],r=[],D=[],x=[],y,C,I,O,u=!1,B=!1,m,L,R=!0,e=function(){var a="undefined"!=typeof d.getElementById&&"undefined"!=typeof d.getElementsByTagName&&"undefined"!=typeof d.createElement,b=t.userAgent.toLowerCase(),
13
- c=t.platform.toLowerCase(),f=c?/win/.test(c):/win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\v1",e=[0,0,0],h=null;if("undefined"!=typeof t.plugins&&"object"==typeof t.plugins["Shockwave Flash"])!(h=t.plugins["Shockwave Flash"].description)||"undefined"!=typeof t.mimeTypes&&t.mimeTypes["application/x-shockwave-flash"]&&!t.mimeTypes["application/x-shockwave-flash"].enabledPlugin||(T=!0,g=!1,h=h.replace(/^.*\s+(\S+\s+\S+$)/,
14
- "$1"),e[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10),e[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10),e[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if("undefined"!=typeof n.ActiveXObject)try{var k=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");k&&(h=k.GetVariable("$version"))&&(g=!0,h=h.split(" ")[1].split(","),e=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)])}catch(l){}return{w3:a,pv:e,wk:b,ie:g,win:f,mac:c}}();(function(){e.w3&&(("undefined"!=typeof d.readyState&&
15
- "complete"==d.readyState||"undefined"==typeof d.readyState&&(d.getElementsByTagName("body")[0]||d.body))&&w(),u||("undefined"!=typeof d.addEventListener&&d.addEventListener("DOMContentLoaded",w,!1),e.ie&&e.win&&(d.attachEvent("onreadystatechange",function(){"complete"==d.readyState&&(d.detachEvent("onreadystatechange",arguments.callee),w())}),n==top&&function(){if(!u){try{d.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}w()}}()),e.wk&&function(){u||(/loaded|complete/.test(d.readyState)?
16
- w():setTimeout(arguments.callee,0))}(),N(w)))})();(function(){e.ie&&e.win&&window.attachEvent("onunload",function(){for(var a=x.length,b=0;b<a;b++)x[b][0].detachEvent(x[b][1],x[b][2]);a=D.length;for(b=0;b<a;b++)P(D[b]);for(var c in e)e[c]=null;e=null;for(var f in swfobject)swfobject[f]=null;swfobject=null})})();return{registerObject:function(a,b,c,f){if(e.w3&&a&&b){var d={};d.id=a;d.swfVersion=b;d.expressInstall=c;d.callbackFn=f;r[r.length]=d;v(a,!1)}else f&&f({success:!1,id:a})},getObjectById:function(a){if(e.w3)return H(a)},
17
- embedSWF:function(a,b,c,d,g,q,h,k,l,n){var p={success:!1,id:b};e.w3&&!(e.wk&&312>e.wk)&&a&&b&&c&&d&&g?(v(b,!1),M(function(){c+="";d+="";var e={};if(l&&"object"===typeof l)for(var m in l)e[m]=l[m];e.data=a;e.width=c;e.height=d;m={};if(k&&"object"===typeof k)for(var r in k)m[r]=k[r];if(h&&"object"===typeof h)for(var t in h)m.flashvars="undefined"!=typeof m.flashvars?m.flashvars+("\x26"+t+"\x3d"+h[t]):t+"\x3d"+h[t];if(A(g))r=K(e,m,b),e.id==b&&v(b,!0),p.success=!0,p.ref=r;else{if(q&&F()){e.data=q;G(e,
18
- m,b,n);return}v(b,!0)}n&&n(p)})):n&&n(p)},switchOffAutoHideShow:function(){R=!1},ua:e,getFlashPlayerVersion:function(){return{major:e.pv[0],minor:e.pv[1],release:e.pv[2]}},hasFlashPlayerVersion:A,createSWF:function(a,b,c){if(e.w3)return K(a,b,c)},showExpressInstall:function(a,b,c,d){e.w3&&F()&&G(a,b,c,d)},removeSWF:function(a){e.w3&&P(a)},createCSS:function(a,b,c,d){e.w3&&Q(a,b,c,d)},addDomLoadEvent:M,addLoadEvent:N,getQueryParamValue:function(a){var b=d.location.search||d.location.hash;if(b){/\?/.test(b)&&
19
- (b=b.split("?")[1]);if(null==a)return S(b);for(var b=b.split("\x26"),c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("\x3d"))==a)return S(b[c].substring(b[c].indexOf("\x3d")+1))}return""},expressInstallCallback:function(){if(B){var a=p("SWFObjectExprInst");a&&y&&(a.parentNode.replaceChild(y,a),C&&(v(C,!0),e.ie&&e.win&&(y.style.display="block")),I&&I(O));B=!1}}}}();