glebtv-ckeditor 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +63 -62
- data/app/assets/stylesheets/ckcontent.css +0 -0
- data/lib/ckeditor.rb +4 -3
- data/lib/ckeditor/engine.rb +1 -1
- data/lib/ckeditor/version.rb +2 -2
- data/vendor/assets/javascripts/ckeditor/CHANGES.md +27 -1
- data/vendor/assets/javascripts/ckeditor/README.md +1 -1
- data/vendor/assets/javascripts/ckeditor/build-config.js +10 -89
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +286 -329
- data/vendor/assets/javascripts/ckeditor/config.js.erb +3 -8
- data/vendor/assets/javascripts/ckeditor/lang/en.js +1 -1
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/CKCss/ckcss.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +6 -5
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.ckeditor.css +74 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.css +16 -10
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/AutoFormat.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/CommentSelectedRange.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/UncommentSelectedRange.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/dialog}/dialog.js +76 -75
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closebrackets.js +29 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/edit}/closetag.js +86 -85
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/edit}/continuelist.js +28 -28
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/edit}/matchbrackets.js +74 -63
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/foldcode}/foldcode.js +183 -182
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/autoFormatAll.js +43 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/format}/formatting.js +114 -108
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/match-highlighter.js +60 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/search}/search.js +131 -119
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/{util → addon/search}/searchcursor.js +131 -119
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.js +5384 -4553
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.modes.min.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.search-addons.min.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/css.js +465 -465
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/htmlmixed.js +104 -84
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/javascript.js +426 -411
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/xml.js +324 -324
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ru.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +249 -103
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance-mobile.css +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance.css +76 -76
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/blackboard.css +25 -25
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/cobalt.css +18 -18
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +25 -25
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/elegant.css +10 -10
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/erlang-dark.css +21 -21
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/lesser-dark.css +44 -44
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/monokai.css +28 -28
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/neat.css +9 -9
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/night.css +21 -21
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +21 -21
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/solarized.css +207 -207
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/twilight.css +26 -25
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/vibrant-ink.css +27 -27
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-dark.css +46 -46
- data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +173 -173
- data/vendor/assets/javascripts/ckeditor/plugins/{MediaEmbed → mediaembed}/images/icon.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/{MediaEmbed → mediaembed}/plugin.js +16 -13
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/images/icon.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/lang/de.js +5 -2
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/lang/en.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/lang/fr.js +9 -6
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/lang/nl.js +4 -1
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/lang/ru.js +11 -8
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.js +161 -30
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.min.js +1 -4
- data/vendor/assets/javascripts/ckeditor/plugins/oembed/plugin.js +55 -59
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +11 -10
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +8 -9
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +9 -10
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +5 -3
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +52 -196
- data/vendor/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- metadata +29 -203
- data/vendor/assets/javascripts/ckeditor/contents.css +0 -99
- data/vendor/assets/javascripts/ckeditor/lang/af.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ar.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/bg.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/bn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/bs.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ca.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/cs.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/cy.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/da.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/de.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/el.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/en-au.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/eo.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/es.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/et.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/eu.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fa.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fo.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/gl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/gu.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/he.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/hi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/hr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/hu.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/is.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/it.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ja.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ka.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/km.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ko.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ku.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/lt.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/lv.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/mk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/mn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ms.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/nb.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/nl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/no.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/pl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/pt.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ro.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sv.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/th.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/tr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ug.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/uk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/vi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/zh.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/CKCss/CKCss.xml +0 -26
- data/vendor/assets/javascripts/ckeditor/plugins/CKCss/ckcss1.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/MediaEmbed/icons/mediaembed.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/sourcecodepro-regular.eot +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/sourcecodepro-regular.otf +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/sourcecodepro-regular.svg +0 -242
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/sourcecodepro-regular.ttf +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/sourcecodepro-regular.woff +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/colorize.js +0 -29
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/continuecomment.js +0 -36
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/dialog.css +0 -32
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/javascript-hint.js +0 -137
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/loadmode.js +0 -51
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/match-highlighter.js +0 -46
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/multiplex.js +0 -95
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/overlay.js +0 -59
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/pig-hint.js +0 -117
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/runmode-standalone.js +0 -90
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/runmode.js +0 -52
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/simple-hint.css +0 -16
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/simple-hint.js +0 -102
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/util/xml-hint.js +0 -131
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -24
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -20
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/install.html +0 -93
- data/vendor/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/styles.css +0 -59
- data/vendor/assets/javascripts/ckeditor/plugins/htmlbuttons/icon1.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/htmlbuttons/icon2.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/htmlbuttons/icon3.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/htmlbuttons/plugin.js +0 -71
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +0 -84
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/ru.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +0 -95
- data/vendor/assets/javascripts/ckeditor/samples/ajax.html +0 -82
- data/vendor/assets/javascripts/ckeditor/samples/api.html +0 -207
- data/vendor/assets/javascripts/ckeditor/samples/appendto.html +0 -57
- data/vendor/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
- data/vendor/assets/javascripts/ckeditor/samples/assets/posteddata.php +0 -59
- data/vendor/assets/javascripts/ckeditor/samples/assets/sample.css +0 -3
- data/vendor/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
- data/vendor/assets/javascripts/ckeditor/samples/divreplace.html +0 -141
- data/vendor/assets/javascripts/ckeditor/samples/index.html +0 -119
- data/vendor/assets/javascripts/ckeditor/samples/inlineall.html +0 -311
- data/vendor/assets/javascripts/ckeditor/samples/inlinebycode.html +0 -122
- data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/assets/my_dialog.js +0 -48
- data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/dialog.html +0 -187
- data/vendor/assets/javascripts/ckeditor/samples/plugins/enterkey/enterkey.html +0 -103
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputhtml.html +0 -237
- data/vendor/assets/javascripts/ckeditor/samples/plugins/magicline/magicline.html +0 -203
- data/vendor/assets/javascripts/ckeditor/samples/plugins/toolbar/toolbar.html +0 -200
- data/vendor/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -71
- data/vendor/assets/javascripts/ckeditor/samples/readonly.html +0 -73
- data/vendor/assets/javascripts/ckeditor/samples/replacebyclass.html +0 -57
- data/vendor/assets/javascripts/ckeditor/samples/replacebycode.html +0 -56
- data/vendor/assets/javascripts/ckeditor/samples/sample.css +0 -333
- data/vendor/assets/javascripts/ckeditor/samples/sample.js +0 -5
- data/vendor/assets/javascripts/ckeditor/samples/sample_posteddata.php +0 -16
- data/vendor/assets/javascripts/ckeditor/samples/tabindex.html +0 -75
- data/vendor/assets/javascripts/ckeditor/samples/uicolor.html +0 -69
- data/vendor/assets/javascripts/ckeditor/samples/uilanguages.html +0 -119
- data/vendor/assets/javascripts/ckeditor/samples/xhtmlstyle.html +0 -219
Binary file
|
@@ -1,204 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*
|
5
|
-
* Styles used by the XHTML 1.1 sample page (xhtml.html).
|
6
|
-
*/
|
7
|
-
|
8
|
-
/**
|
9
|
-
* Basic definitions for the editing area.
|
10
|
-
*/
|
11
|
-
body
|
12
|
-
{
|
13
|
-
font-family: Arial, Verdana, sans-serif;
|
14
|
-
font-size: 80%;
|
15
|
-
color: #000000;
|
16
|
-
background-color: #ffffff;
|
17
|
-
padding: 5px;
|
18
|
-
margin: 0px;
|
19
|
-
}
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Core styles.
|
23
|
-
*/
|
24
|
-
|
25
|
-
.Bold
|
26
|
-
{
|
27
|
-
font-weight: bold;
|
28
|
-
}
|
29
|
-
|
30
|
-
.Italic
|
31
|
-
{
|
32
|
-
font-style: italic;
|
33
|
-
}
|
34
|
-
|
35
|
-
.Underline
|
36
|
-
{
|
37
|
-
text-decoration: underline;
|
38
|
-
}
|
39
|
-
|
40
|
-
.StrikeThrough
|
41
|
-
{
|
42
|
-
text-decoration: line-through;
|
43
|
-
}
|
44
|
-
|
45
|
-
.Subscript
|
46
|
-
{
|
47
|
-
vertical-align: sub;
|
48
|
-
font-size: smaller;
|
49
|
-
}
|
50
|
-
|
51
|
-
.Superscript
|
52
|
-
{
|
53
|
-
vertical-align: super;
|
54
|
-
font-size: smaller;
|
55
|
-
}
|
56
|
-
|
57
|
-
/**
|
58
|
-
* Font faces.
|
59
|
-
*/
|
60
|
-
|
61
|
-
.FontComic
|
62
|
-
{
|
63
|
-
font-family: 'Comic Sans MS';
|
64
|
-
}
|
65
|
-
|
66
|
-
.FontCourier
|
67
|
-
{
|
68
|
-
font-family: 'Courier New';
|
69
|
-
}
|
70
|
-
|
71
|
-
.FontTimes
|
72
|
-
{
|
73
|
-
font-family: 'Times New Roman';
|
74
|
-
}
|
75
|
-
|
76
|
-
/**
|
77
|
-
* Font sizes.
|
78
|
-
*/
|
79
|
-
|
80
|
-
.FontSmaller
|
81
|
-
{
|
82
|
-
font-size: smaller;
|
83
|
-
}
|
84
|
-
|
85
|
-
.FontLarger
|
86
|
-
{
|
87
|
-
font-size: larger;
|
88
|
-
}
|
89
|
-
|
90
|
-
.FontSmall
|
91
|
-
{
|
92
|
-
font-size: 8pt;
|
93
|
-
}
|
94
|
-
|
95
|
-
.FontBig
|
96
|
-
{
|
97
|
-
font-size: 14pt;
|
98
|
-
}
|
99
|
-
|
100
|
-
.FontDouble
|
101
|
-
{
|
102
|
-
font-size: 200%;
|
103
|
-
}
|
104
|
-
|
105
|
-
/**
|
106
|
-
* Font colors.
|
107
|
-
*/
|
108
|
-
.FontColor1
|
109
|
-
{
|
110
|
-
color: #ff9900;
|
111
|
-
}
|
112
|
-
|
113
|
-
.FontColor2
|
114
|
-
{
|
115
|
-
color: #0066cc;
|
116
|
-
}
|
117
|
-
|
118
|
-
.FontColor3
|
119
|
-
{
|
120
|
-
color: #ff0000;
|
121
|
-
}
|
122
|
-
|
123
|
-
.FontColor1BG
|
124
|
-
{
|
125
|
-
background-color: #ff9900;
|
126
|
-
}
|
127
|
-
|
128
|
-
.FontColor2BG
|
129
|
-
{
|
130
|
-
background-color: #0066cc;
|
131
|
-
}
|
132
|
-
|
133
|
-
.FontColor3BG
|
134
|
-
{
|
135
|
-
background-color: #ff0000;
|
136
|
-
}
|
137
|
-
|
138
|
-
/**
|
139
|
-
* Indentation.
|
140
|
-
*/
|
141
|
-
|
142
|
-
.Indent1
|
143
|
-
{
|
144
|
-
margin-left: 40px;
|
145
|
-
}
|
146
|
-
|
147
|
-
.Indent2
|
148
|
-
{
|
149
|
-
margin-left: 80px;
|
150
|
-
}
|
151
|
-
|
152
|
-
.Indent3
|
153
|
-
{
|
154
|
-
margin-left: 120px;
|
155
|
-
}
|
156
|
-
|
157
|
-
/**
|
158
|
-
* Alignment.
|
159
|
-
*/
|
160
|
-
|
161
|
-
.JustifyLeft
|
162
|
-
{
|
163
|
-
text-align: left;
|
164
|
-
}
|
165
|
-
|
166
|
-
.JustifyRight
|
167
|
-
{
|
168
|
-
text-align: right;
|
169
|
-
}
|
170
|
-
|
171
|
-
.JustifyCenter
|
172
|
-
{
|
173
|
-
text-align: center;
|
174
|
-
}
|
175
|
-
|
176
|
-
.JustifyFull
|
177
|
-
{
|
178
|
-
text-align: justify;
|
179
|
-
}
|
180
|
-
|
181
|
-
/**
|
182
|
-
* Other.
|
183
|
-
*/
|
184
|
-
|
185
|
-
code
|
186
|
-
{
|
187
|
-
font-family: courier, monospace;
|
188
|
-
background-color: #eeeeee;
|
189
|
-
padding-left: 1px;
|
190
|
-
padding-right: 1px;
|
191
|
-
border: #c0c0c0 1px solid;
|
192
|
-
}
|
193
|
-
|
194
|
-
kbd
|
195
|
-
{
|
196
|
-
padding: 0px 1px 0px 1px;
|
197
|
-
border-width: 1px 2px 2px 1px;
|
198
|
-
border-style: solid;
|
199
|
-
}
|
200
|
-
|
201
|
-
blockquote
|
202
|
-
{
|
203
|
-
color: #808080;
|
204
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<?php
|
3
|
-
/*
|
4
|
-
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
5
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
6
|
-
*/
|
7
|
-
?>
|
8
|
-
<html>
|
9
|
-
<head>
|
10
|
-
<meta charset="utf-8">
|
11
|
-
<title>Sample — CKEditor</title>
|
12
|
-
<link rel="stylesheet" href="sample.css">
|
13
|
-
</head>
|
14
|
-
<body>
|
15
|
-
<h1 class="samples">
|
16
|
-
CKEditor — Posted Data
|
17
|
-
</h1>
|
18
|
-
<table border="1" cellspacing="0" id="outputSample">
|
19
|
-
<colgroup><col width="120"></colgroup>
|
20
|
-
<thead>
|
21
|
-
<tr>
|
22
|
-
<th>Field Name</th>
|
23
|
-
<th>Value</th>
|
24
|
-
</tr>
|
25
|
-
</thead>
|
26
|
-
<?php
|
27
|
-
|
28
|
-
if ( isset( $_POST ) )
|
29
|
-
$postArray = &$_POST ; // 4.1.0 or later, use $_POST
|
30
|
-
else
|
31
|
-
$postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
|
32
|
-
|
33
|
-
foreach ( $postArray as $sForm => $value )
|
34
|
-
{
|
35
|
-
if ( get_magic_quotes_gpc() )
|
36
|
-
$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
|
37
|
-
else
|
38
|
-
$postedValue = htmlspecialchars( $value ) ;
|
39
|
-
|
40
|
-
?>
|
41
|
-
<tr>
|
42
|
-
<th style="vertical-align: top"><?php echo $sForm?></th>
|
43
|
-
<td><pre class="samples"><?php echo $postedValue?></pre></td>
|
44
|
-
</tr>
|
45
|
-
<?php
|
46
|
-
}
|
47
|
-
?>
|
48
|
-
</table>
|
49
|
-
<div id="footer">
|
50
|
-
<hr>
|
51
|
-
<p>
|
52
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
53
|
-
</p>
|
54
|
-
<p id="copy">
|
55
|
-
Copyright © 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
|
56
|
-
</p>
|
57
|
-
</div>
|
58
|
-
</body>
|
59
|
-
</html>
|
Binary file
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",gu:"Gujarati",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",is:"Icelandic",
|
6
|
-
it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",sk:"Slovak",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",sv:"Swedish",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a,
|
7
|
-
name:c[a]||a});b.sort(function(a,b){return a.name<b.name?-1:1});return b}();
|
@@ -1,141 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>Replace DIV — CKEditor Sample</title>
|
9
|
-
<meta charset="utf-8">
|
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> » Replace DIV with CKEditor on the Fly
|
73
|
-
</h1>
|
74
|
-
<div class="description">
|
75
|
-
<p>
|
76
|
-
This sample shows how to automatically replace <code><div></code> elements
|
77
|
-
with a CKEditor instance on the fly, following user's doubleclick. The content
|
78
|
-
that was previously placed inside the <code><div></code> element will now
|
79
|
-
be moved into CKEditor editing area.
|
80
|
-
</p>
|
81
|
-
<p>
|
82
|
-
For details on how to create this setup check the source code of this sample page.
|
83
|
-
</p>
|
84
|
-
</div>
|
85
|
-
<p>
|
86
|
-
Double-click any of the following <code><div></code> elements to transform them into
|
87
|
-
editor instances.
|
88
|
-
</p>
|
89
|
-
<div class="editable">
|
90
|
-
<h3>
|
91
|
-
Part 1
|
92
|
-
</h3>
|
93
|
-
<p>
|
94
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
|
95
|
-
semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
|
96
|
-
rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
|
97
|
-
nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
|
98
|
-
eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
|
99
|
-
</p>
|
100
|
-
</div>
|
101
|
-
<div class="editable">
|
102
|
-
<h3>
|
103
|
-
Part 2
|
104
|
-
</h3>
|
105
|
-
<p>
|
106
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
|
107
|
-
semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
|
108
|
-
rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
|
109
|
-
nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
|
110
|
-
eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
|
111
|
-
</p>
|
112
|
-
<p>
|
113
|
-
Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus
|
114
|
-
sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum
|
115
|
-
vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate.
|
116
|
-
</p>
|
117
|
-
</div>
|
118
|
-
<div class="editable">
|
119
|
-
<h3>
|
120
|
-
Part 3
|
121
|
-
</h3>
|
122
|
-
<p>
|
123
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
|
124
|
-
semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
|
125
|
-
rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
|
126
|
-
nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
|
127
|
-
eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
|
128
|
-
</p>
|
129
|
-
</div>
|
130
|
-
<div id="footer">
|
131
|
-
<hr>
|
132
|
-
<p>
|
133
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
134
|
-
</p>
|
135
|
-
<p id="copy">
|
136
|
-
Copyright © 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
137
|
-
Knabben. All rights reserved.
|
138
|
-
</p>
|
139
|
-
</div>
|
140
|
-
</body>
|
141
|
-
</html>
|
@@ -1,119 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>CKEditor Samples</title>
|
9
|
-
<meta charset="utf-8">
|
10
|
-
<link rel="stylesheet" href="sample.css">
|
11
|
-
</head>
|
12
|
-
<body>
|
13
|
-
<h1 class="samples">
|
14
|
-
CKEditor Samples
|
15
|
-
</h1>
|
16
|
-
<div class="twoColumns">
|
17
|
-
<div class="twoColumnsLeft">
|
18
|
-
<h2 class="samples">
|
19
|
-
Basic Samples
|
20
|
-
</h2>
|
21
|
-
<dl class="samples">
|
22
|
-
<dt><a class="samples" href="replacebyclass.html">Replace textarea elements by class name</a></dt>
|
23
|
-
<dd>Automatic replacement of all textarea elements of a given class with a CKEditor instance.</dd>
|
24
|
-
|
25
|
-
<dt><a class="samples" href="replacebycode.html">Replace textarea elements by code</a></dt>
|
26
|
-
<dd>Replacement of textarea elements with CKEditor instances by using a JavaScript call.</dd>
|
27
|
-
</dl>
|
28
|
-
|
29
|
-
<h2 class="samples">
|
30
|
-
Basic Customization
|
31
|
-
</h2>
|
32
|
-
<dl class="samples">
|
33
|
-
<dt><a class="samples" href="uicolor.html">User Interface color</a></dt>
|
34
|
-
<dd>Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.</dd>
|
35
|
-
|
36
|
-
<dt><a class="samples" href="uilanguages.html">User Interface languages</a></dt>
|
37
|
-
<dd>Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.</dd>
|
38
|
-
</dl>
|
39
|
-
|
40
|
-
|
41
|
-
<h2 class="samples">Plugins</h2>
|
42
|
-
<dl class="samples">
|
43
|
-
<dt><a class="samples" href="plugins/magicline/magicline.html">Magicline plugin</a><span class="new">New!</span></dt>
|
44
|
-
<dd>Using the Magicline plugin to access difficult focus spaces.</dd>
|
45
|
-
|
46
|
-
<dt><a class="samples" href="plugins/wysiwygarea/fullpage.html">Full page support</a></dt>
|
47
|
-
<dd>CKEditor inserted with a JavaScript call and used to edit the whole page from <html> to </html>.</dd>
|
48
|
-
</dl>
|
49
|
-
</div>
|
50
|
-
<div class="twoColumnsRight">
|
51
|
-
<h2 class="samples">
|
52
|
-
Inline Editing <span class="new">New!</span>
|
53
|
-
</h2>
|
54
|
-
<dl class="samples">
|
55
|
-
<dt><a class="samples" href="inlineall.html">Massive inline editor creation</a> <span class="new">New!</span></dt>
|
56
|
-
<dd>Turn all elements with <code>contentEditable = true</code> attribute into inline editors.</dd>
|
57
|
-
|
58
|
-
<dt><a class="samples" href="inlinebycode.html">Convert element into an inline editor by code</a> <span class="new">New!</span></dt>
|
59
|
-
<dd>Conversion of DOM elements into inline CKEditor instances by using a JavaScript call.</dd>
|
60
|
-
|
61
|
-
|
62
|
-
</dl>
|
63
|
-
|
64
|
-
<h2 class="samples">
|
65
|
-
Advanced Samples
|
66
|
-
</h2>
|
67
|
-
<dl class="samples">
|
68
|
-
<dt><a class="samples" href="divreplace.html">Replace DIV elements on the fly</a></dt>
|
69
|
-
<dd>Transforming a <code>div</code> element into an instance of CKEditor with a mouse click.</dd>
|
70
|
-
|
71
|
-
<dt><a class="samples" href="appendto.html">Append editor instances</a></dt>
|
72
|
-
<dd>Appending editor instances to existing DOM elements.</dd>
|
73
|
-
|
74
|
-
<dt><a class="samples" href="ajax.html">Create and destroy editor instances for Ajax applications</a></dt>
|
75
|
-
<dd>Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.</dd>
|
76
|
-
|
77
|
-
<dt><a class="samples" href="api.html">Basic usage of the API</a></dt>
|
78
|
-
<dd>Using the CKEditor JavaScript API to interact with the editor at runtime.</dd>
|
79
|
-
|
80
|
-
<dt><a class="samples" href="xhtmlstyle.html">XHTML-compliant style</a></dt>
|
81
|
-
<dd>Configuring CKEditor to produce XHTML 1.1 compliant attributes and styles.</dd>
|
82
|
-
|
83
|
-
<dt><a class="samples" href="readonly.html">Read-only mode</a></dt>
|
84
|
-
<dd>Using the readOnly API to block introducing changes to the editor contents.</dd>
|
85
|
-
|
86
|
-
<dt><a class="samples" href="tabindex.html">"Tab" key-based navigation</a> <span class="new">New!</span></dt>
|
87
|
-
<dd>Navigating among editor instances with tab key.</dd>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<dt><a class="samples" href="plugins/dialog/dialog.html">Using the JavaScript API to customize dialog windows</a></dt>
|
92
|
-
<dd>Using the dialog windows API to customize dialog windows without changing the original editor code.</dd>
|
93
|
-
|
94
|
-
<dt><a class="samples" href="plugins/enterkey/enterkey.html">Using the "Enter" key in CKEditor</a></dt>
|
95
|
-
<dd>Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys.</dd>
|
96
|
-
|
97
|
-
<dt><a class="samples" href="plugins/htmlwriter/outputforflash.html">Output for Flash</a></dt>
|
98
|
-
<dd>Configuring CKEditor to produce HTML code that can be used with Adobe Flash.</dd>
|
99
|
-
|
100
|
-
<dt><a class="samples" href="plugins/htmlwriter/outputhtml.html">Output HTML</a></dt>
|
101
|
-
<dd>Configuring CKEditor to produce legacy HTML 4 code.</dd>
|
102
|
-
|
103
|
-
<dt><a class="samples" href="plugins/toolbar/toolbar.html">Toolbar Configurations</a><span class="new">New!</span></dt>
|
104
|
-
<dd>Configuring CKEditor to display full or custom toolbar layout.</dd>
|
105
|
-
|
106
|
-
</dl>
|
107
|
-
</div>
|
108
|
-
</div>
|
109
|
-
<div id="footer">
|
110
|
-
<hr>
|
111
|
-
<p>
|
112
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
113
|
-
</p>
|
114
|
-
<p id="copy">
|
115
|
-
Copyright © 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
|
116
|
-
</p>
|
117
|
-
</div>
|
118
|
-
</body>
|
119
|
-
</html>
|