frontendeditor_ckeditor 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/frontendeditor_ckeditor/engine.rb +8 -0
- data/lib/frontendeditor_ckeditor/version.rb +3 -0
- data/lib/frontendeditor_ckeditor.rb +3 -0
- data/vendor/assets/javascripts/ckeditor/API-CHANGES.md +195 -0
- data/vendor/assets/javascripts/ckeditor/LICENSE.md +1274 -0
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +847 -0
- data/vendor/assets/javascripts/ckeditor/ckeditor_actions.coffee +37 -0
- data/vendor/assets/javascripts/ckeditor/config.js +11 -0
- data/vendor/assets/javascripts/ckeditor/contents.css +25 -0
- data/vendor/assets/javascripts/ckeditor/init_ckeditor.coffee +6 -0
- data/vendor/assets/javascripts/ckeditor/lang/_languages.js +7 -0
- data/vendor/assets/javascripts/ckeditor/lang/_translationstatus.txt +63 -0
- data/vendor/assets/javascripts/ckeditor/lang/af.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ar.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/bg.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/bn.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/bs.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ca.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/cs.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/cy.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/da.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/de.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/el.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/en-au.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/en.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/eo.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/es.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/et.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/eu.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/fa.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/fi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/fo.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/fr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/gl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/gu.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/he.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/hi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/hr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/hu.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/is.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/it.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ja.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ka.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/km.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ko.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/lt.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/lv.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/mk.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/mn.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ms.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/nb.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/nl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/no.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/pl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/pt.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ro.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/sk.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/sl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/sr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/sv.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/th.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/tr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/ug.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/uk.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/vi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +5 -0
- data/vendor/assets/javascripts/ckeditor/lang/zh.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/ajax/plugin.js +6 -0
- data/vendor/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +22 -0
- data/vendor/assets/javascripts/ckeditor/plugins/bbcode/samples/bbcode.html +172 -0
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/samples/clipboard.html +210 -0
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +27 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/plugin.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/vendor/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/divarea/plugin.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +25 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/icons/docprops-rtl.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/icons/docprops.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/af.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ar.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bg.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bn.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bs.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ca.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/cs.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/cy.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/da.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/de.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/el.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-au.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-ca.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-gb.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/eo.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/es.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/et.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/eu.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fa.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fi.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fo.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fr-ca.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fr.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/gl.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/gu.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/he.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hi.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hr.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hu.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/is.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/it.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ja.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ka.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/km.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ko.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/lt.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/lv.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/mk.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/mn.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ms.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/nb.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/nl.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/no.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pl.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pt-br.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pt.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ro.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ru.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sk.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sl.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sr-latn.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sr.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sv.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/th.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/tr.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ug.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/uk.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/vi.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/zh-cn.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/zh.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/plugin.js +6 -0
- data/vendor/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +25 -0
- data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +23 -0
- data/vendor/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +20 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +41 -0
- data/vendor/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +36 -0
- data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/magicline/samples/sample.html +544 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +30 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/icons/createplaceholder.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/icons/editplaceholder.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/_translationstatus.txt +26 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +19 -0
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- data/vendor/assets/javascripts/ckeditor/plugins/selectionmark/plugin.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +7 -0
- data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +20 -0
- data/vendor/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +18 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/toolbar/samples/toolbar.html +80 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/icons/uicolor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +27 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +15 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +225 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/xml/plugin.js +7 -0
- data/vendor/assets/javascripts/ckeditor/samples/ajax.html +82 -0
- data/vendor/assets/javascripts/ckeditor/samples/api.html +210 -0
- data/vendor/assets/javascripts/ckeditor/samples/apidialog.html +164 -0
- data/vendor/assets/javascripts/ckeditor/samples/appendto.html +92 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/apidialog/my_dialog.js +5 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/outputforflash/outputforflash.fla +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/outputforflash/outputforflash.swf +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/outputforflash/swfobject.js +18 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +204 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/posteddata.php +59 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/sample.css +3 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/stylesheetparser/sample.css +70 -0
- data/vendor/assets/javascripts/ckeditor/samples/autogrow.html +96 -0
- data/vendor/assets/javascripts/ckeditor/samples/bbcode.html +106 -0
- data/vendor/assets/javascripts/ckeditor/samples/devtools.html +80 -0
- data/vendor/assets/javascripts/ckeditor/samples/divarea.html +96 -0
- data/vendor/assets/javascripts/ckeditor/samples/divreplace.html +141 -0
- data/vendor/assets/javascripts/ckeditor/samples/enterkey.html +99 -0
- data/vendor/assets/javascripts/ckeditor/samples/fullpage.html +109 -0
- data/vendor/assets/javascripts/ckeditor/samples/index.html +133 -0
- data/vendor/assets/javascripts/ckeditor/samples/inlineall.html +338 -0
- data/vendor/assets/javascripts/ckeditor/samples/inlinebycode.html +138 -0
- data/vendor/assets/javascripts/ckeditor/samples/magicline.html +198 -0
- data/vendor/assets/javascripts/ckeditor/samples/outputforflash.html +246 -0
- data/vendor/assets/javascripts/ckeditor/samples/outputhtml.html +228 -0
- data/vendor/assets/javascripts/ckeditor/samples/outputxhtml.html +217 -0
- data/vendor/assets/javascripts/ckeditor/samples/placeholder.html +69 -0
- data/vendor/assets/javascripts/ckeditor/samples/readonly.html +73 -0
- data/vendor/assets/javascripts/ckeditor/samples/replacebyclass.html +95 -0
- data/vendor/assets/javascripts/ckeditor/samples/replacebycode.html +93 -0
- data/vendor/assets/javascripts/ckeditor/samples/sample.css +261 -0
- data/vendor/assets/javascripts/ckeditor/samples/sample_posteddata.php +16 -0
- data/vendor/assets/javascripts/ckeditor/samples/stylesheetparser.html +77 -0
- data/vendor/assets/javascripts/ckeditor/samples/tabindex.html +80 -0
- data/vendor/assets/javascripts/ckeditor/samples/tableresize.html +101 -0
- data/vendor/assets/javascripts/ckeditor/samples/uicolor.html +137 -0
- data/vendor/assets/javascripts/ckeditor/samples/uilanguages.html +119 -0
- data/vendor/assets/javascripts/ckeditor/styles.js +86 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_ie.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_ie7.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_ie8.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_iequirks.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/dialog_opera.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/editor.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_ie.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_ie7.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_ie8.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/editor_iequirks.css +5 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/icons.png +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/images/mini.gif +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/images/sprites.png +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/vendor/assets/stylesheets/ckeditor/skins/kama/readme.md +26 -0
- metadata +490 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
|
4
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
5
|
+
-->
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>TAB Key-Based Navigation — CKEditor Sample</title>
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
<script src="../ckeditor.js"></script>
|
|
11
|
+
<link href="sample.css" rel="stylesheet">
|
|
12
|
+
<style>
|
|
13
|
+
|
|
14
|
+
.cke_focused,
|
|
15
|
+
.cke_editable.cke_focused
|
|
16
|
+
{
|
|
17
|
+
outline: 3px dotted blue !important;
|
|
18
|
+
*border: 3px dotted blue !important; /* For IE7 */
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
</style>
|
|
22
|
+
<script>
|
|
23
|
+
|
|
24
|
+
CKEDITOR.on( 'instanceReady', function( evt ) {
|
|
25
|
+
var editor = evt.editor;
|
|
26
|
+
editor.setData( 'This editor has it\'s tabIndex set to <strong>' + editor.tabIndex + '</strong>' );
|
|
27
|
+
|
|
28
|
+
// Apply focus class name.
|
|
29
|
+
editor.on( 'focus', function() {
|
|
30
|
+
editor.container.addClass( 'cke_focused' );
|
|
31
|
+
});
|
|
32
|
+
editor.on( 'blur', function() {
|
|
33
|
+
editor.container.removeClass( 'cke_focused' );
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
// Put startup focus on the first editor in tab order.
|
|
37
|
+
if ( editor.tabIndex == 1 )
|
|
38
|
+
editor.focus();
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
</script>
|
|
42
|
+
</head>
|
|
43
|
+
<body>
|
|
44
|
+
<h1 class="samples">
|
|
45
|
+
<a href="index.html">CKEditor Samples</a> » TAB Key-Based Navigation
|
|
46
|
+
</h1>
|
|
47
|
+
<div class="description">
|
|
48
|
+
<p>
|
|
49
|
+
This sample shows how tab key navigation among editor instances is
|
|
50
|
+
affected by the <code>tabIndex</code> attribute from
|
|
51
|
+
the original page element. Use TAB key to move between the editors.
|
|
52
|
+
</p>
|
|
53
|
+
</div>
|
|
54
|
+
<form action="sample_posteddata.php" method="post">
|
|
55
|
+
<div class="ckeditor" contenteditable="true" id="editor1" tabindex="4"></div>
|
|
56
|
+
<p>
|
|
57
|
+
<textarea class="ckeditor" cols="80" id="editor2" rows="10" tabindex="2"></textarea>
|
|
58
|
+
</p>
|
|
59
|
+
<p>
|
|
60
|
+
<textarea class="ckeditor" cols="80" id="editor3" rows="10" tabindex="3"></textarea>
|
|
61
|
+
</p>
|
|
62
|
+
<p>
|
|
63
|
+
<textarea class="ckeditor" cols="80" id="editor4" rows="10" tabindex="1"></textarea>
|
|
64
|
+
</p>
|
|
65
|
+
<p>
|
|
66
|
+
<input type="submit" value="Submit">
|
|
67
|
+
</p>
|
|
68
|
+
</form>
|
|
69
|
+
<div id="footer">
|
|
70
|
+
<hr>
|
|
71
|
+
<p>
|
|
72
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
|
73
|
+
</p>
|
|
74
|
+
<p id="copy">
|
|
75
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
|
76
|
+
Knabben. All rights reserved.
|
|
77
|
+
</p>
|
|
78
|
+
</div>
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
|
4
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
5
|
+
-->
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>Using TableResize Plugin — CKEditor Sample</title>
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
<script src="../ckeditor.js"></script>
|
|
11
|
+
<link rel="stylesheet" href="sample.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<h1 class="samples">
|
|
15
|
+
<a href="index.html">CKEditor Samples</a> » Using the TableResize Plugin
|
|
16
|
+
</h1>
|
|
17
|
+
<div class="description">
|
|
18
|
+
<p>
|
|
19
|
+
This sample shows how to configure CKEditor instances to use the
|
|
20
|
+
<strong>TableResize</strong> (<code>tableresize</code>) plugin that allows
|
|
21
|
+
the user to edit table columns by using the mouse.
|
|
22
|
+
</p>
|
|
23
|
+
<p>
|
|
24
|
+
The TableResize plugin makes it possible to modify table column width. Hover
|
|
25
|
+
your mouse over the column border to see the cursor change to indicate that
|
|
26
|
+
the column can be resized. Click and drag your mouse to set the desired width.
|
|
27
|
+
</p>
|
|
28
|
+
<p>
|
|
29
|
+
By default the plugin is turned off. To add a CKEditor instance using the
|
|
30
|
+
TableResize plugin, insert the following JavaScript call into your code:
|
|
31
|
+
</p>
|
|
32
|
+
<pre class="samples">
|
|
33
|
+
CKEDITOR.replace( '<em>textarea_id</em>', {
|
|
34
|
+
<strong>extraPlugins: 'tableresize'</strong>
|
|
35
|
+
});</pre>
|
|
36
|
+
<p>
|
|
37
|
+
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
|
|
38
|
+
the <code><textarea></code> element to be replaced with CKEditor.
|
|
39
|
+
</p>
|
|
40
|
+
</div>
|
|
41
|
+
<form action="sample_posteddata.php" method="post">
|
|
42
|
+
<p>
|
|
43
|
+
<label for="editor1">
|
|
44
|
+
CKEditor using the <code>tableresize</code> plugin:
|
|
45
|
+
</label>
|
|
46
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10">
|
|
47
|
+
<table style="width: 500px;">
|
|
48
|
+
<caption>
|
|
49
|
+
A sample table</caption>
|
|
50
|
+
<tbody>
|
|
51
|
+
<tr>
|
|
52
|
+
<td>
|
|
53
|
+
Column 1</td>
|
|
54
|
+
<td>
|
|
55
|
+
Column 2</td>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td>
|
|
59
|
+
You can resize a table column.</td>
|
|
60
|
+
<td>
|
|
61
|
+
Hover your mouse over its border.</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<td>
|
|
65
|
+
Watch the cursor change.</td>
|
|
66
|
+
<td>
|
|
67
|
+
Now click and drag to resize.</td>
|
|
68
|
+
</tr>
|
|
69
|
+
</tbody>
|
|
70
|
+
</table>
|
|
71
|
+
</textarea>
|
|
72
|
+
<script>
|
|
73
|
+
|
|
74
|
+
// This call can be placed at any point after the
|
|
75
|
+
// <textarea>, or inside a <head><script> in a
|
|
76
|
+
// window.onload event handler.
|
|
77
|
+
|
|
78
|
+
// Replace the <textarea id="editor"> with an CKEditor
|
|
79
|
+
// instance, using default configurations.
|
|
80
|
+
CKEDITOR.replace( 'editor1', {
|
|
81
|
+
extraPlugins: 'tableresize'
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
</script>
|
|
85
|
+
</p>
|
|
86
|
+
<p>
|
|
87
|
+
<input type="submit" value="Submit">
|
|
88
|
+
</p>
|
|
89
|
+
</form>
|
|
90
|
+
<div id="footer">
|
|
91
|
+
<hr>
|
|
92
|
+
<p>
|
|
93
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
|
94
|
+
</p>
|
|
95
|
+
<p id="copy">
|
|
96
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
|
97
|
+
Knabben. All rights reserved.
|
|
98
|
+
</p>
|
|
99
|
+
</div>
|
|
100
|
+
</body>
|
|
101
|
+
</html>
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
|
4
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
5
|
+
-->
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>UI Color Picker — CKEditor Sample</title>
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
<script src="../ckeditor.js"></script>
|
|
11
|
+
<link rel="stylesheet" href="sample.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<h1 class="samples">
|
|
15
|
+
<a href="index.html">CKEditor Samples</a> » Kama UI Color
|
|
16
|
+
</h1>
|
|
17
|
+
<div class="description">
|
|
18
|
+
<p>
|
|
19
|
+
This sample shows how to automatically replace <code><textarea></code> elements
|
|
20
|
+
with a CKEditor instance with an option to change the color of its user interface.<br>
|
|
21
|
+
<strong>Note:</strong>The UI skin color is a feature dedicated to the "kama" skin.
|
|
22
|
+
</p>
|
|
23
|
+
<h2 class="samples">Setting the User Interface Color</h2>
|
|
24
|
+
<p>
|
|
25
|
+
To specify the color of the user interface, set the <code>uiColor</code> property:
|
|
26
|
+
</p>
|
|
27
|
+
<pre class="samples">
|
|
28
|
+
CKEDITOR.replace( '<em>textarea_id</em>', {
|
|
29
|
+
<strong>uiColor: '#EE0000'</strong>
|
|
30
|
+
});</pre>
|
|
31
|
+
<p>
|
|
32
|
+
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
|
|
33
|
+
the <code><textarea></code> element to be replaced.
|
|
34
|
+
</p>
|
|
35
|
+
<h2 class="samples">Enabling the Color Picker</h2>
|
|
36
|
+
<p>
|
|
37
|
+
If the <strong>uicolor</strong> plugin along with the dedicated <strong>UIColor</strong>
|
|
38
|
+
toolbar button is added to CKEditor, the user will also be able to pick the color of the
|
|
39
|
+
UI from the color palette available in the <strong>UI Color Picker</strong> dialog window.
|
|
40
|
+
</p>
|
|
41
|
+
<p>
|
|
42
|
+
To insert a CKEditor instance with the <strong>uicolor</strong> plugin enabled,
|
|
43
|
+
use the following JavaScript call:
|
|
44
|
+
</p>
|
|
45
|
+
<pre class="samples">
|
|
46
|
+
CKEDITOR.replace( '<em>textarea_id</em>', {
|
|
47
|
+
<strong>extraPlugins : 'uicolor',</strong>
|
|
48
|
+
toolbar : [ [ 'Bold', 'Italic' ], [ <strong>'UIColor'</strong> ] ]
|
|
49
|
+
});</pre>
|
|
50
|
+
</div>
|
|
51
|
+
<p>
|
|
52
|
+
Click the <strong>UI Color Picker</strong> button to test your color preferences at runtime.
|
|
53
|
+
</p>
|
|
54
|
+
<p>
|
|
55
|
+
The first editor instance includes the <strong>UI Color Picker</strong> toolbar button,
|
|
56
|
+
but the default UI color is not defined, so the editor uses the skin color.
|
|
57
|
+
</p>
|
|
58
|
+
<form action="sample_posteddata.php" method="post">
|
|
59
|
+
<p>
|
|
60
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
|
61
|
+
<script>
|
|
62
|
+
|
|
63
|
+
// Replace the <textarea id="editor"> with an CKEditor
|
|
64
|
+
// instance, using default configurations.
|
|
65
|
+
CKEDITOR.replace( 'editor1', {
|
|
66
|
+
extraPlugins : 'uicolor',
|
|
67
|
+
toolbar : [
|
|
68
|
+
[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
|
|
69
|
+
[ 'FontSize', 'TextColor', 'BGColor' ],
|
|
70
|
+
[ 'UIColor' ]
|
|
71
|
+
]
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
</script>
|
|
75
|
+
</p>
|
|
76
|
+
<p>
|
|
77
|
+
The second editor instance includes the <strong>UI Color Picker</strong> toolbar button. The
|
|
78
|
+
default UI color was defined, so the skin color is not used.
|
|
79
|
+
</p>
|
|
80
|
+
<p>
|
|
81
|
+
<textarea cols="80" id="editor2" name="editor2" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
|
82
|
+
<script>
|
|
83
|
+
|
|
84
|
+
// Replace the <textarea id="editor"> with an CKEditor
|
|
85
|
+
// instance, using default configurations.
|
|
86
|
+
CKEDITOR.replace( 'editor2', {
|
|
87
|
+
extraPlugins : 'uicolor',
|
|
88
|
+
uiColor: '#14B8C4',
|
|
89
|
+
toolbar : [
|
|
90
|
+
[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
|
|
91
|
+
[ 'FontSize', 'TextColor', 'BGColor' ],
|
|
92
|
+
[ 'UIColor' ]
|
|
93
|
+
]
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
</script>
|
|
97
|
+
</p>
|
|
98
|
+
<p>
|
|
99
|
+
The third editor instance is inline. It also includes the <strong>UI Color Picker</strong> toolbar
|
|
100
|
+
button.
|
|
101
|
+
</p>
|
|
102
|
+
<div id="editor3" contenteditable="true">
|
|
103
|
+
<p>This is some <strong>sample text</strong>. You are using <a data-cke-saved-href="http://ckeditor.com/" href="http://ckeditor.com/">CKEditor</a>.</p>
|
|
104
|
+
</div>
|
|
105
|
+
<script>
|
|
106
|
+
|
|
107
|
+
// Disable automatic creation of inline instances.
|
|
108
|
+
CKEDITOR.disableAutoInline = true;
|
|
109
|
+
|
|
110
|
+
// Replace the <div id="editor3"> with an inline CKEditor instance.
|
|
111
|
+
CKEDITOR.inline( 'editor3', {
|
|
112
|
+
extraPlugins : 'uicolor',
|
|
113
|
+
uiColor: '#67C614',
|
|
114
|
+
toolbar : [
|
|
115
|
+
[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
|
|
116
|
+
[ 'FontSize', 'TextColor', 'BGColor' ],
|
|
117
|
+
[ 'UIColor' ]
|
|
118
|
+
]
|
|
119
|
+
} );
|
|
120
|
+
|
|
121
|
+
</script>
|
|
122
|
+
<p>
|
|
123
|
+
<input type="submit" value="Submit">
|
|
124
|
+
</p>
|
|
125
|
+
</form>
|
|
126
|
+
<div id="footer">
|
|
127
|
+
<hr>
|
|
128
|
+
<p>
|
|
129
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
|
130
|
+
</p>
|
|
131
|
+
<p id="copy">
|
|
132
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
|
133
|
+
Knabben. All rights reserved.
|
|
134
|
+
</p>
|
|
135
|
+
</div>
|
|
136
|
+
</body>
|
|
137
|
+
</html>
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<!--
|
|
3
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
|
4
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
5
|
+
-->
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>User Interface Globalization — CKEditor Sample</title>
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
<script src="../ckeditor.js"></script>
|
|
11
|
+
<script src="../lang/_languages.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="sample.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<h1 class="samples">
|
|
16
|
+
<a href="index.html">CKEditor Samples</a> » User Interface Languages
|
|
17
|
+
</h1>
|
|
18
|
+
<div class="description">
|
|
19
|
+
<p>
|
|
20
|
+
This sample shows how to automatically replace <code><textarea></code> elements
|
|
21
|
+
with a CKEditor instance with an option to change the language of its user interface.
|
|
22
|
+
</p>
|
|
23
|
+
<p>
|
|
24
|
+
It pulls the language list from CKEditor <code>_languages.js</code> file that contains the list of supported languages and creates
|
|
25
|
+
a drop-down list that lets the user change the UI language.
|
|
26
|
+
</p>
|
|
27
|
+
<p>
|
|
28
|
+
By default, CKEditor automatically localizes the editor to the language of the user.
|
|
29
|
+
The UI language can be controlled with two configuration options:
|
|
30
|
+
<code><a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.language">language</a></code> and
|
|
31
|
+
<code><a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.defaultLanguage">
|
|
32
|
+
defaultLanguage</a></code>. The <code>defaultLanguage</code> setting specifies the
|
|
33
|
+
default CKEditor language to be used when a localization suitable for user's settings is not available.
|
|
34
|
+
</p>
|
|
35
|
+
<p>
|
|
36
|
+
To specify the user interface language that will be used no matter what language is
|
|
37
|
+
specified in user's browser or operating system, set the <code>language</code> property:
|
|
38
|
+
</p>
|
|
39
|
+
<pre class="samples">
|
|
40
|
+
CKEDITOR.replace( '<em>textarea_id</em>', {
|
|
41
|
+
// Load the German interface.
|
|
42
|
+
<strong>language: 'de'</strong>
|
|
43
|
+
});</pre>
|
|
44
|
+
<p>
|
|
45
|
+
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
|
|
46
|
+
the <code><textarea></code> element to be replaced.
|
|
47
|
+
</p>
|
|
48
|
+
</div>
|
|
49
|
+
<form action="sample_posteddata.php" method="post">
|
|
50
|
+
<p>
|
|
51
|
+
Available languages (<span id="count"> </span> languages!):<br>
|
|
52
|
+
<script>
|
|
53
|
+
|
|
54
|
+
document.write( '<select disabled="disabled" id="languages" onchange="createEditor( this.value );">' );
|
|
55
|
+
|
|
56
|
+
// Get the language list from the _languages.js file.
|
|
57
|
+
for ( var i = 0 ; i < window.CKEDITOR_LANGS.length ; i++ ) {
|
|
58
|
+
document.write(
|
|
59
|
+
'<option value="' + window.CKEDITOR_LANGS[i].code + '">' +
|
|
60
|
+
window.CKEDITOR_LANGS[i].name +
|
|
61
|
+
'</option>' );
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
document.write( '</select>' );
|
|
65
|
+
|
|
66
|
+
</script>
|
|
67
|
+
<br>
|
|
68
|
+
<span style="color: #888888">
|
|
69
|
+
(You may see strange characters if your system does not support the selected language)
|
|
70
|
+
</span>
|
|
71
|
+
</p>
|
|
72
|
+
<p>
|
|
73
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
|
74
|
+
<script>
|
|
75
|
+
|
|
76
|
+
// Set the number of languages.
|
|
77
|
+
document.getElementById( 'count' ).innerHTML = window.CKEDITOR_LANGS.length;
|
|
78
|
+
|
|
79
|
+
var editor;
|
|
80
|
+
|
|
81
|
+
function createEditor( languageCode ) {
|
|
82
|
+
if ( editor )
|
|
83
|
+
editor.destroy();
|
|
84
|
+
|
|
85
|
+
// Replace the <textarea id="editor"> with an CKEditor
|
|
86
|
+
// instance, using default configurations.
|
|
87
|
+
editor = CKEDITOR.replace( 'editor1', {
|
|
88
|
+
language : languageCode,
|
|
89
|
+
|
|
90
|
+
on : {
|
|
91
|
+
instanceReady : function() {
|
|
92
|
+
// Wait for the editor to be ready to set
|
|
93
|
+
// the language combo.
|
|
94
|
+
var languages = document.getElementById( 'languages' );
|
|
95
|
+
languages.value = this.langCode;
|
|
96
|
+
languages.disabled = false;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// At page startup, load the default language:
|
|
103
|
+
createEditor( '' );
|
|
104
|
+
|
|
105
|
+
</script>
|
|
106
|
+
</p>
|
|
107
|
+
</form>
|
|
108
|
+
<div id="footer">
|
|
109
|
+
<hr>
|
|
110
|
+
<p>
|
|
111
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
|
112
|
+
</p>
|
|
113
|
+
<p id="copy">
|
|
114
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
|
115
|
+
Knabben. All rights reserved.
|
|
116
|
+
</p>
|
|
117
|
+
</div>
|
|
118
|
+
</body>
|
|
119
|
+
</html>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
CKEDITOR.stylesSet.add( 'default', [
|
|
7
|
+
/* Block Styles */
|
|
8
|
+
|
|
9
|
+
// These styles are already available in the "Format" combo, so they are
|
|
10
|
+
// not needed here by default. You may enable them to avoid placing the
|
|
11
|
+
// "Format" combo in the toolbar, maintaining the same features.
|
|
12
|
+
/*
|
|
13
|
+
{ name: 'Paragraph', element: 'p' },
|
|
14
|
+
{ name: 'Heading 1', element: 'h1' },
|
|
15
|
+
{ name: 'Heading 2', element: 'h2' },
|
|
16
|
+
{ name: 'Heading 3', element: 'h3' },
|
|
17
|
+
{ name: 'Heading 4', element: 'h4' },
|
|
18
|
+
{ name: 'Heading 5', element: 'h5' },
|
|
19
|
+
{ name: 'Heading 6', element: 'h6' },
|
|
20
|
+
{ name: 'Preformatted Text',element: 'pre' },
|
|
21
|
+
{ name: 'Address', element: 'address' },
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
{ name: 'Blue Title', element: 'h3', styles: { 'color': 'Blue' } },
|
|
25
|
+
{ name: 'Red Title', element: 'h3', styles: { 'color': 'Red' } },
|
|
26
|
+
|
|
27
|
+
/* Inline Styles */
|
|
28
|
+
|
|
29
|
+
// These are core styles available as toolbar buttons. You may opt enabling
|
|
30
|
+
// some of them in the Styles combo, removing them from the toolbar.
|
|
31
|
+
/*
|
|
32
|
+
{ name: 'Strong', element: 'strong', overrides: 'b' },
|
|
33
|
+
{ name: 'Emphasis', element: 'em' , overrides: 'i' },
|
|
34
|
+
{ name: 'Underline', element: 'u' },
|
|
35
|
+
{ name: 'Strikethrough', element: 'strike' },
|
|
36
|
+
{ name: 'Subscript', element: 'sub' },
|
|
37
|
+
{ name: 'Superscript', element: 'sup' },
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
{ name: 'Marker: Yellow', element: 'span', styles: { 'background-color': 'Yellow' } },
|
|
41
|
+
{ name: 'Marker: Green', element: 'span', styles: { 'background-color': 'Lime' } },
|
|
42
|
+
|
|
43
|
+
{ name: 'Big', element: 'big' },
|
|
44
|
+
{ name: 'Small', element: 'small' },
|
|
45
|
+
{ name: 'Typewriter', element: 'tt' },
|
|
46
|
+
|
|
47
|
+
{ name: 'Computer Code', element: 'code' },
|
|
48
|
+
{ name: 'Keyboard Phrase', element: 'kbd' },
|
|
49
|
+
{ name: 'Sample Text', element: 'samp' },
|
|
50
|
+
{ name: 'Variable', element: 'var' },
|
|
51
|
+
|
|
52
|
+
{ name: 'Deleted Text', element: 'del' },
|
|
53
|
+
{ name: 'Inserted Text', element: 'ins' },
|
|
54
|
+
|
|
55
|
+
{ name: 'Cited Work', element: 'cite' },
|
|
56
|
+
{ name: 'Inline Quotation', element: 'q' },
|
|
57
|
+
|
|
58
|
+
{ name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } },
|
|
59
|
+
{ name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } },
|
|
60
|
+
|
|
61
|
+
/* Object Styles */
|
|
62
|
+
|
|
63
|
+
{
|
|
64
|
+
name: 'Image on Left',
|
|
65
|
+
element: 'img',
|
|
66
|
+
attributes: {
|
|
67
|
+
'style': 'padding: 5px; margin-right: 5px',
|
|
68
|
+
'border': '2',
|
|
69
|
+
'align': 'left'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
{
|
|
74
|
+
name: 'Image on Right',
|
|
75
|
+
element: 'img',
|
|
76
|
+
attributes: {
|
|
77
|
+
'style': 'padding: 5px; margin-left: 5px',
|
|
78
|
+
'border': '2',
|
|
79
|
+
'align': 'right'
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
{ name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
|
|
84
|
+
{ name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } }
|
|
85
|
+
]);
|
|
86
|
+
|