frontendeditor_ckeditor 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +45 -10
- data/lib/frontendeditor_ckeditor/version.rb +1 -1
- data/lib/frontendeditor_ckeditor.rb +1 -0
- data/vendor/assets/javascripts/ckeditor/init_ckeditor.coffee +1 -4
- metadata +18 -404
- data/vendor/assets/javascripts/ckeditor/API-CHANGES.md +0 -195
- data/vendor/assets/javascripts/ckeditor/LICENSE.md +0 -1274
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +0 -847
- data/vendor/assets/javascripts/ckeditor/config.js +0 -11
- data/vendor/assets/javascripts/ckeditor/contents.css +0 -25
- data/vendor/assets/javascripts/ckeditor/lang/_languages.js +0 -7
- data/vendor/assets/javascripts/ckeditor/lang/_translationstatus.txt +0 -63
- data/vendor/assets/javascripts/ckeditor/lang/af.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ar.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/bg.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/bn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/bs.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ca.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/cs.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/cy.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/da.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/de.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/el.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/en-au.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/en.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/eo.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/es.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/et.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/eu.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fa.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fo.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/fr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/gl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/gu.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/he.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/hi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/hr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/hu.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/is.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/it.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ja.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ka.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/km.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ko.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/lt.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/lv.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/mk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/mn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ms.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/nb.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/nl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/no.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/pl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/pt.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ro.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/sv.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/th.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/tr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/ug.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/uk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/vi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/lang/zh.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -7
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/ajax/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +0 -22
- data/vendor/assets/javascripts/ckeditor/plugins/bbcode/samples/bbcode.html +0 -172
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/samples/clipboard.html +0 -210
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +0 -27
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/devtools/plugin.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/vendor/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/divarea/plugin.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +0 -25
- 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 +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ar.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bg.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bn.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/bs.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ca.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/cs.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/cy.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/da.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/de.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/el.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-au.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-ca.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en-gb.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/en.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/eo.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/es.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/et.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/eu.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fa.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fi.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fo.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fr-ca.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/fr.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/gl.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/gu.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/he.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hi.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hr.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/hu.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/is.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/it.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ja.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ka.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/km.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ko.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/lt.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/lv.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/mk.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/mn.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ms.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/nb.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/nl.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/no.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pl.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pt-br.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/pt.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ro.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ru.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sk.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sl.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sr-latn.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sr.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/sv.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/th.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/tr.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/ug.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/uk.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/vi.js +0 -3
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/zh-cn.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/lang/zh.js +0 -2
- data/vendor/assets/javascripts/ckeditor/plugins/docprops/plugin.js +0 -6
- data/vendor/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -25
- data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -23
- data/vendor/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -20
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -10
- 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 +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -41
- data/vendor/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -8
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -36
- data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/magicline/samples/sample.html +0 -544
- data/vendor/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -30
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
- 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 +0 -26
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -19
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
- data/vendor/assets/javascripts/ckeditor/plugins/selectionmark/plugin.js +0 -9
- 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 +0 -10
- 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 +0 -20
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -11
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
- data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +0 -7
- data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -20
- data/vendor/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +0 -13
- data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -18
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +0 -84
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- 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 +0 -80
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -10
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/icons/uicolor.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +0 -27
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +0 -5
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -5
- 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 +0 -15
- data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -225
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -11
- data/vendor/assets/javascripts/ckeditor/plugins/xml/plugin.js +0 -7
- data/vendor/assets/javascripts/ckeditor/samples/ajax.html +0 -82
- data/vendor/assets/javascripts/ckeditor/samples/api.html +0 -210
- data/vendor/assets/javascripts/ckeditor/samples/apidialog.html +0 -164
- data/vendor/assets/javascripts/ckeditor/samples/appendto.html +0 -92
- data/vendor/assets/javascripts/ckeditor/samples/assets/apidialog/my_dialog.js +0 -5
- 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 +0 -18
- data/vendor/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
- data/vendor/assets/javascripts/ckeditor/samples/assets/posteddata.php +0 -59
- data/vendor/assets/javascripts/ckeditor/samples/assets/sample.css +0 -3
- data/vendor/assets/javascripts/ckeditor/samples/assets/stylesheetparser/sample.css +0 -70
- data/vendor/assets/javascripts/ckeditor/samples/autogrow.html +0 -96
- data/vendor/assets/javascripts/ckeditor/samples/bbcode.html +0 -106
- data/vendor/assets/javascripts/ckeditor/samples/devtools.html +0 -80
- data/vendor/assets/javascripts/ckeditor/samples/divarea.html +0 -96
- data/vendor/assets/javascripts/ckeditor/samples/divreplace.html +0 -141
- data/vendor/assets/javascripts/ckeditor/samples/enterkey.html +0 -99
- data/vendor/assets/javascripts/ckeditor/samples/fullpage.html +0 -109
- data/vendor/assets/javascripts/ckeditor/samples/index.html +0 -133
- data/vendor/assets/javascripts/ckeditor/samples/inlineall.html +0 -338
- data/vendor/assets/javascripts/ckeditor/samples/inlinebycode.html +0 -138
- data/vendor/assets/javascripts/ckeditor/samples/magicline.html +0 -198
- data/vendor/assets/javascripts/ckeditor/samples/outputforflash.html +0 -246
- data/vendor/assets/javascripts/ckeditor/samples/outputhtml.html +0 -228
- data/vendor/assets/javascripts/ckeditor/samples/outputxhtml.html +0 -217
- data/vendor/assets/javascripts/ckeditor/samples/placeholder.html +0 -69
- data/vendor/assets/javascripts/ckeditor/samples/readonly.html +0 -73
- data/vendor/assets/javascripts/ckeditor/samples/replacebyclass.html +0 -95
- data/vendor/assets/javascripts/ckeditor/samples/replacebycode.html +0 -93
- data/vendor/assets/javascripts/ckeditor/samples/sample.css +0 -261
- data/vendor/assets/javascripts/ckeditor/samples/sample_posteddata.php +0 -16
- data/vendor/assets/javascripts/ckeditor/samples/stylesheetparser.html +0 -77
- data/vendor/assets/javascripts/ckeditor/samples/tabindex.html +0 -80
- data/vendor/assets/javascripts/ckeditor/samples/tableresize.html +0 -101
- data/vendor/assets/javascripts/ckeditor/samples/uicolor.html +0 -137
- data/vendor/assets/javascripts/ckeditor/samples/uilanguages.html +0 -119
- data/vendor/assets/javascripts/ckeditor/styles.js +0 -86
@@ -1,69 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>Placeholder Plugin — CKEditor Sample</title>
|
9
|
-
<meta charset="utf-8">
|
10
|
-
<script src="../ckeditor.js"></script>
|
11
|
-
<link rel="stylesheet" href="sample.css">
|
12
|
-
</head>
|
13
|
-
<body>
|
14
|
-
<h1 class="samples">
|
15
|
-
<a href="index.html">CKEditor Samples</a> » Using the Placeholder Plugin
|
16
|
-
</h1>
|
17
|
-
<div class="description">
|
18
|
-
<p>
|
19
|
-
This sample shows how to configure CKEditor instances to use the
|
20
|
-
<strong>Placeholder</strong> plugin that lets you insert read-only elements
|
21
|
-
into your content. To enter and modify read-only text, use the
|
22
|
-
<strong>Create Placeholder</strong> button and its matching dialog window.
|
23
|
-
</p>
|
24
|
-
<p>
|
25
|
-
To add a CKEditor instance that uses the <code>placeholder</code> plugin and a related
|
26
|
-
<strong>Create Placeholder</strong> toolbar button, insert the following JavaScript
|
27
|
-
call to your code:
|
28
|
-
</p>
|
29
|
-
<pre class="samples">
|
30
|
-
CKEDITOR.replace( '<em>textarea_id</em>', {
|
31
|
-
<strong>extraPlugins: 'placeholder',</strong>
|
32
|
-
toolbar: [ [ 'Source', 'Bold' ], [<strong>'CreatePlaceholder'</strong>] ]
|
33
|
-
});</pre>
|
34
|
-
<p>
|
35
|
-
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
|
36
|
-
the <code><textarea></code> element to be replaced with CKEditor.
|
37
|
-
</p>
|
38
|
-
</div>
|
39
|
-
<form action="sample_posteddata.php" method="post">
|
40
|
-
<p>
|
41
|
-
<label for="editor1">
|
42
|
-
CKEditor using the <code>placeholder</code> plugin with its default configuration:
|
43
|
-
</label>
|
44
|
-
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is a [[sample placeholder]]. You are using <a href="http://ckeditor.com/">CKEditor</a>. </p></textarea>
|
45
|
-
<script>
|
46
|
-
|
47
|
-
CKEDITOR.replace( 'editor1', {
|
48
|
-
extraPlugins: 'placeholder',
|
49
|
-
toolbar: [ [ 'Source', 'CreatePlaceholder' ] ]
|
50
|
-
});
|
51
|
-
|
52
|
-
</script>
|
53
|
-
</p>
|
54
|
-
<p>
|
55
|
-
<input type="submit" value="Submit">
|
56
|
-
</p>
|
57
|
-
</form>
|
58
|
-
<div id="footer">
|
59
|
-
<hr>
|
60
|
-
<p>
|
61
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
62
|
-
</p>
|
63
|
-
<p id="copy">
|
64
|
-
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
65
|
-
Knabben. All rights reserved.
|
66
|
-
</p>
|
67
|
-
</div>
|
68
|
-
</body>
|
69
|
-
</html>
|
@@ -1,73 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>Using the CKEditor Read-Only API — CKEditor Sample</title>
|
9
|
-
<meta charset="utf-8">
|
10
|
-
<script src="../ckeditor.js"></script>
|
11
|
-
<link rel="stylesheet" href="sample.css">
|
12
|
-
<script>
|
13
|
-
|
14
|
-
var editor;
|
15
|
-
|
16
|
-
// The instanceReady event is fired, when an instance of CKEditor has finished
|
17
|
-
// its initialization.
|
18
|
-
CKEDITOR.on( 'instanceReady', function( ev ) {
|
19
|
-
editor = ev.editor;
|
20
|
-
|
21
|
-
// Show this "on" button.
|
22
|
-
document.getElementById( 'readOnlyOn' ).style.display = '';
|
23
|
-
|
24
|
-
// Event fired when the readOnly property changes.
|
25
|
-
editor.on( 'readOnly', function() {
|
26
|
-
document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
|
27
|
-
document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
|
28
|
-
});
|
29
|
-
});
|
30
|
-
|
31
|
-
function toggleReadOnly( isReadOnly ) {
|
32
|
-
// Change the read-only state of the editor.
|
33
|
-
// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly
|
34
|
-
editor.setReadOnly( isReadOnly );
|
35
|
-
}
|
36
|
-
|
37
|
-
</script>
|
38
|
-
</head>
|
39
|
-
<body>
|
40
|
-
<h1 class="samples">
|
41
|
-
<a href="index.html">CKEditor Samples</a> » Using the CKEditor Read-Only API
|
42
|
-
</h1>
|
43
|
-
<div class="description">
|
44
|
-
<p>
|
45
|
-
This sample shows how to use the
|
46
|
-
<code><a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly">setReadOnly</a></code>
|
47
|
-
API to put editor into the read-only state that makes it impossible for users to change the editor contents.
|
48
|
-
</p>
|
49
|
-
<p>
|
50
|
-
For details on how to create this setup check the source code of this sample page.
|
51
|
-
</p>
|
52
|
-
</div>
|
53
|
-
<form action="sample_posteddata.php" method="post">
|
54
|
-
<p>
|
55
|
-
<textarea class="ckeditor" id="editor1" name="editor1" cols="100" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
56
|
-
</p>
|
57
|
-
<p>
|
58
|
-
<input id="readOnlyOn" onclick="toggleReadOnly();" type="button" value="Make it read-only" style="display:none">
|
59
|
-
<input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none">
|
60
|
-
</p>
|
61
|
-
</form>
|
62
|
-
<div id="footer">
|
63
|
-
<hr>
|
64
|
-
<p>
|
65
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
66
|
-
</p>
|
67
|
-
<p id="copy">
|
68
|
-
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
69
|
-
Knabben. All rights reserved.
|
70
|
-
</p>
|
71
|
-
</div>
|
72
|
-
</body>
|
73
|
-
</html>
|
@@ -1,95 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>Replace Textareas by Class Name — CKEditor Sample</title>
|
9
|
-
<meta charset="utf-8">
|
10
|
-
<script src="../ckeditor.js"></script>
|
11
|
-
<link rel="stylesheet" href="sample.css">
|
12
|
-
</head>
|
13
|
-
<body>
|
14
|
-
<h1 class="samples">
|
15
|
-
<a href="index.html">CKEditor Samples</a> » Replace Textarea Elements by Class Name
|
16
|
-
</h1>
|
17
|
-
<div class="description">
|
18
|
-
<p>
|
19
|
-
This sample shows how to automatically replace all <code><textarea></code> elements
|
20
|
-
of a given class with a CKEditor instance.
|
21
|
-
</p>
|
22
|
-
<p>
|
23
|
-
To replace a <code><textarea></code> element, simply assign it the <code>ckeditor</code>
|
24
|
-
class, as in the code below:
|
25
|
-
</p>
|
26
|
-
<pre class="samples">
|
27
|
-
<textarea <strong>class="ckeditor</strong>" name="editor1"></textarea>
|
28
|
-
</pre>
|
29
|
-
<p>
|
30
|
-
Note that other <code><textarea></code> attributes (like <code>id</code> or <code>name</code>) need to be adjusted to your document.
|
31
|
-
</p>
|
32
|
-
</div>
|
33
|
-
<form action="sample_posteddata.php" method="post">
|
34
|
-
<p>
|
35
|
-
<label for="editor1">
|
36
|
-
Editor 1:
|
37
|
-
</label>
|
38
|
-
<textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">
|
39
|
-
<h1>
|
40
|
-
<img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="margin-left: 10px; margin-right: 10px; float: left; width: 120px; height: 168px;" />Little Red Riding Hood</h1>
|
41
|
-
<p>
|
42
|
-
"<b>Little Red Riding Hood</b>" is a famous <a href="http://en.wikipedia.org/wiki/Fairy_tale" title="Fairy tale">fairy tale</a> about a young girl's encounter with a wolf. The story has been changed considerably in its history and subject to numerous modern adaptations and readings.</p>
|
43
|
-
<table align="right" cellpadding="1" cellspacing="1" style="width: 200px;">
|
44
|
-
<caption>
|
45
|
-
<strong>International Names</strong></caption>
|
46
|
-
<tbody>
|
47
|
-
<tr>
|
48
|
-
<td>
|
49
|
-
Chinese</td>
|
50
|
-
<td>
|
51
|
-
<i>小紅帽</i></td>
|
52
|
-
</tr>
|
53
|
-
<tr>
|
54
|
-
<td>
|
55
|
-
Italian</td>
|
56
|
-
<td>
|
57
|
-
<i>Cappuccetto Rosso</i></td>
|
58
|
-
</tr>
|
59
|
-
<tr>
|
60
|
-
<td>
|
61
|
-
Spanish</td>
|
62
|
-
<td>
|
63
|
-
<i>Caperucita Roja</i></td>
|
64
|
-
</tr>
|
65
|
-
</tbody>
|
66
|
-
</table>
|
67
|
-
<p>
|
68
|
-
The version most widely known today is based on the <a href="http://en.wikipedia.org/wiki/Brothers_Grimm" title="Brothers Grimm">Brothers Grimm</a> variant. It is about a girl called Little Red Riding Hood, after the red <a href="http://en.wikipedia.org/wiki/Hood_%28headgear%29" title="Hood (headgear)">hooded</a> <a href="http://en.wikipedia.org/wiki/Cape" title="Cape">cape</a> or <a href="http://en.wikipedia.org/wiki/Cloak" title="Cloak">cloak</a> she wears. The girl walks through the woods to deliver food to her sick grandmother.</p>
|
69
|
-
<p>
|
70
|
-
A wolf wants to eat the girl but is afraid to do so in public. He approaches the girl, and she naïvely tells him where she is going. He suggests the girl pick some flowers, which she does. In the meantime, he goes to the grandmother's house and gains entry by pretending to be the girl. He swallows the grandmother whole, and waits for the girl, disguised as the grandmother.</p>
|
71
|
-
<p>
|
72
|
-
When the girl arrives, she notices he looks very strange to be her grandma. In most retellings, this eventually culminates with Little Red Riding Hood saying, "My, what big teeth you have!"<br />
|
73
|
-
To which the wolf replies, "The better to eat you with," and swallows her whole, too.</p>
|
74
|
-
<p>
|
75
|
-
A <a href="http://en.wikipedia.org/wiki/Hunter" title="Hunter">hunter</a>, however, comes to the rescue and cuts the wolf open. Little Red Riding Hood and her grandmother emerge unharmed. They fill the wolf's body with heavy stones, which drown him when he falls into a well. Other versions of the story have had the grandmother shut in the closet instead of eaten, and some have Little Red Riding Hood saved by the hunter as the wolf advances on her rather than after she is eaten.</p>
|
76
|
-
<p>
|
77
|
-
The tale makes the clearest contrast between the safe world of the village and the dangers of the <a href="http://en.wikipedia.org/wiki/Enchanted_forest" title="Enchanted forest">forest</a>, conventional antitheses that are essentially medieval, though no written versions are as old as that.</p>
|
78
|
-
</textarea>
|
79
|
-
</p>
|
80
|
-
<p>
|
81
|
-
<input type="submit" value="Submit">
|
82
|
-
</p>
|
83
|
-
</form>
|
84
|
-
<div id="footer">
|
85
|
-
<hr>
|
86
|
-
<p>
|
87
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
88
|
-
</p>
|
89
|
-
<p id="copy">
|
90
|
-
Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
91
|
-
Knabben. All rights reserved.
|
92
|
-
</p>
|
93
|
-
</div>
|
94
|
-
</body>
|
95
|
-
</html>
|
@@ -1,93 +0,0 @@
|
|
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>
|
@@ -1,261 +0,0 @@
|
|
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
|
-
}
|
@@ -1,16 +0,0 @@
|
|
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"; ?>
|
@@ -1,77 +0,0 @@
|
|
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>
|