glebtv-ckeditor 4.1.1.7 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- 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,567 +0,0 @@
|
|
1
|
-
CodeMirror.defineMode("css", function(config) {
|
2
|
-
return CodeMirror.getMode(config, "text/css");
|
3
|
-
});
|
4
|
-
|
5
|
-
CodeMirror.defineMode("css-base", function(config, parserConfig) {
|
6
|
-
"use strict";
|
7
|
-
|
8
|
-
var indentUnit = config.indentUnit,
|
9
|
-
hooks = parserConfig.hooks || {},
|
10
|
-
atMediaTypes = parserConfig.atMediaTypes || {},
|
11
|
-
atMediaFeatures = parserConfig.atMediaFeatures || {},
|
12
|
-
propertyKeywords = parserConfig.propertyKeywords || {},
|
13
|
-
colorKeywords = parserConfig.colorKeywords || {},
|
14
|
-
valueKeywords = parserConfig.valueKeywords || {},
|
15
|
-
allowNested = !!parserConfig.allowNested,
|
16
|
-
type = null;
|
17
|
-
|
18
|
-
function ret(style, tp) { type = tp; return style; }
|
19
|
-
|
20
|
-
function tokenBase(stream, state) {
|
21
|
-
var ch = stream.next();
|
22
|
-
if (hooks[ch]) {
|
23
|
-
// result[0] is style and result[1] is type
|
24
|
-
var result = hooks[ch](stream, state);
|
25
|
-
if (result !== false) return result;
|
26
|
-
}
|
27
|
-
if (ch == "@") {stream.eatWhile(/[\w\\\-]/); return ret("def", stream.current());}
|
28
|
-
else if (ch == "=") ret(null, "compare");
|
29
|
-
else if ((ch == "~" || ch == "|") && stream.eat("=")) return ret(null, "compare");
|
30
|
-
else if (ch == "\"" || ch == "'") {
|
31
|
-
state.tokenize = tokenString(ch);
|
32
|
-
return state.tokenize(stream, state);
|
33
|
-
}
|
34
|
-
else if (ch == "#") {
|
35
|
-
stream.eatWhile(/[\w\\\-]/);
|
36
|
-
return ret("atom", "hash");
|
37
|
-
}
|
38
|
-
else if (ch == "!") {
|
39
|
-
stream.match(/^\s*\w*/);
|
40
|
-
return ret("keyword", "important");
|
41
|
-
}
|
42
|
-
else if (/\d/.test(ch)) {
|
43
|
-
stream.eatWhile(/[\w.%]/);
|
44
|
-
return ret("number", "unit");
|
45
|
-
}
|
46
|
-
else if (ch === "-") {
|
47
|
-
if (/\d/.test(stream.peek())) {
|
48
|
-
stream.eatWhile(/[\w.%]/);
|
49
|
-
return ret("number", "unit");
|
50
|
-
} else if (stream.match(/^[^-]+-/)) {
|
51
|
-
return ret("meta", "meta");
|
52
|
-
}
|
53
|
-
}
|
54
|
-
else if (/[,+>*\/]/.test(ch)) {
|
55
|
-
return ret(null, "select-op");
|
56
|
-
}
|
57
|
-
else if (ch == "." && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) {
|
58
|
-
return ret("qualifier", "qualifier");
|
59
|
-
}
|
60
|
-
else if (ch == ":") {
|
61
|
-
return ret("operator", ch);
|
62
|
-
}
|
63
|
-
else if (/[;{}\[\]\(\)]/.test(ch)) {
|
64
|
-
return ret(null, ch);
|
65
|
-
}
|
66
|
-
else if (ch == "u" && stream.match("rl(")) {
|
67
|
-
stream.backUp(1);
|
68
|
-
state.tokenize = tokenParenthesized;
|
69
|
-
return ret("property", "variable");
|
70
|
-
}
|
71
|
-
else {
|
72
|
-
stream.eatWhile(/[\w\\\-]/);
|
73
|
-
return ret("property", "variable");
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
function tokenString(quote, nonInclusive) {
|
78
|
-
return function(stream, state) {
|
79
|
-
var escaped = false, ch;
|
80
|
-
while ((ch = stream.next()) != null) {
|
81
|
-
if (ch == quote && !escaped)
|
82
|
-
break;
|
83
|
-
escaped = !escaped && ch == "\\";
|
84
|
-
}
|
85
|
-
if (!escaped) {
|
86
|
-
if (nonInclusive) stream.backUp(1);
|
87
|
-
state.tokenize = tokenBase;
|
88
|
-
}
|
89
|
-
return ret("string", "string");
|
90
|
-
};
|
91
|
-
}
|
92
|
-
|
93
|
-
function tokenParenthesized(stream, state) {
|
94
|
-
stream.next(); // Must be '('
|
95
|
-
if (!stream.match(/\s*[\"\']/, false))
|
96
|
-
state.tokenize = tokenString(")", true);
|
97
|
-
else
|
98
|
-
state.tokenize = tokenBase;
|
99
|
-
return ret(null, "(");
|
100
|
-
}
|
101
|
-
|
102
|
-
return {
|
103
|
-
startState: function(base) {
|
104
|
-
return {tokenize: tokenBase,
|
105
|
-
baseIndent: base || 0,
|
106
|
-
stack: []};
|
107
|
-
},
|
108
|
-
|
109
|
-
token: function(stream, state) {
|
110
|
-
|
111
|
-
// Use these terms when applicable (see http://www.xanthir.com/blog/b4E50)
|
112
|
-
//
|
113
|
-
// rule** or **ruleset:
|
114
|
-
// A selector + braces combo, or an at-rule.
|
115
|
-
//
|
116
|
-
// declaration block:
|
117
|
-
// A sequence of declarations.
|
118
|
-
//
|
119
|
-
// declaration:
|
120
|
-
// A property + colon + value combo.
|
121
|
-
//
|
122
|
-
// property value:
|
123
|
-
// The entire value of a property.
|
124
|
-
//
|
125
|
-
// component value:
|
126
|
-
// A single piece of a property value. Like the 5px in
|
127
|
-
// text-shadow: 0 0 5px blue;. Can also refer to things that are
|
128
|
-
// multiple terms, like the 1-4 terms that make up the background-size
|
129
|
-
// portion of the background shorthand.
|
130
|
-
//
|
131
|
-
// term:
|
132
|
-
// The basic unit of author-facing CSS, like a single number (5),
|
133
|
-
// dimension (5px), string ("foo"), or function. Officially defined
|
134
|
-
// by the CSS 2.1 grammar (look for the 'term' production)
|
135
|
-
//
|
136
|
-
//
|
137
|
-
// simple selector:
|
138
|
-
// A single atomic selector, like a type selector, an attr selector, a
|
139
|
-
// class selector, etc.
|
140
|
-
//
|
141
|
-
// compound selector:
|
142
|
-
// One or more simple selectors without a combinator. div.example is
|
143
|
-
// compound, div > .example is not.
|
144
|
-
//
|
145
|
-
// complex selector:
|
146
|
-
// One or more compound selectors chained with combinators.
|
147
|
-
//
|
148
|
-
// combinator:
|
149
|
-
// The parts of selectors that express relationships. There are four
|
150
|
-
// currently - the space (descendant combinator), the greater-than
|
151
|
-
// bracket (child combinator), the plus sign (next sibling combinator),
|
152
|
-
// and the tilda (following sibling combinator).
|
153
|
-
//
|
154
|
-
// sequence of selectors:
|
155
|
-
// One or more of the named type of selector chained with commas.
|
156
|
-
|
157
|
-
state.tokenize = state.tokenize || tokenBase;
|
158
|
-
if (state.tokenize == tokenBase && stream.eatSpace()) return null;
|
159
|
-
var style = state.tokenize(stream, state);
|
160
|
-
if (style && typeof style != "string") style = ret(style[0], style[1]);
|
161
|
-
|
162
|
-
// Changing style returned based on context
|
163
|
-
var context = state.stack[state.stack.length-1];
|
164
|
-
if (style == "variable") {
|
165
|
-
if (type == "variable-definition") state.stack.push("propertyValue");
|
166
|
-
return "variable-2";
|
167
|
-
} else if (style == "property") {
|
168
|
-
if (context == "propertyValue"){
|
169
|
-
if (valueKeywords[stream.current()]) {
|
170
|
-
style = "string-2";
|
171
|
-
} else if (colorKeywords[stream.current()]) {
|
172
|
-
style = "keyword";
|
173
|
-
} else {
|
174
|
-
style = "variable-2";
|
175
|
-
}
|
176
|
-
} else if (context == "rule") {
|
177
|
-
if (!propertyKeywords[stream.current()]) {
|
178
|
-
style += " error";
|
179
|
-
}
|
180
|
-
} else if (context == "block") {
|
181
|
-
// if a value is present in both property, value, or color, the order
|
182
|
-
// of preference is property -> color -> value
|
183
|
-
if (propertyKeywords[stream.current()]) {
|
184
|
-
style = "property";
|
185
|
-
} else if (colorKeywords[stream.current()]) {
|
186
|
-
style = "keyword";
|
187
|
-
} else if (valueKeywords[stream.current()]) {
|
188
|
-
style = "string-2";
|
189
|
-
} else {
|
190
|
-
style = "tag";
|
191
|
-
}
|
192
|
-
} else if (!context || context == "@media{") {
|
193
|
-
style = "tag";
|
194
|
-
} else if (context == "@media") {
|
195
|
-
if (atMediaTypes[stream.current()]) {
|
196
|
-
style = "attribute"; // Known attribute
|
197
|
-
} else if (/^(only|not)$/i.test(stream.current())) {
|
198
|
-
style = "keyword";
|
199
|
-
} else if (stream.current().toLowerCase() == "and") {
|
200
|
-
style = "error"; // "and" is only allowed in @mediaType
|
201
|
-
} else if (atMediaFeatures[stream.current()]) {
|
202
|
-
style = "error"; // Known property, should be in @mediaType(
|
203
|
-
} else {
|
204
|
-
// Unknown, expecting keyword or attribute, assuming attribute
|
205
|
-
style = "attribute error";
|
206
|
-
}
|
207
|
-
} else if (context == "@mediaType") {
|
208
|
-
if (atMediaTypes[stream.current()]) {
|
209
|
-
style = "attribute";
|
210
|
-
} else if (stream.current().toLowerCase() == "and") {
|
211
|
-
style = "operator";
|
212
|
-
} else if (/^(only|not)$/i.test(stream.current())) {
|
213
|
-
style = "error"; // Only allowed in @media
|
214
|
-
} else if (atMediaFeatures[stream.current()]) {
|
215
|
-
style = "error"; // Known property, should be in parentheses
|
216
|
-
} else {
|
217
|
-
// Unknown attribute or property, but expecting property (preceded
|
218
|
-
// by "and"). Should be in parentheses
|
219
|
-
style = "error";
|
220
|
-
}
|
221
|
-
} else if (context == "@mediaType(") {
|
222
|
-
if (propertyKeywords[stream.current()]) {
|
223
|
-
// do nothing, remains "property"
|
224
|
-
} else if (atMediaTypes[stream.current()]) {
|
225
|
-
style = "error"; // Known property, should be in parentheses
|
226
|
-
} else if (stream.current().toLowerCase() == "and") {
|
227
|
-
style = "operator";
|
228
|
-
} else if (/^(only|not)$/i.test(stream.current())) {
|
229
|
-
style = "error"; // Only allowed in @media
|
230
|
-
} else {
|
231
|
-
style += " error";
|
232
|
-
}
|
233
|
-
} else {
|
234
|
-
style = "error";
|
235
|
-
}
|
236
|
-
} else if (style == "atom") {
|
237
|
-
if(!context || context == "@media{" || context == "block") {
|
238
|
-
style = "builtin";
|
239
|
-
} else if (context == "propertyValue") {
|
240
|
-
if (!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(stream.current())) {
|
241
|
-
style += " error";
|
242
|
-
}
|
243
|
-
} else {
|
244
|
-
style = "error";
|
245
|
-
}
|
246
|
-
} else if (context == "@media" && type == "{") {
|
247
|
-
style = "error";
|
248
|
-
}
|
249
|
-
|
250
|
-
// Push/pop context stack
|
251
|
-
if (type == "{") {
|
252
|
-
if (context == "@media" || context == "@mediaType") {
|
253
|
-
state.stack.pop();
|
254
|
-
state.stack[state.stack.length-1] = "@media{";
|
255
|
-
}
|
256
|
-
else {
|
257
|
-
var newContext = allowNested ? "block" : "rule";
|
258
|
-
state.stack.push(newContext);
|
259
|
-
}
|
260
|
-
}
|
261
|
-
else if (type == "}") {
|
262
|
-
var lastState = state.stack[state.stack.length - 1];
|
263
|
-
if (lastState == "interpolation") style = "operator";
|
264
|
-
state.stack.pop();
|
265
|
-
if (context == "propertyValue") state.stack.pop();
|
266
|
-
}
|
267
|
-
else if (type == "interpolation") state.stack.push("interpolation");
|
268
|
-
else if (type == "@media") state.stack.push("@media");
|
269
|
-
else if (context == "@media" && /\b(keyword|attribute)\b/.test(style))
|
270
|
-
state.stack.push("@mediaType");
|
271
|
-
else if (context == "@mediaType" && stream.current() == ",") state.stack.pop();
|
272
|
-
else if (context == "@mediaType" && type == "(") state.stack.push("@mediaType(");
|
273
|
-
else if (context == "@mediaType(" && type == ")") state.stack.pop();
|
274
|
-
else if ((context == "rule" || context == "block") && type == ":") state.stack.push("propertyValue");
|
275
|
-
else if (context == "propertyValue" && type == ";") state.stack.pop();
|
276
|
-
return style;
|
277
|
-
},
|
278
|
-
|
279
|
-
indent: function(state, textAfter) {
|
280
|
-
var n = state.stack.length;
|
281
|
-
if (/^\}/.test(textAfter))
|
282
|
-
n -= state.stack[state.stack.length-1] == "propertyValue" ? 2 : 1;
|
283
|
-
return state.baseIndent + n * indentUnit;
|
284
|
-
},
|
285
|
-
|
286
|
-
electricChars: "}"
|
287
|
-
};
|
288
|
-
});
|
289
|
-
|
290
|
-
(function() {
|
291
|
-
function keySet(array) {
|
292
|
-
var keys = {};
|
293
|
-
for (var i = 0; i < array.length; ++i) {
|
294
|
-
keys[array[i]] = true;
|
295
|
-
}
|
296
|
-
return keys;
|
297
|
-
}
|
298
|
-
|
299
|
-
var atMediaTypes = keySet([
|
300
|
-
"all", "aural", "braille", "handheld", "print", "projection", "screen",
|
301
|
-
"tty", "tv", "embossed"
|
302
|
-
]);
|
303
|
-
|
304
|
-
var atMediaFeatures = keySet([
|
305
|
-
"width", "min-width", "max-width", "height", "min-height", "max-height",
|
306
|
-
"device-width", "min-device-width", "max-device-width", "device-height",
|
307
|
-
"min-device-height", "max-device-height", "aspect-ratio",
|
308
|
-
"min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio",
|
309
|
-
"min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color",
|
310
|
-
"max-color", "color-index", "min-color-index", "max-color-index",
|
311
|
-
"monochrome", "min-monochrome", "max-monochrome", "resolution",
|
312
|
-
"min-resolution", "max-resolution", "scan", "grid"
|
313
|
-
]);
|
314
|
-
|
315
|
-
var propertyKeywords = keySet([
|
316
|
-
"align-content", "align-items", "align-self", "alignment-adjust",
|
317
|
-
"alignment-baseline", "anchor-point", "animation", "animation-delay",
|
318
|
-
"animation-direction", "animation-duration", "animation-iteration-count",
|
319
|
-
"animation-name", "animation-play-state", "animation-timing-function",
|
320
|
-
"appearance", "azimuth", "backface-visibility", "background",
|
321
|
-
"background-attachment", "background-clip", "background-color",
|
322
|
-
"background-image", "background-origin", "background-position",
|
323
|
-
"background-repeat", "background-size", "baseline-shift", "binding",
|
324
|
-
"bleed", "bookmark-label", "bookmark-level", "bookmark-state",
|
325
|
-
"bookmark-target", "border", "border-bottom", "border-bottom-color",
|
326
|
-
"border-bottom-left-radius", "border-bottom-right-radius",
|
327
|
-
"border-bottom-style", "border-bottom-width", "border-collapse",
|
328
|
-
"border-color", "border-image", "border-image-outset",
|
329
|
-
"border-image-repeat", "border-image-slice", "border-image-source",
|
330
|
-
"border-image-width", "border-left", "border-left-color",
|
331
|
-
"border-left-style", "border-left-width", "border-radius", "border-right",
|
332
|
-
"border-right-color", "border-right-style", "border-right-width",
|
333
|
-
"border-spacing", "border-style", "border-top", "border-top-color",
|
334
|
-
"border-top-left-radius", "border-top-right-radius", "border-top-style",
|
335
|
-
"border-top-width", "border-width", "bottom", "box-decoration-break",
|
336
|
-
"box-shadow", "box-sizing", "break-after", "break-before", "break-inside",
|
337
|
-
"caption-side", "clear", "clip", "color", "color-profile", "column-count",
|
338
|
-
"column-fill", "column-gap", "column-rule", "column-rule-color",
|
339
|
-
"column-rule-style", "column-rule-width", "column-span", "column-width",
|
340
|
-
"columns", "content", "counter-increment", "counter-reset", "crop", "cue",
|
341
|
-
"cue-after", "cue-before", "cursor", "direction", "display",
|
342
|
-
"dominant-baseline", "drop-initial-after-adjust",
|
343
|
-
"drop-initial-after-align", "drop-initial-before-adjust",
|
344
|
-
"drop-initial-before-align", "drop-initial-size", "drop-initial-value",
|
345
|
-
"elevation", "empty-cells", "fit", "fit-position", "flex", "flex-basis",
|
346
|
-
"flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap",
|
347
|
-
"float", "float-offset", "font", "font-feature-settings", "font-family",
|
348
|
-
"font-kerning", "font-language-override", "font-size", "font-size-adjust",
|
349
|
-
"font-stretch", "font-style", "font-synthesis", "font-variant",
|
350
|
-
"font-variant-alternates", "font-variant-caps", "font-variant-east-asian",
|
351
|
-
"font-variant-ligatures", "font-variant-numeric", "font-variant-position",
|
352
|
-
"font-weight", "grid-cell", "grid-column", "grid-column-align",
|
353
|
-
"grid-column-sizing", "grid-column-span", "grid-columns", "grid-flow",
|
354
|
-
"grid-row", "grid-row-align", "grid-row-sizing", "grid-row-span",
|
355
|
-
"grid-rows", "grid-template", "hanging-punctuation", "height", "hyphens",
|
356
|
-
"icon", "image-orientation", "image-rendering", "image-resolution",
|
357
|
-
"inline-box-align", "justify-content", "left", "letter-spacing",
|
358
|
-
"line-break", "line-height", "line-stacking", "line-stacking-ruby",
|
359
|
-
"line-stacking-shift", "line-stacking-strategy", "list-style",
|
360
|
-
"list-style-image", "list-style-position", "list-style-type", "margin",
|
361
|
-
"margin-bottom", "margin-left", "margin-right", "margin-top",
|
362
|
-
"marker-offset", "marks", "marquee-direction", "marquee-loop",
|
363
|
-
"marquee-play-count", "marquee-speed", "marquee-style", "max-height",
|
364
|
-
"max-width", "min-height", "min-width", "move-to", "nav-down", "nav-index",
|
365
|
-
"nav-left", "nav-right", "nav-up", "opacity", "order", "orphans", "outline",
|
366
|
-
"outline-color", "outline-offset", "outline-style", "outline-width",
|
367
|
-
"overflow", "overflow-style", "overflow-wrap", "overflow-x", "overflow-y",
|
368
|
-
"padding", "padding-bottom", "padding-left", "padding-right", "padding-top",
|
369
|
-
"page", "page-break-after", "page-break-before", "page-break-inside",
|
370
|
-
"page-policy", "pause", "pause-after", "pause-before", "perspective",
|
371
|
-
"perspective-origin", "pitch", "pitch-range", "play-during", "position",
|
372
|
-
"presentation-level", "punctuation-trim", "quotes", "rendering-intent",
|
373
|
-
"resize", "rest", "rest-after", "rest-before", "richness", "right",
|
374
|
-
"rotation", "rotation-point", "ruby-align", "ruby-overhang",
|
375
|
-
"ruby-position", "ruby-span", "size", "speak", "speak-as", "speak-header",
|
376
|
-
"speak-numeral", "speak-punctuation", "speech-rate", "stress", "string-set",
|
377
|
-
"tab-size", "table-layout", "target", "target-name", "target-new",
|
378
|
-
"target-position", "text-align", "text-align-last", "text-decoration",
|
379
|
-
"text-decoration-color", "text-decoration-line", "text-decoration-skip",
|
380
|
-
"text-decoration-style", "text-emphasis", "text-emphasis-color",
|
381
|
-
"text-emphasis-position", "text-emphasis-style", "text-height",
|
382
|
-
"text-indent", "text-justify", "text-outline", "text-shadow",
|
383
|
-
"text-space-collapse", "text-transform", "text-underline-position",
|
384
|
-
"text-wrap", "top", "transform", "transform-origin", "transform-style",
|
385
|
-
"transition", "transition-delay", "transition-duration",
|
386
|
-
"transition-property", "transition-timing-function", "unicode-bidi",
|
387
|
-
"vertical-align", "visibility", "voice-balance", "voice-duration",
|
388
|
-
"voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress",
|
389
|
-
"voice-volume", "volume", "white-space", "widows", "width", "word-break",
|
390
|
-
"word-spacing", "word-wrap", "z-index"
|
391
|
-
]);
|
392
|
-
|
393
|
-
var colorKeywords = keySet([
|
394
|
-
"black", "silver", "gray", "white", "maroon", "red", "purple", "fuchsia",
|
395
|
-
"green", "lime", "olive", "yellow", "navy", "blue", "teal", "aqua"
|
396
|
-
]);
|
397
|
-
|
398
|
-
var valueKeywords = keySet([
|
399
|
-
"above", "absolute", "activeborder", "activecaption", "afar",
|
400
|
-
"after-white-space", "ahead", "alias", "all", "all-scroll", "alternate",
|
401
|
-
"always", "amharic", "amharic-abegede", "antialiased", "appworkspace",
|
402
|
-
"arabic-indic", "armenian", "asterisks", "auto", "avoid", "background",
|
403
|
-
"backwards", "baseline", "below", "bidi-override", "binary", "bengali",
|
404
|
-
"blink", "block", "block-axis", "bold", "bolder", "border", "border-box",
|
405
|
-
"both", "bottom", "break-all", "break-word", "button", "button-bevel",
|
406
|
-
"buttonface", "buttonhighlight", "buttonshadow", "buttontext", "cambodian",
|
407
|
-
"capitalize", "caps-lock-indicator", "caption", "captiontext", "caret",
|
408
|
-
"cell", "center", "checkbox", "circle", "cjk-earthly-branch",
|
409
|
-
"cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
|
410
|
-
"col-resize", "collapse", "compact", "condensed", "contain", "content",
|
411
|
-
"content-box", "context-menu", "continuous", "copy", "cover", "crop",
|
412
|
-
"cross", "crosshair", "currentcolor", "cursive", "dashed", "decimal",
|
413
|
-
"decimal-leading-zero", "default", "default-button", "destination-atop",
|
414
|
-
"destination-in", "destination-out", "destination-over", "devanagari",
|
415
|
-
"disc", "discard", "document", "dot-dash", "dot-dot-dash", "dotted",
|
416
|
-
"double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out",
|
417
|
-
"element", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede",
|
418
|
-
"ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er",
|
419
|
-
"ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er",
|
420
|
-
"ethiopic-halehame-aa-et", "ethiopic-halehame-am-et",
|
421
|
-
"ethiopic-halehame-gez", "ethiopic-halehame-om-et",
|
422
|
-
"ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
|
423
|
-
"ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et",
|
424
|
-
"ethiopic-halehame-tig", "ew-resize", "expanded", "extra-condensed",
|
425
|
-
"extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "footnotes",
|
426
|
-
"forwards", "from", "geometricPrecision", "georgian", "graytext", "groove",
|
427
|
-
"gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hebrew",
|
428
|
-
"help", "hidden", "hide", "higher", "highlight", "highlighttext",
|
429
|
-
"hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "icon", "ignore",
|
430
|
-
"inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
|
431
|
-
"infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",
|
432
|
-
"inline-block", "inline-table", "inset", "inside", "intrinsic", "invert",
|
433
|
-
"italic", "justify", "kannada", "katakana", "katakana-iroha", "khmer",
|
434
|
-
"landscape", "lao", "large", "larger", "left", "level", "lighter",
|
435
|
-
"line-through", "linear", "lines", "list-item", "listbox", "listitem",
|
436
|
-
"local", "logical", "loud", "lower", "lower-alpha", "lower-armenian",
|
437
|
-
"lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian",
|
438
|
-
"lower-roman", "lowercase", "ltr", "malayalam", "match",
|
439
|
-
"media-controls-background", "media-current-time-display",
|
440
|
-
"media-fullscreen-button", "media-mute-button", "media-play-button",
|
441
|
-
"media-return-to-realtime-button", "media-rewind-button",
|
442
|
-
"media-seek-back-button", "media-seek-forward-button", "media-slider",
|
443
|
-
"media-sliderthumb", "media-time-remaining-display", "media-volume-slider",
|
444
|
-
"media-volume-slider-container", "media-volume-sliderthumb", "medium",
|
445
|
-
"menu", "menulist", "menulist-button", "menulist-text",
|
446
|
-
"menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic",
|
447
|
-
"mix", "mongolian", "monospace", "move", "multiple", "myanmar", "n-resize",
|
448
|
-
"narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop",
|
449
|
-
"no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap",
|
450
|
-
"ns-resize", "nw-resize", "nwse-resize", "oblique", "octal", "open-quote",
|
451
|
-
"optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset",
|
452
|
-
"outside", "overlay", "overline", "padding", "padding-box", "painted",
|
453
|
-
"paused", "persian", "plus-darker", "plus-lighter", "pointer", "portrait",
|
454
|
-
"pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "push-button",
|
455
|
-
"radio", "read-only", "read-write", "read-write-plaintext-only", "relative",
|
456
|
-
"repeat", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rgba",
|
457
|
-
"ridge", "right", "round", "row-resize", "rtl", "run-in", "running",
|
458
|
-
"s-resize", "sans-serif", "scroll", "scrollbar", "se-resize", "searchfield",
|
459
|
-
"searchfield-cancel-button", "searchfield-decoration",
|
460
|
-
"searchfield-results-button", "searchfield-results-decoration",
|
461
|
-
"semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama",
|
462
|
-
"single", "skip-white-space", "slide", "slider-horizontal",
|
463
|
-
"slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow",
|
464
|
-
"small", "small-caps", "small-caption", "smaller", "solid", "somali",
|
465
|
-
"source-atop", "source-in", "source-out", "source-over", "space", "square",
|
466
|
-
"square-button", "start", "static", "status-bar", "stretch", "stroke",
|
467
|
-
"sub", "subpixel-antialiased", "super", "sw-resize", "table",
|
468
|
-
"table-caption", "table-cell", "table-column", "table-column-group",
|
469
|
-
"table-footer-group", "table-header-group", "table-row", "table-row-group",
|
470
|
-
"telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai",
|
471
|
-
"thick", "thin", "threeddarkshadow", "threedface", "threedhighlight",
|
472
|
-
"threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er",
|
473
|
-
"tigrinya-er-abegede", "tigrinya-et", "tigrinya-et-abegede", "to", "top",
|
474
|
-
"transparent", "ultra-condensed", "ultra-expanded", "underline", "up",
|
475
|
-
"upper-alpha", "upper-armenian", "upper-greek", "upper-hexadecimal",
|
476
|
-
"upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url",
|
477
|
-
"vertical", "vertical-text", "visible", "visibleFill", "visiblePainted",
|
478
|
-
"visibleStroke", "visual", "w-resize", "wait", "wave", "white", "wider",
|
479
|
-
"window", "windowframe", "windowtext", "x-large", "x-small", "xor",
|
480
|
-
"xx-large", "xx-small"
|
481
|
-
]);
|
482
|
-
|
483
|
-
function tokenCComment(stream, state) {
|
484
|
-
var maybeEnd = false, ch;
|
485
|
-
while ((ch = stream.next()) != null) {
|
486
|
-
if (maybeEnd && ch == "/") {
|
487
|
-
state.tokenize = null;
|
488
|
-
break;
|
489
|
-
}
|
490
|
-
maybeEnd = (ch == "*");
|
491
|
-
}
|
492
|
-
return ["comment", "comment"];
|
493
|
-
}
|
494
|
-
|
495
|
-
CodeMirror.defineMIME("text/css", {
|
496
|
-
atMediaTypes: atMediaTypes,
|
497
|
-
atMediaFeatures: atMediaFeatures,
|
498
|
-
propertyKeywords: propertyKeywords,
|
499
|
-
colorKeywords: colorKeywords,
|
500
|
-
valueKeywords: valueKeywords,
|
501
|
-
hooks: {
|
502
|
-
"<": function(stream, state) {
|
503
|
-
function tokenSGMLComment(stream, state) {
|
504
|
-
var dashes = 0, ch;
|
505
|
-
while ((ch = stream.next()) != null) {
|
506
|
-
if (dashes >= 2 && ch == ">") {
|
507
|
-
state.tokenize = null;
|
508
|
-
break;
|
509
|
-
}
|
510
|
-
dashes = (ch == "-") ? dashes + 1 : 0;
|
511
|
-
}
|
512
|
-
return ["comment", "comment"];
|
513
|
-
}
|
514
|
-
if (stream.eat("!")) {
|
515
|
-
state.tokenize = tokenSGMLComment;
|
516
|
-
return tokenSGMLComment(stream, state);
|
517
|
-
}
|
518
|
-
},
|
519
|
-
"/": function(stream, state) {
|
520
|
-
if (stream.eat("*")) {
|
521
|
-
state.tokenize = tokenCComment;
|
522
|
-
return tokenCComment(stream, state);
|
523
|
-
}
|
524
|
-
return false;
|
525
|
-
}
|
526
|
-
},
|
527
|
-
name: "css-base"
|
528
|
-
});
|
529
|
-
|
530
|
-
CodeMirror.defineMIME("text/x-scss", {
|
531
|
-
atMediaTypes: atMediaTypes,
|
532
|
-
atMediaFeatures: atMediaFeatures,
|
533
|
-
propertyKeywords: propertyKeywords,
|
534
|
-
colorKeywords: colorKeywords,
|
535
|
-
valueKeywords: valueKeywords,
|
536
|
-
allowNested: true,
|
537
|
-
hooks: {
|
538
|
-
"$": function(stream) {
|
539
|
-
stream.match(/^[\w-]+/);
|
540
|
-
if (stream.peek() == ":") {
|
541
|
-
return ["variable", "variable-definition"];
|
542
|
-
}
|
543
|
-
return ["variable", "variable"];
|
544
|
-
},
|
545
|
-
"/": function(stream, state) {
|
546
|
-
if (stream.eat("/")) {
|
547
|
-
stream.skipToEnd();
|
548
|
-
return ["comment", "comment"];
|
549
|
-
} else if (stream.eat("*")) {
|
550
|
-
state.tokenize = tokenCComment;
|
551
|
-
return tokenCComment(stream, state);
|
552
|
-
} else {
|
553
|
-
return ["operator", "operator"];
|
554
|
-
}
|
555
|
-
},
|
556
|
-
"#": function(stream) {
|
557
|
-
if (stream.eat("{")) {
|
558
|
-
return ["operator", "interpolation"];
|
559
|
-
} else {
|
560
|
-
stream.eatWhile(/[\w\\\-]/);
|
561
|
-
return ["atom", "hash"];
|
562
|
-
}
|
563
|
-
}
|
564
|
-
},
|
565
|
-
name: "css-base"
|
566
|
-
});
|
567
|
-
})();
|