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,93 @@
|
|
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 Textarea by Code — 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> » Replace Textarea Elements Using JavaScript Code
|
16
|
+
</h1>
|
17
|
+
<form action="sample_posteddata.php" method="post">
|
18
|
+
<div class="description">
|
19
|
+
<p>
|
20
|
+
This editor is using an <code><iframe></code> element-based editing area, provided by the <strong>Wysiwygarea</strong> plugin.
|
21
|
+
</p>
|
22
|
+
<pre class="samples">
|
23
|
+
CKEDITOR.replace( '<em>textarea_id</em>' )
|
24
|
+
</pre>
|
25
|
+
</div>
|
26
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10">
|
27
|
+
<h1>
|
28
|
+
<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>
|
29
|
+
<p>
|
30
|
+
"<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>
|
31
|
+
<table align="right" cellpadding="1" cellspacing="1" style="width: 200px;">
|
32
|
+
<caption>
|
33
|
+
<strong>International Names</strong></caption>
|
34
|
+
<tbody>
|
35
|
+
<tr>
|
36
|
+
<td>
|
37
|
+
Chinese</td>
|
38
|
+
<td>
|
39
|
+
<i>小紅帽</i></td>
|
40
|
+
</tr>
|
41
|
+
<tr>
|
42
|
+
<td>
|
43
|
+
Italian</td>
|
44
|
+
<td>
|
45
|
+
<i>Cappuccetto Rosso</i></td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td>
|
49
|
+
Spanish</td>
|
50
|
+
<td>
|
51
|
+
<i>Caperucita Roja</i></td>
|
52
|
+
</tr>
|
53
|
+
</tbody>
|
54
|
+
</table>
|
55
|
+
<p>
|
56
|
+
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>
|
57
|
+
<p>
|
58
|
+
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>
|
59
|
+
<p>
|
60
|
+
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 />
|
61
|
+
To which the wolf replies, "The better to eat you with," and swallows her whole, too.</p>
|
62
|
+
<p>
|
63
|
+
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>
|
64
|
+
<p>
|
65
|
+
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>
|
66
|
+
</textarea>
|
67
|
+
<script>
|
68
|
+
|
69
|
+
// This call can be placed at any point after the
|
70
|
+
// <textarea>, or inside a <head><script> in a
|
71
|
+
// window.onload event handler.
|
72
|
+
|
73
|
+
// Replace the <textarea id="editor"> with an CKEditor
|
74
|
+
// instance, using default configurations.
|
75
|
+
CKEDITOR.replace( 'editor1' );
|
76
|
+
|
77
|
+
</script>
|
78
|
+
<p>
|
79
|
+
<input type="submit" value="Submit">
|
80
|
+
</p>
|
81
|
+
</form>
|
82
|
+
<div id="footer">
|
83
|
+
<hr>
|
84
|
+
<p>
|
85
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
86
|
+
</p>
|
87
|
+
<p id="copy">
|
88
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
89
|
+
Knabben. All rights reserved.
|
90
|
+
</p>
|
91
|
+
</div>
|
92
|
+
</body>
|
93
|
+
</html>
|
@@ -0,0 +1,261 @@
|
|
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
|
+
html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre
|
7
|
+
{
|
8
|
+
line-height: 1.5em;
|
9
|
+
}
|
10
|
+
|
11
|
+
body
|
12
|
+
{
|
13
|
+
padding: 10px 30px;
|
14
|
+
}
|
15
|
+
|
16
|
+
input, textarea, select, option, optgroup, button, td, th
|
17
|
+
{
|
18
|
+
font-size: 100%;
|
19
|
+
}
|
20
|
+
|
21
|
+
pre, code, kbd, samp, tt
|
22
|
+
{
|
23
|
+
font-family: monospace,monospace;
|
24
|
+
font-size: 1em;
|
25
|
+
}
|
26
|
+
|
27
|
+
code
|
28
|
+
{
|
29
|
+
background: #f3f3f3;
|
30
|
+
border: 1px solid #ddd;
|
31
|
+
padding: 1px 4px;
|
32
|
+
|
33
|
+
-moz-border-radius: 3px;
|
34
|
+
-webkit-border-radius: 3px;
|
35
|
+
border-radius: 3px;
|
36
|
+
}
|
37
|
+
|
38
|
+
.new
|
39
|
+
{
|
40
|
+
background: #FF7E00;
|
41
|
+
border: 1px solid #DA8028;
|
42
|
+
color: #fff;
|
43
|
+
font-size: 10px;
|
44
|
+
font-weight: bold;
|
45
|
+
padding: 1px 4px;
|
46
|
+
text-shadow: 0 1px 0 #C97626;
|
47
|
+
text-transform: uppercase;
|
48
|
+
margin: 0 0 0 3px;
|
49
|
+
|
50
|
+
-moz-border-radius: 3px;
|
51
|
+
-webkit-border-radius: 3px;
|
52
|
+
border-radius: 3px;
|
53
|
+
|
54
|
+
-moz-box-shadow: 0 2px 3px 0 #FFA54E inset;
|
55
|
+
-webkit-box-shadow: 0 2px 3px 0 #FFA54E inset;
|
56
|
+
box-shadow: 0 2px 3px 0 #FFA54E inset;
|
57
|
+
}
|
58
|
+
|
59
|
+
h1.samples
|
60
|
+
{
|
61
|
+
color: #0782C1;
|
62
|
+
font-size: 200%;
|
63
|
+
font-weight: normal;
|
64
|
+
margin: 0;
|
65
|
+
padding: 0;
|
66
|
+
}
|
67
|
+
|
68
|
+
h1.samples a
|
69
|
+
{
|
70
|
+
color: #0782C1;
|
71
|
+
text-decoration: none;
|
72
|
+
border-bottom: 1px dotted #0782C1;
|
73
|
+
}
|
74
|
+
|
75
|
+
.samples a:hover
|
76
|
+
{
|
77
|
+
border-bottom: 1px dotted #0782C1;
|
78
|
+
}
|
79
|
+
|
80
|
+
h2.samples
|
81
|
+
{
|
82
|
+
color: #000000;
|
83
|
+
font-size: 130%;
|
84
|
+
margin: 0;
|
85
|
+
padding: 0;
|
86
|
+
}
|
87
|
+
|
88
|
+
p, blockquote, address, form, pre, dl, h1.samples, h2.samples
|
89
|
+
{
|
90
|
+
margin-bottom: 15px;
|
91
|
+
}
|
92
|
+
|
93
|
+
ul.samples
|
94
|
+
{
|
95
|
+
margin-bottom: 15px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.clear
|
99
|
+
{
|
100
|
+
clear: both;
|
101
|
+
}
|
102
|
+
|
103
|
+
fieldset
|
104
|
+
{
|
105
|
+
margin: 0;
|
106
|
+
padding: 10px;
|
107
|
+
}
|
108
|
+
|
109
|
+
body, input, textarea
|
110
|
+
{
|
111
|
+
color: #333333;
|
112
|
+
font-family: Arial, Helvetica, sans-serif;
|
113
|
+
}
|
114
|
+
|
115
|
+
body
|
116
|
+
{
|
117
|
+
font-size: 75%;
|
118
|
+
}
|
119
|
+
|
120
|
+
a.samples
|
121
|
+
{
|
122
|
+
color: #189DE1;
|
123
|
+
text-decoration: none;
|
124
|
+
}
|
125
|
+
|
126
|
+
form
|
127
|
+
{
|
128
|
+
margin: 0;
|
129
|
+
padding: 0;
|
130
|
+
}
|
131
|
+
|
132
|
+
pre.samples
|
133
|
+
{
|
134
|
+
background-color: #F7F7F7;
|
135
|
+
border: 1px solid #D7D7D7;
|
136
|
+
overflow: auto;
|
137
|
+
padding: 0.25em;
|
138
|
+
}
|
139
|
+
|
140
|
+
#footer
|
141
|
+
{
|
142
|
+
clear: both;
|
143
|
+
padding-top: 10px;
|
144
|
+
}
|
145
|
+
|
146
|
+
#footer hr
|
147
|
+
{
|
148
|
+
margin: 10px 0 15px 0;
|
149
|
+
height: 1px;
|
150
|
+
border: solid 1px gray;
|
151
|
+
border-bottom: none;
|
152
|
+
}
|
153
|
+
|
154
|
+
#footer p
|
155
|
+
{
|
156
|
+
margin: 0 10px 10px 10px;
|
157
|
+
float: left;
|
158
|
+
}
|
159
|
+
|
160
|
+
#footer #copy
|
161
|
+
{
|
162
|
+
float: right;
|
163
|
+
}
|
164
|
+
|
165
|
+
#outputSample
|
166
|
+
{
|
167
|
+
width: 100%;
|
168
|
+
table-layout: fixed;
|
169
|
+
}
|
170
|
+
|
171
|
+
#outputSample thead th
|
172
|
+
{
|
173
|
+
color: #dddddd;
|
174
|
+
background-color: #999999;
|
175
|
+
padding: 4px;
|
176
|
+
white-space: nowrap;
|
177
|
+
}
|
178
|
+
|
179
|
+
#outputSample tbody th
|
180
|
+
{
|
181
|
+
vertical-align: top;
|
182
|
+
text-align: left;
|
183
|
+
}
|
184
|
+
|
185
|
+
#outputSample pre
|
186
|
+
{
|
187
|
+
margin: 0;
|
188
|
+
padding: 0;
|
189
|
+
white-space: pre; /* CSS2 */
|
190
|
+
white-space: -moz-pre-wrap; /* Mozilla*/
|
191
|
+
white-space: -o-pre-wrap; /* Opera 7 */
|
192
|
+
white-space: pre-wrap; /* CSS 2.1 */
|
193
|
+
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
|
194
|
+
word-wrap: break-word; /* IE */
|
195
|
+
}
|
196
|
+
|
197
|
+
.description
|
198
|
+
{
|
199
|
+
border: 1px dotted #B7B7B7;
|
200
|
+
margin-bottom: 10px;
|
201
|
+
padding: 10px 10px 0;
|
202
|
+
}
|
203
|
+
|
204
|
+
label
|
205
|
+
{
|
206
|
+
display: block;
|
207
|
+
margin-bottom: 6px;
|
208
|
+
}
|
209
|
+
|
210
|
+
/**
|
211
|
+
* CKEditor editables are automatically set with the "cke_editable" class.
|
212
|
+
*/
|
213
|
+
|
214
|
+
.cke_editable[contenteditable=true]
|
215
|
+
{
|
216
|
+
outline: 3px dotted orange !important;
|
217
|
+
*border: 3px dotted orange !important; /* For IE7 */
|
218
|
+
}
|
219
|
+
|
220
|
+
/**
|
221
|
+
* Samples index styles.
|
222
|
+
*/
|
223
|
+
|
224
|
+
.twoColumns,
|
225
|
+
.twoColumnsLeft,
|
226
|
+
.twoColumnsRight
|
227
|
+
{
|
228
|
+
overflow: hidden;
|
229
|
+
}
|
230
|
+
|
231
|
+
.twoColumnsLeft,
|
232
|
+
.twoColumnsRight
|
233
|
+
{
|
234
|
+
width: 45%;
|
235
|
+
}
|
236
|
+
|
237
|
+
.twoColumnsLeft
|
238
|
+
{
|
239
|
+
float: left;
|
240
|
+
}
|
241
|
+
|
242
|
+
.twoColumnsRight
|
243
|
+
{
|
244
|
+
float: right;
|
245
|
+
}
|
246
|
+
|
247
|
+
dl.samples
|
248
|
+
{
|
249
|
+
padding: 0 0 0 40px;
|
250
|
+
}
|
251
|
+
dl.samples > dt
|
252
|
+
{
|
253
|
+
display: list-item;
|
254
|
+
list-style-type: disc;
|
255
|
+
list-style-position: outside;
|
256
|
+
margin: 0 0 3px;
|
257
|
+
}
|
258
|
+
dl.samples > dd
|
259
|
+
{
|
260
|
+
margin: 0 0 3px;
|
261
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?php /* <body><pre>
|
2
|
+
|
3
|
+
-------------------------------------------------------------------------------------------
|
4
|
+
CKEditor - Posted Data
|
5
|
+
|
6
|
+
We are sorry, but your Web server does not support the PHP language used in this script.
|
7
|
+
|
8
|
+
Please note that CKEditor can be used with any other server-side language than just PHP.
|
9
|
+
To save the content created with CKEditor you need to read the POST data on the server
|
10
|
+
side and write it to a file or the database.
|
11
|
+
|
12
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
13
|
+
For licensing, see LICENSE.html or <a href="http://ckeditor.com/license">http://ckeditor.com/license</a>
|
14
|
+
-------------------------------------------------------------------------------------------
|
15
|
+
|
16
|
+
</pre><div style="display:none"></body> */ include "assets/posteddata.php"; ?>
|
@@ -0,0 +1,77 @@
|
|
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 Stylesheet Parser 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 Stylesheet Parser Plugin
|
16
|
+
</h1>
|
17
|
+
<div class="description">
|
18
|
+
<p>
|
19
|
+
This sample shows how to configure CKEditor instances to use the
|
20
|
+
<strong>Stylesheet Parser</strong> (<code>stylesheetparser</code>) plugin that fills
|
21
|
+
the <strong>Styles</strong> drop-down list based on the CSS rules available in the document stylesheet.
|
22
|
+
</p>
|
23
|
+
<p>
|
24
|
+
To add a CKEditor instance using the <code>stylesheetparser</code> plugin, insert
|
25
|
+
the following JavaScript call into your code:
|
26
|
+
</p>
|
27
|
+
<pre class="samples">
|
28
|
+
CKEDITOR.replace( '<em>textarea_id</em>', {
|
29
|
+
<strong>extraPlugins: 'stylesheetparser'</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 with CKEditor.
|
34
|
+
</p>
|
35
|
+
</div>
|
36
|
+
<form action="sample_posteddata.php" method="post">
|
37
|
+
<p>
|
38
|
+
<label for="editor1">
|
39
|
+
CKEditor using the <code>stylesheetparser</code> plugin with its default configuration:
|
40
|
+
</label>
|
41
|
+
<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>
|
42
|
+
<script>
|
43
|
+
|
44
|
+
// This call can be placed at any point after the
|
45
|
+
// <textarea>, or inside a <head><script> in a
|
46
|
+
// window.onload event handler.
|
47
|
+
|
48
|
+
// Replace the <textarea id="editor"> with an CKEditor
|
49
|
+
// instance, using default configurations.
|
50
|
+
CKEDITOR.replace( 'editor1' , {
|
51
|
+
extraPlugins: 'stylesheetparser',
|
52
|
+
|
53
|
+
// Stylesheet for the contents.
|
54
|
+
contentsCss: 'assets/stylesheetparser/sample.css',
|
55
|
+
|
56
|
+
// Do not load the default Styles configuration.
|
57
|
+
stylesSet: []
|
58
|
+
});
|
59
|
+
|
60
|
+
</script>
|
61
|
+
</p>
|
62
|
+
<p>
|
63
|
+
<input type="submit" value="Submit">
|
64
|
+
</p>
|
65
|
+
</form>
|
66
|
+
<div id="footer">
|
67
|
+
<hr>
|
68
|
+
<p>
|
69
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
70
|
+
</p>
|
71
|
+
<p id="copy">
|
72
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
73
|
+
Knabben. All rights reserved.
|
74
|
+
</p>
|
75
|
+
</div>
|
76
|
+
</body>
|
77
|
+
</html>
|