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,338 @@
|
|
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>Massive inline editing — CKEditor Sample</title>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
<script src="../ckeditor.js"></script>
|
11
|
+
<script>
|
12
|
+
|
13
|
+
// This code is generally not necessary, but it is here to demonstrate
|
14
|
+
// how to customize specific editor instances on the fly. This fits well
|
15
|
+
// this demo because we have editable elements (like headers) that
|
16
|
+
// require less features.
|
17
|
+
|
18
|
+
// The "instanceCreated" event is fired for every editor instance created.
|
19
|
+
CKEDITOR.on( 'instanceCreated', function( event ) {
|
20
|
+
var editor = event.editor,
|
21
|
+
element = editor.element;
|
22
|
+
|
23
|
+
// Customize editors for headers and tag list.
|
24
|
+
// These editors don't need features like smileys, templates, iframes etc.
|
25
|
+
if ( element.is( 'h1', 'h2', 'h3' ) || element.getAttribute( 'id' ) == 'taglist' ) {
|
26
|
+
// Customize the editor configurations on "configLoaded" event,
|
27
|
+
// which is fired after the configuration file loading and
|
28
|
+
// execution. This makes it possible to change the
|
29
|
+
// configurations before the editor initialization takes place.
|
30
|
+
editor.on( 'configLoaded', function() {
|
31
|
+
|
32
|
+
// Remove unnecessary plugins to make the editor simpler.
|
33
|
+
editor.config.removePlugins = 'colorbutton,find,flash,font,' +
|
34
|
+
'forms,iframe,image,newpage,removeformat,scayt,' +
|
35
|
+
'smiley,specialchar,stylescombo,templates,wsc';
|
36
|
+
|
37
|
+
// Rearrange the layout of the toolbar.
|
38
|
+
editor.config.toolbarGroups = [
|
39
|
+
{ name: 'editing', groups: [ 'basicstyles', 'links' ] },
|
40
|
+
{ name: 'undo' },
|
41
|
+
{ name: 'clipboard', groups: [ 'selection', 'clipboard' ] },
|
42
|
+
{ name: 'about' }
|
43
|
+
];
|
44
|
+
});
|
45
|
+
}
|
46
|
+
});
|
47
|
+
|
48
|
+
</script>
|
49
|
+
<link href="sample.css" rel="stylesheet">
|
50
|
+
<style>
|
51
|
+
|
52
|
+
/* Style a bit the editable elements (mainly cursor) */
|
53
|
+
.cke_editable[contenteditable="true"]
|
54
|
+
{
|
55
|
+
outline: none !important;
|
56
|
+
*border: none !important; /* IE7 */
|
57
|
+
|
58
|
+
padding: 10px;
|
59
|
+
outline: none !important;
|
60
|
+
cursor: pointer;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* Once an editable element gets focused, the "cke_focus" class is
|
64
|
+
added to it, so we can style it differently. */
|
65
|
+
.cke_editable.cke_focus
|
66
|
+
{
|
67
|
+
box-shadow: inset 0px 0px 20px 3px #ddd;
|
68
|
+
outline: 1px solid #ddd !important;
|
69
|
+
*border: 1px solid #ddd !important; /* IE7 */
|
70
|
+
cursor: auto;
|
71
|
+
background: #eee;
|
72
|
+
}
|
73
|
+
|
74
|
+
/* The following styles are just to make the page look nice. */
|
75
|
+
|
76
|
+
/* Workaround to show Arial Black in Firefox. */
|
77
|
+
@font-face
|
78
|
+
{
|
79
|
+
font-family: 'arial-black';
|
80
|
+
src: local('Arial Black');
|
81
|
+
}
|
82
|
+
|
83
|
+
#container
|
84
|
+
{
|
85
|
+
width: 960px;
|
86
|
+
margin: 30px auto 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
#header
|
90
|
+
{
|
91
|
+
overflow: hidden;
|
92
|
+
padding: 0 0 30px;
|
93
|
+
border-bottom: 5px solid #05B2D2;
|
94
|
+
position: relative;
|
95
|
+
}
|
96
|
+
|
97
|
+
#headerLeft,
|
98
|
+
#headerRight
|
99
|
+
{
|
100
|
+
width: 49%;
|
101
|
+
overflow: hidden;
|
102
|
+
}
|
103
|
+
|
104
|
+
#headerLeft
|
105
|
+
{
|
106
|
+
float: left;
|
107
|
+
padding: 10px 1px 1px;
|
108
|
+
}
|
109
|
+
|
110
|
+
#headerLeft h2,
|
111
|
+
#headerLeft h3
|
112
|
+
{
|
113
|
+
text-align: right;
|
114
|
+
margin: 0;
|
115
|
+
overflow: hidden;
|
116
|
+
font-weight: normal;
|
117
|
+
}
|
118
|
+
|
119
|
+
#headerLeft h2
|
120
|
+
{
|
121
|
+
font-family: "Arial Black",arial-black;
|
122
|
+
font-size: 4.6em;
|
123
|
+
line-height: 1.1em;
|
124
|
+
text-transform: uppercase;
|
125
|
+
}
|
126
|
+
|
127
|
+
#headerLeft h3
|
128
|
+
{
|
129
|
+
font-size: 2.3em;
|
130
|
+
line-height: 1.1em;
|
131
|
+
margin: .2em 0 0;
|
132
|
+
color: #666;
|
133
|
+
}
|
134
|
+
|
135
|
+
#headerRight
|
136
|
+
{
|
137
|
+
float: right;
|
138
|
+
padding: 1px;
|
139
|
+
}
|
140
|
+
|
141
|
+
#headerRight p
|
142
|
+
{
|
143
|
+
font-size: 1.4em;
|
144
|
+
text-align: justify;
|
145
|
+
line-height: 1.8em;
|
146
|
+
margin: 0;
|
147
|
+
color: #666;
|
148
|
+
}
|
149
|
+
|
150
|
+
#headerRight p + p
|
151
|
+
{
|
152
|
+
margin-top: 20px;
|
153
|
+
}
|
154
|
+
|
155
|
+
#headerRight div
|
156
|
+
{
|
157
|
+
padding: 20px;
|
158
|
+
margin: 0 0 0 30px;
|
159
|
+
}
|
160
|
+
|
161
|
+
#columns
|
162
|
+
{
|
163
|
+
color: #333;
|
164
|
+
overflow: hidden;
|
165
|
+
padding: 20px 0;
|
166
|
+
}
|
167
|
+
|
168
|
+
#columns > div
|
169
|
+
{
|
170
|
+
float: left;
|
171
|
+
width: 33.3%;
|
172
|
+
}
|
173
|
+
|
174
|
+
#columns #column1 > div
|
175
|
+
{
|
176
|
+
margin-left: 1px;
|
177
|
+
}
|
178
|
+
|
179
|
+
#columns #column3 > div
|
180
|
+
{
|
181
|
+
margin-right: 1px;
|
182
|
+
}
|
183
|
+
|
184
|
+
#columns > div > div
|
185
|
+
{
|
186
|
+
margin: 0px 10px;
|
187
|
+
padding: 10px 20px;
|
188
|
+
}
|
189
|
+
|
190
|
+
#columns blockquote
|
191
|
+
{
|
192
|
+
position: relative;
|
193
|
+
}
|
194
|
+
|
195
|
+
#columns blockquote:before
|
196
|
+
{
|
197
|
+
content: "\201C";
|
198
|
+
font-size: 60px;
|
199
|
+
position: absolute;
|
200
|
+
left: -30px;
|
201
|
+
top: 10px;
|
202
|
+
color: #666;
|
203
|
+
}
|
204
|
+
|
205
|
+
#tagLine
|
206
|
+
{
|
207
|
+
border-top: 5px solid #05B2D2;
|
208
|
+
padding-top: 20px;
|
209
|
+
}
|
210
|
+
|
211
|
+
#taglist {
|
212
|
+
display: inline-block;
|
213
|
+
margin-left: 20px;
|
214
|
+
font-weight: bold;
|
215
|
+
margin: 0 0 0 20px;
|
216
|
+
}
|
217
|
+
|
218
|
+
</style>
|
219
|
+
</head>
|
220
|
+
<body>
|
221
|
+
<div>
|
222
|
+
<h1 class="samples"><a href="index.html">CKEditor Samples</a> » Massive inline editing</h1>
|
223
|
+
<div class="description">
|
224
|
+
<p>This sample page demonstrates the inline editing feature - CKEditor instances will be created automatically from page elements with <strong>contentEditable</strong> attribute set to value <strong>true</strong>:</p>
|
225
|
+
<pre class="samples"><div <strong>contenteditable="true</strong>" > ... </div></pre>
|
226
|
+
<p>Click inside of any element below to start editing.</p>
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
<div id="container">
|
230
|
+
<div id="header">
|
231
|
+
<div id="headerLeft">
|
232
|
+
<h2 id="sampleTitle" contenteditable="true">
|
233
|
+
CKEditor<br> Goes Inline!
|
234
|
+
</h2>
|
235
|
+
<h3 contenteditable="true">
|
236
|
+
Lorem ipsum dolor sit amet dolor duis blandit vestibulum faucibus a, tortor.
|
237
|
+
</h3>
|
238
|
+
</div>
|
239
|
+
<div id="headerRight">
|
240
|
+
<div contenteditable="true">
|
241
|
+
<p>
|
242
|
+
Lorem ipsum dolor sit amet enim. Etiam ullamcorper. Suspendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies.
|
243
|
+
</p>
|
244
|
+
<p>
|
245
|
+
Curabitur et ligula. Ut molestie a, ultricies porta urna. Vestibulum commodo volutpat a, convallis ac, laoreet enim. Phasellus fermentum in, dolor. Pellentesque facilisis. Nulla imperdiet sit amet magna. Vestibulum dapibus, mauris nec malesuada fames ac.
|
246
|
+
</p>
|
247
|
+
</div>
|
248
|
+
</div>
|
249
|
+
</div>
|
250
|
+
<div id="columns">
|
251
|
+
<div id="column1">
|
252
|
+
<div contenteditable="true">
|
253
|
+
<h3>
|
254
|
+
Fusce vitae porttitor
|
255
|
+
</h3>
|
256
|
+
<p>
|
257
|
+
<strong>
|
258
|
+
Lorem ipsum dolor sit amet dolor. Duis blandit vestibulum faucibus a, tortor.
|
259
|
+
</strong>
|
260
|
+
</p>
|
261
|
+
<p>
|
262
|
+
Proin nunc justo felis mollis tincidunt, risus risus pede, posuere cubilia Curae, Nullam euismod, enim. Etiam nibh ultricies dolor ac dignissim erat volutpat. Vivamus fermentum <a href="http://ckeditor.com/">nisl nulla sem in</a> metus. Maecenas wisi. Donec nec erat volutpat.
|
263
|
+
</p>
|
264
|
+
<blockquote>
|
265
|
+
<p>
|
266
|
+
Fusce vitae porttitor a, euismod convallis nisl, blandit risus tortor, pretium.
|
267
|
+
Vehicula vitae, imperdiet vel, ornare enim vel sodales rutrum
|
268
|
+
</p>
|
269
|
+
</blockquote>
|
270
|
+
<blockquote>
|
271
|
+
<p>
|
272
|
+
Libero nunc, rhoncus ante ipsum non ipsum. Nunc eleifend pede turpis id sollicitudin fringilla. Phasellus ultrices, velit ac arcu.
|
273
|
+
</p>
|
274
|
+
</blockquote>
|
275
|
+
<p>Pellentesque nunc. Donec suscipit erat. Pellentesque habitant morbi tristique ullamcorper.</p>
|
276
|
+
<p><strike>Mauris mattis feugiat lectus nec mauris. Nullam vitae ante.</strike></p>
|
277
|
+
</div>
|
278
|
+
</div>
|
279
|
+
<div id="column2">
|
280
|
+
<div contenteditable="true">
|
281
|
+
<h3>
|
282
|
+
Integer condimentum sit amet
|
283
|
+
</h3>
|
284
|
+
<p>
|
285
|
+
<strong>Aenean nonummy a, mattis varius. Cras aliquet.</strong>
|
286
|
+
Praesent <a href="http://ckeditor.com/">magna non mattis ac, rhoncus nunc</a>, rhoncus eget, cursus pulvinar mollis.</p>
|
287
|
+
<p>Proin id nibh. Sed eu libero posuere sed, lectus. Phasellus dui gravida gravida feugiat mattis ac, felis.</p>
|
288
|
+
<p>Integer condimentum sit amet, tempor elit odio, a dolor non ante at sapien. Sed ac lectus. Nulla ligula quis eleifend mi, id leo velit pede cursus arcu id nulla ac lectus. Phasellus vestibulum. Nunc viverra enim quis diam.</p>
|
289
|
+
</div>
|
290
|
+
<div contenteditable="true">
|
291
|
+
<h3>
|
292
|
+
Praesent wisi accumsan sit amet nibh
|
293
|
+
</h3>
|
294
|
+
<p>Donec ullamcorper, risus tortor, pretium porttitor. Morbi quam quis lectus non leo.</p>
|
295
|
+
<p style="margin-left: 40px; ">Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce <a href="http://ckeditor.com/">gravida, erat vitae augue</a>. Fusce urna fringilla gravida.</p>
|
296
|
+
<p>In hac habitasse platea dictumst. Praesent wisi accumsan sit amet nibh. Maecenas orci luctus a, lacinia quam sem, posuere commodo, odio condimentum tempor, pede semper risus. Suspendisse pede. In hac habitasse platea dictumst. Nam sed laoreet sit amet erat. Integer.</p>
|
297
|
+
</div>
|
298
|
+
</div>
|
299
|
+
<div id="column3">
|
300
|
+
<div contenteditable="true">
|
301
|
+
<p>
|
302
|
+
<img src="assets/inlineall/logo.png" alt="CKEditor logo" style="float:left">
|
303
|
+
</p>
|
304
|
+
<p>Quisque justo neque, mattis sed, fermentum ultrices <strong>posuere cubilia Curae</strong>, Vestibulum elit metus, quis placerat ut, lectus. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi.</p>
|
305
|
+
<h3>
|
306
|
+
Nullam laoreet vel consectetuer tellus suscipit
|
307
|
+
</h3>
|
308
|
+
<ul>
|
309
|
+
<li>Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis.</li>
|
310
|
+
<li>Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi.</li>
|
311
|
+
<li>Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.</li>
|
312
|
+
</ul>
|
313
|
+
<p>Quisque justo neque, mattis sed, <a href="http://ckeditor.com/">fermentum ultrices posuere cubilia</a> Curae, Vestibulum elit metus, quis placerat ut, lectus.</p>
|
314
|
+
<p>Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis.</p>
|
315
|
+
<p>Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi. Sed in nonummy faucibus turpis. Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.</p>
|
316
|
+
</div>
|
317
|
+
</div>
|
318
|
+
</div>
|
319
|
+
<div id="tagLine">
|
320
|
+
Tags of this article:
|
321
|
+
<p id="taglist" contenteditable="true">
|
322
|
+
inline, editing, floating, CKEditor
|
323
|
+
</p>
|
324
|
+
</div>
|
325
|
+
</div>
|
326
|
+
<div id="footer">
|
327
|
+
<hr>
|
328
|
+
<p>
|
329
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">
|
330
|
+
http://ckeditor.com</a>
|
331
|
+
</p>
|
332
|
+
<p id="copy">
|
333
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a>
|
334
|
+
- Frederico Knabben. All rights reserved.
|
335
|
+
</p>
|
336
|
+
</div>
|
337
|
+
</body>
|
338
|
+
</html>
|
@@ -0,0 +1,138 @@
|
|
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>Inline Editing by Code — CKEditor Sample</title>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
<script src="../ckeditor.js"></script>
|
11
|
+
<link href="sample.css" rel="stylesheet">
|
12
|
+
<style>
|
13
|
+
|
14
|
+
#editable
|
15
|
+
{
|
16
|
+
width: 45%;
|
17
|
+
padding: 10px;
|
18
|
+
float: left;
|
19
|
+
}
|
20
|
+
|
21
|
+
</style>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<h1 class="samples">
|
25
|
+
<a href="index.html">CKEditor Samples</a> » Inline Editing by Code
|
26
|
+
</h1>
|
27
|
+
<div class="description">
|
28
|
+
<p>
|
29
|
+
This sample shows how to create an inline editor instance of CKEditor. It is created
|
30
|
+
with a JavaScript call using the following code:
|
31
|
+
</p>
|
32
|
+
<pre class="samples">
|
33
|
+
// This property tells CKEditor to not activate every element with contenteditable=true element.
|
34
|
+
CKEDITOR.disableAutoInline = true;
|
35
|
+
|
36
|
+
var editor = CKEDITOR.inline( document.getElementById( 'editable' ) );
|
37
|
+
</pre>
|
38
|
+
<p>
|
39
|
+
Note that <code>editable</code> in the code above is the <code>id</code>
|
40
|
+
attribute of the <code><div></code> element to be converted into an inline instance.
|
41
|
+
</p>
|
42
|
+
</div>
|
43
|
+
<div id="editable" contenteditable="true">
|
44
|
+
<h2>
|
45
|
+
<img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="margin-left: 10px;
|
46
|
+
margin-right: 10px; float: left; width: 120px; height: 168px;">Little Red
|
47
|
+
Riding Hood
|
48
|
+
</h2>
|
49
|
+
<p>
|
50
|
+
"<b>Little Red Riding Hood</b>" is a famous <a href="http://en.wikipedia.org/wiki/Fairy_tale"
|
51
|
+
title="Fairy tale">fairy tale</a> about a young girl's encounter with a
|
52
|
+
wolf. The story has been changed considerably in its history and subject to numerous
|
53
|
+
modern adaptations and readings.
|
54
|
+
</p>
|
55
|
+
<table style="width: 200px; float: right;">
|
56
|
+
<caption>
|
57
|
+
<strong>International Names</strong>
|
58
|
+
</caption>
|
59
|
+
<tbody>
|
60
|
+
<tr>
|
61
|
+
<td>
|
62
|
+
Chinese
|
63
|
+
</td>
|
64
|
+
<td>
|
65
|
+
<i>小紅帽</i>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td>
|
70
|
+
Italian
|
71
|
+
</td>
|
72
|
+
<td>
|
73
|
+
<i>Cappuccetto Rosso</i>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td>
|
78
|
+
Spanish
|
79
|
+
</td>
|
80
|
+
<td>
|
81
|
+
<i>Caperucita Roja</i>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
</tbody>
|
85
|
+
</table>
|
86
|
+
<p>
|
87
|
+
The version most widely known today is based on the <a href="http://en.wikipedia.org/wiki/Brothers_Grimm"
|
88
|
+
title="Brothers Grimm">Brothers Grimm</a> variant. It is about a girl called
|
89
|
+
Little Red Riding Hood, after the red <a href="http://en.wikipedia.org/wiki/Hood_%28headgear%29"
|
90
|
+
title="Hood (headgear)">hooded</a> <a href="http://en.wikipedia.org/wiki/Cape" title="Cape">
|
91
|
+
cape</a> or <a href="http://en.wikipedia.org/wiki/Cloak" title="Cloak">cloak</a>
|
92
|
+
she wears. The girl walks through the woods to deliver food to her sick grandmother.</p>
|
93
|
+
<p>
|
94
|
+
A wolf wants to eat the girl but is afraid to do so in public. He approaches the
|
95
|
+
girl, and she naïvely tells him where she is going. He suggests the girl pick
|
96
|
+
some flowers, which she does. In the meantime, he goes to the grandmother's
|
97
|
+
house and gains entry by pretending to be the girl. He swallows the grandmother
|
98
|
+
whole, and waits for the girl, disguised as the grandmother.</p>
|
99
|
+
<p>
|
100
|
+
When the girl arrives, she notices he looks very strange to be her grandma. In most
|
101
|
+
retellings, this eventually culminates with Little Red Riding Hood saying, "My,
|
102
|
+
what big teeth you have!"<br>
|
103
|
+
To which the wolf replies, "The better to eat you with," and swallows
|
104
|
+
her whole, too.</p>
|
105
|
+
<p>
|
106
|
+
A <a href="http://en.wikipedia.org/wiki/Hunter" title="Hunter">hunter</a>, however,
|
107
|
+
comes to the rescue and cuts the wolf open. Little Red Riding Hood and her grandmother
|
108
|
+
emerge unharmed. They fill the wolf's body with heavy stones, which drown him
|
109
|
+
when he falls into a well. Other versions of the story have had the grandmother
|
110
|
+
shut in the closet instead of eaten, and some have Little Red Riding Hood saved
|
111
|
+
by the hunter as the wolf advances on her rather than after she is eaten.</p>
|
112
|
+
<p>
|
113
|
+
The tale makes the clearest contrast between the safe world of the village and the
|
114
|
+
dangers of the <a href="http://en.wikipedia.org/wiki/Enchanted_forest" title="Enchanted forest">
|
115
|
+
forest</a>, conventional antitheses that are essentially medieval, though no
|
116
|
+
written versions are as old as that.</p>
|
117
|
+
</div>
|
118
|
+
<script>
|
119
|
+
|
120
|
+
// We need to turn off the automatic editor creation first.
|
121
|
+
CKEDITOR.disableAutoInline = true;
|
122
|
+
|
123
|
+
var editor = CKEDITOR.inline( 'editable' );
|
124
|
+
|
125
|
+
</script>
|
126
|
+
<div id="footer">
|
127
|
+
<hr>
|
128
|
+
<p contenteditable="true">
|
129
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">
|
130
|
+
http://ckeditor.com</a>
|
131
|
+
</p>
|
132
|
+
<p id="copy">
|
133
|
+
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a>
|
134
|
+
- Frederico Knabben. All rights reserved.
|
135
|
+
</p>
|
136
|
+
</div>
|
137
|
+
</body>
|
138
|
+
</html>
|