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
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'sv', {
|
6
|
+
fontSize: {
|
7
|
+
label: 'Storlek',
|
8
|
+
voiceLabel: 'Teckenstorlek',
|
9
|
+
panelTitle: 'Storlek'
|
10
|
+
},
|
11
|
+
label: 'Typsnitt',
|
12
|
+
panelTitle: 'Typsnitt',
|
13
|
+
voiceLabel: 'Typsnitt'
|
14
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'th', {
|
6
|
+
fontSize: {
|
7
|
+
label: 'ขนาด',
|
8
|
+
voiceLabel: 'Font Size',
|
9
|
+
panelTitle: 'ขนาด'
|
10
|
+
},
|
11
|
+
label: 'แบบอักษร',
|
12
|
+
panelTitle: 'แบบอักษร',
|
13
|
+
voiceLabel: 'แบบอักษร'
|
14
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'tr', {
|
6
|
+
fontSize: {
|
7
|
+
label: 'Boyut',
|
8
|
+
voiceLabel: 'Font Size',
|
9
|
+
panelTitle: 'Boyut'
|
10
|
+
},
|
11
|
+
label: 'Yazı Türü',
|
12
|
+
panelTitle: 'Yazı Türü',
|
13
|
+
voiceLabel: 'Font'
|
14
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'ug', {
|
6
|
+
fontSize: {
|
7
|
+
label: 'چوڭلۇقى',
|
8
|
+
voiceLabel: 'خەت چوڭلۇقى',
|
9
|
+
panelTitle: 'چوڭلۇقى'
|
10
|
+
},
|
11
|
+
label: 'خەت نۇسخا',
|
12
|
+
panelTitle: 'خەت نۇسخا',
|
13
|
+
voiceLabel: 'خەت نۇسخا'
|
14
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'uk', {
|
6
|
+
fontSize: {
|
7
|
+
label: 'Розмір',
|
8
|
+
voiceLabel: 'Розмір шрифту',
|
9
|
+
panelTitle: 'Розмір'
|
10
|
+
},
|
11
|
+
label: 'Шрифт',
|
12
|
+
panelTitle: 'Шрифт',
|
13
|
+
voiceLabel: 'Шрифт'
|
14
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'vi', {
|
6
|
+
fontSize: {
|
7
|
+
label: 'Cỡ chữ',
|
8
|
+
voiceLabel: 'Kích cỡ phông',
|
9
|
+
panelTitle: 'Cỡ chữ'
|
10
|
+
},
|
11
|
+
label: 'Phông',
|
12
|
+
panelTitle: 'Phông',
|
13
|
+
voiceLabel: 'Phông'
|
14
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'zh-cn', {
|
6
|
+
fontSize: {
|
7
|
+
label: '大小',
|
8
|
+
voiceLabel: '文字大小',
|
9
|
+
panelTitle: '大小'
|
10
|
+
},
|
11
|
+
label: '字体',
|
12
|
+
panelTitle: '字体',
|
13
|
+
voiceLabel: '字体'
|
14
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'font', 'zh', {
|
6
|
+
fontSize: {
|
7
|
+
label: '大小',
|
8
|
+
voiceLabel: '文字大小',
|
9
|
+
panelTitle: '大小'
|
10
|
+
},
|
11
|
+
label: '字體',
|
12
|
+
panelTitle: '字體',
|
13
|
+
voiceLabel: '字體'
|
14
|
+
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.
|
3
|
+
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
6
6
|
(function() {
|
@@ -96,7 +96,7 @@
|
|
96
96
|
|
97
97
|
CKEDITOR.plugins.add( 'font', {
|
98
98
|
requires: 'richcombo',
|
99
|
-
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,
|
99
|
+
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
|
100
100
|
init: function( editor ) {
|
101
101
|
var config = editor.config;
|
102
102
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("button",function(b){function d(a){var b=this.getValue();b?(a.attributes[this.id]=b,"name"==this.id&&(a.attributes["data-cke-saved-name"]=b)):(delete a.attributes[this.id],"name"==this.id&&delete a.attributes["data-cke-saved-name"])}return{title:b.lang.forms.button.title,minWidth:350,minHeight:150,onShow:function(){delete this.button;var a=this.getParentEditor().getSelection().getSelectedElement();a&&a.is("input")&&a.getAttribute("type")in{button:1,reset:1,submit:1}&&(this.button=
|
6
|
+
a,this.setupContent(a))},onOk:function(){var a=this.getParentEditor(),b=this.button,d=!b,c=b?CKEDITOR.htmlParser.fragment.fromHtml(b.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element("input");this.commitContent(c);var e=new CKEDITOR.htmlParser.basicWriter;c.writeHtml(e);c=CKEDITOR.dom.element.createFromHtml(e.getHtml(),a.document);d?a.insertElement(c):(c.replace(b),a.getSelection().selectElement(c))},contents:[{id:"info",label:b.lang.forms.button.title,title:b.lang.forms.button.title,elements:[{id:"name",
|
7
|
+
type:"text",label:b.lang.common.name,"default":"",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:d},{id:"value",type:"text",label:b.lang.forms.button.text,accessKey:"V","default":"",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:d},{id:"type",type:"select",label:b.lang.forms.button.type,"default":"button",accessKey:"T",items:[[b.lang.forms.button.typeBtn,"button"],[b.lang.forms.button.typeSbm,"submit"],[b.lang.forms.button.typeRst,
|
8
|
+
"reset"]],setup:function(a){this.setValue(a.getAttribute("type")||"")},commit:d}]}]}});
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("checkbox",function(d){return{title:d.lang.forms.checkboxAndRadio.checkboxTitle,minWidth:350,minHeight:140,onShow:function(){delete this.checkbox;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"checkbox"==a.getAttribute("type")&&(this.checkbox=a,this.setupContent(a))},onOk:function(){var a,b=this.checkbox;b||(a=this.getParentEditor(),b=a.document.createElement("input"),b.setAttribute("type","checkbox"),a.insertElement(b));this.commitContent({element:b})},contents:[{id:"info",
|
6
|
+
label:d.lang.forms.checkboxAndRadio.checkboxTitle,title:d.lang.forms.checkboxAndRadio.checkboxTitle,startupFocus:"txtName",elements:[{id:"txtName",type:"text",label:d.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"txtValue",type:"text",label:d.lang.forms.checkboxAndRadio.value,
|
7
|
+
"default":"",accessKey:"V",setup:function(a){a=a.getAttribute("value");this.setValue(CKEDITOR.env.ie&&"on"==a?"":a)},commit:function(a){var b=a.element,c=this.getValue();c&&!(CKEDITOR.env.ie&&"on"==c)?b.setAttribute("value",c):CKEDITOR.env.ie?(c=new CKEDITOR.dom.element("input",b.getDocument()),b.copyAttributes(c,{value:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c):b.removeAttribute("value")}},{id:"cmbSelected",type:"checkbox",label:d.lang.forms.checkboxAndRadio.selected,"default":"",
|
8
|
+
accessKey:"S",value:"checked",setup:function(a){this.setValue(a.getAttribute("checked"))},commit:function(a){var b=a.element;if(CKEDITOR.env.ie){var c=!!b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('<input type="checkbox"'+(e?' checked="checked"':"")+"/>",d.document),b.copyAttributes(c,{type:1,checked:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c)}else this.getValue()?b.setAttribute("checked","checked"):b.removeAttribute("checked")}}]}]}});
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("form",function(a){var d={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.forms.form.title,minWidth:350,minHeight:200,onShow:function(){delete this.form;var b=this.getParentEditor().elementPath().contains("form",1);b&&(this.form=b,this.setupContent(b))},onOk:function(){var b,a=this.form,c=!a;c&&(b=this.getParentEditor(),a=b.document.createElement("form"),!CKEDITOR.env.ie&&a.append(b.document.createElement("br")));c&&b.insertElement(a);this.commitContent(a)},onLoad:function(){function a(b){this.setValue(b.getAttribute(this.id)||
|
6
|
+
"")}function e(a){this.getValue()?a.setAttribute(this.id,this.getValue()):a.removeAttribute(this.id)}this.foreach(function(c){d[c.id]&&(c.setup=a,c.commit=e)})},contents:[{id:"info",label:a.lang.forms.form.title,title:a.lang.forms.form.title,elements:[{id:"txtName",type:"text",label:a.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",
|
7
|
+
!1),a.removeAttribute("name"))}},{id:"action",type:"text",label:a.lang.forms.form.action,"default":"",accessKey:"T"},{type:"hbox",widths:["45%","55%"],children:[{id:"id",type:"text",label:a.lang.common.id,"default":"",accessKey:"I"},{id:"enctype",type:"select",label:a.lang.forms.form.encoding,style:"width:100%",accessKey:"E","default":"",items:[[""],["text/plain"],["multipart/form-data"],["application/x-www-form-urlencoded"]]}]},{type:"hbox",widths:["45%","55%"],children:[{id:"target",type:"select",
|
8
|
+
label:a.lang.common.target,style:"width:100%",accessKey:"M","default":"",items:[[a.lang.common.notSet,""],[a.lang.common.targetNew,"_blank"],[a.lang.common.targetTop,"_top"],[a.lang.common.targetSelf,"_self"],[a.lang.common.targetParent,"_parent"]]},{id:"method",type:"select",label:a.lang.forms.form.method,accessKey:"M","default":"GET",items:[["GET","get"],["POST","post"]]}]}]}]}});
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){delete this.hiddenField;var a=this.getParentEditor(),b=a.getSelection(),c=b.getSelectedElement();c&&(c.data("cke-real-element-type")&&"hiddenfield"==c.data("cke-real-element-type"))&&(this.hiddenField=c,c=a.restoreRealElement(this.hiddenField),this.setupContent(c),b.selectElement(this.hiddenField))},onOk:function(){var a=this.getValueOf("info","_cke_saved_name");
|
6
|
+
this.getValueOf("info","value");var b=this.getParentEditor(),a=CKEDITOR.env.ie&&!(8<=CKEDITOR.document.$.documentMode)?b.document.createElement('<input name="'+CKEDITOR.tools.htmlEncode(a)+'">'):b.document.createElement("input");a.setAttribute("type","hidden");this.commitContent(a);a=b.createFakeElement(a,"cke_hidden","hiddenfield");this.hiddenField?(a.replace(this.hiddenField),b.getSelection().selectElement(a)):b.insertElement(a);return!0},contents:[{id:"info",label:d.lang.forms.hidden.title,title:d.lang.forms.hidden.title,
|
7
|
+
elements:[{id:"_cke_saved_name",type:"text",label:d.lang.forms.hidden.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.setAttribute("name",this.getValue()):a.removeAttribute("name")}},{id:"value",type:"text",label:d.lang.forms.hidden.value,"default":"",accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){this.getValue()?a.setAttribute("value",this.getValue()):
|
8
|
+
a.removeAttribute("value")}}]}]}});
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("radio",function(d){return{title:d.lang.forms.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){delete this.radioButton;var a=this.getParentEditor().getSelection().getSelectedElement();a&&("input"==a.getName()&&"radio"==a.getAttribute("type"))&&(this.radioButton=a,this.setupContent(a))},onOk:function(){var a,b=this.radioButton,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("input"),b.setAttribute("type","radio"));c&&a.insertElement(b);this.commitContent({element:b})},
|
6
|
+
contents:[{id:"info",label:d.lang.forms.checkboxAndRadio.radioTitle,title:d.lang.forms.checkboxAndRadio.radioTitle,elements:[{id:"name",type:"text",label:d.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"value",type:"text",label:d.lang.forms.checkboxAndRadio.value,"default":"",
|
7
|
+
accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){a=a.element;this.getValue()?a.setAttribute("value",this.getValue()):a.removeAttribute("value")}},{id:"checked",type:"checkbox",label:d.lang.forms.checkboxAndRadio.selected,"default":"",accessKey:"S",value:"checked",setup:function(a){this.setValue(a.getAttribute("checked"))},commit:function(a){var b=a.element;if(!CKEDITOR.env.ie&&!CKEDITOR.env.opera)this.getValue()?b.setAttribute("checked","checked"):b.removeAttribute("checked");
|
8
|
+
else{var c=b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('<input type="radio"'+(e?' checked="checked"':"")+"></input>",d.document),b.copyAttributes(c,{type:1,checked:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c)}}}]}]}});
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("select",function(c){function h(a,b,e,d,c){a=f(a);d=d?d.createElement("OPTION"):document.createElement("OPTION");if(a&&d&&"option"==d.getName())CKEDITOR.env.ie?(isNaN(parseInt(c,10))?a.$.options.add(d.$):a.$.options.add(d.$,c),d.$.innerHTML=0<b.length?b:"",d.$.value=e):(null!==c&&c<a.getChildCount()?a.getChild(0>c?0:c).insertBeforeMe(d):a.append(d),d.setText(0<b.length?b:""),d.setValue(e));else return!1;return d}function m(a){for(var a=f(a),b=g(a),e=a.getChildren().count()-1;0<=
|
6
|
+
e;e--)a.getChild(e).$.selected&&a.getChild(e).remove();i(a,b)}function n(a,b,e,d){a=f(a);if(0>b)return!1;a=a.getChild(b);a.setText(e);a.setValue(d);return a}function k(a){for(a=f(a);a.getChild(0)&&a.getChild(0).remove(););}function j(a,b,e){var a=f(a),d=g(a);if(0>d)return!1;b=d+b;b=0>b?0:b;b=b>=a.getChildCount()?a.getChildCount()-1:b;if(d==b)return!1;var d=a.getChild(d),c=d.getText(),o=d.getValue();d.remove();d=h(a,c,o,!e?null:e,b);i(a,b);return d}function g(a){return(a=f(a))?a.$.selectedIndex:-1}
|
7
|
+
function i(a,b){a=f(a);if(0>b)return null;var e=a.getChildren().count();a.$.selectedIndex=b>=e?e-1:b;return a}function l(a){return(a=f(a))?a.getChildren():!1}function f(a){return a&&a.domId&&a.getInputElement().$?a.getInputElement():a&&a.$?a:!1}return{title:c.lang.forms.select.title,minWidth:CKEDITOR.env.ie?460:395,minHeight:CKEDITOR.env.ie?320:300,onShow:function(){delete this.selectBox;this.setupContent("clear");var a=this.getParentEditor().getSelection().getSelectedElement();if(a&&"select"==a.getName()){this.selectBox=
|
8
|
+
a;this.setupContent(a.getName(),a);for(var a=l(a),b=0;b<a.count();b++)this.setupContent("option",a.getItem(b))}},onOk:function(){var a=this.getParentEditor(),b=this.selectBox,e=!b;e&&(b=a.document.createElement("select"));this.commitContent(b);if(e&&(a.insertElement(b),CKEDITOR.env.ie)){var d=a.getSelection(),c=d.createBookmarks();setTimeout(function(){d.selectBookmarks(c)},0)}},contents:[{id:"info",label:c.lang.forms.select.selectInfo,title:c.lang.forms.select.selectInfo,accessKey:"",elements:[{id:"txtName",
|
9
|
+
type:"text",widths:["25%","75%"],labelLayout:"horizontal",label:c.lang.common.name,"default":"",accessKey:"N",style:"width:350px",setup:function(a,b){"clear"==a?this.setValue(this["default"]||""):"select"==a&&this.setValue(b.data("cke-saved-name")||b.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"txtValue",type:"text",widths:["25%","75%"],labelLayout:"horizontal",label:c.lang.forms.select.value,
|
10
|
+
style:"width:350px","default":"",className:"cke_disabled",onLoad:function(){this.getInputElement().setAttribute("readOnly",!0)},setup:function(a,b){"clear"==a?this.setValue(""):"option"==a&&b.getAttribute("selected")&&this.setValue(b.$.value)}},{type:"hbox",widths:["175px","170px"],children:[{id:"txtSize",type:"text",labelLayout:"horizontal",label:c.lang.forms.select.size,"default":"",accessKey:"S",style:"width:175px",validate:function(){var a=CKEDITOR.dialog.validate.integer(c.lang.common.validateNumberFailed);
|
11
|
+
return""===this.getValue()||a.apply(this)},setup:function(a,b){"select"==a&&this.setValue(b.getAttribute("size")||"");CKEDITOR.env.webkit&&this.getInputElement().setStyle("width","86px")},commit:function(a){this.getValue()?a.setAttribute("size",this.getValue()):a.removeAttribute("size")}},{type:"html",html:"<span>"+CKEDITOR.tools.htmlEncode(c.lang.forms.select.lines)+"</span>"}]},{type:"html",html:"<span>"+CKEDITOR.tools.htmlEncode(c.lang.forms.select.opAvail)+"</span>"},{type:"hbox",widths:["115px",
|
12
|
+
"115px","100px"],children:[{type:"vbox",children:[{id:"txtOptName",type:"text",label:c.lang.forms.select.opText,style:"width:115px",setup:function(a){"clear"==a&&this.setValue("")}},{type:"select",id:"cmbName",label:"",title:"",size:5,style:"width:115px;height:75px",items:[],onChange:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbValue"),e=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue"),d=g(this);i(b,d);e.setValue(this.getValue());a.setValue(b.getValue())},
|
13
|
+
setup:function(a,b){"clear"==a?k(this):"option"==a&&h(this,b.getText(),b.getText(),this.getDialog().getParentEditor().document)},commit:function(a){var b=this.getDialog(),e=l(this),d=l(b.getContentElement("info","cmbValue")),c=b.getContentElement("info","txtValue").getValue();k(a);for(var f=0;f<e.count();f++){var g=h(a,e.getItem(f).getValue(),d.getItem(f).getValue(),b.getParentEditor().document);d.getItem(f).getValue()==c&&(g.setAttribute("selected","selected"),g.selected=!0)}}}]},{type:"vbox",children:[{id:"txtOptValue",
|
14
|
+
type:"text",label:c.lang.forms.select.opValue,style:"width:115px",setup:function(a){"clear"==a&&this.setValue("")}},{type:"select",id:"cmbValue",label:"",size:5,style:"width:115px;height:75px",items:[],onChange:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),e=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue"),d=g(this);i(b,d);e.setValue(b.getValue());a.setValue(this.getValue())},setup:function(a,b){if("clear"==a)k(this);else if("option"==
|
15
|
+
a){var e=b.getValue();h(this,e,e,this.getDialog().getParentEditor().document);"selected"==b.getAttribute("selected")&&this.getDialog().getContentElement("info","txtValue").setValue(e)}}}]},{type:"vbox",padding:5,children:[{type:"button",id:"btnAdd",style:"",label:c.lang.forms.select.btnAdd,title:c.lang.forms.select.btnAdd,style:"width:100%;",onClick:function(){var a=this.getDialog();a.getParentEditor();var b=a.getContentElement("info","txtOptName"),e=a.getContentElement("info","txtOptValue"),d=a.getContentElement("info",
|
16
|
+
"cmbName"),c=a.getContentElement("info","cmbValue");h(d,b.getValue(),b.getValue(),a.getParentEditor().document);h(c,e.getValue(),e.getValue(),a.getParentEditor().document);b.setValue("");e.setValue("")}},{type:"button",id:"btnModify",label:c.lang.forms.select.btnModify,title:c.lang.forms.select.btnModify,style:"width:100%;",onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","txtOptName"),e=a.getContentElement("info","txtOptValue"),d=a.getContentElement("info","cmbName"),a=a.getContentElement("info",
|
17
|
+
"cmbValue"),c=g(d);0<=c&&(n(d,c,b.getValue(),b.getValue()),n(a,c,e.getValue(),e.getValue()))}},{type:"button",id:"btnUp",style:"width:100%;",label:c.lang.forms.select.btnUp,title:c.lang.forms.select.btnUp,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue");j(b,-1,a.getParentEditor().document);j(c,-1,a.getParentEditor().document)}},{type:"button",id:"btnDown",style:"width:100%;",label:c.lang.forms.select.btnDown,title:c.lang.forms.select.btnDown,
|
18
|
+
onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue");j(b,1,a.getParentEditor().document);j(c,1,a.getParentEditor().document)}}]}]},{type:"hbox",widths:["40%","20%","40%"],children:[{type:"button",id:"btnSetValue",label:c.lang.forms.select.btnSetValue,title:c.lang.forms.select.btnSetValue,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbValue");a.getContentElement("info","txtValue").setValue(b.getValue())}},
|
19
|
+
{type:"button",id:"btnDelete",label:c.lang.forms.select.btnDelete,title:c.lang.forms.select.btnDelete,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue"),d=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue");m(b);m(c);d.setValue("");a.setValue("")}},{id:"chkMulti",type:"checkbox",label:c.lang.forms.select.chkMulti,"default":"",accessKey:"M",value:"checked",setup:function(a,b){"select"==a&&this.setValue(b.getAttribute("multiple"));
|
20
|
+
CKEDITOR.env.webkit&&this.getElement().getParent().setStyle("vertical-align","middle")},commit:function(a){this.getValue()?a.setAttribute("multiple",this.getValue()):a.removeAttribute("multiple")}}]}]}]}});
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("textarea",function(b){return{title:b.lang.forms.textarea.title,minWidth:350,minHeight:220,onShow:function(){delete this.textarea;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"textarea"==a.getName()&&(this.textarea=a,this.setupContent(a))},onOk:function(){var a,b=this.textarea,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("textarea"));this.commitContent(b);c&&a.insertElement(b)},contents:[{id:"info",label:b.lang.forms.textarea.title,title:b.lang.forms.textarea.title,
|
6
|
+
elements:[{id:"_cke_saved_name",type:"text",label:b.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{type:"hbox",widths:["50%","50%"],children:[{id:"cols",type:"text",label:b.lang.forms.textarea.cols,"default":"",accessKey:"C",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed),
|
7
|
+
setup:function(a){this.setValue(a.hasAttribute("cols")&&a.getAttribute("cols")||"")},commit:function(a){this.getValue()?a.setAttribute("cols",this.getValue()):a.removeAttribute("cols")}},{id:"rows",type:"text",label:b.lang.forms.textarea.rows,"default":"",accessKey:"R",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed),setup:function(a){this.setValue(a.hasAttribute("rows")&&a.getAttribute("rows")||"")},commit:function(a){this.getValue()?a.setAttribute("rows",
|
8
|
+
this.getValue()):a.removeAttribute("rows")}}]},{id:"value",type:"textarea",label:b.lang.forms.textfield.value,"default":"",setup:function(a){this.setValue(a.$.defaultValue)},commit:function(a){a.$.value=a.$.defaultValue=this.getValue()}}]}]}});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.dialog.add("textfield",function(b){function e(a){var a=a.element,c=this.getValue();c?a.setAttribute(this.id,c):a.removeAttribute(this.id)}function f(a){this.setValue(a.hasAttribute(this.id)&&a.getAttribute(this.id)||"")}var g={email:1,password:1,search:1,tel:1,text:1,url:1};return{title:b.lang.forms.textfield.title,minWidth:350,minHeight:150,onShow:function(){delete this.textField;var a=this.getParentEditor().getSelection().getSelectedElement();if(a&&"input"==a.getName()&&(g[a.getAttribute("type")]||
|
6
|
+
!a.getAttribute("type")))this.textField=a,this.setupContent(a)},onOk:function(){var a=this.getParentEditor(),c=this.textField,b=!c;b&&(c=a.document.createElement("input"),c.setAttribute("type","text"));c={element:c};b&&a.insertElement(c.element);this.commitContent(c);b||a.getSelection().selectElement(c.element)},onLoad:function(){this.foreach(function(a){if(a.getValue&&(a.setup||(a.setup=f),!a.commit))a.commit=e})},contents:[{id:"info",label:b.lang.forms.textfield.title,title:b.lang.forms.textfield.title,
|
7
|
+
elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"_cke_saved_name",type:"text",label:b.lang.forms.textfield.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"value",type:"text",label:b.lang.forms.textfield.value,"default":"",accessKey:"V",commit:function(a){if(CKEDITOR.env.ie&&
|
8
|
+
!this.getValue()){var c=a.element,d=new CKEDITOR.dom.element("input",b.document);c.copyAttributes(d,{value:1});d.replace(c);a.element=d}else e.call(this,a)}}]},{type:"hbox",widths:["50%","50%"],children:[{id:"size",type:"text",label:b.lang.forms.textfield.charWidth,"default":"",accessKey:"C",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed)},{id:"maxLength",type:"text",label:b.lang.forms.textfield.maxChars,"default":"",accessKey:"M",style:"width:50px",
|
9
|
+
validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed)}],onLoad:function(){CKEDITOR.env.ie7Compat&&this.getElement().setStyle("zoom","100%")}},{id:"type",type:"select",label:b.lang.forms.textfield.type,"default":"text",accessKey:"M",items:[[b.lang.forms.textfield.typeEmail,"email"],[b.lang.forms.textfield.typePass,"password"],[b.lang.forms.textfield.typeSearch,"search"],[b.lang.forms.textfield.typeTel,"tel"],[b.lang.forms.textfield.typeText,"text"],[b.lang.forms.textfield.typeUrl,
|
10
|
+
"url"]],setup:function(a){this.setValue(a.getAttribute("type"))},commit:function(a){var c=a.element;if(CKEDITOR.env.ie){var d=c.getAttribute("type"),e=this.getValue();d!=e&&(d=CKEDITOR.dom.element.createFromHtml('<input type="'+e+'"></input>',b.document),c.copyAttributes(d,{type:1}),d.replace(c),a.element=d)}else c.setAttribute("type",this.getValue())}}]}]}});
|
@@ -0,0 +1,93 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/html4/loose.dtd">
|
3
|
+
<html lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
6
|
+
<title>HTML Buttons plugin</title>
|
7
|
+
<link href="styles.css" rel="stylesheet" type="text/css">
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body>
|
11
|
+
<h1>HTML Buttons Plugin for CKEditor</h1>
|
12
|
+
|
13
|
+
<h2>Introduction</h2>
|
14
|
+
<p>This is plugin helps creating custom buttons to insert a block of desired HTML in <a href="http://www.ckeditor.com">CKEditor</a>.</p>
|
15
|
+
<p>Sample icons from <a href='http://tango.freedesktop.org'>Tango!</a></p>
|
16
|
+
|
17
|
+
<h3 id="contact">Author:</h3>
|
18
|
+
<p><a href="mailto:amla70@gmail.com">Alfonso Martínez de Lizarrondo</a></p>
|
19
|
+
<h3>Sponsored by:</h3>
|
20
|
+
<h3>Version history: </h3>
|
21
|
+
<ol>
|
22
|
+
<li>1.0: 23-May-2012. First version.</li>
|
23
|
+
</ol>
|
24
|
+
|
25
|
+
<h2>Installation</h2>
|
26
|
+
<h3>1. Copying the files</h3>
|
27
|
+
<p>Extract the contents of the zip in you plugins directory, so it ends up like
|
28
|
+
this<br>
|
29
|
+
<!--<img src="installation.png" alt="Screenshot of installation" width="311" height="346" longdesc="#install">-->
|
30
|
+
</p>
|
31
|
+
<pre id="--install">
|
32
|
+
ckeditor\
|
33
|
+
...
|
34
|
+
images\
|
35
|
+
lang\
|
36
|
+
plugins\
|
37
|
+
...
|
38
|
+
htmlbuttons\
|
39
|
+
plugin.js
|
40
|
+
docs\
|
41
|
+
install.html
|
42
|
+
...
|
43
|
+
skins\
|
44
|
+
themes\
|
45
|
+
</pre>
|
46
|
+
<h3>2. Adding it to CKEditor</h3>
|
47
|
+
<p>Now add the plugin in your <em>config.js</em> or custom js configuration
|
48
|
+
file:
|
49
|
+
<code>config.extraPlugins='htmlbuttons'; </code>
|
50
|
+
</p>
|
51
|
+
|
52
|
+
<h3>3. Define your buttons</h3>
|
53
|
+
<p>You must add to your config a new entry defining the buttons that you want to use. For example:</p>
|
54
|
+
<pre>
|
55
|
+
config.htmlbuttons = [
|
56
|
+
{
|
57
|
+
name:'button1',
|
58
|
+
icon:'icon1.png',
|
59
|
+
html:'<a href="http://www.google.com">Search something</a>',
|
60
|
+
title:'A link to Google'
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name:'button2',
|
64
|
+
icon:'icon2.png',
|
65
|
+
html:'<table><tr><td> </td><td> </td></tr><tr><td> </td><td> </td></tr></table>',
|
66
|
+
title:'A simple table'
|
67
|
+
},
|
68
|
+
{
|
69
|
+
name:'button3',
|
70
|
+
icon:'icon3.png',
|
71
|
+
html:'<ol><li>Item 1 <ol><li>Sub item 1</li><li>Sub item 2</li></ol></li></ol>',
|
72
|
+
title:'A nested list'
|
73
|
+
}
|
74
|
+
];
|
75
|
+
</pre>
|
76
|
+
|
77
|
+
<h3>4. Add them to your toolbar</h3>
|
78
|
+
<p>In your toolbar configuration, add a new button for each item in the place where you want the list to show up.</p>
|
79
|
+
<p>Example</p>
|
80
|
+
<pre>config.toolbar_Basic = [["Bold","Italic","-","NumberedList","BulletedList","-","Link","Unlink","-","Maximize", "About", '-', 'button1', 'button2', 'button3']];
|
81
|
+
</pre>
|
82
|
+
|
83
|
+
<h3>5. Use them</h3>
|
84
|
+
<p>Now empty the cache of your browser and reload the editor, the new buttons should show up and you can insert the HTML that you have configured with each button</p>
|
85
|
+
<!--
|
86
|
+
<h2>Final notes</h2>
|
87
|
+
-->
|
88
|
+
|
89
|
+
<h2>Disclaimers</h2>
|
90
|
+
<p>CKEditor is © CKSource.com</p>
|
91
|
+
<p>Sample icons from <a href='http://tango.freedesktop.org'>Tango!</a></p>
|
92
|
+
</body>
|
93
|
+
</html>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
body {
|
2
|
+
font-family: Arial, Helvetica, sans-serif;
|
3
|
+
font-size: 90%;
|
4
|
+
}
|
5
|
+
h1 {
|
6
|
+
text-align:center;
|
7
|
+
font-size:180%;
|
8
|
+
}
|
9
|
+
h2 {
|
10
|
+
border-bottom:2px solid #CCC;
|
11
|
+
margin:1em 0 0.4em 0;
|
12
|
+
}
|
13
|
+
h3 {
|
14
|
+
margin-bottom:0.4em;
|
15
|
+
}
|
16
|
+
p {
|
17
|
+
margin:0 0 1em 1em;
|
18
|
+
text-align:justify;
|
19
|
+
}
|
20
|
+
ol {
|
21
|
+
margin:0 0 1.2em 1em;
|
22
|
+
padding:0;
|
23
|
+
list-style-type:none;
|
24
|
+
}
|
25
|
+
ol li {
|
26
|
+
margin:0.2em 0;
|
27
|
+
}
|
28
|
+
pre, code {
|
29
|
+
font-size:100%;
|
30
|
+
font-family:"Courier New", Courier, mono;
|
31
|
+
background-color: #CCCCCC;
|
32
|
+
border:1px solid #999;
|
33
|
+
padding:0.2em 1em;
|
34
|
+
margin: 0.4em 0;
|
35
|
+
display:block;
|
36
|
+
white-space: pre;
|
37
|
+
overflow: auto;
|
38
|
+
}
|
39
|
+
form {
|
40
|
+
margin:0 0 0 1em;
|
41
|
+
}
|
42
|
+
span.key {
|
43
|
+
color: #006600;
|
44
|
+
}
|
45
|
+
#install {
|
46
|
+
display:none
|
47
|
+
}
|
48
|
+
#languages ul {
|
49
|
+
display:inline;
|
50
|
+
list-style-type:none;
|
51
|
+
margin:0;
|
52
|
+
padding:0;
|
53
|
+
}
|
54
|
+
#languages li {
|
55
|
+
display:inline;
|
56
|
+
margin:0;
|
57
|
+
padding:0;
|
58
|
+
vertical-align:bottom;
|
59
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
(function(){function c(b){var c=this instanceof CKEDITOR.ui.dialog.checkbox;b.hasAttribute(this.id)&&(b=b.getAttribute(this.id),c?this.setValue(e[this.id]["true"]==b.toLowerCase()):this.setValue(b))}function d(b){var c=""===this.getValue(),a=this instanceof CKEDITOR.ui.dialog.checkbox,d=this.getValue();c?b.removeAttribute(this.att||this.id):a?b.setAttribute(this.id,e[this.id][d]):b.setAttribute(this.att||this.id,d)}var e={scrolling:{"true":"yes","false":"no"},frameborder:{"true":"1","false":"0"}};
|
6
|
+
CKEDITOR.dialog.add("iframe",function(b){var f=b.lang.iframe,a=b.lang.common,e=b.plugins.dialogadvtab;return{title:f.title,minWidth:350,minHeight:260,onShow:function(){this.fakeImage=this.iframeNode=null;var a=this.getSelectedElement();a&&(a.data("cke-real-element-type")&&"iframe"==a.data("cke-real-element-type"))&&(this.fakeImage=a,this.iframeNode=a=b.restoreRealElement(a),this.setupContent(a))},onOk:function(){var a;a=this.fakeImage?this.iframeNode:new CKEDITOR.dom.element("iframe");var c={},d=
|
7
|
+
{};this.commitContent(a,c,d);a=b.createFakeElement(a,"cke_iframe","iframe",!0);a.setAttributes(d);a.setStyles(c);this.fakeImage?(a.replace(this.fakeImage),b.getSelection().selectElement(a)):b.insertElement(a)},contents:[{id:"info",label:a.generalTab,accessKey:"I",elements:[{type:"vbox",padding:0,children:[{id:"src",type:"text",label:a.url,required:!0,validate:CKEDITOR.dialog.validate.notEmpty(f.noUrl),setup:c,commit:d}]},{type:"hbox",children:[{id:"width",type:"text",requiredContent:"iframe[width]",
|
8
|
+
style:"width:100%",labelLayout:"vertical",label:a.width,validate:CKEDITOR.dialog.validate.htmlLength(a.invalidHtmlLength.replace("%1",a.width)),setup:c,commit:d},{id:"height",type:"text",requiredContent:"iframe[height]",style:"width:100%",labelLayout:"vertical",label:a.height,validate:CKEDITOR.dialog.validate.htmlLength(a.invalidHtmlLength.replace("%1",a.height)),setup:c,commit:d},{id:"align",type:"select",requiredContent:"iframe[align]","default":"",items:[[a.notSet,""],[a.alignLeft,"left"],[a.alignRight,
|
9
|
+
"right"],[a.alignTop,"top"],[a.alignMiddle,"middle"],[a.alignBottom,"bottom"]],style:"width:100%",labelLayout:"vertical",label:a.align,setup:function(a,b){c.apply(this,arguments);if(b){var d=b.getAttribute("align");this.setValue(d&&d.toLowerCase()||"")}},commit:function(a,b,c){d.apply(this,arguments);this.getValue()&&(c.align=this.getValue())}}]},{type:"hbox",widths:["50%","50%"],children:[{id:"scrolling",type:"checkbox",requiredContent:"iframe[scrolling]",label:f.scrolling,setup:c,commit:d},{id:"frameborder",
|
10
|
+
type:"checkbox",requiredContent:"iframe[frameborder]",label:f.border,setup:c,commit:d}]},{type:"hbox",widths:["50%","50%"],children:[{id:"name",type:"text",requiredContent:"iframe[name]",label:a.name,setup:c,commit:d},{id:"title",type:"text",requiredContent:"iframe[title]",label:a.advisoryTitle,setup:c,commit:d}]},{id:"longdesc",type:"text",requiredContent:"iframe[longdesc]",label:a.longDescr,setup:c,commit:d}]},e&&e.createAdvancedTab(b,{id:1,classes:1,styles:1},"iframe")]}})})();
|
Binary file
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'iframe', 'af', {
|
6
|
+
border: 'Wys rand van raam',
|
7
|
+
noUrl: 'Gee die iframe URL',
|
8
|
+
scrolling: 'Skuifbalke aan',
|
9
|
+
title: 'IFrame Eienskappe',
|
10
|
+
toolbar: 'IFrame'
|
11
|
+
});
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
CKEDITOR.plugins.setLang( 'iframe', 'ar', {
|
6
|
+
border: 'إظهار حدود الإطار',
|
7
|
+
noUrl: 'فضلا أكتب رابط الـ iframe',
|
8
|
+
scrolling: 'تفعيل أشرطة الإنتقال',
|
9
|
+
title: 'خصائص iframe',
|
10
|
+
toolbar: 'iframe'
|
11
|
+
});
|