radiant-ck_editor_filter-extension 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/radiant-ck_editor_filter-extension.rb +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/CHANGES.md +354 -12
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/INSTALL.html +92 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/LICENSE.md +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/README.md +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/adapters/jquery.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.js +857 -904
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_basic.js +8 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_basic_source.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_source.js +25 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/config.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/contents.css +17 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/images/spacer.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_languages.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_translationstatus.txt +61 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/af.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ar.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bg.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bn.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bs.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ca.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/cs.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/cy.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/da.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/de.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/el.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-au.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-ca.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-gb.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/eo.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/es.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/et.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/eu.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fa.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fi.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fo.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fr-ca.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fr.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/gl.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/gu.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/he.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hi.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hr.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hu.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/id.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/is.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/it.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ja.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ka.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/km.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ko.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ku.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/lt.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/lv.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/mk.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/mn.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ms.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/nb.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/nl.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/no.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pl.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pt-br.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pt.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ro.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ru.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/si.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sk.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sl.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sq.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sr-latn.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sr.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sv.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/th.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/tr.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/tt.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ug.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/uk.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/vi.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh-cn.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh.js +5 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/dialogs/mediaembed.html +14 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/images/icon.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/plugin.js +61 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/plugin.js~ +57 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +6 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +11 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +6 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +3 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +8 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +5 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +5 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +7 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +5 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +11 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +4 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/about/dialogs/about.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/adobeair/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/ajax/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/bbcode/plugin.js +9 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/clipboard/dialogs/paste.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/devtools/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/devtools/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/div/dialogs/div.js +8 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/docprops/dialogs/docprops.js +10 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/docprops/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/find/dialogs/find.js +21 -21
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/flash/dialogs/flash.js +8 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/button.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/checkbox.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/form.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/hiddenfield.js +4 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/radio.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/select.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textfield.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/icons_hidpi.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/dialogs/iframe.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image/dialogs/image.js +25 -25
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/dev/assets/image1.jpg +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/dev/assets/image2.jpg +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/dev/contents.css +35 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/dev/image2.html +339 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/dialogs/image2.js +550 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/icons/hidpi/image.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/icons/image.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/af.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ar.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/bg.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/bn.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/bs.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ca.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/cs.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/cy.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/da.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/de.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/el.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/en-au.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/en-ca.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/en-gb.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/en.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/eo.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/es.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/et.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/eu.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/fa.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/fi.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/fo.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/fr-ca.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/fr.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/gl.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/gu.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/he.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/hi.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/hr.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/hu.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/id.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/is.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/it.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ja.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ka.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/km.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ko.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ku.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/lt.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/lv.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/mk.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/mn.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ms.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/nb.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/nl.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/no.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/pl.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/pt-br.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/pt.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ro.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ru.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/si.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/sk.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/sl.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/sq.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/sr-latn.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/sr.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/sv.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/th.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/tr.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/tt.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/ug.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/uk.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/vi.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/zh-cn.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/lang/zh.js +20 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/plugin.js +1592 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/samples/assets/image1.jpg +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/samples/assets/image2.jpg +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/samples/image2.html +65 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/lineutils/dev/dnd.html +172 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/lineutils/dev/magicfinger.html +285 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/lineutils/plugin.js +935 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/dialogs/anchor.js +4 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/dialogs/link.js +23 -34
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/images/anchor.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/images/icon.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js +15 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pastefromword/filter/default.js +8 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/lang/he.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/preview/preview.html +8 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/radiantpreview/images/icon.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/radiantpreview/images/radiant-preview.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/README.md +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/dialogs/options.js +17 -20
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/envelope.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/heart.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/kiss.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ar.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/bg.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ca.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/cs.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/cy.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/da.js +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/de.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/el.js +9 -9
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/eo.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/es.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/et.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fa.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fi.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/fr.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/gl.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/he.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/hr.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/hu.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/id.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/it.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ja.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/km.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ku.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/lv.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/nb.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/nl.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/no.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/pl.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/pt.js +6 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/si.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sk.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sl.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sq.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/sv.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/th.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/tr.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/tt.js +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/ug.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/uk.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/vi.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/lang/zh.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/styles/styles/default.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/stylesheetparser/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/table/dialogs/table.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/tabletools/dialogs/tableCell.js +14 -13
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/dialogs/templates.css +6 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/dialogs/templates.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/default.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/assets/contents.css +23 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/{samples → plugins/widget/dev}/assets/sample.jpg +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/assets/simplebox/contents.css +36 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/assets/simplebox/dialogs/simplebox.js +51 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/assets/simplebox/icons/simplebox.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/assets/simplebox/plugin.js +114 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/console.js +131 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/nestedwidgets.html +135 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/dev/widgetstyles.html +145 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/images/handle.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/af.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/ar.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/ca.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/cs.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/cy.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/da.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/de.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/el.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/en-gb.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/en.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/eo.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/es.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/fa.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/fi.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/fr.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/gl.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/he.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/hr.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/hu.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/it.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/ja.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/km.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/ko.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/ku.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/nb.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/nl.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/no.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/pl.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/pt-br.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/pt.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/ru.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/sk.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/sl.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/sq.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/sv.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/tr.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/tt.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/uk.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/vi.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/zh-cn.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/lang/zh.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/widget/plugin.js +3744 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc.js +69 -62
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc_ie.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/xml/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/dialog.css +9 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/editor.css +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/skin.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/templates.css +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_ie.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_ie7.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_ie8.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/dialog_iequirks.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_gecko.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_ie.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_ie7.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_ie8.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/editor_iequirks.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/arrow.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/close.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/lock.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/images/refresh.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/moono/readme.md +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/dialog.css +9 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/editor.css +14 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/skin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/templates.css +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/dialog.css +9 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/editor.css +13 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/skin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/templates.css +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/styles.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/themes/default/theme.js +8 -0
- data/public/javascripts/extensions/ck_editor_filter/radiant.ckeditor.js +1 -1
- metadata +345 -40
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/build-config.js +0 -96
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/ajax.html +0 -82
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/api.html +0 -207
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/appendto.html +0 -57
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/posteddata.php +0 -59
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/sample.css +0 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/assets/uilanguages/languages.js +0 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/datafiltering.html +0 -401
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/divreplace.html +0 -141
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/index.html +0 -128
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/inlineall.html +0 -311
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/inlinebycode.html +0 -121
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/inlinetextarea.html +0 -110
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/jquery.html +0 -97
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/dialog/assets/my_dialog.js +0 -48
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/dialog/dialog.html +0 -187
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/enterkey/enterkey.html +0 -103
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/htmlwriter/outputhtml.html +0 -221
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/magicline/magicline.html +0 -206
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/toolbar/toolbar.html +0 -232
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/readonly.html +0 -73
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/replacebyclass.html +0 -57
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/replacebycode.html +0 -56
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/sample.css +0 -356
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/sample.js +0 -50
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/sample_posteddata.php +0 -16
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/tabindex.html +0 -75
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/uicolor.html +0 -69
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/uilanguages.html +0 -119
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/samples/xhtmlstyle.html +0 -231
@@ -1,9 +1,9 @@
|
|
1
|
-
(function(){function p(a,k,o){if(!k.is||!k.getCustomData("block_processed"))k.is&&CKEDITOR.dom.element.setMarker(o,k,"block_processed",!0),a.push(k)}function n(a,k){function o(){this.foreach(function(
|
2
|
-
CKEDITOR.dtd.$blockLimit);a.config.div_wrapTable&&(delete
|
3
|
-
"advanced:dir","advanced:style"],c=this.getDialog(),
|
1
|
+
(function(){function p(a,k,o){if(!k.is||!k.getCustomData("block_processed"))k.is&&CKEDITOR.dom.element.setMarker(o,k,"block_processed",!0),a.push(k)}function n(a,k){function o(){this.foreach(function(a){if(/^(?!vbox|hbox)/.test(a.type)&&(a.setup||(a.setup=function(c){a.setValue(c.getAttribute(a.id)||"",1)}),!a.commit))a.commit=function(c){var g=this.getValue();a.id=="dir"&&c.getComputedStyle("direction")==g||(g?c.setAttribute(a.id,g):c.removeAttribute(a.id))}})}var n=function(){var f=CKEDITOR.tools.extend({},
|
2
|
+
CKEDITOR.dtd.$blockLimit);a.config.div_wrapTable&&(delete f.td,delete f.th);return f}(),q=CKEDITOR.dtd.div,l={},m=[];return{title:a.lang.div.title,minWidth:400,minHeight:165,contents:[{id:"info",label:a.lang.common.generalTab,title:a.lang.common.generalTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"elementStyle",type:"select",style:"width: 100%;",label:a.lang.div.styleSelectLabel,"default":"",items:[[a.lang.common.notSet,""]],onChange:function(){var f=["info:elementStyle","info:class",
|
3
|
+
"advanced:dir","advanced:style"],c=this.getDialog(),g=c._element&&c._element.clone()||new CKEDITOR.dom.element("div",a.document);this.commit(g,!0);for(var f=[].concat(f),b=f.length,i,e=0;e<b;e++)(i=c.getContentElement.apply(c,f[e].split(":")))&&i.setup&&i.setup(g,!0)},setup:function(f){for(var c in l)l[c].checkElementRemovable(f,!0,a)&&this.setValue(c,1)},commit:function(f){var c;(c=this.getValue())?l[c].applyToObject(f,a):f.removeAttribute("style")}},{id:"class",type:"text",requiredContent:"div(cke-xyz)",
|
4
4
|
label:a.lang.common.cssClass,"default":""}]}]},{id:"advanced",label:a.lang.common.advancedTab,title:a.lang.common.advancedTab,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["50%","50%"],children:[{type:"text",id:"id",requiredContent:"div[id]",label:a.lang.common.id,"default":""},{type:"text",id:"lang",requiredContent:"div[lang]",label:a.lang.common.langCode,"default":""}]},{type:"hbox",children:[{type:"text",id:"style",requiredContent:"div{cke-xyz}",style:"width: 100%;",label:a.lang.common.cssStyle,
|
5
|
-
"default":"",commit:function(a){a.setAttribute("style",this.getValue())}}]},{type:"hbox",children:[{type:"text",id:"title",requiredContent:"div[title]",style:"width: 100%;",label:a.lang.common.advisoryTitle,"default":""}]},{type:"select",id:"dir",requiredContent:"div[dir]",style:"width: 100%;",label:a.lang.common.langDir,"default":"",items:[[a.lang.common.notSet,""],[a.lang.common.langDirLtr,"ltr"],[a.lang.common.langDirRtl,"rtl"]]}]}]}],onLoad:function(){o.call(this);var
|
6
|
-
"elementStyle");a.getStylesSet(function(
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
"default":"",commit:function(a){a.setAttribute("style",this.getValue())}}]},{type:"hbox",children:[{type:"text",id:"title",requiredContent:"div[title]",style:"width: 100%;",label:a.lang.common.advisoryTitle,"default":""}]},{type:"select",id:"dir",requiredContent:"div[dir]",style:"width: 100%;",label:a.lang.common.langDir,"default":"",items:[[a.lang.common.notSet,""],[a.lang.common.langDirLtr,"ltr"],[a.lang.common.langDirRtl,"rtl"]]}]}]}],onLoad:function(){o.call(this);var f=this,c=this.getContentElement("info",
|
6
|
+
"elementStyle");a.getStylesSet(function(g){var b,i;if(g)for(var e=0;e<g.length;e++)i=g[e],i.element&&"div"==i.element&&(b=i.name,l[b]=i=new CKEDITOR.style(i),a.filter.check(i)&&(c.items.push([b,b]),c.add(b,b)));c[1<c.items.length?"enable":"disable"]();setTimeout(function(){f._element&&c.setup(f._element)},0)})},onShow:function(){"editdiv"==k&&this.setupContent(this._element=CKEDITOR.plugins.div.getSurroundDiv(a))},onOk:function(){if("editdiv"==k)m=[this._element];else{var f=[],c={},g=[],b,i=a.getSelection(),
|
7
|
+
e=i.getRanges(),l=i.createBookmarks(),h,j;for(h=0;h<e.length;h++)for(j=e[h].createIterator();b=j.getNextParagraph();)if(b.getName()in n&&!b.isReadOnly()){var d=b.getChildren();for(b=0;b<d.count();b++)p(g,d.getItem(b),c)}else{for(;!q[b.getName()]&&!b.equals(e[h].root);)b=b.getParent();p(g,b,c)}CKEDITOR.dom.element.clearAllMarkers(c);e=[];h=null;for(j=0;j<g.length;j++)b=g[j],d=a.elementPath(b).blockLimit,d.isReadOnly()&&(d=d.getParent()),a.config.div_wrapTable&&d.is(["td","th"])&&(d=a.elementPath(d.getParent()).blockLimit),
|
8
|
+
d.equals(h)||(h=d,e.push([])),e[e.length-1].push(b);for(h=0;h<e.length;h++){d=e[h][0];g=d.getParent();for(b=1;b<e[h].length;b++)g=g.getCommonAncestor(e[h][b]);j=new CKEDITOR.dom.element("div",a.document);for(b=0;b<e[h].length;b++){for(d=e[h][b];!d.getParent().equals(g);)d=d.getParent();e[h][b]=d}for(b=0;b<e[h].length;b++)if(d=e[h][b],!d.getCustomData||!d.getCustomData("block_processed"))d.is&&CKEDITOR.dom.element.setMarker(c,d,"block_processed",!0),b||j.insertBefore(d),j.append(d);CKEDITOR.dom.element.clearAllMarkers(c);
|
9
|
+
f.push(j)}i.selectBookmarks(l);m=f}f=m.length;for(c=0;c<f;c++)this.commitContent(m[c]),!m[c].getAttribute("style")&&m[c].removeAttribute("style");this.hide()},onHide:function(){"editdiv"==k&&this._element.removeCustomData("elementStyle");delete this._element}}}CKEDITOR.dialog.add("creatediv",function(a){return n(a,"creatediv")});CKEDITOR.dialog.add("editdiv",function(a){return n(a,"editdiv")})})();
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/docprops/dialogs/docprops.js
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
CKEDITOR.dialog.add('docProps',function(a){var b=a.lang.docprops,c=a.lang.common,d={};function e(n,o){var p=function(){q(this);o(this,this._.parentDialog);},q=function(s){s.removeListener('ok',p);s.removeListener('cancel',q);},r=function(s){s.on('ok',p);s.on('cancel',q);};a.execCommand(n);if(a._.storedDialogs.colordialog)r(a._.storedDialogs.colordialog);else CKEDITOR.on('dialogDefinition',function(s){if(s.data.name!=n)return;var t=s.data.definition;s.removeListener();t.onLoad=CKEDITOR.tools.override(t.onLoad,function(u){return function(){r(this);t.onLoad=u;if(typeof u=='function')u.call(this);};});});};function f(){var n=this.getDialog(),o=n.getContentElement('general',this.id+'Other');if(!o)return;if(this.getValue()=='other'){o.getInputElement().removeAttribute('readOnly');o.focus();o.getElement().removeClass('cke_disabled');}else{o.getInputElement().setAttribute('readOnly',true);o.getElement().addClass('cke_disabled');}};function g(n,o,p){return function(q,r,s){var t=d,u=typeof p!='undefined'?p:this.getValue();if(!u&&n in t)t[n].remove();else if(u&&n in t)t[n].setAttribute('content',u);else if(u){var v=new CKEDITOR.dom.element('meta',a.document);v.setAttribute(o?'http-equiv':'name',n);v.setAttribute('content',u);s.append(v);}};};function h(n,o){return function(){var p=d,q=n in p?p[n].getAttribute('content')||'':'';if(o)return q;this.setValue(q);return null;};};function i(n){return function(o,p,q,r){r.removeAttribute('margin'+n);var s=this.getValue();if(s!=='')r.setStyle('margin-'+n,CKEDITOR.tools.cssLength(s));else r.removeStyle('margin-'+n);};};function j(n){var o={},p=n.getElementsByTag('meta'),q=p.count();for(var r=0;r<q;r++){var s=p.getItem(r);o[s.getAttribute(s.hasAttribute('http-equiv')?'http-equiv':'name').toLowerCase()]=s;}return o;};function k(n,o,p){n.removeStyle(o);if(n.getComputedStyle(o)!=p)n.setStyle(o,p);};var l=function(n,o,p){return{type:'hbox',padding:0,widths:['60%','40%'],children:[CKEDITOR.tools.extend({type:'text',id:n,label:b[o]},p||{},1),{type:'button',id:n+'Choose',label:b.chooseColor,className:'colorChooser',onClick:function(){var q=this;e('colordialog',function(r){var s=q.getDialog();s.getContentElement(s._.currentTabId,n).setValue(r.getContentElement('picker','selectedColor').getValue());});}}]};},m='javascript:void((function(){'+encodeURIComponent('document.open();'+(CKEDITOR.env.isCustomDomain()?"document.domain='"+document.domain+"';":'')+'document.write( \'<html style="background-color: #ffffff; height: 100%"><head></head><body style="width: 100%; height: 100%; margin: 0px">'+b.previewHtml+"</body></html>' );"+'document.close();')+'})())';
|
7
|
+
return{title:b.title,minHeight:330,minWidth:500,onShow:function(){var n=a.document,o=n.getElementsByTag('html').getItem(0),p=n.getHead(),q=n.getBody();d=j(n);this.setupContent(n,o,p,q);},onHide:function(){d={};},onOk:function(){var n=a.document,o=n.getElementsByTag('html').getItem(0),p=n.getHead(),q=n.getBody();this.commitContent(n,o,p,q);},contents:[{id:'general',label:c.generalTab,elements:[{type:'text',id:'title',label:b.docTitle,setup:function(n){this.setValue(n.getElementsByTag('title').getItem(0).data('cke-title'));},commit:function(n,o,p,q,r){if(r)return;n.getElementsByTag('title').getItem(0).data('cke-title',this.getValue());}},{type:'hbox',children:[{type:'select',id:'dir',label:c.langDir,style:'width: 100%',items:[[c.notSet,''],[c.langDirLtr,'ltr'],[c.langDirRtl,'rtl']],setup:function(n,o,p,q){this.setValue(q.getDirection()||'');},commit:function(n,o,p,q){var r=this.getValue();if(r)q.setAttribute('dir',r);else q.removeAttribute('dir');q.removeStyle('direction');}},{type:'text',id:'langCode',label:c.langCode,setup:function(n,o){this.setValue(o.getAttribute('xml:lang')||o.getAttribute('lang')||'');},commit:function(n,o,p,q,r){if(r)return;var s=this.getValue();if(s)o.setAttributes({'xml:lang':s,lang:s});else o.removeAttributes({'xml:lang':1,lang:1});}}]},{type:'hbox',children:[{type:'select',id:'charset',label:b.charset,style:'width: 100%',items:[[c.notSet,''],[b.charsetASCII,'us-ascii'],[b.charsetCE,'iso-8859-2'],[b.charsetCT,'big5'],[b.charsetCR,'iso-8859-5'],[b.charsetGR,'iso-8859-7'],[b.charsetJP,'iso-2022-jp'],[b.charsetKR,'iso-2022-kr'],[b.charsetTR,'iso-8859-9'],[b.charsetUN,'utf-8'],[b.charsetWE,'iso-8859-1'],[b.other,'other']],'default':'',onChange:function(){var n=this;n.getDialog().selectedCharset=n.getValue()!='other'?n.getValue():'';f.call(n);},setup:function(){var q=this;q.metaCharset='charset' in d;var n=h(q.metaCharset?'charset':'content-type',1,1),o=n.call(q);!q.metaCharset&&o.match(/charset=[^=]+$/)&&(o=o.substring(o.indexOf('=')+1));if(o){q.setValue(o.toLowerCase());if(!q.getValue()){q.setValue('other');var p=q.getDialog().getContentElement('general','charsetOther');p&&p.setValue(o);}q.getDialog().selectedCharset=o;}f.call(q);},commit:function(n,o,p,q,r){var v=this;if(r)return;var s=v.getValue(),t=v.getDialog().getContentElement('general','charsetOther');s=='other'&&(s=t?t.getValue():'');s&&!v.metaCharset&&(s=(d['content-type']?d['content-type'].getAttribute('content').split(';')[0]:'text/html')+'; charset='+s);var u=g(v.metaCharset?'charset':'content-type',1,s);
|
8
|
+
u.call(v,n,o,p);}},{type:'text',id:'charsetOther',label:b.charsetOther,onChange:function(){this.getDialog().selectedCharset=this.getValue();}}]},{type:'hbox',children:[{type:'select',id:'docType',label:b.docType,style:'width: 100%',items:[[c.notSet,''],['XHTML 1.1','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'],['XHTML 1.0 Transitional','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'],['XHTML 1.0 Strict','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'],['XHTML 1.0 Frameset','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'],['HTML 5','<!DOCTYPE html>'],['HTML 4.01 Transitional','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'],['HTML 4.01 Strict','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'],['HTML 4.01 Frameset','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'],['HTML 3.2','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'],['HTML 2.0','<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'],[b.other,'other']],onChange:f,setup:function(){var o=this;if(a.docType){o.setValue(a.docType);if(!o.getValue()){o.setValue('other');var n=o.getDialog().getContentElement('general','docTypeOther');n&&n.setValue(a.docType);}}f.call(o);},commit:function(n,o,p,q,r){if(r)return;var s=this.getValue(),t=this.getDialog().getContentElement('general','docTypeOther');a.docType=s=='other'?t?t.getValue():'':s;}},{type:'text',id:'docTypeOther',label:b.docTypeOther}]},{type:'checkbox',id:'xhtmlDec',label:b.xhtmlDec,setup:function(){this.setValue(!!a.xmlDeclaration);},commit:function(n,o,p,q,r){if(r)return;if(this.getValue()){a.xmlDeclaration='<?xml version="1.0" encoding="'+(this.getDialog().selectedCharset||'utf-8')+'"?>';o.setAttribute('xmlns','http://www.w3.org/1999/xhtml');}else{a.xmlDeclaration='';o.removeAttribute('xmlns');}}}]},{id:'design',label:b.design,elements:[{type:'hbox',widths:['60%','40%'],children:[{type:'vbox',children:[l('txtColor','txtColor',{setup:function(n,o,p,q){this.setValue(q.getComputedStyle('color'));},commit:function(n,o,p,q,r){if(this.isChanged()||r){q.removeAttribute('text');var s=this.getValue();if(s)q.setStyle('color',s);else q.removeStyle('color');}}}),l('bgColor','bgColor',{setup:function(n,o,p,q){var r=q.getComputedStyle('background-color')||'';
|
9
|
+
this.setValue(r=='transparent'?'':r);},commit:function(n,o,p,q,r){if(this.isChanged()||r){q.removeAttribute('bgcolor');var s=this.getValue();if(s)q.setStyle('background-color',s);else k(q,'background-color','transparent');}}}),{type:'hbox',widths:['60%','40%'],padding:0,children:[{type:'text',id:'bgImage',label:b.bgImage,setup:function(n,o,p,q){var r=q.getComputedStyle('background-image')||'';if(r=='none')r='';else r=r.replace(/url\(\s*(["']?)\s*([^\)]*)\s*\1\s*\)/i,function(s,t,u){return u;});this.setValue(r);},commit:function(n,o,p,q){q.removeAttribute('background');var r=this.getValue();if(r)q.setStyle('background-image','url('+r+')');else k(q,'background-image','none');}},{type:'button',id:'bgImageChoose',label:c.browseServer,style:'display:inline-block;margin-top:10px;',hidden:true,filebrowser:'bg:bgImage'}]},{type:'checkbox',id:'bgFixed',label:b.bgFixed,setup:function(n,o,p,q){this.setValue(q.getComputedStyle('background-attachment')=='fixed');},commit:function(n,o,p,q){if(this.getValue())q.setStyle('background-attachment','fixed');else k(q,'background-attachment','scroll');}}]},{type:'vbox',children:[{type:'html',id:'marginTitle',html:'<div style="text-align: center; margin: 0px auto; font-weight: bold">'+b.margin+'</div>'},{type:'text',id:'marginTop',label:b.marginTop,style:'width: 80px; text-align: center; margin: 0px auto',controlStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-top')||q.getAttribute('margintop')||'');},commit:i('top'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}},{type:'hbox',children:[{type:'text',id:'marginLeft',label:b.marginLeft,style:'width: 80px; text-align: center; margin: 0px auto',controlStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-left')||q.getAttribute('marginleft')||'');},commit:i('left'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}},{type:'text',id:'marginRight',label:b.marginRight,style:'width: 80px; text-align: center; margin: 0px auto',controlStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-right')||q.getAttribute('marginright')||'');},commit:i('right'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}}]},{type:'text',id:'marginBottom',label:b.marginBottom,style:'width: 80px; text-align: center; margin: 0px auto',controlStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-bottom')||q.getAttribute('marginbottom')||'');
|
10
|
+
},commit:i('bottom'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}}]}]}]},{id:'meta',label:b.meta,elements:[{type:'textarea',id:'metaKeywords',label:b.metaKeywords,setup:h('keywords'),commit:g('keywords')},{type:'textarea',id:'metaDescription',label:b.metaDescription,setup:h('description'),commit:g('description')},{type:'text',id:'metaAuthor',label:b.metaAuthor,setup:h('author'),commit:g('author')},{type:'text',id:'metaCopyright',label:b.metaCopyright,setup:h('copyright'),commit:g('copyright')}]},{id:'preview',label:c.preview,elements:[{type:'html',id:'previewHtml',html:'<iframe src="'+m+'" style="width: 100%; height: 310px" hidefocus="true" frameborder="0" '+'id="cke_docProps_preview_iframe"></iframe>',onLoad:function(){this.getDialog().on('selectPage',function(n){if(n.data.page=='preview'){var o=this;setTimeout(function(){var p=CKEDITOR.document.getById('cke_docProps_preview_iframe').getFrameDocument(),q=p.getElementsByTag('html').getItem(0),r=p.getHead(),s=p.getBody();o.commitContent(p,q,r,s,1);},50);}});CKEDITOR.document.getById('cke_docProps_preview_iframe').getAscendant('table').setStyle('height','100%');}}]}]};});
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.dialog.add('docProps',this.path+'dialogs/docprops.js');a.ui.addButton('DocProps',{label:a.lang.docprops.label,command:'docProps'});}});
|
@@ -1,24 +1,24 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
|
-
(function(){function y(c){return c.type==CKEDITOR.NODE_TEXT&&0<c.getLength()&&(!o||!c.isReadOnly())}function s(c){return!(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)))}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
(this.matchRange.
|
15
|
-
|
16
|
-
this.matchRange.
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
5
|
+
(function(){function y(c){return c.type==CKEDITOR.NODE_TEXT&&0<c.getLength()&&(!o||!c.isReadOnly())}function s(c){return!(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)))}function n(c,g){function l(a,b){var d=this,c=new CKEDITOR.dom.walker(a);c.guard=b?s:function(a){!s(a)&&(d._.matchBoundary=!0)};c.evaluator=y;c.breakOnFalse=1;a.startContainer.type==CKEDITOR.NODE_TEXT&&(this.textNode=a.startContainer,this.offset=a.startOffset-
|
6
|
+
1);this._={matchWord:b,walker:c,matchBoundary:!1}}function n(a,b){var d=c.createRange();d.setStart(a.textNode,b?a.offset:a.offset+1);d.setEndAt(c.editable(),CKEDITOR.POSITION_BEFORE_END);return d}function p(a){var b=c.getSelection(),d=c.editable();b&&!a?(a=b.getRanges()[0].clone(),a.collapse(!0)):(a=c.createRange(),a.setStartAt(d,CKEDITOR.POSITION_AFTER_START));a.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);return a}var t=new CKEDITOR.style(CKEDITOR.tools.extend({attributes:{"data-cke-highlight":1},fullMatch:1,
|
7
|
+
ignoreReadonly:1,childRule:function(){return 0}},c.config.find_highlight,!0));l.prototype={next:function(){return this.move()},back:function(){return this.move(!0)},move:function(a){var b=this.textNode;if(null===b)return u.call(this);this._.matchBoundary=!1;if(b&&a&&0<this.offset)this.offset--;else if(b&&this.offset<b.getLength()-1)this.offset++;else{for(b=null;!b&&!(b=this._.walker[a?"previous":"next"].call(this._.walker),this._.matchWord&&!b||this._.walker._.end););this.offset=(this.textNode=b)?
|
8
|
+
a?b.getLength()-1:0:0}return u.call(this)}};var q=function(a,b){this._={walker:a,cursors:[],rangeLength:b,highlightRange:null,isMatched:0}};q.prototype={toDomRange:function(){var a=c.createRange(),b=this._.cursors;if(1>b.length){var d=this._.walker.textNode;if(d)a.setStartAfter(d);else return null}else d=b[0],b=b[b.length-1],a.setStart(d.textNode,d.offset),a.setEnd(b.textNode,b.offset+1);return a},updateFromDomRange:function(a){var b=new l(a);this._.cursors=[];do a=b.next(),a.character&&this._.cursors.push(a);
|
9
|
+
while(a.character);this._.rangeLength=this._.cursors.length},setMatched:function(){this._.isMatched=!0},clearMatched:function(){this._.isMatched=!1},isMatched:function(){return this._.isMatched},highlight:function(){if(!(1>this._.cursors.length)){this._.highlightRange&&this.removeHighlight();var a=this.toDomRange(),b=a.createBookmark();t.applyToRange(a,c);a.moveToBookmark(b);this._.highlightRange=a;b=a.startContainer;b.type!=CKEDITOR.NODE_ELEMENT&&(b=b.getParent());b.scrollIntoView();this.updateFromDomRange(a)}},
|
10
|
+
removeHighlight:function(){if(this._.highlightRange){var a=this._.highlightRange.createBookmark();t.removeFromRange(this._.highlightRange,c);this._.highlightRange.moveToBookmark(a);this.updateFromDomRange(this._.highlightRange);this._.highlightRange=null}},isReadOnly:function(){return!this._.highlightRange?0:this._.highlightRange.startContainer.isReadOnly()},moveBack:function(){var a=this._.walker.back(),b=this._.cursors;a.hitMatchBoundary&&(this._.cursors=b=[]);b.unshift(a);b.length>this._.rangeLength&&
|
11
|
+
b.pop();return a},moveNext:function(){var a=this._.walker.next(),b=this._.cursors;a.hitMatchBoundary&&(this._.cursors=b=[]);b.push(a);b.length>this._.rangeLength&&b.shift();return a},getEndCharacter:function(){var a=this._.cursors;return 1>a.length?null:a[a.length-1].character},getNextCharacterRange:function(a){var b,d;d=this._.cursors;d=(b=d[d.length-1])&&b.textNode?new l(n(b)):this._.walker;return new q(d,a)},getCursors:function(){return this._.cursors}};var v=function(a,b){var d=[-1];b&&(a=a.toLowerCase());
|
12
|
+
for(var c=0;c<a.length;c++)for(d.push(d[c]+1);0<d[c+1]&&a.charAt(c)!=a.charAt(d[c+1]-1);)d[c+1]=d[d[c+1]-1]+1;this._={overlap:d,state:0,ignoreCase:!!b,pattern:a}};v.prototype={feedCharacter:function(a){for(this._.ignoreCase&&(a=a.toLowerCase());;){if(a==this._.pattern.charAt(this._.state))return this._.state++,this._.state==this._.pattern.length?(this._.state=0,2):1;if(this._.state)this._.state=this._.overlap[this._.state];else return 0}return null},reset:function(){this._.state=0}};var z=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,
|
13
|
+
w=function(a){if(!a)return!0;var b=a.charCodeAt(0);return 9<=b&&13>=b||8192<=b&&8202>=b||z.test(a)},e={searchRange:null,matchRange:null,find:function(a,b,d,f,e,A){this.matchRange?(this.matchRange.removeHighlight(),this.matchRange=this.matchRange.getNextCharacterRange(a.length)):this.matchRange=new q(new l(this.searchRange),a.length);for(var i=new v(a,!b),j=0,k="%";null!==k;){for(this.matchRange.moveNext();k=this.matchRange.getEndCharacter();){j=i.feedCharacter(k);if(2==j)break;this.matchRange.moveNext().hitMatchBoundary&&
|
14
|
+
i.reset()}if(2==j){if(d){var h=this.matchRange.getCursors(),m=h[h.length-1],h=h[0],g=c.createRange();g.setStartAt(c.editable(),CKEDITOR.POSITION_AFTER_START);g.setEnd(h.textNode,h.offset);h=g;m=n(m);h.trim();m.trim();h=new l(h,!0);m=new l(m,!0);if(!w(h.back().character)||!w(m.next().character))continue}this.matchRange.setMatched();!1!==e&&this.matchRange.highlight();return!0}}this.matchRange.clearMatched();this.matchRange.removeHighlight();return f&&!A?(this.searchRange=p(1),this.matchRange=null,
|
15
|
+
arguments.callee.apply(this,Array.prototype.slice.call(arguments).concat([!0]))):!1},replaceCounter:0,replace:function(a,b,d,f,e,g,i){o=1;a=0;if(this.matchRange&&this.matchRange.isMatched()&&!this.matchRange._.isReplaced&&!this.matchRange.isReadOnly()){this.matchRange.removeHighlight();b=this.matchRange.toDomRange();d=c.document.createText(d);if(!i){var j=c.getSelection();j.selectRanges([b]);c.fire("saveSnapshot")}b.deleteContents();b.insertNode(d);i||(j.selectRanges([b]),c.fire("saveSnapshot"));
|
16
|
+
this.matchRange.updateFromDomRange(b);i||this.matchRange.highlight();this.matchRange._.isReplaced=!0;this.replaceCounter++;a=1}else a=this.find(b,f,e,g,!i);o=0;return a}},f=c.lang.find;return{title:f.title,resizable:CKEDITOR.DIALOG_RESIZE_NONE,minWidth:350,minHeight:170,buttons:[CKEDITOR.dialog.cancelButton(c,{label:c.lang.common.close})],contents:[{id:"find",label:f.find,title:f.find,accessKey:"",elements:[{type:"hbox",widths:["230px","90px"],children:[{type:"text",id:"txtFindFind",label:f.findWhat,
|
17
|
+
isChanged:!1,labelLayout:"horizontal",accessKey:"F"},{type:"button",id:"btnFind",align:"left",style:"width:100%",label:f.find,onClick:function(){var a=this.getDialog();e.find(a.getValueOf("find","txtFindFind"),a.getValueOf("find","txtFindCaseChk"),a.getValueOf("find","txtFindWordChk"),a.getValueOf("find","txtFindCyclic"))||alert(f.notFoundMsg)}}]},{type:"fieldset",label:CKEDITOR.tools.htmlEncode(f.findOptions),style:"margin-top:29px",children:[{type:"vbox",padding:0,children:[{type:"checkbox",id:"txtFindCaseChk",
|
18
|
+
isChanged:!1,label:f.matchCase},{type:"checkbox",id:"txtFindWordChk",isChanged:!1,label:f.matchWord},{type:"checkbox",id:"txtFindCyclic",isChanged:!1,"default":!0,label:f.matchCyclic}]}]}]},{id:"replace",label:f.replace,accessKey:"M",elements:[{type:"hbox",widths:["230px","90px"],children:[{type:"text",id:"txtFindReplace",label:f.findWhat,isChanged:!1,labelLayout:"horizontal",accessKey:"F"},{type:"button",id:"btnFindReplace",align:"left",style:"width:100%",label:f.replace,onClick:function(){var a=
|
19
|
+
this.getDialog();e.replace(a,a.getValueOf("replace","txtFindReplace"),a.getValueOf("replace","txtReplace"),a.getValueOf("replace","txtReplaceCaseChk"),a.getValueOf("replace","txtReplaceWordChk"),a.getValueOf("replace","txtReplaceCyclic"))||alert(f.notFoundMsg)}}]},{type:"hbox",widths:["230px","90px"],children:[{type:"text",id:"txtReplace",label:f.replaceWith,isChanged:!1,labelLayout:"horizontal",accessKey:"R"},{type:"button",id:"btnReplaceAll",align:"left",style:"width:100%",label:f.replaceAll,isChanged:!1,
|
20
|
+
onClick:function(){var a=this.getDialog();e.replaceCounter=0;e.searchRange=p(1);e.matchRange&&(e.matchRange.removeHighlight(),e.matchRange=null);for(c.fire("saveSnapshot");e.replace(a,a.getValueOf("replace","txtFindReplace"),a.getValueOf("replace","txtReplace"),a.getValueOf("replace","txtReplaceCaseChk"),a.getValueOf("replace","txtReplaceWordChk"),!1,!0););e.replaceCounter?(alert(f.replaceSuccessMsg.replace(/%1/,e.replaceCounter)),c.fire("saveSnapshot")):alert(f.notFoundMsg)}}]},{type:"fieldset",
|
21
|
+
label:CKEDITOR.tools.htmlEncode(f.findOptions),children:[{type:"vbox",padding:0,children:[{type:"checkbox",id:"txtReplaceCaseChk",isChanged:!1,label:f.matchCase},{type:"checkbox",id:"txtReplaceWordChk",isChanged:!1,label:f.matchWord},{type:"checkbox",id:"txtReplaceCyclic",isChanged:!1,"default":!0,label:f.matchCyclic}]}]}]}],onLoad:function(){var a=this,b,c=0;this.on("hide",function(){c=0});this.on("show",function(){c=1});this.selectPage=CKEDITOR.tools.override(this.selectPage,function(f){return function(e){f.call(a,
|
22
|
+
e);var g=a._.tabs[e],i;i="find"===e?"txtFindWordChk":"txtReplaceWordChk";b=a.getContentElement(e,"find"===e?"txtFindFind":"txtFindReplace");a.getContentElement(e,i);g.initialized||(CKEDITOR.document.getById(b._.inputId),g.initialized=!0);if(c){var j,e="find"===e?1:0,g=1-e,k,h=r.length;for(k=0;k<h;k++)i=this.getContentElement(x[e],r[k][e]),j=this.getContentElement(x[g],r[k][g]),j.setValue(i.getValue())}}})},onShow:function(){e.searchRange=p();var a=this.getParentEditor().getSelection().getSelectedText(),
|
23
|
+
b=this.getContentElement(g,"find"==g?"txtFindFind":"txtFindReplace");b.setValue(a);b.select();this.selectPage(g);this[("find"==g&&this._.editor.readOnly?"hide":"show")+"Page"]("replace")},onHide:function(){var a;e.matchRange&&e.matchRange.isMatched()&&(e.matchRange.removeHighlight(),c.focus(),(a=e.matchRange.toDomRange())&&c.getSelection().selectRanges([a]));delete e.matchRange},onFocus:function(){return"replace"==g?this.getContentElement("replace","txtFindReplace"):this.getContentElement("find",
|
24
|
+
"txtFindFind")}}}var o,u=function(){return{textNode:this.textNode,offset:this.offset,character:this.textNode?this.textNode.getText().charAt(this.offset):null,hitMatchBoundary:this._.matchBoundary}},x=["find","replace"],r=[["txtFindFind","txtFindReplace"],["txtFindCaseChk","txtReplaceCaseChk"],["txtFindWordChk","txtReplaceWordChk"],["txtFindCyclic","txtReplaceCyclic"]];CKEDITOR.dialog.add("find",function(c){return n(c,"find")});CKEDITOR.dialog.add("replace",function(c){return n(c,"replace")})})();
|
@@ -1,18 +1,18 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
(function(){function b(a,b,c){var k=n[this.id];if(k)for(var f=this instanceof CKEDITOR.ui.dialog.checkbox,e=0;e<k.length;e++){var d=k[e];switch(d.type){case g:if(!a)continue;if(null!==a.getAttribute(d.name)){a=a.getAttribute(d.name);f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"]);break;case o:if(!a)continue;if(d.name in c){a=c[d.name];f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"]);break;case i:if(!b)continue;
|
6
6
|
if(b.getAttribute(d.name)){a=b.getAttribute(d.name);f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"])}}}function c(a,b,c){var k=n[this.id];if(k)for(var f=""===this.getValue(),e=this instanceof CKEDITOR.ui.dialog.checkbox,d=0;d<k.length;d++){var h=k[d];switch(h.type){case g:if(!a||"data"==h.name&&b&&!a.hasAttribute("data"))continue;var l=this.getValue();f||e&&l===h["default"]?a.removeAttribute(h.name):a.setAttribute(h.name,l);break;case o:if(!a)continue;
|
7
7
|
l=this.getValue();if(f||e&&l===h["default"])h.name in c&&c[h.name].remove();else if(h.name in c)c[h.name].setAttribute("value",l);else{var p=CKEDITOR.dom.element.createFromHtml("<cke:param></cke:param>",a.getDocument());p.setAttributes({name:h.name,value:l});1>a.getChildCount()?p.appendTo(a):p.insertBefore(a.getFirst())}break;case i:if(!b)continue;l=this.getValue();f||e&&l===h["default"]?b.removeAttribute(h.name):b.setAttribute(h.name,l)}}}for(var g=1,o=2,i=4,n={id:[{type:g,name:"id"}],classid:[{type:g,
|
8
8
|
name:"classid"}],codebase:[{type:g,name:"codebase"}],pluginspage:[{type:i,name:"pluginspage"}],src:[{type:o,name:"movie"},{type:i,name:"src"},{type:g,name:"data"}],name:[{type:i,name:"name"}],align:[{type:g,name:"align"}],"class":[{type:g,name:"class"},{type:i,name:"class"}],width:[{type:g,name:"width"},{type:i,name:"width"}],height:[{type:g,name:"height"},{type:i,name:"height"}],hSpace:[{type:g,name:"hSpace"},{type:i,name:"hSpace"}],vSpace:[{type:g,name:"vSpace"},{type:i,name:"vSpace"}],style:[{type:g,
|
9
|
-
name:"style"},{type:i,name:"style"}],type:[{type:i,name:"type"}]},m="play loop menu quality scale salign wmode bgcolor base flashvars allowScriptAccess allowFullScreen".split(" "),j=0;j<m.length;j++)n[m[j]]=[{type:i,name:m[j]},{type:o,name:m[j]}];m=["
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
9
|
+
name:"style"},{type:i,name:"style"}],type:[{type:i,name:"type"}]},m="play loop menu quality scale salign wmode bgcolor base flashvars allowScriptAccess allowFullScreen".split(" "),j=0;j<m.length;j++)n[m[j]]=[{type:i,name:m[j]},{type:o,name:m[j]}];m=["play","loop","menu"];for(j=0;j<m.length;j++)n[m[j]][0]["default"]=n[m[j]][1]["default"]=!0;CKEDITOR.dialog.add("flash",function(a){var g=!a.config.flashEmbedTagOnly,i=a.config.flashAddEmbedTag||a.config.flashEmbedTagOnly,k,f="<div>"+CKEDITOR.tools.htmlEncode(a.lang.common.preview)+
|
10
|
+
'<br><div id="cke_FlashPreviewLoader'+CKEDITOR.tools.getNextNumber()+'" style="display:none"><div class="loading"> </div></div><div id="cke_FlashPreviewBox'+CKEDITOR.tools.getNextNumber()+'" class="FlashPreviewBox"></div></div>';return{title:a.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){this.fakeImage=this.objectNode=this.embedNode=null;k=new CKEDITOR.dom.element("embed",a.document);var e=this.getSelectedElement();if(e&&e.data("cke-real-element-type")&&"flash"==e.data("cke-real-element-type")){this.fakeImage=
|
11
|
+
e;var d=a.restoreRealElement(e),h=null,b=null,c={};if("cke:object"==d.getName()){h=d;d=h.getElementsByTag("embed","cke");0<d.count()&&(b=d.getItem(0));for(var d=h.getElementsByTag("param","cke"),g=0,i=d.count();g<i;g++){var f=d.getItem(g),j=f.getAttribute("name"),f=f.getAttribute("value");c[j]=f}}else"cke:embed"==d.getName()&&(b=d);this.objectNode=h;this.embedNode=b;this.setupContent(h,b,c,e)}},onOk:function(){var e=null,d=null,b=null;if(this.fakeImage)e=this.objectNode,d=this.embedNode;else if(g&&
|
12
|
+
(e=CKEDITOR.dom.element.createFromHtml("<cke:object></cke:object>",a.document),e.setAttributes({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",codebase:"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"})),i)d=CKEDITOR.dom.element.createFromHtml("<cke:embed></cke:embed>",a.document),d.setAttributes({type:"application/x-shockwave-flash",pluginspage:"http://www.macromedia.com/go/getflashplayer"}),e&&d.appendTo(e);if(e)for(var b={},c=e.getElementsByTag("param",
|
13
|
+
"cke"),f=0,j=c.count();f<j;f++)b[c.getItem(f).getAttribute("name")]=c.getItem(f);c={};f={};this.commitContent(e,d,b,c,f);e=a.createFakeElement(e||d,"cke_flash","flash",!0);e.setAttributes(f);e.setStyles(c);this.fakeImage?(e.replace(this.fakeImage),a.getSelection().selectElement(e)):a.insertElement(e)},onHide:function(){this.preview&&this.preview.setHtml("")},contents:[{id:"info",label:a.lang.common.generalTab,accessKey:"I",elements:[{type:"vbox",padding:0,children:[{type:"hbox",widths:["280px","110px"],
|
14
|
+
align:"right",children:[{id:"src",type:"text",label:a.lang.common.url,required:!0,validate:CKEDITOR.dialog.validate.notEmpty(a.lang.flash.validateSrc),setup:b,commit:c,onLoad:function(){var a=this.getDialog(),b=function(b){k.setAttribute("src",b);a.preview.setHtml('<embed height="100%" width="100%" src="'+CKEDITOR.tools.htmlEncode(k.getAttribute("src"))+'" type="application/x-shockwave-flash"></embed>')};a.preview=a.getContentElement("info","preview").getElement().getChild(3);this.on("change",function(a){a.data&&
|
15
|
+
a.data.value&&b(a.data.value)});this.getInputElement().on("change",function(){b(this.getValue())},this)}},{type:"button",id:"browse",filebrowser:"info:src",hidden:!0,style:"display:inline-block;margin-top:14px;",label:a.lang.common.browseServer}]}]},{type:"hbox",widths:["25%","25%","25%","25%","25%"],children:[{type:"text",id:"width",requiredContent:"embed[width]",style:"width:95px",label:a.lang.common.width,validate:CKEDITOR.dialog.validate.htmlLength(a.lang.common.invalidHtmlLength.replace("%1",
|
16
16
|
a.lang.common.width)),setup:b,commit:c},{type:"text",id:"height",requiredContent:"embed[height]",style:"width:95px",label:a.lang.common.height,validate:CKEDITOR.dialog.validate.htmlLength(a.lang.common.invalidHtmlLength.replace("%1",a.lang.common.height)),setup:b,commit:c},{type:"text",id:"hSpace",requiredContent:"embed[hspace]",style:"width:95px",label:a.lang.flash.hSpace,validate:CKEDITOR.dialog.validate.integer(a.lang.flash.validateHSpace),setup:b,commit:c},{type:"text",id:"vSpace",requiredContent:"embed[vspace]",
|
17
17
|
style:"width:95px",label:a.lang.flash.vSpace,validate:CKEDITOR.dialog.validate.integer(a.lang.flash.validateVSpace),setup:b,commit:c}]},{type:"vbox",children:[{type:"html",id:"preview",style:"width:95%;",html:f}]}]},{id:"Upload",hidden:!0,filebrowser:"uploadButton",label:a.lang.common.upload,elements:[{type:"file",id:"upload",label:a.lang.common.upload,size:38},{type:"fileButton",id:"uploadButton",label:a.lang.common.uploadSubmit,filebrowser:"info:src","for":["Upload","upload"]}]},{id:"properties",
|
18
18
|
label:a.lang.flash.propertiesTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"scale",type:"select",requiredContent:"embed[scale]",label:a.lang.flash.scale,"default":"",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.flash.scaleAll,"showall"],[a.lang.flash.scaleNoBorder,"noborder"],[a.lang.flash.scaleFit,"exactfit"]],setup:b,commit:c},{id:"allowScriptAccess",type:"select",requiredContent:"embed[allowscriptaccess]",label:a.lang.flash.access,"default":"",style:"width : 100%;",
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/flash/images/placeholder.png
CHANGED
File without changes
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/button.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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=
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/checkbox.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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"),a.appendBogus());c&&b.insertElement(a);this.commitContent(a)},onLoad:function(){function a(b){this.setValue(b.getAttribute(this.id)||
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/hiddenfield.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
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
|
-
|
7
|
-
|
8
|
-
a.removeAttribute("value")}}]}]}});
|
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
|
+
b=this.getParentEditor(),a=8>CKEDITOR.document.$.documentMode?'<input name="'+CKEDITOR.tools.htmlEncode(a)+'">':"input",a=CKEDITOR.env.ie&&b.document.createElement(a);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,elements:[{id:"_cke_saved_name",type:"text",
|
7
|
+
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()):a.removeAttribute("value")}}]}]}});
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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
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(
|
8
|
-
|
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){var c=b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('<input type="radio"'+
|
8
|
+
(e?' checked="checked"':"")+"></input>",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")}}]}]}});
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/select.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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<=
|
@@ -12,8 +12,8 @@ return""===this.getValue()||a.apply(this)},setup:function(a,b){"select"==a&&this
|
|
12
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
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
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",
|
16
|
-
|
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",label:c.lang.forms.select.btnAdd,title:c.lang.forms.select.btnAdd,style:"width:100%;",onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","txtOptName"),e=a.getContentElement("info","txtOptValue"),d=a.getContentElement("info","cmbName"),
|
16
|
+
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
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
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
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"));
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textarea.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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,
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textfield.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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")]||
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/images/hiddenfield.gif
CHANGED
File without changes
|
Binary file
|
Binary file
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/dialogs/iframe.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
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"}};
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/images/placeholder.png
CHANGED
Binary file
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
CKEDITOR.plugins.add('iframedialog',{requires:['dialog'],onLoad:function(){CKEDITOR.dialog.addIframe=function(a,b,c,d,e,f,g){var h={type:'iframe',src:c,width:'100%',height:'100%'};if(typeof f=='function')h.onContentLoad=f;else h.onContentLoad=function(){var k=this.getElement(),l=k.$.contentWindow;if(l.onDialogEvent){var m=this.getDialog(),n=function(o){return l.onDialogEvent(o);};m.on('ok',n);m.on('cancel',n);m.on('resize',n);m.on('hide',function(o){m.removeListener('ok',n);m.removeListener('cancel',n);m.removeListener('resize',n);o.removeListener();});l.onDialogEvent({name:'load',sender:this,editor:m._.editor});}};var i={title:b,minWidth:d,minHeight:e,contents:[{id:'iframe',label:b,expand:true,elements:[h]}]};for(var j in g)i[j]=g[j];this.add(a,function(){return i;});};(function(){var a=function(b,c,d){if(arguments.length<3)return;var e=this._||(this._={}),f=c.onContentLoad&&CKEDITOR.tools.bind(c.onContentLoad,this),g=CKEDITOR.tools.cssLength(c.width),h=CKEDITOR.tools.cssLength(c.height);e.frameId=CKEDITOR.tools.getNextId()+'_iframe';b.on('load',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent();l.setStyles({width:g,height:h});});var i={src:'%2',id:e.frameId,frameborder:0,allowtransparency:true},j=[];if(typeof c.onContentLoad=='function')i.onload='CKEDITOR.tools.callFunction(%1);';CKEDITOR.ui.dialog.uiElement.call(this,b,c,j,'iframe',{width:g,height:h},i,'');d.push('<div style="width:'+g+';height:'+h+';" id="'+this.domId+'"></div>');j=j.join('');b.on('show',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent(),m=CKEDITOR.tools.addFunction(f),n=j.replace('%1',m).replace('%2',CKEDITOR.tools.htmlEncode(c.src));l.setHtml(n);});};a.prototype=new CKEDITOR.ui.dialog.uiElement();CKEDITOR.dialog.addUIElement('iframe',{build:function(b,c,d){return new a(b,c,d);}});})();}});
|
@@ -1,38 +1,38 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
(function(){var r=function(c,j){function r(){var a=arguments,b=this.getContentElement("advanced","txtdlgGenStyle");b&&b.commit.apply(b,a);this.foreach(function(b){b.commit&&"txtdlgGenStyle"!=b.id&&b.commit.apply(b,a)})}function i(a){if(!s){s=1;var b=this.getDialog(),d=b.imageElement;if(d){this.commit(f,d);for(var a=[].concat(a),e=a.length,c,g=0;g<e;g++)(c=b.getContentElement.apply(b,a[g].split(":")))&&c.setup(f,d)}s=0}}var f=1,k=/^\s*(\d+)((px)|\%)?\s*$/i,v=/(^\s*(\d+)((px)|\%)?\s*$)|^$/i,o=/^\d+px$/,
|
6
6
|
w=function(){var a=this.getValue(),b=this.getDialog(),d=a.match(k);d&&("%"==d[2]&&l(b,!1),a=d[1]);b.lockRatio&&(d=b.originalElement,"true"==d.getCustomData("isReady")&&("txtHeight"==this.id?(a&&"0"!=a&&(a=Math.round(d.$.width*(a/d.$.height))),isNaN(a)||b.setValueOf("info","txtWidth",a)):(a&&"0"!=a&&(a=Math.round(d.$.height*(a/d.$.width))),isNaN(a)||b.setValueOf("info","txtHeight",a))));g(b)},g=function(a){if(!a.originalElement||!a.preview)return 1;a.commitContent(4,a.preview);return 0},s,l=function(a,
|
7
|
-
b){if(!a.getContentElement("info","ratioLock"))return null;var d=a.originalElement;if(!d)return null;if("check"==b){if(!a.userlockRatio&&"true"==d.getCustomData("isReady")){var e=a.getValueOf("info","txtWidth"),c=a.getValueOf("info","txtHeight"),d=1E3*d.$.width/d.$.height,f=1E3*e/c;a.lockRatio=!1;!e&&!c?a.lockRatio=!0:!isNaN(d)&&!isNaN(f)&&Math.round(d)==Math.round(f)&&(a.lockRatio=!0)}}else void 0
|
7
|
+
b){if(!a.getContentElement("info","ratioLock"))return null;var d=a.originalElement;if(!d)return null;if("check"==b){if(!a.userlockRatio&&"true"==d.getCustomData("isReady")){var e=a.getValueOf("info","txtWidth"),c=a.getValueOf("info","txtHeight"),d=1E3*d.$.width/d.$.height,f=1E3*e/c;a.lockRatio=!1;!e&&!c?a.lockRatio=!0:!isNaN(d)&&!isNaN(f)&&Math.round(d)==Math.round(f)&&(a.lockRatio=!0)}}else void 0!==b?a.lockRatio=b:(a.userlockRatio=1,a.lockRatio=!a.lockRatio);e=CKEDITOR.document.getById(p);a.lockRatio?
|
8
8
|
e.removeClass("cke_btn_unlocked"):e.addClass("cke_btn_unlocked");e.setAttribute("aria-checked",a.lockRatio);CKEDITOR.env.hc&&e.getChild(0).setHtml(a.lockRatio?CKEDITOR.env.ie?"■":"▣":CKEDITOR.env.ie?"□":"▢");return a.lockRatio},x=function(a){var b=a.originalElement;if("true"==b.getCustomData("isReady")){var d=a.getContentElement("info","txtWidth"),e=a.getContentElement("info","txtHeight");d&&d.setValue(b.$.width);e&&e.setValue(b.$.height)}g(a)},y=function(a,b){function d(a,b){var d=a.match(k);return d?
|
9
|
-
("%"==d[2]&&(d[1]+="%",l(e,!1)),d[1]):b}if(a==f){var e=this.getDialog(),c="",g="txtWidth"==this.id?"width":"height",h=b.getAttribute(g);h&&(c=d(h,c));c=d(b.getStyle(g),c);this.setValue(c)}},t,q=function(){var a=this.originalElement;a.setCustomData("isReady","true");a.removeListener("load",q);a.removeListener("error",h);a.removeListener("abort",h);
|
10
|
-
0,this);this.dontResetSize=this.firstLoad=!1},h=function(){var a=this.originalElement;a.removeListener("load",q);a.removeListener("error",h);a.removeListener("abort",h);a=CKEDITOR.getUrl(CKEDITOR.plugins.get("image").path+"images/noimage.png");this.preview&&this.preview.setAttribute("src",a);
|
11
|
-
z=n("previewImage");return{title:c.lang.image["image"==j?"title":"titleButton"],minWidth:420,minHeight:360,onShow:function(){this.linkEditMode=this.imageEditMode=this.linkElement=this.imageElement=!1;this.lockRatio=!0;this.userlockRatio=0;this.dontResetSize=!1;this.firstLoad=!0;this.addLink=!1;var a=this.getParentEditor(),b=a.getSelection(),d=(b=b&&b.getSelectedElement())&&a.elementPath(b).contains("a",1)
|
12
|
-
this.preview=CKEDITOR.document.getById(z);this.originalElement=a.document.createElement("img");this.originalElement.setAttribute("alt","");this.originalElement.setCustomData("isReady","false");if(d){this.linkElement=d;this.linkEditMode=!0;
|
13
|
-
this.setupContent(2,d)}if(this.customImageElement)this.imageEditMode="img",this.imageElement=this.customImageElement,delete this.customImageElement;else if(b&&"img"==b.getName()&&!b.data("cke-realelement")||b&&"input"==b.getName()&&"image"==b.getAttribute("type"))this.imageEditMode=b.getName(),this.imageElement=b;this.imageEditMode?(this.cleanImageElement=this.imageElement,this.imageElement=this.cleanImageElement.clone(!0,!0),this.setupContent(f,this.imageElement)):this.imageElement=a.document.createElement("img");
|
9
|
+
("%"==d[2]&&(d[1]+="%",l(e,!1)),d[1]):b}if(a==f){var e=this.getDialog(),c="",g="txtWidth"==this.id?"width":"height",h=b.getAttribute(g);h&&(c=d(h,c));c=d(b.getStyle(g),c);this.setValue(c)}},t,q=function(){var a=this.originalElement,b=CKEDITOR.document.getById(m);a.setCustomData("isReady","true");a.removeListener("load",q);a.removeListener("error",h);a.removeListener("abort",h);b&&b.setStyle("display","none");this.dontResetSize||x(this);this.firstLoad&&CKEDITOR.tools.setTimeout(function(){l(this,"check")},
|
10
|
+
0,this);this.dontResetSize=this.firstLoad=!1;g(this)},h=function(){var a=this.originalElement,b=CKEDITOR.document.getById(m);a.removeListener("load",q);a.removeListener("error",h);a.removeListener("abort",h);a=CKEDITOR.getUrl(CKEDITOR.plugins.get("image").path+"images/noimage.png");this.preview&&this.preview.setAttribute("src",a);b&&b.setStyle("display","none");l(this,!1)},n=function(a){return CKEDITOR.tools.getNextId()+"_"+a},p=n("btnLockSizes"),u=n("btnResetSize"),m=n("ImagePreviewLoader"),A=n("previewLink"),
|
11
|
+
z=n("previewImage");return{title:c.lang.image["image"==j?"title":"titleButton"],minWidth:420,minHeight:360,onShow:function(){this.linkEditMode=this.imageEditMode=this.linkElement=this.imageElement=!1;this.lockRatio=!0;this.userlockRatio=0;this.dontResetSize=!1;this.firstLoad=!0;this.addLink=!1;var a=this.getParentEditor(),b=a.getSelection(),d=(b=b&&b.getSelectedElement())&&a.elementPath(b).contains("a",1),c=CKEDITOR.document.getById(m);c&&c.setStyle("display","none");t=new CKEDITOR.dom.element("img",
|
12
|
+
a.document);this.preview=CKEDITOR.document.getById(z);this.originalElement=a.document.createElement("img");this.originalElement.setAttribute("alt","");this.originalElement.setCustomData("isReady","false");if(d){this.linkElement=d;this.linkEditMode=!0;c=d.getChildren();if(1==c.count()){var g=c.getItem(0).getName();if("img"==g||"input"==g)this.imageElement=c.getItem(0),"img"==this.imageElement.getName()?this.imageEditMode="img":"input"==this.imageElement.getName()&&(this.imageEditMode="input")}"image"==
|
13
|
+
j&&this.setupContent(2,d)}if(this.customImageElement)this.imageEditMode="img",this.imageElement=this.customImageElement,delete this.customImageElement;else if(b&&"img"==b.getName()&&!b.data("cke-realelement")||b&&"input"==b.getName()&&"image"==b.getAttribute("type"))this.imageEditMode=b.getName(),this.imageElement=b;this.imageEditMode?(this.cleanImageElement=this.imageElement,this.imageElement=this.cleanImageElement.clone(!0,!0),this.setupContent(f,this.imageElement)):this.imageElement=a.document.createElement("img");
|
14
14
|
l(this,!0);CKEDITOR.tools.trim(this.getValueOf("info","txtUrl"))||(this.preview.removeAttribute("src"),this.preview.setStyle("display","none"))},onOk:function(){if(this.imageEditMode){var a=this.imageEditMode;"image"==j&&"input"==a&&confirm(c.lang.image.button2Img)?(this.imageElement=c.document.createElement("img"),this.imageElement.setAttribute("alt",""),c.insertElement(this.imageElement)):"image"!=j&&"img"==a&&confirm(c.lang.image.img2Button)?(this.imageElement=c.document.createElement("input"),
|
15
15
|
this.imageElement.setAttributes({type:"image",alt:""}),c.insertElement(this.imageElement)):(this.imageElement=this.cleanImageElement,delete this.cleanImageElement)}else"image"==j?this.imageElement=c.document.createElement("img"):(this.imageElement=c.document.createElement("input"),this.imageElement.setAttribute("type","image")),this.imageElement.setAttribute("alt","");this.linkEditMode||(this.linkElement=c.document.createElement("a"));this.commitContent(f,this.imageElement);this.commitContent(2,this.linkElement);
|
16
16
|
this.imageElement.getAttribute("style")||this.imageElement.removeAttribute("style");this.imageEditMode?!this.linkEditMode&&this.addLink?(c.insertElement(this.linkElement),this.imageElement.appendTo(this.linkElement)):this.linkEditMode&&!this.addLink&&(c.getSelection().selectElement(this.linkElement),c.insertElement(this.imageElement)):this.addLink?this.linkEditMode?c.insertElement(this.imageElement):(c.insertElement(this.linkElement),this.linkElement.append(this.imageElement,!1)):c.insertElement(this.imageElement)},
|
17
17
|
onLoad:function(){"image"!=j&&this.hidePage("Link");var a=this._.element.getDocument();this.getContentElement("info","ratioLock")&&(this.addFocusable(a.getById(u),5),this.addFocusable(a.getById(p),5));this.commitContent=r},onHide:function(){this.preview&&this.commitContent(8,this.preview);this.originalElement&&(this.originalElement.removeListener("load",q),this.originalElement.removeListener("error",h),this.originalElement.removeListener("abort",h),this.originalElement.remove(),this.originalElement=
|
18
|
-
!1);delete this.imageElement},contents:[{id:"info",label:c.lang.image.infoTab,accessKey:"I",elements:[{type:"vbox",padding:0,children:[{type:"hbox",widths:["280px","110px"],align:"right",children:[{id:"txtUrl",type:"text",label:c.lang.common.url,required:!0,onChange:function(){var a=this.getDialog(),b=this.getValue();if(0<b.length){var a=this.getDialog(),d=a.originalElement;a.preview.removeStyle("display");d.setCustomData("isReady","false");var c=CKEDITOR.document.getById(m);c&&c.setStyle("display",
|
19
|
-
"");d.on("load",q,a);d.on("error",h,a);d.on("abort",h,a);d.setAttribute("src",b);t.setAttribute("src",b)
|
20
|
-
this.getValue())):8==a&&(b.setAttribute("src",""),b.removeAttribute("src"))},validate:CKEDITOR.dialog.validate.notEmpty(c.lang.image.urlMissing)},{type:"button",id:"browse",style:"display:inline-block;margin-top:
|
21
|
-
b){a==f?(this.getValue()||this.isChanged())&&b.setAttribute("alt",this.getValue()):4==a?b.setAttribute("alt",this.getValue()):8==a&&b.removeAttribute("alt")}},{type:"hbox",children:[{id:"basic",type:"vbox",children:[{type:"hbox",requiredContent:"img{width,height}",widths:["50%","50%"],children:[{type:"vbox",padding:1,children:[{type:"text",width:"45px",id:"txtWidth",label:c.lang.common.width,onKeyUp:w,onChange:function(){i.call(this,"advanced:txtdlgGenStyle")},validate:function(){var a=
|
22
|
-
(a=!!(a&&0!==parseInt(a[1],10)))||alert(c.lang.common.invalidWidth);return a},setup:y,commit:function(a,b,d){var
|
23
|
-
width:"45px",label:c.lang.common.height,onKeyUp:w,onChange:function(){i.call(this,"advanced:txtdlgGenStyle")},validate:function(){var a=this.getValue().match(v);(a=!!(a&&0!==parseInt(a[1],10)))||alert(c.lang.common.invalidHeight);return a},setup:y,commit:function(a,b,d){var
|
24
|
-
"true"==a.getCustomData("isReady")&&b.setStyle("height",a.$.height+"px")):8==a&&(b.removeAttribute("height"),b.removeStyle("height"))}}]},{id:"ratioLock",type:"html",style:"margin-top:30px;width:40px;height:40px;",onLoad:function(){var a=CKEDITOR.document.getById(u),b=CKEDITOR.document.getById(p);a&&(a.on("click",function(a){x(this);a.data&&a.data.preventDefault()},this.getDialog()),a.on("mouseover",
|
25
|
-
a));b&&(b.on("click",function(a){l(this);var b=this.originalElement,c=this.getValueOf("info","txtWidth");if(b.getCustomData("isReady")=="true"&&c){b=b.$.height/b.$.width*c;if(!isNaN(b)){this.setValueOf("info","txtHeight",Math.round(b));g(this)}}a.data&&a.data.preventDefault()},this.getDialog()),b.on("mouseover",function(){this.addClass("cke_btn_over")},b),b.on("mouseout",function(){this.removeClass("cke_btn_over")},
|
26
|
-
'" class="cke_btn_locked" id="'+p+'" role="checkbox"><span class="cke_icon"></span><span class="cke_label">'+c.lang.image.lockRatio+'</span></a><a href="javascript:void(0)" tabindex="-1" title="'+c.lang.image.resetSize+'" class="cke_btn_reset" id="'+u+'" role="button"><span class="cke_label">'+c.lang.image.resetSize+"</span></a></div>"}]},{type:"vbox",padding:1,children:[{type:"text",id:"txtBorder",requiredContent:"img{border-width}",
|
27
|
-
onChange:function(){i.call(this,"advanced:txtdlgGenStyle")},validate:CKEDITOR.dialog.validate.integer(c.lang.image.validateBorder),setup:function(a,b){if(a==f){var d;d=(d=(d=b.getStyle("border-width"))&&d.match(/^(\d+px)(?: \1 \1 \1)?$/))&&parseInt(d[1],10);isNaN(parseInt(d,10))&&(d=b.getAttribute("border"));this.setValue(d)}},commit:function(a,b,d){var c=parseInt(this.getValue(),10);a==f||4==a?(isNaN(c)?!c&&
|
28
|
-
b.setStyle("border-style","solid")),!d&&a==f&&b.removeAttribute("border")):8==a&&(b.removeAttribute("border"),b.removeStyle("border-width"),b.removeStyle("border-style"),b.removeStyle("border-color"))}},{type:"text",id:"txtHSpace",requiredContent:"img{margin-left,margin-right}",width:"60px",label:c.lang.image.hSpace,"default":"",onKeyUp:function(){g(this.getDialog())},onChange:function(){i.call(this,
|
29
|
-
setup:function(a,b){if(a==f){var d,c;d=b.getStyle("margin-left");c=b.getStyle("margin-right");d=d&&d.match(o);c=c&&c.match(o);d=parseInt(d,10);c=parseInt(c,10);d=d==c&&d;isNaN(parseInt(d,10))&&(d=b.getAttribute("hspace"));this.setValue(d)}},commit:function(a,b,
|
30
|
-
|
31
|
-
b.getStyle("margin-bottom");c=c&&c.match(o);e=e&&e.match(o);c=parseInt(c,10);e=parseInt(e,10);c=c==e&&c;isNaN(parseInt(c,10))&&(c=b.getAttribute("vspace"));this.setValue(c)}},commit:function(a,b,c){var e=parseInt(this.getValue(),10);a==f||4==a?(isNaN(e)?!e&&this.isChanged()&&(b.removeStyle("margin-top"),b.removeStyle("margin-bottom")):(b.setStyle("margin-top",CKEDITOR.tools.cssLength(e)),b.setStyle("margin-bottom",CKEDITOR.tools.cssLength(e)))
|
32
|
-
b.removeStyle("margin-top"),b.removeStyle("margin-bottom"))}},{id:"cmbAlign",requiredContent:"img{float}",type:"select",widths:["35%","65%"],style:"width:90px",label:c.lang.common.align,"default":"",items:[[c.lang.common.notSet,""],[c.lang.common.alignLeft,"left"],[c.lang.common.alignRight,"right"]],onChange:function(){g(this.getDialog());i.call(this,"advanced:txtdlgGenStyle")},setup:function(a,b){if(a==f){var c=b.getStyle("float");
|
33
|
-
"").toLowerCase());this.setValue(c)}},commit:function(a,b,c){var e=this.getValue();if(a==f||4==a){if(e?b.setStyle("float",e):b.removeStyle("float"),!c&&a==f)switch(e=(b.getAttribute("align")||"").toLowerCase(),e){case "left":case "right":b.removeAttribute("align")}}else 8==a&&b.removeStyle("float")}}]}]},{type:"vbox",height:"250px",children:[{type:"html",id:"htmlPreview",style:"width:95%;",html:"<div>"+CKEDITOR.tools.htmlEncode(c.lang.common.preview)+
|
34
|
-
A+'"><img id="'+z+'" alt="" /></a>'+(c.config.image_previewText||"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.")+
|
35
|
-
"</td></tr></table></div></div>"}]}]}]},{id:"Link",requiredContent:"a[href]",label:c.lang.image.linkTab,padding:0,elements:[{id:"txtUrl",type:"text",label:c.lang.common.url,style:"width: 100%","default":"",setup:function(a,b){if(2==a){var c=b.data("cke-saved-href");c||(c=b.getAttribute("href"));this.setValue(c)}},commit:function(a,b){if(2==a&&(this.getValue()||this.isChanged())){var d=
|
18
|
+
!1);delete this.imageElement},contents:[{id:"info",label:c.lang.image.infoTab,accessKey:"I",elements:[{type:"vbox",padding:0,children:[{type:"hbox",widths:["280px","110px"],align:"right",children:[{id:"txtUrl",type:"text",label:c.lang.common.url,required:!0,onChange:function(){var a=this.getDialog(),b=this.getValue();if(0<b.length){var a=this.getDialog(),d=a.originalElement;a.preview&&a.preview.removeStyle("display");d.setCustomData("isReady","false");var c=CKEDITOR.document.getById(m);c&&c.setStyle("display",
|
19
|
+
"");d.on("load",q,a);d.on("error",h,a);d.on("abort",h,a);d.setAttribute("src",b);a.preview&&(t.setAttribute("src",b),a.preview.setAttribute("src",t.$.src),g(a))}else a.preview&&(a.preview.removeAttribute("src"),a.preview.setStyle("display","none"))},setup:function(a,b){if(a==f){var d=b.data("cke-saved-src")||b.getAttribute("src");this.getDialog().dontResetSize=!0;this.setValue(d);this.setInitValue()}},commit:function(a,b){a==f&&(this.getValue()||this.isChanged())?(b.data("cke-saved-src",this.getValue()),
|
20
|
+
b.setAttribute("src",this.getValue())):8==a&&(b.setAttribute("src",""),b.removeAttribute("src"))},validate:CKEDITOR.dialog.validate.notEmpty(c.lang.image.urlMissing)},{type:"button",id:"browse",style:"display:inline-block;margin-top:14px;",align:"center",label:c.lang.common.browseServer,hidden:!0,filebrowser:"info:txtUrl"}]}]},{id:"txtAlt",type:"text",label:c.lang.image.alt,accessKey:"T","default":"",onChange:function(){g(this.getDialog())},setup:function(a,b){a==f&&this.setValue(b.getAttribute("alt"))},
|
21
|
+
commit:function(a,b){a==f?(this.getValue()||this.isChanged())&&b.setAttribute("alt",this.getValue()):4==a?b.setAttribute("alt",this.getValue()):8==a&&b.removeAttribute("alt")}},{type:"hbox",children:[{id:"basic",type:"vbox",children:[{type:"hbox",requiredContent:"img{width,height}",widths:["50%","50%"],children:[{type:"vbox",padding:1,children:[{type:"text",width:"45px",id:"txtWidth",label:c.lang.common.width,onKeyUp:w,onChange:function(){i.call(this,"advanced:txtdlgGenStyle")},validate:function(){var a=
|
22
|
+
this.getValue().match(v);(a=!!(a&&0!==parseInt(a[1],10)))||alert(c.lang.common.invalidWidth);return a},setup:y,commit:function(a,b,d){var e=this.getValue();a==f?(e&&c.activeFilter.check("img{width,height}")?b.setStyle("width",CKEDITOR.tools.cssLength(e)):b.removeStyle("width"),!d&&b.removeAttribute("width")):4==a?e.match(k)?b.setStyle("width",CKEDITOR.tools.cssLength(e)):(a=this.getDialog().originalElement,"true"==a.getCustomData("isReady")&&b.setStyle("width",a.$.width+"px")):8==a&&(b.removeAttribute("width"),
|
23
|
+
b.removeStyle("width"))}},{type:"text",id:"txtHeight",width:"45px",label:c.lang.common.height,onKeyUp:w,onChange:function(){i.call(this,"advanced:txtdlgGenStyle")},validate:function(){var a=this.getValue().match(v);(a=!!(a&&0!==parseInt(a[1],10)))||alert(c.lang.common.invalidHeight);return a},setup:y,commit:function(a,b,d){var e=this.getValue();a==f?(e&&c.activeFilter.check("img{width,height}")?b.setStyle("height",CKEDITOR.tools.cssLength(e)):b.removeStyle("height"),!d&&b.removeAttribute("height")):
|
24
|
+
4==a?e.match(k)?b.setStyle("height",CKEDITOR.tools.cssLength(e)):(a=this.getDialog().originalElement,"true"==a.getCustomData("isReady")&&b.setStyle("height",a.$.height+"px")):8==a&&(b.removeAttribute("height"),b.removeStyle("height"))}}]},{id:"ratioLock",type:"html",style:"margin-top:30px;width:40px;height:40px;",onLoad:function(){var a=CKEDITOR.document.getById(u),b=CKEDITOR.document.getById(p);a&&(a.on("click",function(a){x(this);a.data&&a.data.preventDefault()},this.getDialog()),a.on("mouseover",
|
25
|
+
function(){this.addClass("cke_btn_over")},a),a.on("mouseout",function(){this.removeClass("cke_btn_over")},a));b&&(b.on("click",function(a){l(this);var b=this.originalElement,c=this.getValueOf("info","txtWidth");if(b.getCustomData("isReady")=="true"&&c){b=b.$.height/b.$.width*c;if(!isNaN(b)){this.setValueOf("info","txtHeight",Math.round(b));g(this)}}a.data&&a.data.preventDefault()},this.getDialog()),b.on("mouseover",function(){this.addClass("cke_btn_over")},b),b.on("mouseout",function(){this.removeClass("cke_btn_over")},
|
26
|
+
b))},html:'<div><a href="javascript:void(0)" tabindex="-1" title="'+c.lang.image.lockRatio+'" class="cke_btn_locked" id="'+p+'" role="checkbox"><span class="cke_icon"></span><span class="cke_label">'+c.lang.image.lockRatio+'</span></a><a href="javascript:void(0)" tabindex="-1" title="'+c.lang.image.resetSize+'" class="cke_btn_reset" id="'+u+'" role="button"><span class="cke_label">'+c.lang.image.resetSize+"</span></a></div>"}]},{type:"vbox",padding:1,children:[{type:"text",id:"txtBorder",requiredContent:"img{border-width}",
|
27
|
+
width:"60px",label:c.lang.image.border,"default":"",onKeyUp:function(){g(this.getDialog())},onChange:function(){i.call(this,"advanced:txtdlgGenStyle")},validate:CKEDITOR.dialog.validate.integer(c.lang.image.validateBorder),setup:function(a,b){if(a==f){var d;d=(d=(d=b.getStyle("border-width"))&&d.match(/^(\d+px)(?: \1 \1 \1)?$/))&&parseInt(d[1],10);isNaN(parseInt(d,10))&&(d=b.getAttribute("border"));this.setValue(d)}},commit:function(a,b,d){var c=parseInt(this.getValue(),10);a==f||4==a?(isNaN(c)?!c&&
|
28
|
+
this.isChanged()&&b.removeStyle("border"):(b.setStyle("border-width",CKEDITOR.tools.cssLength(c)),b.setStyle("border-style","solid")),!d&&a==f&&b.removeAttribute("border")):8==a&&(b.removeAttribute("border"),b.removeStyle("border-width"),b.removeStyle("border-style"),b.removeStyle("border-color"))}},{type:"text",id:"txtHSpace",requiredContent:"img{margin-left,margin-right}",width:"60px",label:c.lang.image.hSpace,"default":"",onKeyUp:function(){g(this.getDialog())},onChange:function(){i.call(this,
|
29
|
+
"advanced:txtdlgGenStyle")},validate:CKEDITOR.dialog.validate.integer(c.lang.image.validateHSpace),setup:function(a,b){if(a==f){var d,c;d=b.getStyle("margin-left");c=b.getStyle("margin-right");d=d&&d.match(o);c=c&&c.match(o);d=parseInt(d,10);c=parseInt(c,10);d=d==c&&d;isNaN(parseInt(d,10))&&(d=b.getAttribute("hspace"));this.setValue(d)}},commit:function(a,b,d){var c=parseInt(this.getValue(),10);a==f||4==a?(isNaN(c)?!c&&this.isChanged()&&(b.removeStyle("margin-left"),b.removeStyle("margin-right")):
|
30
|
+
(b.setStyle("margin-left",CKEDITOR.tools.cssLength(c)),b.setStyle("margin-right",CKEDITOR.tools.cssLength(c))),!d&&a==f&&b.removeAttribute("hspace")):8==a&&(b.removeAttribute("hspace"),b.removeStyle("margin-left"),b.removeStyle("margin-right"))}},{type:"text",id:"txtVSpace",requiredContent:"img{margin-top,margin-bottom}",width:"60px",label:c.lang.image.vSpace,"default":"",onKeyUp:function(){g(this.getDialog())},onChange:function(){i.call(this,"advanced:txtdlgGenStyle")},validate:CKEDITOR.dialog.validate.integer(c.lang.image.validateVSpace),
|
31
|
+
setup:function(a,b){if(a==f){var c,e;c=b.getStyle("margin-top");e=b.getStyle("margin-bottom");c=c&&c.match(o);e=e&&e.match(o);c=parseInt(c,10);e=parseInt(e,10);c=c==e&&c;isNaN(parseInt(c,10))&&(c=b.getAttribute("vspace"));this.setValue(c)}},commit:function(a,b,c){var e=parseInt(this.getValue(),10);a==f||4==a?(isNaN(e)?!e&&this.isChanged()&&(b.removeStyle("margin-top"),b.removeStyle("margin-bottom")):(b.setStyle("margin-top",CKEDITOR.tools.cssLength(e)),b.setStyle("margin-bottom",CKEDITOR.tools.cssLength(e))),
|
32
|
+
!c&&a==f&&b.removeAttribute("vspace")):8==a&&(b.removeAttribute("vspace"),b.removeStyle("margin-top"),b.removeStyle("margin-bottom"))}},{id:"cmbAlign",requiredContent:"img{float}",type:"select",widths:["35%","65%"],style:"width:90px",label:c.lang.common.align,"default":"",items:[[c.lang.common.notSet,""],[c.lang.common.alignLeft,"left"],[c.lang.common.alignRight,"right"]],onChange:function(){g(this.getDialog());i.call(this,"advanced:txtdlgGenStyle")},setup:function(a,b){if(a==f){var c=b.getStyle("float");
|
33
|
+
switch(c){case "inherit":case "none":c=""}!c&&(c=(b.getAttribute("align")||"").toLowerCase());this.setValue(c)}},commit:function(a,b,c){var e=this.getValue();if(a==f||4==a){if(e?b.setStyle("float",e):b.removeStyle("float"),!c&&a==f)switch(e=(b.getAttribute("align")||"").toLowerCase(),e){case "left":case "right":b.removeAttribute("align")}}else 8==a&&b.removeStyle("float")}}]}]},{type:"vbox",height:"250px",children:[{type:"html",id:"htmlPreview",style:"width:95%;",html:"<div>"+CKEDITOR.tools.htmlEncode(c.lang.common.preview)+
|
34
|
+
'<br><div id="'+m+'" class="ImagePreviewLoader" style="display:none"><div class="loading"> </div></div><div class="ImagePreviewBox"><table><tr><td><a href="javascript:void(0)" target="_blank" onclick="return false;" id="'+A+'"><img id="'+z+'" alt="" /></a>'+(c.config.image_previewText||"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.")+
|
35
|
+
"</td></tr></table></div></div>"}]}]}]},{id:"Link",requiredContent:"a[href]",label:c.lang.image.linkTab,padding:0,elements:[{id:"txtUrl",type:"text",label:c.lang.common.url,style:"width: 100%","default":"",setup:function(a,b){if(2==a){var c=b.data("cke-saved-href");c||(c=b.getAttribute("href"));this.setValue(c)}},commit:function(a,b){if(2==a&&(this.getValue()||this.isChanged())){var d=this.getValue();b.data("cke-saved-href",d);b.setAttribute("href",d);if(this.getValue()||!c.config.image_removeLinkByEmptyURL)this.getDialog().addLink=
|
36
36
|
!0}}},{type:"button",id:"browse",filebrowser:{action:"Browse",target:"Link:txtUrl",url:c.config.filebrowserImageBrowseLinkUrl},style:"float:right",hidden:!0,label:c.lang.common.browseServer},{id:"cmbTarget",type:"select",requiredContent:"a[target]",label:c.lang.common.target,"default":"",items:[[c.lang.common.notSet,""],[c.lang.common.targetNew,"_blank"],[c.lang.common.targetTop,"_top"],[c.lang.common.targetSelf,"_self"],[c.lang.common.targetParent,"_parent"]],setup:function(a,b){2==a&&this.setValue(b.getAttribute("target")||
|
37
37
|
"")},commit:function(a,b){2==a&&(this.getValue()||this.isChanged())&&b.setAttribute("target",this.getValue())}}]},{id:"Upload",hidden:!0,filebrowser:"uploadButton",label:c.lang.image.upload,elements:[{type:"file",id:"upload",label:c.lang.image.btnUpload,style:"height:40px",size:38},{type:"fileButton",id:"uploadButton",filebrowser:"info:txtUrl",label:c.lang.image.btnUpload,"for":["Upload","upload"]}]},{id:"advanced",label:c.lang.common.advancedTab,elements:[{type:"hbox",widths:["50%","25%","25%"],
|
38
38
|
children:[{type:"text",id:"linkId",requiredContent:"img[id]",label:c.lang.common.id,setup:function(a,b){a==f&&this.setValue(b.getAttribute("id"))},commit:function(a,b){a==f&&(this.getValue()||this.isChanged())&&b.setAttribute("id",this.getValue())}},{id:"cmbLangDir",type:"select",requiredContent:"img[dir]",style:"width : 100px;",label:c.lang.common.langDir,"default":"",items:[[c.lang.common.notSet,""],[c.lang.common.langDirLtr,"ltr"],[c.lang.common.langDirRtl,"rtl"]],setup:function(a,b){a==f&&this.setValue(b.getAttribute("dir"))},
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/dev/assets/image1.jpg
ADDED
Binary file
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image2/dev/assets/image2.jpg
ADDED
Binary file
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
.cke_widget_wrapper:hover:after {
|
7
|
+
content: "id: " attr(data-cke-widget-id);
|
8
|
+
position: absolute;
|
9
|
+
top: 0;
|
10
|
+
right: 0;
|
11
|
+
padding: 2px 4px;
|
12
|
+
background: #EEE;
|
13
|
+
border: solid 1px #DDD;
|
14
|
+
border-radius: 2px;
|
15
|
+
color: #BBB;
|
16
|
+
font: bold 10px sans-serif;
|
17
|
+
}
|
18
|
+
|
19
|
+
.align-left {
|
20
|
+
float: left;
|
21
|
+
margin-right: 20px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.align-right {
|
25
|
+
float: right;
|
26
|
+
margin-left: 20px;
|
27
|
+
}
|
28
|
+
|
29
|
+
.align-center {
|
30
|
+
text-align: center;
|
31
|
+
}
|
32
|
+
|
33
|
+
.align-center > figure {
|
34
|
+
display: inline-block;
|
35
|
+
}
|
@@ -0,0 +1,339 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--
|
3
|
+
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
5
|
+
-->
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<meta charset="utf-8">
|
9
|
+
<title>Widget Image — CKEditor Sample</title>
|
10
|
+
<script src="../../../ckeditor.js"></script>
|
11
|
+
<script src="../../../dev/console/console.js"></script>
|
12
|
+
<script src="../../../dev/console/focusconsole.js"></script>
|
13
|
+
<script src="../../widget/dev/console.js"></script>
|
14
|
+
<script>
|
15
|
+
if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 )
|
16
|
+
CKEDITOR.tools.enableHtml5Elements( document );
|
17
|
+
|
18
|
+
var editor;
|
19
|
+
|
20
|
+
// The instanceReady event is fired, when an instance of CKEditor has finished
|
21
|
+
// its initialization.
|
22
|
+
CKEDITOR.on( 'instanceReady', function( ev ) {
|
23
|
+
editor = ev.editor;
|
24
|
+
|
25
|
+
// Show this "on" button.
|
26
|
+
document.getElementById( 'readOnlyOn' ).style.display = '';
|
27
|
+
|
28
|
+
// Event fired when the readOnly property changes.
|
29
|
+
editor.on( 'readOnly', function() {
|
30
|
+
document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
|
31
|
+
document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
|
32
|
+
});
|
33
|
+
});
|
34
|
+
|
35
|
+
function toggleReadOnly( isReadOnly ) {
|
36
|
+
// Change the read-only state of the editor.
|
37
|
+
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly
|
38
|
+
editor.setReadOnly( isReadOnly );
|
39
|
+
}
|
40
|
+
|
41
|
+
</script>
|
42
|
+
<link href="../../../samples/sample.css" rel="stylesheet">
|
43
|
+
|
44
|
+
<style>
|
45
|
+
|
46
|
+
body {
|
47
|
+
font-size: 13px;
|
48
|
+
}
|
49
|
+
.editable {
|
50
|
+
padding: 20px;
|
51
|
+
border: 2px solid #dfdfdf;
|
52
|
+
overflow: auto;
|
53
|
+
}
|
54
|
+
|
55
|
+
body p {
|
56
|
+
line-height: 1.8em;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Reset some styles from sample.css */
|
60
|
+
.cke_editable.cke_editable_inline
|
61
|
+
{
|
62
|
+
cursor: auto;
|
63
|
+
}
|
64
|
+
.cke_editable.cke_editable_inline.cke_focus
|
65
|
+
{
|
66
|
+
box-shadow: none;
|
67
|
+
background: inherit;
|
68
|
+
cursor: auto;
|
69
|
+
}
|
70
|
+
|
71
|
+
</style>
|
72
|
+
<link href="contents.css" rel="stylesheet">
|
73
|
+
<link href="../../../contents.css" rel="stylesheet">
|
74
|
+
</head>
|
75
|
+
<body>
|
76
|
+
<h1 class="samples">
|
77
|
+
<a href="../../../samples/index.html">CKEditor Samples</a> » Widget Image
|
78
|
+
</h1>
|
79
|
+
|
80
|
+
<h2>Classic (iframe-based) Sample</h2>
|
81
|
+
|
82
|
+
<textarea id="editor1" cols="10" rows="10">
|
83
|
+
<h1>Apollo 11</h1>
|
84
|
+
|
85
|
+
<figure class="image" style="float: right">
|
86
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" data-foo="*********" data-bar="@@@@@@@@" />
|
87
|
+
<figcaption>Roll out of Saturn V on launch pad</figcaption>
|
88
|
+
</figure>
|
89
|
+
|
90
|
+
<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
|
91
|
+
|
92
|
+
<p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
|
93
|
+
|
94
|
+
<h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
|
95
|
+
|
96
|
+
<p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
|
97
|
+
|
98
|
+
<blockquote>
|
99
|
+
<p>One small step for [a] man, one giant leap for mankind.</p>
|
100
|
+
</blockquote>
|
101
|
+
|
102
|
+
<p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
|
103
|
+
|
104
|
+
<blockquote>
|
105
|
+
<p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
|
106
|
+
</blockquote>
|
107
|
+
|
108
|
+
<figure class="image" style="float: right">
|
109
|
+
<img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
|
110
|
+
<figcaption>The Eagle in lunar orbit</figcaption>
|
111
|
+
</figure>
|
112
|
+
|
113
|
+
<h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
|
114
|
+
|
115
|
+
<p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>'s Apollo program. The Apollo spacecraft had three parts:</p>
|
116
|
+
|
117
|
+
<ol>
|
118
|
+
<li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
|
119
|
+
<li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
|
120
|
+
<li><strong>Lunar Module</strong> for landing on the Moon.</li>
|
121
|
+
</ol>
|
122
|
+
|
123
|
+
<p>After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
|
124
|
+
|
125
|
+
<p style="text-align:center">
|
126
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" />
|
127
|
+
</p>
|
128
|
+
|
129
|
+
<hr />
|
130
|
+
<p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
131
|
+
</textarea>
|
132
|
+
|
133
|
+
<h2>Inline Sample</h2>
|
134
|
+
|
135
|
+
<div id="editor2" contenteditable="true" class="editable">
|
136
|
+
<h2>Apollo 11</h2>
|
137
|
+
|
138
|
+
<figure class="image" style="float: right">
|
139
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" />
|
140
|
+
<figcaption>Roll out of Saturn V on launch pad</figcaption>
|
141
|
+
</figure>
|
142
|
+
|
143
|
+
<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
|
144
|
+
|
145
|
+
<p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
|
146
|
+
|
147
|
+
<h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
|
148
|
+
|
149
|
+
<p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
|
150
|
+
|
151
|
+
<blockquote>
|
152
|
+
<p>One small step for [a] man, one giant leap for mankind.</p>
|
153
|
+
</blockquote>
|
154
|
+
|
155
|
+
<p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
|
156
|
+
|
157
|
+
<blockquote>
|
158
|
+
<p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
|
159
|
+
</blockquote>
|
160
|
+
|
161
|
+
<figure class="image" style="float: right">
|
162
|
+
<img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
|
163
|
+
<figcaption>The Eagle in lunar orbit</figcaption>
|
164
|
+
</figure>
|
165
|
+
|
166
|
+
<h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
|
167
|
+
|
168
|
+
<p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>'s Apollo program. The Apollo spacecraft had three parts:</p>
|
169
|
+
|
170
|
+
<ol>
|
171
|
+
<li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
|
172
|
+
<li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
|
173
|
+
<li><strong>Lunar Module</strong> for landing on the Moon.</li>
|
174
|
+
</ol>
|
175
|
+
|
176
|
+
<p>After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
|
177
|
+
|
178
|
+
<p style="text-align:center">
|
179
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" />
|
180
|
+
</p>
|
181
|
+
|
182
|
+
<hr />
|
183
|
+
<p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
<h2>Div Editing Area Sample</h2>
|
187
|
+
|
188
|
+
<textarea id="editor3" cols="10" rows="10">
|
189
|
+
<h1>Apollo 11</h1>
|
190
|
+
|
191
|
+
<figure class="caption" style="float: right">
|
192
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" />
|
193
|
+
<figcaption>Roll out of Saturn V on launch pad</figcaption>
|
194
|
+
</figure>
|
195
|
+
|
196
|
+
<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
|
197
|
+
|
198
|
+
<p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
|
199
|
+
|
200
|
+
<h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
|
201
|
+
|
202
|
+
<p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p>
|
203
|
+
|
204
|
+
<blockquote>
|
205
|
+
<p>One small step for [a] man, one giant leap for mankind.</p>
|
206
|
+
</blockquote>
|
207
|
+
|
208
|
+
<p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p>
|
209
|
+
|
210
|
+
<blockquote>
|
211
|
+
<p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
|
212
|
+
</blockquote>
|
213
|
+
|
214
|
+
<figure class="caption" style="float: right">
|
215
|
+
<img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
|
216
|
+
<figcaption>The Eagle in lunar orbit</figcaption>
|
217
|
+
</figure>
|
218
|
+
|
219
|
+
<h2>Technical Details <a id="tech-details" name="tech-details"></a></h2>
|
220
|
+
|
221
|
+
<p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>'s Apollo program. The Apollo spacecraft had three parts:</p>
|
222
|
+
|
223
|
+
<ol>
|
224
|
+
<li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
|
225
|
+
<li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
|
226
|
+
<li><strong>Lunar Module</strong> for landing on the Moon.</li>
|
227
|
+
</ol>
|
228
|
+
|
229
|
+
<p>After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
|
230
|
+
|
231
|
+
<p style="text-align:center">
|
232
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" />
|
233
|
+
</p>
|
234
|
+
|
235
|
+
<hr />
|
236
|
+
<p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
237
|
+
</textarea>
|
238
|
+
|
239
|
+
<h2>alignClasses samples</h2>
|
240
|
+
|
241
|
+
<textarea id="editor4" cols="10" rows="10">
|
242
|
+
<h1>Apollo 11</h1>
|
243
|
+
|
244
|
+
<figure class="align-left image">
|
245
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" data-foo="*********" data-bar="@@@@@@@@" />
|
246
|
+
<figcaption>Roll out of Saturn V on launch pad</figcaption>
|
247
|
+
</figure>
|
248
|
+
|
249
|
+
<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
|
250
|
+
|
251
|
+
<blockquote>
|
252
|
+
<p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p>
|
253
|
+
</blockquote>
|
254
|
+
|
255
|
+
<figure class="align-right image">
|
256
|
+
<img alt="The Eagle" src="assets/image2.jpg" style="width: 200px" />
|
257
|
+
<figcaption>The Eagle in lunar orbit</figcaption>
|
258
|
+
</figure>
|
259
|
+
|
260
|
+
<h2>Technical details <a id="tech-details" name="tech-details"></a></h2>
|
261
|
+
|
262
|
+
<p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>'s Apollo program. The Apollo spacecraft had three parts:</p>
|
263
|
+
|
264
|
+
<ol>
|
265
|
+
<li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li>
|
266
|
+
<li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li>
|
267
|
+
<li><strong>Lunar Module</strong> for landing on the Moon.</li>
|
268
|
+
</ol>
|
269
|
+
|
270
|
+
<p>After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p>
|
271
|
+
|
272
|
+
<p class="align-center">
|
273
|
+
<img alt="Saturn V" src="assets/image1.jpg" width="200" />
|
274
|
+
</p>
|
275
|
+
|
276
|
+
<hr />
|
277
|
+
<p style="text-align:right"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
278
|
+
</textarea>
|
279
|
+
|
280
|
+
<p>
|
281
|
+
<input id="readOnlyOn" onclick="toggleReadOnly( true );" type="button" value="Make it read-only" style="display:none">
|
282
|
+
<input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none">
|
283
|
+
</p>
|
284
|
+
|
285
|
+
<script>
|
286
|
+
|
287
|
+
CKEDITOR.disableAutoInline = true;
|
288
|
+
|
289
|
+
CKEDITOR.replace( 'editor1', {
|
290
|
+
extraPlugins: 'image2',
|
291
|
+
height: 600,
|
292
|
+
contentsCss: [ '../../../contents.css', 'contents.css' ],
|
293
|
+
extraAllowedContent: 'img[data-foo,data-bar]',
|
294
|
+
|
295
|
+
filebrowserBrowseUrl: '/ckfinder/ckfinder.html',
|
296
|
+
filebrowserImageBrowseUrl: '/ckfinder/ckfinder.html?Type=Images',
|
297
|
+
filebrowserUploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
|
298
|
+
filebrowserImageUploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
|
299
|
+
} );
|
300
|
+
|
301
|
+
CKEDITOR.inline( 'editor2', {
|
302
|
+
extraPlugins: 'image2,sourcedialog'
|
303
|
+
} );
|
304
|
+
|
305
|
+
CKEDITOR.replace( 'editor3', {
|
306
|
+
extraPlugins: 'image2,divarea',
|
307
|
+
height: 600
|
308
|
+
} );
|
309
|
+
|
310
|
+
CKEDITOR.replace( 'editor4', {
|
311
|
+
extraPlugins: 'image2',
|
312
|
+
image2_alignClasses: [ 'align-left', 'align-center', 'align-right' ],
|
313
|
+
contentsCss: [ '../../../contents.css', 'contents.css' ],
|
314
|
+
height: 600
|
315
|
+
} );
|
316
|
+
|
317
|
+
CKCONSOLE.create( 'widget', { editor: 'editor1' } );
|
318
|
+
CKCONSOLE.create( 'focus', { editor: 'editor1' } );
|
319
|
+
CKCONSOLE.create( 'widget', { editor: 'editor2', folded: true } );
|
320
|
+
CKCONSOLE.create( 'focus', { editor: 'editor2', folded: true } );
|
321
|
+
CKCONSOLE.create( 'widget', { editor: 'editor3' } );
|
322
|
+
CKCONSOLE.create( 'focus', { editor: 'editor3' } );
|
323
|
+
CKCONSOLE.create( 'widget', { editor: 'editor4' } );
|
324
|
+
CKCONSOLE.create( 'focus', { editor: 'editor4' } );
|
325
|
+
|
326
|
+
</script>
|
327
|
+
|
328
|
+
<div id="footer">
|
329
|
+
<hr>
|
330
|
+
<p>
|
331
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
332
|
+
</p>
|
333
|
+
<p id="copy">
|
334
|
+
Copyright © 2003-2015, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
335
|
+
Knabben. All rights reserved.
|
336
|
+
</p>
|
337
|
+
</div>
|
338
|
+
</body>
|
339
|
+
</html>
|