frontendeditor_ckeditor 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- 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,217 @@
|
|
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>XHTML Compliant Output — CKEditor Sample</title>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
<script src="../ckeditor.js"></script>
|
11
|
+
<link href="sample.css" rel="stylesheet">
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<h1 class="samples">
|
15
|
+
<a href="index.html">CKEditor Samples</a> » Producing XHTML Compliant Output
|
16
|
+
</h1>
|
17
|
+
<div class="description">
|
18
|
+
<p>
|
19
|
+
This sample shows how to configure CKEditor to output valid
|
20
|
+
<a class="samples" href="http://www.w3.org/TR/xhtml11/">XHTML 1.1</a> code.
|
21
|
+
Deprecated elements (<code><font></code>, <code><u></code>) or attributes
|
22
|
+
(<code>size</code>, <code>face</code>) will be replaced with XHTML compliant code.
|
23
|
+
</p>
|
24
|
+
<p>
|
25
|
+
To add a CKEditor instance outputting valid XHTML code, load the editor using a standard
|
26
|
+
JavaScript call and define CKEditor features to use the XHTML compliant elements and styles.
|
27
|
+
</p>
|
28
|
+
<p>
|
29
|
+
A snippet of the configuration code can be seen below; check the source of this page for
|
30
|
+
full definition:
|
31
|
+
</p>
|
32
|
+
<pre class="samples">
|
33
|
+
CKEDITOR.replace( '<em>textarea_id</em>', {
|
34
|
+
contentsCss: 'assets/outputxhtml.css',
|
35
|
+
|
36
|
+
coreStyles_bold: {
|
37
|
+
element: 'span',
|
38
|
+
attributes: { 'class': 'Bold' }
|
39
|
+
},
|
40
|
+
coreStyles_italic: {
|
41
|
+
element: 'span',
|
42
|
+
attributes: { 'class': 'Italic' }
|
43
|
+
},
|
44
|
+
|
45
|
+
...
|
46
|
+
});</pre>
|
47
|
+
</div>
|
48
|
+
<form action="sample_posteddata.php" method="post">
|
49
|
+
<p>
|
50
|
+
<label for="editor1">
|
51
|
+
Editor 1:
|
52
|
+
</label>
|
53
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is some <span class="Bold">sample text</span>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
54
|
+
<script>
|
55
|
+
|
56
|
+
CKEDITOR.replace( 'editor1', {
|
57
|
+
/*
|
58
|
+
* Style sheet for the contents
|
59
|
+
*/
|
60
|
+
contentsCss: 'assets/outputxhtml/outputxhtml.css',
|
61
|
+
|
62
|
+
/*
|
63
|
+
* Core styles.
|
64
|
+
*/
|
65
|
+
coreStyles_bold: {
|
66
|
+
element: 'span',
|
67
|
+
attributes: { 'class': 'Bold' }
|
68
|
+
},
|
69
|
+
coreStyles_italic: {
|
70
|
+
element: 'span',
|
71
|
+
attributes: { 'class': 'Italic' }
|
72
|
+
},
|
73
|
+
coreStyles_underline: {
|
74
|
+
element: 'span',
|
75
|
+
attributes: { 'class': 'Underline' }
|
76
|
+
},
|
77
|
+
coreStyles_strike: {
|
78
|
+
element: 'span',
|
79
|
+
attributes: { 'class': 'StrikeThrough' },
|
80
|
+
overrides: 'strike'
|
81
|
+
},
|
82
|
+
coreStyles_subscript: {
|
83
|
+
element: 'span',
|
84
|
+
attributes: { 'class': 'Subscript' },
|
85
|
+
overrides: 'sub'
|
86
|
+
},
|
87
|
+
coreStyles_superscript: {
|
88
|
+
element: 'span',
|
89
|
+
attributes: { 'class': 'Superscript' },
|
90
|
+
overrides: 'sup'
|
91
|
+
},
|
92
|
+
|
93
|
+
/*
|
94
|
+
* Font face.
|
95
|
+
*/
|
96
|
+
|
97
|
+
// List of fonts available in the toolbar combo. Each font definition is
|
98
|
+
// separated by a semi-colon (;). We are using class names here, so each font
|
99
|
+
// is defined by {Combo Label}/{Class Name}.
|
100
|
+
font_names : 'Comic Sans MS/FontComic;Courier New/FontCourier;Times New Roman/FontTimes',
|
101
|
+
|
102
|
+
// Define the way font elements will be applied to the document. The "span"
|
103
|
+
// element will be used. When a font is selected, the font name defined in the
|
104
|
+
// above list is passed to this definition with the name "Font", being it
|
105
|
+
// injected in the "class" attribute.
|
106
|
+
// We must also instruct the editor to replace span elements that are used to
|
107
|
+
// set the font (Overrides).
|
108
|
+
font_style: {
|
109
|
+
element: 'span',
|
110
|
+
attributes: { 'class': '#(family)' },
|
111
|
+
overrides: [
|
112
|
+
{
|
113
|
+
element: 'span',
|
114
|
+
attributes: {
|
115
|
+
'class': /^Font(?:Comic|Courier|Times)$/
|
116
|
+
}
|
117
|
+
}
|
118
|
+
]
|
119
|
+
},
|
120
|
+
|
121
|
+
/*
|
122
|
+
* Font sizes.
|
123
|
+
*/
|
124
|
+
fontSize_sizes: 'Smaller/FontSmaller;Larger/FontLarger;8pt/FontSmall;14pt/FontBig;Double Size/FontDouble',
|
125
|
+
fontSize_style: {
|
126
|
+
element: 'span',
|
127
|
+
attributes: { 'class' : '#(size)' },
|
128
|
+
overrides: [
|
129
|
+
{
|
130
|
+
element: 'span',
|
131
|
+
attributes: {
|
132
|
+
'class' : /^Font(?:Smaller|Larger|Small|Big|Double)$/
|
133
|
+
}
|
134
|
+
}
|
135
|
+
]
|
136
|
+
} ,
|
137
|
+
|
138
|
+
/*
|
139
|
+
* Font colors.
|
140
|
+
*/
|
141
|
+
colorButton_enableMore : false,
|
142
|
+
|
143
|
+
colorButton_colors: 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00',
|
144
|
+
colorButton_foreStyle: {
|
145
|
+
element: 'span',
|
146
|
+
attributes: { 'class' : '#(color)' },
|
147
|
+
overrides: [
|
148
|
+
{
|
149
|
+
element: 'span',
|
150
|
+
attributes: {
|
151
|
+
'class': /^FontColor(?:1|2|3)$/
|
152
|
+
}
|
153
|
+
}
|
154
|
+
]
|
155
|
+
},
|
156
|
+
|
157
|
+
colorButton_backStyle: {
|
158
|
+
element : 'span',
|
159
|
+
attributes: { 'class': '#(color)BG' },
|
160
|
+
overrides: [
|
161
|
+
{
|
162
|
+
element : 'span',
|
163
|
+
attributes : {
|
164
|
+
'class' : /^FontColor(?:1|2|3)BG$/
|
165
|
+
}
|
166
|
+
}
|
167
|
+
]
|
168
|
+
},
|
169
|
+
|
170
|
+
/*
|
171
|
+
* Indentation.
|
172
|
+
*/
|
173
|
+
indentClasses: [ 'Indent1', 'Indent2', 'Indent3' ],
|
174
|
+
|
175
|
+
/*
|
176
|
+
* Paragraph justification.
|
177
|
+
*/
|
178
|
+
justifyClasses: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull' ],
|
179
|
+
|
180
|
+
/*
|
181
|
+
* Styles combo.
|
182
|
+
*/
|
183
|
+
stylesSet: [
|
184
|
+
{ name: 'Strong Emphasis', element: 'strong' },
|
185
|
+
{ name: 'Emphasis', element: 'em' },
|
186
|
+
|
187
|
+
{ name: 'Computer Code', element: 'code' },
|
188
|
+
{ name: 'Keyboard Phrase', element: 'kbd' },
|
189
|
+
{ name: 'Sample Text', element: 'samp' },
|
190
|
+
{ name: 'Variable', element: 'var' },
|
191
|
+
|
192
|
+
{ name: 'Deleted Text', element: 'del' },
|
193
|
+
{ name: 'Inserted Text', element: 'ins' },
|
194
|
+
|
195
|
+
{ name: 'Cited Work', element: 'cite' },
|
196
|
+
{ name: 'Inline Quotation', element: 'q' }
|
197
|
+
]
|
198
|
+
});
|
199
|
+
|
200
|
+
</script>
|
201
|
+
</p>
|
202
|
+
<p>
|
203
|
+
<input type="submit" value="Submit">
|
204
|
+
</p>
|
205
|
+
</form>
|
206
|
+
<div id="footer">
|
207
|
+
<hr>
|
208
|
+
<p>
|
209
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
210
|
+
</p>
|
211
|
+
<p id="copy">
|
212
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
213
|
+
Knabben. All rights reserved.
|
214
|
+
</p>
|
215
|
+
</div>
|
216
|
+
</body>
|
217
|
+
</html>
|
@@ -0,0 +1,69 @@
|
|
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>Placeholder 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 Placeholder Plugin
|
16
|
+
</h1>
|
17
|
+
<div class="description">
|
18
|
+
<p>
|
19
|
+
This sample shows how to configure CKEditor instances to use the
|
20
|
+
<strong>Placeholder</strong> plugin that lets you insert read-only elements
|
21
|
+
into your content. To enter and modify read-only text, use the
|
22
|
+
<strong>Create Placeholder</strong> button and its matching dialog window.
|
23
|
+
</p>
|
24
|
+
<p>
|
25
|
+
To add a CKEditor instance that uses the <code>placeholder</code> plugin and a related
|
26
|
+
<strong>Create Placeholder</strong> toolbar button, insert the following JavaScript
|
27
|
+
call to your code:
|
28
|
+
</p>
|
29
|
+
<pre class="samples">
|
30
|
+
CKEDITOR.replace( '<em>textarea_id</em>', {
|
31
|
+
<strong>extraPlugins: 'placeholder',</strong>
|
32
|
+
toolbar: [ [ 'Source', 'Bold' ], [<strong>'CreatePlaceholder'</strong>] ]
|
33
|
+
});</pre>
|
34
|
+
<p>
|
35
|
+
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
|
36
|
+
the <code><textarea></code> element to be replaced with CKEditor.
|
37
|
+
</p>
|
38
|
+
</div>
|
39
|
+
<form action="sample_posteddata.php" method="post">
|
40
|
+
<p>
|
41
|
+
<label for="editor1">
|
42
|
+
CKEditor using the <code>placeholder</code> plugin with its default configuration:
|
43
|
+
</label>
|
44
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is a [[sample placeholder]]. You are using <a href="http://ckeditor.com/">CKEditor</a>. </p></textarea>
|
45
|
+
<script>
|
46
|
+
|
47
|
+
CKEDITOR.replace( 'editor1', {
|
48
|
+
extraPlugins: 'placeholder',
|
49
|
+
toolbar: [ [ 'Source', 'CreatePlaceholder' ] ]
|
50
|
+
});
|
51
|
+
|
52
|
+
</script>
|
53
|
+
</p>
|
54
|
+
<p>
|
55
|
+
<input type="submit" value="Submit">
|
56
|
+
</p>
|
57
|
+
</form>
|
58
|
+
<div id="footer">
|
59
|
+
<hr>
|
60
|
+
<p>
|
61
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
62
|
+
</p>
|
63
|
+
<p id="copy">
|
64
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
65
|
+
Knabben. All rights reserved.
|
66
|
+
</p>
|
67
|
+
</div>
|
68
|
+
</body>
|
69
|
+
</html>
|
@@ -0,0 +1,73 @@
|
|
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 the CKEditor Read-Only API — CKEditor Sample</title>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
<script src="../ckeditor.js"></script>
|
11
|
+
<link rel="stylesheet" href="sample.css">
|
12
|
+
<script>
|
13
|
+
|
14
|
+
var editor;
|
15
|
+
|
16
|
+
// The instanceReady event is fired, when an instance of CKEditor has finished
|
17
|
+
// its initialization.
|
18
|
+
CKEDITOR.on( 'instanceReady', function( ev ) {
|
19
|
+
editor = ev.editor;
|
20
|
+
|
21
|
+
// Show this "on" button.
|
22
|
+
document.getElementById( 'readOnlyOn' ).style.display = '';
|
23
|
+
|
24
|
+
// Event fired when the readOnly property changes.
|
25
|
+
editor.on( 'readOnly', function() {
|
26
|
+
document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
|
27
|
+
document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
|
28
|
+
});
|
29
|
+
});
|
30
|
+
|
31
|
+
function toggleReadOnly( isReadOnly ) {
|
32
|
+
// Change the read-only state of the editor.
|
33
|
+
// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly
|
34
|
+
editor.setReadOnly( isReadOnly );
|
35
|
+
}
|
36
|
+
|
37
|
+
</script>
|
38
|
+
</head>
|
39
|
+
<body>
|
40
|
+
<h1 class="samples">
|
41
|
+
<a href="index.html">CKEditor Samples</a> » Using the CKEditor Read-Only API
|
42
|
+
</h1>
|
43
|
+
<div class="description">
|
44
|
+
<p>
|
45
|
+
This sample shows how to use the
|
46
|
+
<code><a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly">setReadOnly</a></code>
|
47
|
+
API to put editor into the read-only state that makes it impossible for users to change the editor contents.
|
48
|
+
</p>
|
49
|
+
<p>
|
50
|
+
For details on how to create this setup check the source code of this sample page.
|
51
|
+
</p>
|
52
|
+
</div>
|
53
|
+
<form action="sample_posteddata.php" method="post">
|
54
|
+
<p>
|
55
|
+
<textarea class="ckeditor" id="editor1" name="editor1" cols="100" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
56
|
+
</p>
|
57
|
+
<p>
|
58
|
+
<input id="readOnlyOn" onclick="toggleReadOnly();" type="button" value="Make it read-only" style="display:none">
|
59
|
+
<input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none">
|
60
|
+
</p>
|
61
|
+
</form>
|
62
|
+
<div id="footer">
|
63
|
+
<hr>
|
64
|
+
<p>
|
65
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
66
|
+
</p>
|
67
|
+
<p id="copy">
|
68
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
69
|
+
Knabben. All rights reserved.
|
70
|
+
</p>
|
71
|
+
</div>
|
72
|
+
</body>
|
73
|
+
</html>
|
@@ -0,0 +1,95 @@
|
|
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>Replace Textareas by Class Name — 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> » Replace Textarea Elements by Class Name
|
16
|
+
</h1>
|
17
|
+
<div class="description">
|
18
|
+
<p>
|
19
|
+
This sample shows how to automatically replace all <code><textarea></code> elements
|
20
|
+
of a given class with a CKEditor instance.
|
21
|
+
</p>
|
22
|
+
<p>
|
23
|
+
To replace a <code><textarea></code> element, simply assign it the <code>ckeditor</code>
|
24
|
+
class, as in the code below:
|
25
|
+
</p>
|
26
|
+
<pre class="samples">
|
27
|
+
<textarea <strong>class="ckeditor</strong>" name="editor1"></textarea>
|
28
|
+
</pre>
|
29
|
+
<p>
|
30
|
+
Note that other <code><textarea></code> attributes (like <code>id</code> or <code>name</code>) need to be adjusted to your document.
|
31
|
+
</p>
|
32
|
+
</div>
|
33
|
+
<form action="sample_posteddata.php" method="post">
|
34
|
+
<p>
|
35
|
+
<label for="editor1">
|
36
|
+
Editor 1:
|
37
|
+
</label>
|
38
|
+
<textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">
|
39
|
+
<h1>
|
40
|
+
<img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="margin-left: 10px; margin-right: 10px; float: left; width: 120px; height: 168px;" />Little Red Riding Hood</h1>
|
41
|
+
<p>
|
42
|
+
"<b>Little Red Riding Hood</b>" is a famous <a href="http://en.wikipedia.org/wiki/Fairy_tale" title="Fairy tale">fairy tale</a> about a young girl's encounter with a wolf. The story has been changed considerably in its history and subject to numerous modern adaptations and readings.</p>
|
43
|
+
<table align="right" cellpadding="1" cellspacing="1" style="width: 200px;">
|
44
|
+
<caption>
|
45
|
+
<strong>International Names</strong></caption>
|
46
|
+
<tbody>
|
47
|
+
<tr>
|
48
|
+
<td>
|
49
|
+
Chinese</td>
|
50
|
+
<td>
|
51
|
+
<i>小紅帽</i></td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td>
|
55
|
+
Italian</td>
|
56
|
+
<td>
|
57
|
+
<i>Cappuccetto Rosso</i></td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td>
|
61
|
+
Spanish</td>
|
62
|
+
<td>
|
63
|
+
<i>Caperucita Roja</i></td>
|
64
|
+
</tr>
|
65
|
+
</tbody>
|
66
|
+
</table>
|
67
|
+
<p>
|
68
|
+
The version most widely known today is based on the <a href="http://en.wikipedia.org/wiki/Brothers_Grimm" title="Brothers Grimm">Brothers Grimm</a> variant. It is about a girl called Little Red Riding Hood, after the red <a href="http://en.wikipedia.org/wiki/Hood_%28headgear%29" title="Hood (headgear)">hooded</a> <a href="http://en.wikipedia.org/wiki/Cape" title="Cape">cape</a> or <a href="http://en.wikipedia.org/wiki/Cloak" title="Cloak">cloak</a> she wears. The girl walks through the woods to deliver food to her sick grandmother.</p>
|
69
|
+
<p>
|
70
|
+
A wolf wants to eat the girl but is afraid to do so in public. He approaches the girl, and she naïvely tells him where she is going. He suggests the girl pick some flowers, which she does. In the meantime, he goes to the grandmother's house and gains entry by pretending to be the girl. He swallows the grandmother whole, and waits for the girl, disguised as the grandmother.</p>
|
71
|
+
<p>
|
72
|
+
When the girl arrives, she notices he looks very strange to be her grandma. In most retellings, this eventually culminates with Little Red Riding Hood saying, "My, what big teeth you have!"<br />
|
73
|
+
To which the wolf replies, "The better to eat you with," and swallows her whole, too.</p>
|
74
|
+
<p>
|
75
|
+
A <a href="http://en.wikipedia.org/wiki/Hunter" title="Hunter">hunter</a>, however, comes to the rescue and cuts the wolf open. Little Red Riding Hood and her grandmother emerge unharmed. They fill the wolf's body with heavy stones, which drown him when he falls into a well. Other versions of the story have had the grandmother shut in the closet instead of eaten, and some have Little Red Riding Hood saved by the hunter as the wolf advances on her rather than after she is eaten.</p>
|
76
|
+
<p>
|
77
|
+
The tale makes the clearest contrast between the safe world of the village and the dangers of the <a href="http://en.wikipedia.org/wiki/Enchanted_forest" title="Enchanted forest">forest</a>, conventional antitheses that are essentially medieval, though no written versions are as old as that.</p>
|
78
|
+
</textarea>
|
79
|
+
</p>
|
80
|
+
<p>
|
81
|
+
<input type="submit" value="Submit">
|
82
|
+
</p>
|
83
|
+
</form>
|
84
|
+
<div id="footer">
|
85
|
+
<hr>
|
86
|
+
<p>
|
87
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
88
|
+
</p>
|
89
|
+
<p id="copy">
|
90
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
91
|
+
Knabben. All rights reserved.
|
92
|
+
</p>
|
93
|
+
</div>
|
94
|
+
</body>
|
95
|
+
</html>
|