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,93 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/html4/loose.dtd">
|
3
|
-
<html lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
6
|
-
<title>HTML Buttons plugin</title>
|
7
|
-
<link href="styles.css" rel="stylesheet" type="text/css">
|
8
|
-
</head>
|
9
|
-
|
10
|
-
<body>
|
11
|
-
<h1>HTML Buttons Plugin for CKEditor</h1>
|
12
|
-
|
13
|
-
<h2>Introduction</h2>
|
14
|
-
<p>This is plugin helps creating custom buttons to insert a block of desired HTML in <a href="http://www.ckeditor.com">CKEditor</a>.</p>
|
15
|
-
<p>Sample icons from <a href='http://tango.freedesktop.org'>Tango!</a></p>
|
16
|
-
|
17
|
-
<h3 id="contact">Author:</h3>
|
18
|
-
<p><a href="mailto:amla70@gmail.com">Alfonso Martínez de Lizarrondo</a></p>
|
19
|
-
<h3>Sponsored by:</h3>
|
20
|
-
<h3>Version history: </h3>
|
21
|
-
<ol>
|
22
|
-
<li>1.0: 23-May-2012. First version.</li>
|
23
|
-
</ol>
|
24
|
-
|
25
|
-
<h2>Installation</h2>
|
26
|
-
<h3>1. Copying the files</h3>
|
27
|
-
<p>Extract the contents of the zip in you plugins directory, so it ends up like
|
28
|
-
this<br>
|
29
|
-
<!--<img src="installation.png" alt="Screenshot of installation" width="311" height="346" longdesc="#install">-->
|
30
|
-
</p>
|
31
|
-
<pre id="--install">
|
32
|
-
ckeditor\
|
33
|
-
...
|
34
|
-
images\
|
35
|
-
lang\
|
36
|
-
plugins\
|
37
|
-
...
|
38
|
-
htmlbuttons\
|
39
|
-
plugin.js
|
40
|
-
docs\
|
41
|
-
install.html
|
42
|
-
...
|
43
|
-
skins\
|
44
|
-
themes\
|
45
|
-
</pre>
|
46
|
-
<h3>2. Adding it to CKEditor</h3>
|
47
|
-
<p>Now add the plugin in your <em>config.js</em> or custom js configuration
|
48
|
-
file:
|
49
|
-
<code>config.extraPlugins='htmlbuttons'; </code>
|
50
|
-
</p>
|
51
|
-
|
52
|
-
<h3>3. Define your buttons</h3>
|
53
|
-
<p>You must add to your config a new entry defining the buttons that you want to use. For example:</p>
|
54
|
-
<pre>
|
55
|
-
config.htmlbuttons = [
|
56
|
-
{
|
57
|
-
name:'button1',
|
58
|
-
icon:'icon1.png',
|
59
|
-
html:'<a href="http://www.google.com">Search something</a>',
|
60
|
-
title:'A link to Google'
|
61
|
-
},
|
62
|
-
{
|
63
|
-
name:'button2',
|
64
|
-
icon:'icon2.png',
|
65
|
-
html:'<table><tr><td> </td><td> </td></tr><tr><td> </td><td> </td></tr></table>',
|
66
|
-
title:'A simple table'
|
67
|
-
},
|
68
|
-
{
|
69
|
-
name:'button3',
|
70
|
-
icon:'icon3.png',
|
71
|
-
html:'<ol><li>Item 1 <ol><li>Sub item 1</li><li>Sub item 2</li></ol></li></ol>',
|
72
|
-
title:'A nested list'
|
73
|
-
}
|
74
|
-
];
|
75
|
-
</pre>
|
76
|
-
|
77
|
-
<h3>4. Add them to your toolbar</h3>
|
78
|
-
<p>In your toolbar configuration, add a new button for each item in the place where you want the list to show up.</p>
|
79
|
-
<p>Example</p>
|
80
|
-
<pre>config.toolbar_Basic = [["Bold","Italic","-","NumberedList","BulletedList","-","Link","Unlink","-","Maximize", "About", '-', 'button1', 'button2', 'button3']];
|
81
|
-
</pre>
|
82
|
-
|
83
|
-
<h3>5. Use them</h3>
|
84
|
-
<p>Now empty the cache of your browser and reload the editor, the new buttons should show up and you can insert the HTML that you have configured with each button</p>
|
85
|
-
<!--
|
86
|
-
<h2>Final notes</h2>
|
87
|
-
-->
|
88
|
-
|
89
|
-
<h2>Disclaimers</h2>
|
90
|
-
<p>CKEditor is © CKSource.com</p>
|
91
|
-
<p>Sample icons from <a href='http://tango.freedesktop.org'>Tango!</a></p>
|
92
|
-
</body>
|
93
|
-
</html>
|
@@ -1,59 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
font-family: Arial, Helvetica, sans-serif;
|
3
|
-
font-size: 90%;
|
4
|
-
}
|
5
|
-
h1 {
|
6
|
-
text-align:center;
|
7
|
-
font-size:180%;
|
8
|
-
}
|
9
|
-
h2 {
|
10
|
-
border-bottom:2px solid #CCC;
|
11
|
-
margin:1em 0 0.4em 0;
|
12
|
-
}
|
13
|
-
h3 {
|
14
|
-
margin-bottom:0.4em;
|
15
|
-
}
|
16
|
-
p {
|
17
|
-
margin:0 0 1em 1em;
|
18
|
-
text-align:justify;
|
19
|
-
}
|
20
|
-
ol {
|
21
|
-
margin:0 0 1.2em 1em;
|
22
|
-
padding:0;
|
23
|
-
list-style-type:none;
|
24
|
-
}
|
25
|
-
ol li {
|
26
|
-
margin:0.2em 0;
|
27
|
-
}
|
28
|
-
pre, code {
|
29
|
-
font-size:100%;
|
30
|
-
font-family:"Courier New", Courier, mono;
|
31
|
-
background-color: #CCCCCC;
|
32
|
-
border:1px solid #999;
|
33
|
-
padding:0.2em 1em;
|
34
|
-
margin: 0.4em 0;
|
35
|
-
display:block;
|
36
|
-
white-space: pre;
|
37
|
-
overflow: auto;
|
38
|
-
}
|
39
|
-
form {
|
40
|
-
margin:0 0 0 1em;
|
41
|
-
}
|
42
|
-
span.key {
|
43
|
-
color: #006600;
|
44
|
-
}
|
45
|
-
#install {
|
46
|
-
display:none
|
47
|
-
}
|
48
|
-
#languages ul {
|
49
|
-
display:inline;
|
50
|
-
list-style-type:none;
|
51
|
-
margin:0;
|
52
|
-
padding:0;
|
53
|
-
}
|
54
|
-
#languages li {
|
55
|
-
display:inline;
|
56
|
-
margin:0;
|
57
|
-
padding:0;
|
58
|
-
vertical-align:bottom;
|
59
|
-
}
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,71 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* @file HTML Buttons plugin for CKEditor
|
3
|
-
* Copyright (C) 2012 Alfonso Martнnez de Lizarrondo
|
4
|
-
* A simple plugin to help create custom buttons to insert HTML blocks
|
5
|
-
*/
|
6
|
-
|
7
|
-
CKEDITOR.plugins.add( 'htmlbuttons',
|
8
|
-
{
|
9
|
-
init : function( editor )
|
10
|
-
{
|
11
|
-
var buttonsConfig = editor.config.htmlbuttons;
|
12
|
-
if (!buttonsConfig)
|
13
|
-
return;
|
14
|
-
|
15
|
-
function createCommand( definition )
|
16
|
-
{
|
17
|
-
return {
|
18
|
-
exec: function( editor ) {
|
19
|
-
editor.insertHtml( definition.html );
|
20
|
-
}
|
21
|
-
};
|
22
|
-
}
|
23
|
-
|
24
|
-
// Create the command for each button
|
25
|
-
for(var i=0; i<buttonsConfig.length; i++)
|
26
|
-
{
|
27
|
-
var button = buttonsConfig[ i ];
|
28
|
-
var commandName = button.name;
|
29
|
-
editor.addCommand( commandName, createCommand(button, editor) );
|
30
|
-
|
31
|
-
editor.ui.addButton( commandName,
|
32
|
-
{
|
33
|
-
label : button.title,
|
34
|
-
command : commandName,
|
35
|
-
icon : this.path + button.icon
|
36
|
-
});
|
37
|
-
}
|
38
|
-
} //Init
|
39
|
-
|
40
|
-
} );
|
41
|
-
|
42
|
-
/**
|
43
|
-
* An array of buttons to add to the toolbar.
|
44
|
-
* Each button is an object with these properties:
|
45
|
-
* name: The name of the command and the button (the one to use in the toolbar configuration)
|
46
|
-
* icon: The icon to use. Place them in the plugin folder
|
47
|
-
* html: The HTML to insert when the user clicks the button
|
48
|
-
* title: Title that appears while hovering the button
|
49
|
-
*
|
50
|
-
* Default configuration with some sample buttons:
|
51
|
-
*/
|
52
|
-
CKEDITOR.config.htmlbuttons = [
|
53
|
-
{
|
54
|
-
name:'button1',
|
55
|
-
icon:'icon1.png',
|
56
|
-
html:'<a href="http://www.google.com">Search something</a>',
|
57
|
-
title:'A link to Google'
|
58
|
-
},
|
59
|
-
{
|
60
|
-
name:'button2',
|
61
|
-
icon:'icon2.png',
|
62
|
-
html:'<table style="min-width:200px"><tr><td> </td><td> </td></tr><tr><td> </td><td> </td></tr></table>',
|
63
|
-
title:'A simple table'
|
64
|
-
},
|
65
|
-
{
|
66
|
-
name:'button3',
|
67
|
-
icon:'icon3.png',
|
68
|
-
html:'<ol><li>Item 1 <ol><li>Sub item 1</li><li>Sub item 2</li></ol></li></ol>',
|
69
|
-
title:'A nested list'
|
70
|
-
}
|
71
|
-
];
|
@@ -1,10 +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
|
-
(function(){function c(b){var c=this instanceof CKEDITOR.ui.dialog.checkbox;b.hasAttribute(this.id)&&(b=b.getAttribute(this.id),c?this.setValue(e[this.id]["true"]==b.toLowerCase()):this.setValue(b))}function d(b){var c=""===this.getValue(),a=this instanceof CKEDITOR.ui.dialog.checkbox,d=this.getValue();c?b.removeAttribute(this.att||this.id):a?b.setAttribute(this.id,e[this.id][d]):b.setAttribute(this.att||this.id,d)}var e={scrolling:{"true":"yes","false":"no"},frameborder:{"true":"1","false":"0"}};
|
6
|
-
CKEDITOR.dialog.add("iframe",function(b){var f=b.lang.iframe,a=b.lang.common,e=b.plugins.dialogadvtab;return{title:f.title,minWidth:350,minHeight:260,onShow:function(){this.fakeImage=this.iframeNode=null;var a=this.getSelectedElement();a&&(a.data("cke-real-element-type")&&"iframe"==a.data("cke-real-element-type"))&&(this.fakeImage=a,this.iframeNode=a=b.restoreRealElement(a),this.setupContent(a))},onOk:function(){var a;a=this.fakeImage?this.iframeNode:new CKEDITOR.dom.element("iframe");var c={},d=
|
7
|
-
{};this.commitContent(a,c,d);a=b.createFakeElement(a,"cke_iframe","iframe",!0);a.setAttributes(d);a.setStyles(c);this.fakeImage?(a.replace(this.fakeImage),b.getSelection().selectElement(a)):b.insertElement(a)},contents:[{id:"info",label:a.generalTab,accessKey:"I",elements:[{type:"vbox",padding:0,children:[{id:"src",type:"text",label:a.url,required:!0,validate:CKEDITOR.dialog.validate.notEmpty(f.noUrl),setup:c,commit:d}]},{type:"hbox",children:[{id:"width",type:"text",style:"width:100%",labelLayout:"vertical",
|
8
|
-
label:a.width,validate:CKEDITOR.dialog.validate.htmlLength(a.invalidHtmlLength.replace("%1",a.width)),setup:c,commit:d},{id:"height",type:"text",style:"width:100%",labelLayout:"vertical",label:a.height,validate:CKEDITOR.dialog.validate.htmlLength(a.invalidHtmlLength.replace("%1",a.height)),setup:c,commit:d},{id:"align",type:"select","default":"",items:[[a.notSet,""],[a.alignLeft,"left"],[a.alignRight,"right"],[a.alignTop,"top"],[a.alignMiddle,"middle"],[a.alignBottom,"bottom"]],style:"width:100%",
|
9
|
-
labelLayout:"vertical",label:a.align,setup:function(a,b){c.apply(this,arguments);if(b){var d=b.getAttribute("align");this.setValue(d&&d.toLowerCase()||"")}},commit:function(a,b,c){d.apply(this,arguments);this.getValue()&&(c.align=this.getValue())}}]},{type:"hbox",widths:["50%","50%"],children:[{id:"scrolling",type:"checkbox",label:f.scrolling,setup:c,commit:d},{id:"frameborder",type:"checkbox",label:f.border,setup:c,commit:d}]},{type:"hbox",widths:["50%","50%"],children:[{id:"name",type:"text",label:a.name,
|
10
|
-
setup:c,commit:d},{id:"title",type:"text",label:a.advisoryTitle,setup:c,commit:d}]},{id:"longdesc",type:"text",label:a.longDescr,setup:c,commit:d}]},e&&e.createAdvancedTab(b,{id:1,classes:1,styles:1})]}})})();
|
Binary file
|
@@ -1,10 +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
|
-
(function(){function d(c,d){var b;try{b=c.getSelection().getRanges()[0]}catch(f){return null}b.shrink(CKEDITOR.SHRINK_TEXT);return c.elementPath(b.getCommonAncestor()).contains(d,1)}function e(c,e){var b=c.lang.liststyle;if("bulletedListStyle"==e)return{title:b.bulletedTitle,minWidth:300,minHeight:50,contents:[{id:"info",accessKey:"I",elements:[{type:"select",label:b.type,id:"type",align:"center",style:"width:150px",items:[[b.notset,""],[b.circle,"circle"],[b.disc,"disc"],[b.square,"square"]],setup:function(a){this.setValue(a.getStyle("list-style-type")||
|
6
|
-
h[a.getAttribute("type")]||a.getAttribute("type")||"")},commit:function(a){var b=this.getValue();b?a.setStyle("list-style-type",b):a.removeStyle("list-style-type")}}]}],onShow:function(){var a=this.getParentEditor();(a=d(a,"ul"))&&this.setupContent(a)},onOk:function(){var a=this.getParentEditor();(a=d(a,"ul"))&&this.commitContent(a)}};if("numberedListStyle"==e){var g=[[b.notset,""],[b.lowerRoman,"lower-roman"],[b.upperRoman,"upper-roman"],[b.lowerAlpha,"lower-alpha"],[b.upperAlpha,"upper-alpha"],
|
7
|
-
[b.decimal,"decimal"]];(!CKEDITOR.env.ie||7<CKEDITOR.env.version)&&g.concat([[b.armenian,"armenian"],[b.decimalLeadingZero,"decimal-leading-zero"],[b.georgian,"georgian"],[b.lowerGreek,"lower-greek"]]);return{title:b.numberedTitle,minWidth:300,minHeight:50,contents:[{id:"info",accessKey:"I",elements:[{type:"hbox",widths:["25%","75%"],children:[{label:b.start,type:"text",id:"start",validate:CKEDITOR.dialog.validate.integer(b.validateStartNumber),setup:function(a){this.setValue(a.getFirst(f).getAttribute("value")||
|
8
|
-
a.getAttribute("start")||1)},commit:function(a){var b=a.getFirst(f),c=b.getAttribute("value")||a.getAttribute("start")||1;a.getFirst(f).removeAttribute("value");var d=parseInt(this.getValue(),10);isNaN(d)?a.removeAttribute("start"):a.setAttribute("start",d);a=b;b=c;for(d=isNaN(d)?1:d;(a=a.getNext(f))&&b++;)a.getAttribute("value")==b&&a.setAttribute("value",d+b-c)}},{type:"select",label:b.type,id:"type",style:"width: 100%;",items:g,setup:function(a){this.setValue(a.getStyle("list-style-type")||h[a.getAttribute("type")]||
|
9
|
-
a.getAttribute("type")||"")},commit:function(a){var b=this.getValue();b?a.setStyle("list-style-type",b):a.removeStyle("list-style-type")}}]}]}],onShow:function(){var a=this.getParentEditor();(a=d(a,"ol"))&&this.setupContent(a)},onOk:function(){var a=this.getParentEditor();(a=d(a,"ol"))&&this.commitContent(a)}}}}var f=function(c){return c.type==CKEDITOR.NODE_ELEMENT&&c.is("li")},h={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman",1:"decimal",disc:"disc",circle:"circle",square:"square"};
|
10
|
-
CKEDITOR.dialog.add("numberedListStyle",function(c){return e(c,"numberedListStyle")});CKEDITOR.dialog.add("bulletedListStyle",function(c){return e(c,"bulletedListStyle")})})();
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,10 +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
|
-
CKEDITOR.dialog.add("smiley",function(f){for(var e=f.config,a=f.lang.smiley,h=e.smiley_images,g=e.smiley_columns||8,i,k=function(j){var c=j.data.getTarget(),b=c.getName();if("a"==b)c=c.getChild(0);else if("img"!=b)return;var b=c.getAttribute("cke_src"),a=c.getAttribute("title"),c=f.document.createElement("img",{attributes:{src:b,"data-cke-saved-src":b,title:a,alt:a,width:c.$.width,height:c.$.height}});f.insertElement(c);i.hide();j.data.preventDefault()},n=CKEDITOR.tools.addFunction(function(a,c){var a=
|
6
|
-
new CKEDITOR.dom.event(a),c=new CKEDITOR.dom.element(c),b;b=a.getKeystroke();var d="rtl"==f.lang.dir;switch(b){case 38:if(b=c.getParent().getParent().getPrevious())b=b.getChild([c.getParent().getIndex(),0]),b.focus();a.preventDefault();break;case 40:if(b=c.getParent().getParent().getNext())(b=b.getChild([c.getParent().getIndex(),0]))&&b.focus();a.preventDefault();break;case 32:k({data:a});a.preventDefault();break;case d?37:39:if(b=c.getParent().getNext())b=b.getChild(0),b.focus(),a.preventDefault(!0);
|
7
|
-
else if(b=c.getParent().getParent().getNext())(b=b.getChild([0,0]))&&b.focus(),a.preventDefault(!0);break;case d?39:37:if(b=c.getParent().getPrevious())b=b.getChild(0),b.focus(),a.preventDefault(!0);else if(b=c.getParent().getParent().getPrevious())b=b.getLast().getChild(0),b.focus(),a.preventDefault(!0)}}),d=CKEDITOR.tools.getNextId()+"_smiley_emtions_label",d=['<div><span id="'+d+'" class="cke_voice_label">'+a.options+"</span>",'<table role="listbox" aria-labelledby="'+d+'" style="width:100%;height:100%;border-collapse:separate;" cellspacing="2" cellpadding="2"',
|
8
|
-
CKEDITOR.env.ie&&CKEDITOR.env.quirks?' style="position:absolute;"':"","><tbody>"],l=h.length,a=0;a<l;a++){0===a%g&&d.push('<tr role="presentation">');var m="cke_smile_label_"+a+"_"+CKEDITOR.tools.getNextNumber();d.push('<td class="cke_dark_background cke_centered" style="vertical-align: middle;" role="presentation"><a href="javascript:void(0)" role="option"',' aria-posinset="'+(a+1)+'"',' aria-setsize="'+l+'"',' aria-labelledby="'+m+'"',' class="cke_smile cke_hand" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ',
|
9
|
-
n,', event, this );">','<img class="cke_hand" title="',e.smiley_descriptions[a],'" cke_src="',CKEDITOR.tools.htmlEncode(e.smiley_path+h[a]),'" alt="',e.smiley_descriptions[a],'"',' src="',CKEDITOR.tools.htmlEncode(e.smiley_path+h[a]),'"',CKEDITOR.env.ie?" onload=\"this.setAttribute('width', 2); this.removeAttribute('width');\" ":"",'><span id="'+m+'" class="cke_voice_label">'+e.smiley_descriptions[a]+"</span></a>","</td>");a%g==g-1&&d.push("</tr>")}if(a<g-1){for(;a<g-1;a++)d.push("<td></td>");d.push("</tr>")}d.push("</tbody></table></div>");
|
10
|
-
e={type:"html",id:"smileySelector",html:d.join(""),onLoad:function(a){i=a.sender},focus:function(){var a=this;setTimeout(function(){a.getElement().getElementsByTag("a").getItem(0).focus()},0)},onClick:k,style:"width: 100%; border-collapse: separate;"};return{title:f.lang.smiley.title,minWidth:270,minHeight:120,contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[e]}],buttons:[CKEDITOR.dialog.cancelButton]}});
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,84 +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
|
-
|
6
|
-
.cke_tpl_list
|
7
|
-
{
|
8
|
-
border: #dcdcdc 2px solid;
|
9
|
-
background-color: #ffffff;
|
10
|
-
overflow-y: auto;
|
11
|
-
overflow-x: hidden;
|
12
|
-
width: 100%;
|
13
|
-
height: 220px;
|
14
|
-
}
|
15
|
-
|
16
|
-
.cke_tpl_item
|
17
|
-
{
|
18
|
-
margin: 5px;
|
19
|
-
padding: 7px;
|
20
|
-
border: #eeeeee 1px solid;
|
21
|
-
*width: 88%;
|
22
|
-
}
|
23
|
-
|
24
|
-
.cke_tpl_preview
|
25
|
-
{
|
26
|
-
border-collapse: separate;
|
27
|
-
text-indent:0;
|
28
|
-
width: 100%;
|
29
|
-
}
|
30
|
-
.cke_tpl_preview td
|
31
|
-
{
|
32
|
-
padding: 2px;
|
33
|
-
vertical-align: middle;
|
34
|
-
}
|
35
|
-
.cke_tpl_preview .cke_tpl_preview_img
|
36
|
-
{
|
37
|
-
width: 100px;
|
38
|
-
}
|
39
|
-
.cke_tpl_preview span
|
40
|
-
{
|
41
|
-
white-space: normal;
|
42
|
-
}
|
43
|
-
|
44
|
-
.cke_tpl_title
|
45
|
-
{
|
46
|
-
font-weight: bold;
|
47
|
-
}
|
48
|
-
|
49
|
-
.cke_tpl_list a:hover .cke_tpl_item,
|
50
|
-
.cke_tpl_list a:focus .cke_tpl_item,
|
51
|
-
.cke_tpl_list a:active .cke_tpl_item
|
52
|
-
{
|
53
|
-
border: #ff9933 1px solid;
|
54
|
-
background-color: #fffacd;
|
55
|
-
}
|
56
|
-
|
57
|
-
.cke_tpl_list a:hover *,
|
58
|
-
.cke_tpl_list a:focus *,
|
59
|
-
.cke_tpl_list a:active *
|
60
|
-
{
|
61
|
-
cursor: pointer;
|
62
|
-
}
|
63
|
-
|
64
|
-
/* IE6 contextual selectors childs won't get :hover transition until,
|
65
|
-
the hover style of the link itself contains certain CSS declarations.*/
|
66
|
-
.cke_browser_ie6 .cke_tpl_list a:active,
|
67
|
-
.cke_browser_ie6 .cke_tpl_list a:hover,
|
68
|
-
.cke_browser_ie6 .cke_tpl_list a:focus
|
69
|
-
{
|
70
|
-
background-position: 0 0;
|
71
|
-
}
|
72
|
-
|
73
|
-
.cke_hc .cke_tpl_list a:hover .cke_tpl_item,
|
74
|
-
.cke_hc .cke_tpl_list a:focus .cke_tpl_item,
|
75
|
-
.cke_hc .cke_tpl_list a:active .cke_tpl_item
|
76
|
-
{
|
77
|
-
border-width: 3px;
|
78
|
-
}
|
79
|
-
|
80
|
-
.cke_tpl_empty, .cke_tpl_loading
|
81
|
-
{
|
82
|
-
text-align: center;
|
83
|
-
padding: 5px;
|
84
|
-
}
|