glebtv-ckeditor 4.1.1.7 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ckeditor/CHANGES.md +177 -82
- data/app/assets/javascripts/ckeditor/build-config.js +33 -12
- data/app/assets/javascripts/ckeditor/ckeditor.js +735 -687
- data/app/assets/javascripts/ckeditor/config.js.erb +3 -4
- data/app/assets/javascripts/ckeditor/contents.css +1 -1
- data/app/assets/javascripts/ckeditor/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +5637 -1
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.modes.min.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.search-addons.min.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/af.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ar.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bg.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bn.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/bs.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ca.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cs.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/cy.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/da.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/de.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/el.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-au.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-ca.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/en-gb.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eo.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/es.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/et.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/eu.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fa.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fi.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fo.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr-ca.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/fr.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/gu.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/he.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hi.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hr.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/hu.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/is.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/it.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ja.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ka.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/km.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ko.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ku.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lt.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/lv.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mk.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/mn.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ms.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nb.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/nl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/no.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt-br.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/pt.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ro.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sk.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sl.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr-latn.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sr.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/sv.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/th.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/tr.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/ug.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/uk.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/vi.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh-cn.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/lang/zh.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +322 -16
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/midnight.css +52 -0
- data/app/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -340
- data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +24 -0
- data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/font/lang/af.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ar.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/bg.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/bn.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/bs.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ca.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/cs.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/cy.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/da.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/de.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/el.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/en-au.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/en-ca.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/en-gb.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/font/lang/eo.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/es.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/et.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/eu.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/fa.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/fi.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/fo.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/fr-ca.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/fr.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/gl.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/gu.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/he.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/hi.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/hr.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/hu.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/id.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/is.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/it.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ja.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ka.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/km.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ko.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ku.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/lt.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/lv.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/mk.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/mn.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ms.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/nb.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/nl.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/no.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/pl.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/pt-br.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/pt.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ro.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/font/lang/si.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/sk.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/sl.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/sq.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/sr-latn.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/sr.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/sv.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/th.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/tr.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/ug.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/uk.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/vi.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/zh-cn.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/lang/zh.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/font/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +20 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/install.html +93 -0
- data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/docs/styles.css +59 -0
- data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon1.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon2.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/htmlbuttons/icon3.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/icons/hidpi/iframe.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/icons/iframe.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/af.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ar.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bg.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bn.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/bs.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ca.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/cs.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/cy.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/da.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/de.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/el.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-au.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-ca.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en-gb.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/en.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/eo.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/es.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/et.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/eu.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fa.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fi.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fo.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fr-ca.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/fr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/gl.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/gu.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/he.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hi.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/hu.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/id.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/is.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/it.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ja.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ka.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/km.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ko.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ku.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/lt.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/lv.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/mk.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/mn.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ms.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/nb.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/nl.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/no.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pl.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pt-br.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/pt.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ro.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ru.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/si.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sk.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sl.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sq.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sr-latn.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/sv.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/th.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/tr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/ug.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/uk.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/vi.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/zh-cn.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/lang/zh.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/plugin.js +83 -0
- data/app/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/{LoremIpsum/images → ipsum}/icon.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/ipsum/plugin.js +63 -0
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/map/example_usage.js +30 -0
- data/app/assets/javascripts/ckeditor/plugins/map/map.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/map/plugin.js +187 -0
- data/app/assets/javascripts/ckeditor/plugins/mediaembed/icons/hidpi/mediaembed.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/mediaembed/icons/mediaembed.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js +64 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/images/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.js +69 -67
- data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.min.js +56 -53
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/images/icon.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/images/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/de.js +23 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/en.js +23 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/fr.js +25 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/nl.js +23 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/pl.js +23 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/lang/ru.js +23 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/libs/jquery.oembed.js +971 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/libs/jquery.oembed.min.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/oembed/plugin.js +373 -0
- data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +21 -21
- data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +152 -0
- data/app/assets/javascripts/ckeditor/{samples/plugins/stylesheetparser → plugins/stylesheetparser/samples}/assets/sample.css +70 -70
- data/app/assets/javascripts/ckeditor/{samples/plugins/stylesheetparser → plugins/stylesheetparser/samples}/stylesheetparser.html +82 -82
- data/app/assets/javascripts/ckeditor/plugins/symbol/dialogs/lang/en.js +181 -0
- data/app/assets/javascripts/ckeditor/plugins/symbol/dialogs/symbol.js +18 -0
- data/app/assets/javascripts/ckeditor/plugins/symbol/icons/symbol.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/symbol/lang/en.js +1 -0
- data/app/assets/javascripts/ckeditor/plugins/symbol/plugin.js +15 -0
- data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +15 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +225 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/css/wordcount.css +3 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/ca.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/de.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/es.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/fr.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/no.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/lang/pl.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +193 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +17 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmp.html +118 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +63 -7
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/images/icon.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/de.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/en.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/fr.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/hu.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/it.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/ja.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/pt.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/ru.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/lang/tr.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/youtube/plugin.js +321 -0
- data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/editor.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/styles.js +1 -1
- data/app/helpers/ckeditor/application_helper.rb +11 -0
- data/app/views/layouts/ckeditor/application.html.erb +17 -17
- data/lib/ckeditor/version.rb +2 -2
- metadata +422 -74
- data/app/assets/javascripts/ckeditor/plugins/LoremIpsum/images/icon1.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/LoremIpsum/plugin.js +0 -66
- data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.ckeditor.css +0 -112
- data/app/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.css +0 -246
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/dialog/dialog.js +0 -81
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closebrackets.js +0 -52
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/closetag.js +0 -85
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/continuecomment.js +0 -44
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/continuelist.js +0 -25
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/edit/matchbrackets.js +0 -74
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/brace-fold.js +0 -31
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/foldcode.js +0 -32
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/fold/xml-fold.js +0 -64
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/autoFormatAll.js +0 -43
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/format/formatting.js +0 -114
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/match-highlighter.js +0 -60
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/search.js +0 -131
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/addon/search/searchcursor.js +0 -130
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.js +0 -5516
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/css.js +0 -567
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/htmlmixed.js +0 -104
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/javascript.js +0 -437
- data/app/assets/javascripts/ckeditor/plugins/codemirror/js/mode/xml.js +0 -328
- data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/bgcolor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/textcolor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/en.js +0 -53
- data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ru.js +0 -53
- data/app/assets/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -277
- data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/en.js +0 -11
- data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ru.js +0 -11
- data/app/assets/javascripts/ckeditor/plugins/colordialog/plugin.js +0 -65
- data/app/assets/javascripts/ckeditor/plugins/mediaembed/images/icon.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -138
- data/app/assets/javascripts/ckeditor/samples/ajax.html +0 -82
- data/app/assets/javascripts/ckeditor/samples/api.html +0 -207
- data/app/assets/javascripts/ckeditor/samples/appendto.html +0 -57
- data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
- data/app/assets/javascripts/ckeditor/samples/assets/posteddata.php +0 -59
- data/app/assets/javascripts/ckeditor/samples/assets/sample.css +0 -3
- data/app/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
- data/app/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
- data/app/assets/javascripts/ckeditor/samples/datafiltering.html +0 -401
- data/app/assets/javascripts/ckeditor/samples/divreplace.html +0 -141
- data/app/assets/javascripts/ckeditor/samples/index.html +0 -125
- data/app/assets/javascripts/ckeditor/samples/inlineall.html +0 -311
- data/app/assets/javascripts/ckeditor/samples/inlinebycode.html +0 -122
- data/app/assets/javascripts/ckeditor/samples/plugins/dialog/assets/my_dialog.js +0 -48
- data/app/assets/javascripts/ckeditor/samples/plugins/dialog/dialog.html +0 -187
- data/app/assets/javascripts/ckeditor/samples/plugins/enterkey/enterkey.html +0 -103
- data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
- data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
- data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputhtml.html +0 -221
- data/app/assets/javascripts/ckeditor/samples/plugins/magicline/magicline.html +0 -207
- data/app/assets/javascripts/ckeditor/samples/plugins/toolbar/toolbar.html +0 -232
- data/app/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
- data/app/assets/javascripts/ckeditor/samples/readonly.html +0 -73
- data/app/assets/javascripts/ckeditor/samples/replacebyclass.html +0 -57
- data/app/assets/javascripts/ckeditor/samples/replacebycode.html +0 -56
- data/app/assets/javascripts/ckeditor/samples/sample.css +0 -339
- data/app/assets/javascripts/ckeditor/samples/sample.js +0 -33
- data/app/assets/javascripts/ckeditor/samples/sample_posteddata.php +0 -16
- data/app/assets/javascripts/ckeditor/samples/tabindex.html +0 -75
- data/app/assets/javascripts/ckeditor/samples/uicolor.html +0 -69
- data/app/assets/javascripts/ckeditor/samples/uilanguages.html +0 -119
- data/app/assets/javascripts/ckeditor/samples/xhtmlstyle.html +0 -231
- data/app/assets/javascripts/ckeditor/skins/moono/images/mini.png +0 -0
@@ -1,328 +0,0 @@
|
|
1
|
-
CodeMirror.defineMode("xml", function(config, parserConfig) {
|
2
|
-
var indentUnit = config.indentUnit;
|
3
|
-
var multilineTagIndentFactor = parserConfig.multilineTagIndentFactor || 1;
|
4
|
-
|
5
|
-
var Kludges = parserConfig.htmlMode ? {
|
6
|
-
autoSelfClosers: {'area': true, 'base': true, 'br': true, 'col': true, 'command': true,
|
7
|
-
'embed': true, 'frame': true, 'hr': true, 'img': true, 'input': true,
|
8
|
-
'keygen': true, 'link': true, 'meta': true, 'param': true, 'source': true,
|
9
|
-
'track': true, 'wbr': true},
|
10
|
-
implicitlyClosed: {'dd': true, 'li': true, 'optgroup': true, 'option': true, 'p': true,
|
11
|
-
'rp': true, 'rt': true, 'tbody': true, 'td': true, 'tfoot': true,
|
12
|
-
'th': true, 'tr': true},
|
13
|
-
contextGrabbers: {
|
14
|
-
'dd': {'dd': true, 'dt': true},
|
15
|
-
'dt': {'dd': true, 'dt': true},
|
16
|
-
'li': {'li': true},
|
17
|
-
'option': {'option': true, 'optgroup': true},
|
18
|
-
'optgroup': {'optgroup': true},
|
19
|
-
'p': {'address': true, 'article': true, 'aside': true, 'blockquote': true, 'dir': true,
|
20
|
-
'div': true, 'dl': true, 'fieldset': true, 'footer': true, 'form': true,
|
21
|
-
'h1': true, 'h2': true, 'h3': true, 'h4': true, 'h5': true, 'h6': true,
|
22
|
-
'header': true, 'hgroup': true, 'hr': true, 'menu': true, 'nav': true, 'ol': true,
|
23
|
-
'p': true, 'pre': true, 'section': true, 'table': true, 'ul': true},
|
24
|
-
'rp': {'rp': true, 'rt': true},
|
25
|
-
'rt': {'rp': true, 'rt': true},
|
26
|
-
'tbody': {'tbody': true, 'tfoot': true},
|
27
|
-
'td': {'td': true, 'th': true},
|
28
|
-
'tfoot': {'tbody': true},
|
29
|
-
'th': {'td': true, 'th': true},
|
30
|
-
'thead': {'tbody': true, 'tfoot': true},
|
31
|
-
'tr': {'tr': true}
|
32
|
-
},
|
33
|
-
doNotIndent: {"pre": true},
|
34
|
-
allowUnquoted: true,
|
35
|
-
allowMissing: true
|
36
|
-
} : {
|
37
|
-
autoSelfClosers: {},
|
38
|
-
implicitlyClosed: {},
|
39
|
-
contextGrabbers: {},
|
40
|
-
doNotIndent: {},
|
41
|
-
allowUnquoted: false,
|
42
|
-
allowMissing: false
|
43
|
-
};
|
44
|
-
var alignCDATA = parserConfig.alignCDATA;
|
45
|
-
|
46
|
-
// Return variables for tokenizers
|
47
|
-
var tagName, type;
|
48
|
-
|
49
|
-
function inText(stream, state) {
|
50
|
-
function chain(parser) {
|
51
|
-
state.tokenize = parser;
|
52
|
-
return parser(stream, state);
|
53
|
-
}
|
54
|
-
|
55
|
-
var ch = stream.next();
|
56
|
-
if (ch == "<") {
|
57
|
-
if (stream.eat("!")) {
|
58
|
-
if (stream.eat("[")) {
|
59
|
-
if (stream.match("CDATA[")) return chain(inBlock("atom", "]]>"));
|
60
|
-
else return null;
|
61
|
-
}
|
62
|
-
else if (stream.match("--")) return chain(inBlock("comment", "-->"));
|
63
|
-
else if (stream.match("DOCTYPE", true, true)) {
|
64
|
-
stream.eatWhile(/[\w\._\-]/);
|
65
|
-
return chain(doctype(1));
|
66
|
-
}
|
67
|
-
else return null;
|
68
|
-
}
|
69
|
-
else if (stream.eat("?")) {
|
70
|
-
stream.eatWhile(/[\w\._\-]/);
|
71
|
-
state.tokenize = inBlock("meta", "?>");
|
72
|
-
return "meta";
|
73
|
-
}
|
74
|
-
else {
|
75
|
-
var isClose = stream.eat("/");
|
76
|
-
tagName = "";
|
77
|
-
var c;
|
78
|
-
while ((c = stream.eat(/[^\s\u00a0=<>\"\'\/?]/))) tagName += c;
|
79
|
-
if (!tagName) return "error";
|
80
|
-
type = isClose ? "closeTag" : "openTag";
|
81
|
-
state.tokenize = inTag;
|
82
|
-
return "tag";
|
83
|
-
}
|
84
|
-
}
|
85
|
-
else if (ch == "&") {
|
86
|
-
var ok;
|
87
|
-
if (stream.eat("#")) {
|
88
|
-
if (stream.eat("x")) {
|
89
|
-
ok = stream.eatWhile(/[a-fA-F\d]/) && stream.eat(";");
|
90
|
-
} else {
|
91
|
-
ok = stream.eatWhile(/[\d]/) && stream.eat(";");
|
92
|
-
}
|
93
|
-
} else {
|
94
|
-
ok = stream.eatWhile(/[\w\.\-:]/) && stream.eat(";");
|
95
|
-
}
|
96
|
-
return ok ? "atom" : "error";
|
97
|
-
}
|
98
|
-
else {
|
99
|
-
stream.eatWhile(/[^&<]/);
|
100
|
-
return null;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
function inTag(stream, state) {
|
105
|
-
var ch = stream.next();
|
106
|
-
if (ch == ">" || (ch == "/" && stream.eat(">"))) {
|
107
|
-
state.tokenize = inText;
|
108
|
-
type = ch == ">" ? "endTag" : "selfcloseTag";
|
109
|
-
return "tag";
|
110
|
-
}
|
111
|
-
else if (ch == "=") {
|
112
|
-
type = "equals";
|
113
|
-
return null;
|
114
|
-
}
|
115
|
-
else if (/[\'\"]/.test(ch)) {
|
116
|
-
state.tokenize = inAttribute(ch);
|
117
|
-
return state.tokenize(stream, state);
|
118
|
-
}
|
119
|
-
else {
|
120
|
-
stream.eatWhile(/[^\s\u00a0=<>\"\']/);
|
121
|
-
return "word";
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
function inAttribute(quote) {
|
126
|
-
return function(stream, state) {
|
127
|
-
while (!stream.eol()) {
|
128
|
-
if (stream.next() == quote) {
|
129
|
-
state.tokenize = inTag;
|
130
|
-
break;
|
131
|
-
}
|
132
|
-
}
|
133
|
-
return "string";
|
134
|
-
};
|
135
|
-
}
|
136
|
-
|
137
|
-
function inBlock(style, terminator) {
|
138
|
-
return function(stream, state) {
|
139
|
-
while (!stream.eol()) {
|
140
|
-
if (stream.match(terminator)) {
|
141
|
-
state.tokenize = inText;
|
142
|
-
break;
|
143
|
-
}
|
144
|
-
stream.next();
|
145
|
-
}
|
146
|
-
return style;
|
147
|
-
};
|
148
|
-
}
|
149
|
-
function doctype(depth) {
|
150
|
-
return function(stream, state) {
|
151
|
-
var ch;
|
152
|
-
while ((ch = stream.next()) != null) {
|
153
|
-
if (ch == "<") {
|
154
|
-
state.tokenize = doctype(depth + 1);
|
155
|
-
return state.tokenize(stream, state);
|
156
|
-
} else if (ch == ">") {
|
157
|
-
if (depth == 1) {
|
158
|
-
state.tokenize = inText;
|
159
|
-
break;
|
160
|
-
} else {
|
161
|
-
state.tokenize = doctype(depth - 1);
|
162
|
-
return state.tokenize(stream, state);
|
163
|
-
}
|
164
|
-
}
|
165
|
-
}
|
166
|
-
return "meta";
|
167
|
-
};
|
168
|
-
}
|
169
|
-
|
170
|
-
var curState, curStream, setStyle;
|
171
|
-
function pass() {
|
172
|
-
for (var i = arguments.length - 1; i >= 0; i--) curState.cc.push(arguments[i]);
|
173
|
-
}
|
174
|
-
function cont() {
|
175
|
-
pass.apply(null, arguments);
|
176
|
-
return true;
|
177
|
-
}
|
178
|
-
|
179
|
-
function pushContext(tagName, startOfLine) {
|
180
|
-
var noIndent = Kludges.doNotIndent.hasOwnProperty(tagName) || (curState.context && curState.context.noIndent);
|
181
|
-
curState.context = {
|
182
|
-
prev: curState.context,
|
183
|
-
tagName: tagName,
|
184
|
-
indent: curState.indented,
|
185
|
-
startOfLine: startOfLine,
|
186
|
-
noIndent: noIndent
|
187
|
-
};
|
188
|
-
}
|
189
|
-
function popContext() {
|
190
|
-
if (curState.context) curState.context = curState.context.prev;
|
191
|
-
}
|
192
|
-
|
193
|
-
function element(type) {
|
194
|
-
if (type == "openTag") {
|
195
|
-
curState.tagName = tagName;
|
196
|
-
curState.tagStart = curStream.column();
|
197
|
-
return cont(attributes, endtag(curState.startOfLine));
|
198
|
-
} else if (type == "closeTag") {
|
199
|
-
var err = false;
|
200
|
-
if (curState.context) {
|
201
|
-
if (curState.context.tagName != tagName) {
|
202
|
-
if (Kludges.implicitlyClosed.hasOwnProperty(curState.context.tagName.toLowerCase())) {
|
203
|
-
popContext();
|
204
|
-
}
|
205
|
-
err = !curState.context || curState.context.tagName != tagName;
|
206
|
-
}
|
207
|
-
} else {
|
208
|
-
err = true;
|
209
|
-
}
|
210
|
-
if (err) setStyle = "error";
|
211
|
-
return cont(endclosetag(err));
|
212
|
-
}
|
213
|
-
return cont();
|
214
|
-
}
|
215
|
-
function endtag(startOfLine) {
|
216
|
-
return function(type) {
|
217
|
-
var tagName = curState.tagName;
|
218
|
-
curState.tagName = curState.tagStart = null;
|
219
|
-
if (type == "selfcloseTag" ||
|
220
|
-
(type == "endTag" && Kludges.autoSelfClosers.hasOwnProperty(tagName.toLowerCase()))) {
|
221
|
-
maybePopContext(tagName.toLowerCase());
|
222
|
-
return cont();
|
223
|
-
}
|
224
|
-
if (type == "endTag") {
|
225
|
-
maybePopContext(tagName.toLowerCase());
|
226
|
-
pushContext(tagName, startOfLine);
|
227
|
-
return cont();
|
228
|
-
}
|
229
|
-
return cont();
|
230
|
-
};
|
231
|
-
}
|
232
|
-
function endclosetag(err) {
|
233
|
-
return function(type) {
|
234
|
-
if (err) setStyle = "error";
|
235
|
-
if (type == "endTag") { popContext(); return cont(); }
|
236
|
-
setStyle = "error";
|
237
|
-
return cont(arguments.callee);
|
238
|
-
};
|
239
|
-
}
|
240
|
-
function maybePopContext(nextTagName) {
|
241
|
-
var parentTagName;
|
242
|
-
while (true) {
|
243
|
-
if (!curState.context) {
|
244
|
-
return;
|
245
|
-
}
|
246
|
-
parentTagName = curState.context.tagName.toLowerCase();
|
247
|
-
if (!Kludges.contextGrabbers.hasOwnProperty(parentTagName) ||
|
248
|
-
!Kludges.contextGrabbers[parentTagName].hasOwnProperty(nextTagName)) {
|
249
|
-
return;
|
250
|
-
}
|
251
|
-
popContext();
|
252
|
-
}
|
253
|
-
}
|
254
|
-
|
255
|
-
function attributes(type) {
|
256
|
-
if (type == "word") {setStyle = "attribute"; return cont(attribute, attributes);}
|
257
|
-
if (type == "endTag" || type == "selfcloseTag") return pass();
|
258
|
-
setStyle = "error";
|
259
|
-
return cont(attributes);
|
260
|
-
}
|
261
|
-
function attribute(type) {
|
262
|
-
if (type == "equals") return cont(attvalue, attributes);
|
263
|
-
if (!Kludges.allowMissing) setStyle = "error";
|
264
|
-
else if (type == "word") setStyle = "attribute";
|
265
|
-
return (type == "endTag" || type == "selfcloseTag") ? pass() : cont();
|
266
|
-
}
|
267
|
-
function attvalue(type) {
|
268
|
-
if (type == "string") return cont(attvaluemaybe);
|
269
|
-
if (type == "word" && Kludges.allowUnquoted) {setStyle = "string"; return cont();}
|
270
|
-
setStyle = "error";
|
271
|
-
return (type == "endTag" || type == "selfCloseTag") ? pass() : cont();
|
272
|
-
}
|
273
|
-
function attvaluemaybe(type) {
|
274
|
-
if (type == "string") return cont(attvaluemaybe);
|
275
|
-
else return pass();
|
276
|
-
}
|
277
|
-
|
278
|
-
return {
|
279
|
-
startState: function() {
|
280
|
-
return {tokenize: inText, cc: [], indented: 0, startOfLine: true, tagName: null, tagStart: null, context: null};
|
281
|
-
},
|
282
|
-
|
283
|
-
token: function(stream, state) {
|
284
|
-
if (!state.tagName && stream.sol()) {
|
285
|
-
state.startOfLine = true;
|
286
|
-
state.indented = stream.indentation();
|
287
|
-
}
|
288
|
-
if (stream.eatSpace()) return null;
|
289
|
-
|
290
|
-
setStyle = type = tagName = null;
|
291
|
-
var style = state.tokenize(stream, state);
|
292
|
-
state.type = type;
|
293
|
-
if ((style || type) && style != "comment") {
|
294
|
-
curState = state; curStream = stream;
|
295
|
-
while (true) {
|
296
|
-
var comb = state.cc.pop() || element;
|
297
|
-
if (comb(type || style)) break;
|
298
|
-
}
|
299
|
-
}
|
300
|
-
state.startOfLine = false;
|
301
|
-
return setStyle || style;
|
302
|
-
},
|
303
|
-
|
304
|
-
indent: function(state, textAfter, fullLine) {
|
305
|
-
var context = state.context;
|
306
|
-
if ((state.tokenize != inTag && state.tokenize != inText) ||
|
307
|
-
context && context.noIndent)
|
308
|
-
return fullLine ? fullLine.match(/^(\s*)/)[0].length : 0;
|
309
|
-
if (state.tagName) return state.tagStart + indentUnit * multilineTagIndentFactor;
|
310
|
-
if (alignCDATA && /<!\[CDATA\[/.test(textAfter)) return 0;
|
311
|
-
if (context && /^<\//.test(textAfter))
|
312
|
-
context = context.prev;
|
313
|
-
while (context && !context.startOfLine)
|
314
|
-
context = context.prev;
|
315
|
-
if (context) return context.indent + indentUnit;
|
316
|
-
else return 0;
|
317
|
-
},
|
318
|
-
|
319
|
-
electricChars: "/",
|
320
|
-
|
321
|
-
configuration: parserConfig.htmlMode ? "html" : "xml"
|
322
|
-
};
|
323
|
-
});
|
324
|
-
|
325
|
-
CodeMirror.defineMIME("text/xml", "xml");
|
326
|
-
CodeMirror.defineMIME("application/xml", "xml");
|
327
|
-
if (!CodeMirror.mimeModes.hasOwnProperty("text/html"))
|
328
|
-
CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});
|
Binary file
|
Binary file
|
@@ -1,53 +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.plugins.setLang( 'colorbutton', 'en', {
|
6
|
-
auto: 'Automatic',
|
7
|
-
bgColorTitle: 'Background Color',
|
8
|
-
colors: {
|
9
|
-
'000': 'Black',
|
10
|
-
'800000': 'Maroon',
|
11
|
-
'8B4513': 'Saddle Brown',
|
12
|
-
'2F4F4F': 'Dark Slate Gray',
|
13
|
-
'008080': 'Teal',
|
14
|
-
'000080': 'Navy',
|
15
|
-
'4B0082': 'Indigo',
|
16
|
-
'696969': 'Dark Gray',
|
17
|
-
B22222: 'Fire Brick',
|
18
|
-
A52A2A: 'Brown',
|
19
|
-
DAA520: 'Golden Rod',
|
20
|
-
'006400': 'Dark Green',
|
21
|
-
'40E0D0': 'Turquoise',
|
22
|
-
'0000CD': 'Medium Blue',
|
23
|
-
'800080': 'Purple',
|
24
|
-
'808080': 'Gray',
|
25
|
-
F00: 'Red',
|
26
|
-
FF8C00: 'Dark Orange',
|
27
|
-
FFD700: 'Gold',
|
28
|
-
'008000': 'Green',
|
29
|
-
'0FF': 'Cyan',
|
30
|
-
'00F': 'Blue',
|
31
|
-
EE82EE: 'Violet',
|
32
|
-
A9A9A9: 'Dim Gray',
|
33
|
-
FFA07A: 'Light Salmon',
|
34
|
-
FFA500: 'Orange',
|
35
|
-
FFFF00: 'Yellow',
|
36
|
-
'00FF00': 'Lime',
|
37
|
-
AFEEEE: 'Pale Turquoise',
|
38
|
-
ADD8E6: 'Light Blue',
|
39
|
-
DDA0DD: 'Plum',
|
40
|
-
D3D3D3: 'Light Grey',
|
41
|
-
FFF0F5: 'Lavender Blush',
|
42
|
-
FAEBD7: 'Antique White',
|
43
|
-
FFFFE0: 'Light Yellow',
|
44
|
-
F0FFF0: 'Honeydew',
|
45
|
-
F0FFFF: 'Azure',
|
46
|
-
F0F8FF: 'Alice Blue',
|
47
|
-
E6E6FA: 'Lavender',
|
48
|
-
FFF: 'White'
|
49
|
-
},
|
50
|
-
more: 'More Colors...',
|
51
|
-
panelTitle: 'Colors',
|
52
|
-
textColorTitle: 'Text Color'
|
53
|
-
});
|
@@ -1,53 +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.plugins.setLang( 'colorbutton', 'ru', {
|
6
|
-
auto: 'Автоматически',
|
7
|
-
bgColorTitle: 'Цвет фона',
|
8
|
-
colors: {
|
9
|
-
'000': 'Чёрный',
|
10
|
-
'800000': 'Бордовый',
|
11
|
-
'8B4513': 'Кожано-коричневый',
|
12
|
-
'2F4F4F': 'Темный синевато-серый',
|
13
|
-
'008080': 'Сине-зелёный',
|
14
|
-
'000080': 'Тёмно-синий',
|
15
|
-
'4B0082': 'Индиго',
|
16
|
-
'696969': 'Тёмно-серый',
|
17
|
-
B22222: 'Кирпичный',
|
18
|
-
A52A2A: 'Коричневый',
|
19
|
-
DAA520: 'Золотисто-берёзовый',
|
20
|
-
'006400': 'Темно-зелёный',
|
21
|
-
'40E0D0': 'Бирюзовый',
|
22
|
-
'0000CD': 'Умеренно синий',
|
23
|
-
'800080': 'Пурпурный',
|
24
|
-
'808080': 'Серый',
|
25
|
-
F00: 'Красный',
|
26
|
-
FF8C00: 'Темно-оранжевый',
|
27
|
-
FFD700: 'Золотистый',
|
28
|
-
'008000': 'Зелёный',
|
29
|
-
'0FF': 'Васильковый',
|
30
|
-
'00F': 'Синий',
|
31
|
-
EE82EE: 'Фиолетовый',
|
32
|
-
A9A9A9: 'Тускло-серый',
|
33
|
-
FFA07A: 'Светло-лососевый',
|
34
|
-
FFA500: 'Оранжевый',
|
35
|
-
FFFF00: 'Жёлтый',
|
36
|
-
'00FF00': 'Лайма',
|
37
|
-
AFEEEE: 'Бледно-синий',
|
38
|
-
ADD8E6: 'Свелто-голубой',
|
39
|
-
DDA0DD: 'Сливовый',
|
40
|
-
D3D3D3: 'Светло-серый',
|
41
|
-
FFF0F5: 'Розово-лавандовый',
|
42
|
-
FAEBD7: 'Античный белый',
|
43
|
-
FFFFE0: 'Светло-жёлтый',
|
44
|
-
F0FFF0: 'Медвяной росы',
|
45
|
-
F0FFFF: 'Лазурный',
|
46
|
-
F0F8FF: 'Бледно-голубой',
|
47
|
-
E6E6FA: 'Лавандовый',
|
48
|
-
FFF: 'Белый'
|
49
|
-
},
|
50
|
-
more: 'Ещё цвета...',
|
51
|
-
panelTitle: 'Цвета',
|
52
|
-
textColorTitle: 'Цвет текста'
|
53
|
-
});
|
@@ -1,277 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
|
6
|
-
/**
|
7
|
-
* @fileOverview The "colorbutton" plugin that makes it possible to assign
|
8
|
-
* text and background colors to editor contents.
|
9
|
-
*
|
10
|
-
*/
|
11
|
-
CKEDITOR.plugins.add( 'colorbutton', {
|
12
|
-
requires: 'panelbutton,floatpanel',
|
13
|
-
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sq,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
|
14
|
-
icons: 'bgcolor,textcolor', // %REMOVE_LINE_CORE%
|
15
|
-
init: function( editor ) {
|
16
|
-
var config = editor.config,
|
17
|
-
lang = editor.lang.colorbutton;
|
18
|
-
|
19
|
-
var clickFn;
|
20
|
-
|
21
|
-
if ( !CKEDITOR.env.hc ) {
|
22
|
-
addButton( 'TextColor', 'fore', lang.textColorTitle, 10 );
|
23
|
-
addButton( 'BGColor', 'back', lang.bgColorTitle, 20 );
|
24
|
-
}
|
25
|
-
|
26
|
-
function addButton( name, type, title, order ) {
|
27
|
-
var style = new CKEDITOR.style( config[ 'colorButton_' + type + 'Style' ] ),
|
28
|
-
colorBoxId = CKEDITOR.tools.getNextId() + '_colorBox';
|
29
|
-
|
30
|
-
editor.ui.add( name, CKEDITOR.UI_PANELBUTTON, {
|
31
|
-
label: title,
|
32
|
-
title: title,
|
33
|
-
modes: { wysiwyg:1 },
|
34
|
-
editorFocus: 1,
|
35
|
-
toolbar: 'colors,' + order,
|
36
|
-
allowedContent: style,
|
37
|
-
requiredContent: style,
|
38
|
-
|
39
|
-
panel: {
|
40
|
-
css: CKEDITOR.skin.getPath( 'editor' ),
|
41
|
-
attributes: { role: 'listbox', 'aria-label': lang.panelTitle }
|
42
|
-
},
|
43
|
-
|
44
|
-
onBlock: function( panel, block ) {
|
45
|
-
block.autoSize = true;
|
46
|
-
block.element.addClass( 'cke_colorblock' );
|
47
|
-
block.element.setHtml( renderColors( panel, type, colorBoxId ) );
|
48
|
-
// The block should not have scrollbars (#5933, #6056)
|
49
|
-
block.element.getDocument().getBody().setStyle( 'overflow', 'hidden' );
|
50
|
-
|
51
|
-
CKEDITOR.ui.fire( 'ready', this );
|
52
|
-
|
53
|
-
var keys = block.keys;
|
54
|
-
var rtl = editor.lang.dir == 'rtl';
|
55
|
-
keys[ rtl ? 37 : 39 ] = 'next'; // ARROW-RIGHT
|
56
|
-
keys[ 40 ] = 'next'; // ARROW-DOWN
|
57
|
-
keys[ 9 ] = 'next'; // TAB
|
58
|
-
keys[ rtl ? 39 : 37 ] = 'prev'; // ARROW-LEFT
|
59
|
-
keys[ 38 ] = 'prev'; // ARROW-UP
|
60
|
-
keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB
|
61
|
-
keys[ 32 ] = 'click'; // SPACE
|
62
|
-
},
|
63
|
-
|
64
|
-
// The automatic colorbox should represent the real color (#6010)
|
65
|
-
onOpen: function() {
|
66
|
-
|
67
|
-
var selection = editor.getSelection(),
|
68
|
-
block = selection && selection.getStartElement(),
|
69
|
-
path = editor.elementPath( block ),
|
70
|
-
color;
|
71
|
-
|
72
|
-
// Find the closest block element.
|
73
|
-
block = path.block || path.blockLimit || editor.document.getBody();
|
74
|
-
|
75
|
-
// The background color might be transparent. In that case, look up the color in the DOM tree.
|
76
|
-
do {
|
77
|
-
color = block && block.getComputedStyle( type == 'back' ? 'background-color' : 'color' ) || 'transparent';
|
78
|
-
}
|
79
|
-
while ( type == 'back' && color == 'transparent' && block && ( block = block.getParent() ) );
|
80
|
-
|
81
|
-
// The box should never be transparent.
|
82
|
-
if ( !color || color == 'transparent' )
|
83
|
-
color = '#ffffff';
|
84
|
-
|
85
|
-
this._.panel._.iframe.getFrameDocument().getById( colorBoxId ).setStyle( 'background-color', color );
|
86
|
-
|
87
|
-
return color;
|
88
|
-
}
|
89
|
-
});
|
90
|
-
}
|
91
|
-
|
92
|
-
|
93
|
-
function renderColors( panel, type, colorBoxId ) {
|
94
|
-
var output = [],
|
95
|
-
colors = config.colorButton_colors.split( ',' );
|
96
|
-
|
97
|
-
var clickFn = CKEDITOR.tools.addFunction( function( color, type ) {
|
98
|
-
if ( color == '?' ) {
|
99
|
-
var applyColorStyle = arguments.callee;
|
100
|
-
|
101
|
-
function onColorDialogClose( evt ) {
|
102
|
-
this.removeListener( 'ok', onColorDialogClose );
|
103
|
-
this.removeListener( 'cancel', onColorDialogClose );
|
104
|
-
|
105
|
-
evt.name == 'ok' && applyColorStyle( this.getContentElement( 'picker', 'selectedColor' ).getValue(), type );
|
106
|
-
}
|
107
|
-
|
108
|
-
editor.openDialog( 'colordialog', function() {
|
109
|
-
this.on( 'ok', onColorDialogClose );
|
110
|
-
this.on( 'cancel', onColorDialogClose );
|
111
|
-
});
|
112
|
-
|
113
|
-
return;
|
114
|
-
}
|
115
|
-
|
116
|
-
editor.focus();
|
117
|
-
|
118
|
-
panel.hide();
|
119
|
-
|
120
|
-
editor.fire( 'saveSnapshot' );
|
121
|
-
|
122
|
-
// Clean up any conflicting style within the range.
|
123
|
-
editor.removeStyle( new CKEDITOR.style( config[ 'colorButton_' + type + 'Style' ], { color: 'inherit' } ) );
|
124
|
-
|
125
|
-
if ( color ) {
|
126
|
-
var colorStyle = config[ 'colorButton_' + type + 'Style' ];
|
127
|
-
|
128
|
-
colorStyle.childRule = type == 'back' ?
|
129
|
-
function( element ) {
|
130
|
-
// It's better to apply background color as the innermost style. (#3599)
|
131
|
-
// Except for "unstylable elements". (#6103)
|
132
|
-
return isUnstylable( element );
|
133
|
-
} : function( element ) {
|
134
|
-
// Fore color style must be applied inside links instead of around it. (#4772,#6908)
|
135
|
-
return !( element.is( 'a' ) || element.getElementsByTag( 'a' ).count() ) || isUnstylable( element );
|
136
|
-
};
|
137
|
-
|
138
|
-
editor.applyStyle( new CKEDITOR.style( colorStyle, { color: color } ) );
|
139
|
-
}
|
140
|
-
|
141
|
-
editor.fire( 'saveSnapshot' );
|
142
|
-
});
|
143
|
-
|
144
|
-
// Render the "Automatic" button.
|
145
|
-
output.push( '<a class="cke_colorauto" _cke_focus=1 hidefocus=true' +
|
146
|
-
' title="', lang.auto, '"' +
|
147
|
-
' onclick="CKEDITOR.tools.callFunction(', clickFn, ',null,\'', type, '\');return false;"' +
|
148
|
-
' href="javascript:void(\'', lang.auto, '\')"' +
|
149
|
-
' role="option">' +
|
150
|
-
'<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' +
|
151
|
-
'<tr>' +
|
152
|
-
'<td>' +
|
153
|
-
'<span class="cke_colorbox" id="', colorBoxId, '"></span>' +
|
154
|
-
'</td>' +
|
155
|
-
'<td colspan=7 align=center>', lang.auto, '</td>' +
|
156
|
-
'</tr>' +
|
157
|
-
'</table>' +
|
158
|
-
'</a>' +
|
159
|
-
'<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' );
|
160
|
-
|
161
|
-
// Render the color boxes.
|
162
|
-
for ( var i = 0; i < colors.length; i++ ) {
|
163
|
-
if ( ( i % 8 ) === 0 )
|
164
|
-
output.push( '</tr><tr>' );
|
165
|
-
|
166
|
-
var parts = colors[ i ].split( '/' ),
|
167
|
-
colorName = parts[ 0 ],
|
168
|
-
colorCode = parts[ 1 ] || colorName;
|
169
|
-
|
170
|
-
// The data can be only a color code (without #) or colorName + color code
|
171
|
-
// If only a color code is provided, then the colorName is the color with the hash
|
172
|
-
// Convert the color from RGB to RRGGBB for better compatibility with IE and <font>. See #5676
|
173
|
-
if ( !parts[ 1 ] )
|
174
|
-
colorName = '#' + colorName.replace( /^(.)(.)(.)$/, '$1$1$2$2$3$3' );
|
175
|
-
|
176
|
-
var colorLabel = editor.lang.colorbutton.colors[ colorCode ] || colorCode;
|
177
|
-
output.push( '<td>' +
|
178
|
-
'<a class="cke_colorbox" _cke_focus=1 hidefocus=true' +
|
179
|
-
' title="', colorLabel, '"' +
|
180
|
-
' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'', colorName, '\',\'', type, '\'); return false;"' +
|
181
|
-
' href="javascript:void(\'', colorLabel, '\')"' +
|
182
|
-
' role="option">' +
|
183
|
-
'<span class="cke_colorbox" style="background-color:#', colorCode, '"></span>' +
|
184
|
-
'</a>' +
|
185
|
-
'</td>' );
|
186
|
-
}
|
187
|
-
|
188
|
-
// Render the "More Colors" button.
|
189
|
-
if ( editor.plugins.colordialog && config.colorButton_enableMore === undefined || config.colorButton_enableMore ) {
|
190
|
-
output.push( '</tr>' +
|
191
|
-
'<tr>' +
|
192
|
-
'<td colspan=8 align=center>' +
|
193
|
-
'<a class="cke_colormore" _cke_focus=1 hidefocus=true' +
|
194
|
-
' title="', lang.more, '"' +
|
195
|
-
' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'?\',\'', type, '\');return false;"' +
|
196
|
-
' href="javascript:void(\'', lang.more, '\')"', ' role="option">', lang.more, '</a>' +
|
197
|
-
'</td>' ); // tr is later in the code.
|
198
|
-
}
|
199
|
-
|
200
|
-
output.push( '</tr></table>' );
|
201
|
-
|
202
|
-
return output.join( '' );
|
203
|
-
}
|
204
|
-
|
205
|
-
function isUnstylable( ele ) {
|
206
|
-
return ( ele.getAttribute( 'contentEditable' ) == 'false' ) || ele.getAttribute( 'data-nostyle' );
|
207
|
-
}
|
208
|
-
}
|
209
|
-
});
|
210
|
-
|
211
|
-
/**
|
212
|
-
* Whether to enable the **More Colors*** button in the color selectors.
|
213
|
-
*
|
214
|
-
* config.colorButton_enableMore = false;
|
215
|
-
*
|
216
|
-
* @cfg {Boolean} [colorButton_enableMore=true]
|
217
|
-
* @member CKEDITOR.config
|
218
|
-
*/
|
219
|
-
|
220
|
-
/**
|
221
|
-
* Defines the colors to be displayed in the color selectors. This is a string
|
222
|
-
* containing hexadecimal notation for HTML colors, without the `'#'` prefix.
|
223
|
-
*
|
224
|
-
* **Since 3.3:** A color name may optionally be defined by prefixing the entries with
|
225
|
-
* a name and the slash character. For example, `'FontColor1/FF9900'` will be
|
226
|
-
* displayed as the color `#FF9900` in the selector, but will be output as `'FontColor1'`.
|
227
|
-
*
|
228
|
-
* // Brazil colors only.
|
229
|
-
* config.colorButton_colors = '00923E,F8C100,28166F';
|
230
|
-
*
|
231
|
-
* config.colorButton_colors = 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00';
|
232
|
-
*
|
233
|
-
* @cfg {String} [colorButton_colors=see source]
|
234
|
-
* @member CKEDITOR.config
|
235
|
-
*/
|
236
|
-
CKEDITOR.config.colorButton_colors = '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,' +
|
237
|
-
'B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,' +
|
238
|
-
'F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,' +
|
239
|
-
'FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,' +
|
240
|
-
'FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF';
|
241
|
-
|
242
|
-
/**
|
243
|
-
* Stores the style definition that applies the text foreground color.
|
244
|
-
*
|
245
|
-
* // This is actually the default value.
|
246
|
-
* config.colorButton_foreStyle = {
|
247
|
-
* element: 'span',
|
248
|
-
* styles: { color: '#(color)' }
|
249
|
-
* };
|
250
|
-
*
|
251
|
-
* @cfg [colorButton_foreStyle=see source]
|
252
|
-
* @member CKEDITOR.config
|
253
|
-
*/
|
254
|
-
CKEDITOR.config.colorButton_foreStyle = {
|
255
|
-
element: 'span',
|
256
|
-
styles: { 'color': '#(color)' },
|
257
|
-
overrides: [ {
|
258
|
-
element: 'font', attributes: { 'color': null }
|
259
|
-
}]
|
260
|
-
};
|
261
|
-
|
262
|
-
/**
|
263
|
-
* Stores the style definition that applies the text background color.
|
264
|
-
*
|
265
|
-
* // This is actually the default value.
|
266
|
-
* config.colorButton_backStyle = {
|
267
|
-
* element: 'span',
|
268
|
-
* styles: { 'background-color': '#(color)' }
|
269
|
-
* };
|
270
|
-
*
|
271
|
-
* @cfg [colorButton_backStyle=see source]
|
272
|
-
* @member CKEDITOR.config
|
273
|
-
*/
|
274
|
-
CKEDITOR.config.colorButton_backStyle = {
|
275
|
-
element: 'span',
|
276
|
-
styles: { 'background-color': '#(color)' }
|
277
|
-
};
|