drg_default_html_editor 0.4.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +40 -0
- data/app/assets/images/elfinder/arrows-active.png +0 -0
- data/app/assets/images/elfinder/arrows-normal.png +0 -0
- data/app/assets/images/elfinder/crop.gif +0 -0
- data/app/assets/images/elfinder/dialogs.png +0 -0
- data/app/assets/images/elfinder/icons-big.png +0 -0
- data/app/assets/images/elfinder/icons-small.png +0 -0
- data/app/assets/images/elfinder/progress.gif +0 -0
- data/app/assets/images/elfinder/quicklook-bg.png +0 -0
- data/app/assets/images/elfinder/quicklook-icons.png +0 -0
- data/app/assets/images/elfinder/resize.png +0 -0
- data/app/assets/images/elfinder/spinner-mini.gif +0 -0
- data/app/assets/images/elfinder/toolbar.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/CHANGES.md +612 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/LICENSE.md +1264 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/README.md +39 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/adapters/jquery.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/build-config.js +173 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/ckeditor.js +993 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/config.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/contents.css +134 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/af.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ar.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/bg.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/bn.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/bs.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ca.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/cs.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/cy.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/da.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/de.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/el.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/en-au.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/en-ca.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/en-gb.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/en.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/eo.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/es.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/et.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/eu.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/fa.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/fi.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/fo.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/fr-ca.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/fr.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/gl.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/gu.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/he.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/hi.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/hr.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/hu.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/id.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/is.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/it.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ja.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ka.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/km.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ko.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ku.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/lt.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/lv.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/mk.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/mn.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ms.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/nb.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/nl.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/no.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/pl.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/pt-br.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/pt.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ro.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ru.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/si.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/sk.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/sl.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/sq.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/sr-latn.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/sr.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/sv.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/th.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/tr.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/tt.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/ug.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/uk.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/vi.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/zh-cn.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/lang/zh.js +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +9 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/about/dialogs/about.js +7 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/div/dialogs/div.js +9 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/find/dialogs/find.js +24 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/flash/dialogs/flash.js +24 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/button.js +8 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/form.js +8 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/radio.js +8 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/select.js +20 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/icons.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/icons_hidpi.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/image/dialogs/image.js +43 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/image/images/noimage.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/link/dialogs/anchor.js +7 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/link/dialogs/link.js +26 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/link/images/anchor.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/pastefromword/filter/default.js +31 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/preview/preview.html +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/scayt/LICENSE.md +28 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/scayt/README.md +25 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/scayt/dialogs/options.js +17 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/envelope.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/heart.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/kiss.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/tt.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/lang/zh.js +12 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/table/dialogs/table.js +21 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/tabletools/dialogs/tableCell.js +17 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/templates/dialogs/templates.js +10 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/templates/templates/default.js +6 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/wsc/LICENSE.md +28 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/wsc/README.md +25 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/wsc/dialogs/ciframe.html +66 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/wsc/dialogs/wsc.js +74 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/ajax.html +82 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/api.html +207 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/appendto.html +56 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/assets/outputxhtml/outputxhtml.css +204 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/assets/posteddata.php +59 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/assets/sample.jpg +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/assets/uilanguages/languages.js +7 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/datafiltering.html +401 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/divreplace.html +141 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/index.html +128 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/inlineall.html +311 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/inlinebycode.html +121 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/inlinetextarea.html +110 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/jquery.html +100 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/dialog/assets/my_dialog.js +48 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/dialog/dialog.html +187 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/enterkey/enterkey.html +103 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +18 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/htmlwriter/outputforflash.html +280 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/htmlwriter/outputhtml.html +221 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/magicline/magicline.html +206 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/toolbar/toolbar.html +232 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/plugins/wysiwygarea/fullpage.html +77 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/readonly.html +73 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/replacebyclass.html +57 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/replacebycode.html +56 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/sample.css +365 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/sample.js +50 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/sample_posteddata.php +16 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/tabindex.html +75 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/uicolor.html +69 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/uilanguages.html +119 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/samples/xhtmlstyle.html +231 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/dialog.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/dialog_ie.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/dialog_ie7.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/dialog_ie8.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/dialog_iequirks.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/editor.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/editor_gecko.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/editor_ie.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/editor_ie7.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/editor_ie8.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/editor_iequirks.css +5 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/icons.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/arrow.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/close.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/lock.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/images/refresh.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/skins/moono/readme.md +51 -0
- data/app/assets/javascripts/drg_default_html_editor/ckeditor/styles.js +111 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/Changelog.txt +63 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/README.md +118 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/css/elfinder.min.css +9 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/css/theme.css +49 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/elfinder.html +56 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/arrows-active.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/arrows-normal.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/crop.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/dialogs.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/icons-big.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/icons-small.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/progress.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/quicklook-bg.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/quicklook-icons.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/resize.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/spinner-mini.gif +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/img/toolbar.png +0 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/elfinder.min.js +25 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/elfinder.min_1.js +25 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.LANG.js +348 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.ar.js +290 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.bg.js +310 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.ca.js +310 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.cs.js +285 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.de.js +280 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.es.js +291 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.fr.js +298 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.hu.js +280 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.jp.js +316 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.nl.js +342 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.no.js +280 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.pl.js +309 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.pt_BR.js +280 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.ru.js +344 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.sl.js +348 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/i18n/elfinder.zh_CN.js +280 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/js/proxy/elFinderSupportVer1.js +338 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/MySQLStorage.sql +23 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/connector.php +44 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/elFinder.class.php +1103 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/elFinderConnector.class.php +133 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/elFinderVolumeDriver.class.php +3370 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/elFinderVolumeLocalFileSystem.class.php +835 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/elFinderVolumeMySQL.class.php +896 -0
- data/app/assets/javascripts/drg_default_html_editor/elfinder/php/mime.types +512 -0
- data/app/assets/javascripts/drg_default_html_editor_application.js +7 -0
- data/app/assets/javascripts/drg_default_html_editor_cms.js +14 -0
- data/app/assets/stylesheets/drg_default_html_editor/elfinder.min.css +9 -0
- data/app/assets/stylesheets/drg_default_html_editor_application.css +11 -0
- data/app/assets/stylesheets/drg_default_html_editor_cms.css +21 -0
- data/app/controllers/dc_elfinder_controller.rb +58 -0
- data/config/initializers/patch_drgcms_form_field.rb +96 -0
- data/config/initializers/patch_for_elfinder.rb +114 -0
- data/config/routes.rb +2 -0
- data/lib/drg_default_html_editor/engine.rb +14 -0
- data/lib/drg_default_html_editor/version.rb +3 -0
- data/lib/drg_default_html_editor.rb +6 -0
- data/lib/drg_default_html_editor.rb~ +6 -0
- data/lib/tasks/drg_default_html_editor_copy_assets.rake +10 -0
- data/lib/tasks/drg_default_html_editor_tasks.rake +4 -0
- data/test/drg_default_html_editor_test.rb +7 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- metadata +574 -0
@@ -0,0 +1,401 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--
|
3
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
5
|
+
-->
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<meta charset="utf-8">
|
9
|
+
<title>Data Filtering — CKEditor Sample</title>
|
10
|
+
<script src="../ckeditor.js"></script>
|
11
|
+
<link rel="stylesheet" href="sample.css">
|
12
|
+
<script>
|
13
|
+
// Remove advanced tabs for all editors.
|
14
|
+
CKEDITOR.config.removeDialogTabs = 'image:advanced;link:advanced;flash:advanced;creatediv:advanced;editdiv:advanced';
|
15
|
+
</script>
|
16
|
+
</head>
|
17
|
+
<body>
|
18
|
+
<h1 class="samples">
|
19
|
+
<a href="index.html">CKEditor Samples</a> » Data Filtering and Features Activation
|
20
|
+
</h1>
|
21
|
+
<div class="description">
|
22
|
+
<p>
|
23
|
+
This sample page demonstrates the idea of Advanced Content Filter
|
24
|
+
(<abbr title="Advanced Content Filter">ACF</abbr>), a sophisticated
|
25
|
+
tool that takes control over what kind of data is accepted by the editor and what
|
26
|
+
kind of output is produced.
|
27
|
+
</p>
|
28
|
+
<h2>When and what is being filtered?</h2>
|
29
|
+
<p>
|
30
|
+
<abbr title="Advanced Content Filter">ACF</abbr> controls
|
31
|
+
<strong>every single source of data</strong> that comes to the editor.
|
32
|
+
It process both HTML that is inserted manually (i.e. pasted by the user)
|
33
|
+
and programmatically like:
|
34
|
+
</p>
|
35
|
+
<pre class="samples">
|
36
|
+
editor.setData( '<p>Hello world!</p>' );
|
37
|
+
</pre>
|
38
|
+
<p>
|
39
|
+
<abbr title="Advanced Content Filter">ACF</abbr> discards invalid,
|
40
|
+
useless HTML tags and attributes so the editor remains "clean" during
|
41
|
+
runtime. <abbr title="Advanced Content Filter">ACF</abbr> behaviour
|
42
|
+
can be configured and adjusted for a particular case to prevent the
|
43
|
+
output HTML (i.e. in CMS systems) from being polluted.
|
44
|
+
|
45
|
+
This kind of filtering is a first, client-side line of defense
|
46
|
+
against "<a href="http://en.wikipedia.org/wiki/Tag_soup">tag soups</a>",
|
47
|
+
the tool that precisely restricts which tags, attributes and styles
|
48
|
+
are allowed (desired). When properly configured, <abbr title="Advanced Content Filter">ACF</abbr>
|
49
|
+
is an easy and fast way to produce a high-quality, intentionally filtered HTML.
|
50
|
+
</p>
|
51
|
+
|
52
|
+
<h3>How to configure or disable ACF?</h3>
|
53
|
+
<p>
|
54
|
+
Advanced Content Filter is enabled by default, working in "automatic mode", yet
|
55
|
+
it provides a set of easy rules that allow adjusting filtering rules
|
56
|
+
and disabling the entire feature when necessary. The config property
|
57
|
+
responsible for this feature is <code><a class="samples"
|
58
|
+
href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">config.allowedContent</a></code>.
|
59
|
+
</p>
|
60
|
+
<p>
|
61
|
+
By "automatic mode" is meant that loaded plugins decide which kind
|
62
|
+
of content is enabled and which is not. For example, if the link
|
63
|
+
plugin is loaded it implies that <code><a></code> tag is
|
64
|
+
automatically allowed. Each plugin is given a set
|
65
|
+
of predefined <abbr title="Advanced Content Filter">ACF</abbr> rules
|
66
|
+
that control the editor until <code><a class="samples"
|
67
|
+
href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
|
68
|
+
config.allowedContent</a></code>
|
69
|
+
is defined manually.
|
70
|
+
</p>
|
71
|
+
<p>
|
72
|
+
Let's assume our intention is to restrict the editor to accept (produce) <strong>paragraphs
|
73
|
+
only: no attributes, no styles, no other tags</strong>.
|
74
|
+
With <abbr title="Advanced Content Filter">ACF</abbr>
|
75
|
+
this is very simple. Basically set <code><a class="samples"
|
76
|
+
href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
|
77
|
+
config.allowedContent</a></code> to <code>'p'</code>:
|
78
|
+
</p>
|
79
|
+
<pre class="samples">
|
80
|
+
var editor = CKEDITOR.replace( <em>textarea_id</em>, {
|
81
|
+
<strong>allowedContent: 'p'</strong>
|
82
|
+
} );
|
83
|
+
</pre>
|
84
|
+
<p>
|
85
|
+
Now try to play with allowed content:
|
86
|
+
</p>
|
87
|
+
<pre class="samples">
|
88
|
+
// Trying to insert disallowed tag and attribute.
|
89
|
+
editor.setData( '<p <strong>style="color: red"</strong>>Hello <strong><em>world</em></strong>!</p>' );
|
90
|
+
alert( editor.getData() );
|
91
|
+
|
92
|
+
// Filtered data is returned.
|
93
|
+
"<p>Hello world!</p>"
|
94
|
+
</pre>
|
95
|
+
<p>
|
96
|
+
What happened? Since <code>config.allowedContent: 'p'</code> is set the editor assumes
|
97
|
+
that only plain <code><p></code> are accepted. Nothing more. This is why
|
98
|
+
<code>style</code> attribute and <code><em></code> tag are gone. The same
|
99
|
+
filtering would happen if we pasted disallowed HTML into this editor.
|
100
|
+
</p>
|
101
|
+
<p>
|
102
|
+
This is just a small sample of what <abbr title="Advanced Content Filter">ACF</abbr>
|
103
|
+
can do. To know more, please refer to the sample section below and
|
104
|
+
<a href="http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter">the official Advanced Content Filter guide</a>.
|
105
|
+
</p>
|
106
|
+
<p>
|
107
|
+
You may, of course, want CKEditor to avoid filtering of any kind.
|
108
|
+
To get rid of <abbr title="Advanced Content Filter">ACF</abbr>,
|
109
|
+
basically set <code><a class="samples"
|
110
|
+
href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
|
111
|
+
config.allowedContent</a></code> to <code>true</code> like this:
|
112
|
+
</p>
|
113
|
+
<pre class="samples">
|
114
|
+
CKEDITOR.replace( <em>textarea_id</em>, {
|
115
|
+
<strong>allowedContent: true</strong>
|
116
|
+
} );
|
117
|
+
</pre>
|
118
|
+
|
119
|
+
<h2>Beyond data flow: Features activation</h2>
|
120
|
+
<p>
|
121
|
+
<abbr title="Advanced Content Filter">ACF</abbr> is far more than
|
122
|
+
<abbr title="Input/Output">I/O</abbr> control: the entire
|
123
|
+
<abbr title="User Interface">UI</abbr> of the editor is adjusted to what
|
124
|
+
filters restrict. For example: if <code><a></code> tag is
|
125
|
+
<strong>disallowed</strong>
|
126
|
+
by <abbr title="Advanced Content Filter">ACF</abbr>,
|
127
|
+
then accordingly <code>link</code> command, toolbar button and link dialog
|
128
|
+
are also disabled. Editor is smart: it knows which features must be
|
129
|
+
removed from the interface to match filtering rules.
|
130
|
+
</p>
|
131
|
+
<p>
|
132
|
+
CKEditor can be far more specific. If <code><a></code> tag is
|
133
|
+
<strong>allowed</strong> by filtering rules to be used but it is restricted
|
134
|
+
to have only one attribute (<code>href</code>)
|
135
|
+
<code>config.allowedContent = 'a[!href]'</code>, then
|
136
|
+
"Target" tab of the link dialog is automatically disabled as <code>target</code>
|
137
|
+
attribute isn't included in <abbr title="Advanced Content Filter">ACF</abbr> rules
|
138
|
+
for <code><a></code>. This behaviour applies to dialog fields, context
|
139
|
+
menus and toolbar buttons.
|
140
|
+
</p>
|
141
|
+
|
142
|
+
<h2>Sample configurations</h2>
|
143
|
+
<p>
|
144
|
+
There are several editor instances below that present different
|
145
|
+
<abbr title="Advanced Content Filter">ACF</abbr> setups. <strong>All of them,
|
146
|
+
except the last inline instance, share the same HTML content</strong> to visualize
|
147
|
+
how different filtering rules affect the same input data.
|
148
|
+
</p>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div>
|
152
|
+
<label for="editor1">
|
153
|
+
Editor 1:
|
154
|
+
</label>
|
155
|
+
<div class="description">
|
156
|
+
<p>
|
157
|
+
This editor is using default configuration ("automatic mode"). It means that
|
158
|
+
<code><a class="samples"
|
159
|
+
href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
|
160
|
+
config.allowedContent</a></code> is defined by loaded plugins.
|
161
|
+
Each plugin extends filtering rules to make it's own associated content
|
162
|
+
available for the user.
|
163
|
+
</p>
|
164
|
+
</div>
|
165
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10">
|
166
|
+
<h1><img alt="Saturn V carrying Apollo 11" class="right" src="assets/sample.jpg"/> Apollo 11</h1> <p><b>Apollo 11</b> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p> <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p> <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2> <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p> <blockquote><p>One small step for [a] man, one giant leap for mankind.</p></blockquote> <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p> <blockquote><p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p></blockquote> <h2>Technical details <a id="tech-details" name="tech-details"></a></h2> <table align="right" border="1" bordercolor="#ccc" cellpadding="5" cellspacing="0" style="border-collapse:collapse;margin:10px 0 10px 15px;"> <caption><strong>Mission crew</strong></caption> <thead> <tr> <th scope="col">Position</th> <th scope="col">Astronaut</th> </tr> </thead> <tbody> <tr> <td>Commander</td> <td>Neil A. Armstrong</td> </tr> <tr> <td>Command Module Pilot</td> <td>Michael Collins</td> </tr> <tr> <td>Lunar Module Pilot</td> <td>Edwin &quot;Buzz&quot; E. Aldrin, Jr.</td> </tr> </tbody> </table> <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p> <ol> <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li> <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li> <li><strong>Lunar Module</strong> for landing on the Moon.</li> </ol> <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p> <hr/> <p style="text-align: right;"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
167
|
+
</textarea>
|
168
|
+
|
169
|
+
<script>
|
170
|
+
|
171
|
+
CKEDITOR.replace( 'editor1' );
|
172
|
+
|
173
|
+
</script>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
<br>
|
177
|
+
|
178
|
+
<div>
|
179
|
+
<label for="editor2">
|
180
|
+
Editor 2:
|
181
|
+
</label>
|
182
|
+
<div class="description">
|
183
|
+
<p>
|
184
|
+
This editor is using a custom configuration for
|
185
|
+
<abbr title="Advanced Content Filter">ACF</abbr>:
|
186
|
+
</p>
|
187
|
+
<pre class="samples">
|
188
|
+
CKEDITOR.replace( 'editor2', {
|
189
|
+
allowedContent:
|
190
|
+
'h1 h2 h3 p blockquote strong em;' +
|
191
|
+
'a[!href];' +
|
192
|
+
'img(left,right)[!src,alt,width,height];' +
|
193
|
+
'table tr th td caption;' +
|
194
|
+
'span{!font-family};' +'
|
195
|
+
'span{!color};' +
|
196
|
+
'span(!marker);' +
|
197
|
+
'del ins'
|
198
|
+
} );
|
199
|
+
</pre>
|
200
|
+
<p>
|
201
|
+
The following rules may require additional explanation:
|
202
|
+
</p>
|
203
|
+
<ul>
|
204
|
+
<li>
|
205
|
+
<code>h1 h2 h3 p blockquote strong em</code> - These tags
|
206
|
+
are accepted by the editor. Any tag attributes will be discarded.
|
207
|
+
</li>
|
208
|
+
<li>
|
209
|
+
<code>a[!href]</code> - <code>href</code> attribute is obligatory
|
210
|
+
for <code><a></code> tag. Tags without this attribute
|
211
|
+
are disarded. No other attribute will be accepted.
|
212
|
+
</li>
|
213
|
+
<li>
|
214
|
+
<code>img(left,right)[!src,alt,width,height]</code> - <code>src</code>
|
215
|
+
attribute is obligatory for <code><img></code> tag.
|
216
|
+
<code>alt</code>, <code>width</code>, <code>height</code>
|
217
|
+
and <code>class</code> attributes are accepted but
|
218
|
+
<code>class</code> must be either <code>class="left"</code>
|
219
|
+
or <code>class="right"</code>
|
220
|
+
</li>
|
221
|
+
<li>
|
222
|
+
<code>table tr th td caption</code> - These tags
|
223
|
+
are accepted by the editor. Any tag attributes will be discarded.
|
224
|
+
</li>
|
225
|
+
<li>
|
226
|
+
<code>span{!font-family}</code>, <code>span{!color}</code>,
|
227
|
+
<code>span(!marker)</code> - <code><span></code> tags
|
228
|
+
will be accepted if either <code>font-family</code> or
|
229
|
+
<code>color</code> style is set or <code>class="marker"</code>
|
230
|
+
is present.
|
231
|
+
</li>
|
232
|
+
<li>
|
233
|
+
<code>del ins</code> - These tags
|
234
|
+
are accepted by the editor. Any tag attributes will be discarded.
|
235
|
+
</li>
|
236
|
+
</ul>
|
237
|
+
<p>
|
238
|
+
Please note that <strong><abbr title="User Interface">UI</abbr> of the
|
239
|
+
editor is different</strong>. It's a response to what happened to the filters.
|
240
|
+
Since <code>text-align</code> isn't allowed, the align toolbar is gone.
|
241
|
+
The same thing happened to subscript/superscript, strike, underline
|
242
|
+
(<code><u></code>, <code><sub></code>, <code><sup></code>
|
243
|
+
are disallowed by <code><a class="samples"
|
244
|
+
href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent">
|
245
|
+
config.allowedContent</a></code>) and many other buttons.
|
246
|
+
</p>
|
247
|
+
</div>
|
248
|
+
<textarea cols="80" id="editor2" name="editor2" rows="10">
|
249
|
+
<h1><img alt="Saturn V carrying Apollo 11" class="right" src="assets/sample.jpg"/> Apollo 11</h1> <p><b>Apollo 11</b> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p> <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p> <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2> <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p> <blockquote><p>One small step for [a] man, one giant leap for mankind.</p></blockquote> <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p> <blockquote><p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p></blockquote> <h2>Technical details <a id="tech-details" name="tech-details"></a></h2> <table align="right" border="1" bordercolor="#ccc" cellpadding="5" cellspacing="0" style="border-collapse:collapse;margin:10px 0 10px 15px;"> <caption><strong>Mission crew</strong></caption> <thead> <tr> <th scope="col">Position</th> <th scope="col">Astronaut</th> </tr> </thead> <tbody> <tr> <td>Commander</td> <td>Neil A. Armstrong</td> </tr> <tr> <td>Command Module Pilot</td> <td>Michael Collins</td> </tr> <tr> <td>Lunar Module Pilot</td> <td>Edwin &quot;Buzz&quot; E. Aldrin, Jr.</td> </tr> </tbody> </table> <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p> <ol> <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li> <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li> <li><strong>Lunar Module</strong> for landing on the Moon.</li> </ol> <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p> <hr/> <p style="text-align: right;"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
250
|
+
</textarea>
|
251
|
+
<script>
|
252
|
+
|
253
|
+
CKEDITOR.replace( 'editor2', {
|
254
|
+
allowedContent:
|
255
|
+
'h1 h2 h3 p blockquote strong em;' +
|
256
|
+
'a[!href];' +
|
257
|
+
'img(left,right)[!src,alt,width,height];' +
|
258
|
+
'table tr th td caption;' +
|
259
|
+
'span{!font-family};' +
|
260
|
+
'span{!color};' +
|
261
|
+
'span(!marker);' +
|
262
|
+
'del ins'
|
263
|
+
} );
|
264
|
+
|
265
|
+
</script>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
<br>
|
269
|
+
|
270
|
+
<div>
|
271
|
+
<label for="editor3">
|
272
|
+
Editor 3:
|
273
|
+
</label>
|
274
|
+
<div class="description">
|
275
|
+
<p>
|
276
|
+
This editor is using a custom configuration for
|
277
|
+
<abbr title="Advanced Content Filter">ACF</abbr>.
|
278
|
+
Note that filters can be configured as an object literal
|
279
|
+
as an alternative to a string-based definition.
|
280
|
+
</p>
|
281
|
+
<pre class="samples">
|
282
|
+
CKEDITOR.replace( 'editor3', {
|
283
|
+
allowedContent: {
|
284
|
+
'b i ul ol big small': true,
|
285
|
+
'h1 h2 h3 p blockquote li': {
|
286
|
+
styles: 'text-align'
|
287
|
+
},
|
288
|
+
a: { attributes: '!href,target' },
|
289
|
+
img: {
|
290
|
+
attributes: '!src,alt',
|
291
|
+
styles: 'width,height',
|
292
|
+
classes: 'left,right'
|
293
|
+
}
|
294
|
+
}
|
295
|
+
} );
|
296
|
+
</pre>
|
297
|
+
</div>
|
298
|
+
<textarea cols="80" id="editor3" name="editor3" rows="10">
|
299
|
+
<h1><img alt="Saturn V carrying Apollo 11" class="right" src="assets/sample.jpg"/> Apollo 11</h1> <p><b>Apollo 11</b> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p> <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p> <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2> <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p> <blockquote><p>One small step for [a] man, one giant leap for mankind.</p></blockquote> <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p> <blockquote><p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p></blockquote> <h2>Technical details <a id="tech-details" name="tech-details"></a></h2> <table align="right" border="1" bordercolor="#ccc" cellpadding="5" cellspacing="0" style="border-collapse:collapse;margin:10px 0 10px 15px;"> <caption><strong>Mission crew</strong></caption> <thead> <tr> <th scope="col">Position</th> <th scope="col">Astronaut</th> </tr> </thead> <tbody> <tr> <td>Commander</td> <td>Neil A. Armstrong</td> </tr> <tr> <td>Command Module Pilot</td> <td>Michael Collins</td> </tr> <tr> <td>Lunar Module Pilot</td> <td>Edwin &quot;Buzz&quot; E. Aldrin, Jr.</td> </tr> </tbody> </table> <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p> <ol> <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li> <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li> <li><strong>Lunar Module</strong> for landing on the Moon.</li> </ol> <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p> <hr/> <p style="text-align: right;"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
300
|
+
</textarea>
|
301
|
+
<script>
|
302
|
+
|
303
|
+
CKEDITOR.replace( 'editor3', {
|
304
|
+
allowedContent: {
|
305
|
+
'b i ul ol big small': true,
|
306
|
+
'h1 h2 h3 p blockquote li': {
|
307
|
+
styles: 'text-align'
|
308
|
+
},
|
309
|
+
a: { attributes: '!href,target' },
|
310
|
+
img: {
|
311
|
+
attributes: '!src,alt',
|
312
|
+
styles: 'width,height',
|
313
|
+
classes: 'left,right'
|
314
|
+
}
|
315
|
+
}
|
316
|
+
} );
|
317
|
+
|
318
|
+
</script>
|
319
|
+
</div>
|
320
|
+
|
321
|
+
<br>
|
322
|
+
|
323
|
+
<div>
|
324
|
+
<label for="editor4">
|
325
|
+
Editor 4:
|
326
|
+
</label>
|
327
|
+
<div class="description">
|
328
|
+
<p>
|
329
|
+
This editor is using a custom set of plugins and buttons.
|
330
|
+
</p>
|
331
|
+
<pre class="samples">
|
332
|
+
CKEDITOR.replace( 'editor4', {
|
333
|
+
removePlugins: 'bidi,font,forms,flash,horizontalrule,iframe,justify,table,tabletools,smiley',
|
334
|
+
removeButtons: 'Anchor,Underline,Strike,Subscript,Superscript,Image',
|
335
|
+
format_tags: 'p;h1;h2;h3;pre;address'
|
336
|
+
} );
|
337
|
+
</pre>
|
338
|
+
<p>
|
339
|
+
As you can see, removing plugins and buttons implies filtering.
|
340
|
+
Several tags are not allowed in the editor because there's no
|
341
|
+
plugin/button that is responsible for creating and editing this
|
342
|
+
kind of content (for example: the image is missing because
|
343
|
+
of <code>removeButtons: 'Image'</code>). The conclusion is that
|
344
|
+
<abbr title="Advanced Content Filter">ACF</abbr> works "backwards"
|
345
|
+
as well: <strong>modifying <abbr title="User Interface">UI</abbr>
|
346
|
+
elements is changing allowed content rules</strong>.
|
347
|
+
</p>
|
348
|
+
</div>
|
349
|
+
<textarea cols="80" id="editor4" name="editor4" rows="10">
|
350
|
+
<h1><img alt="Saturn V carrying Apollo 11" class="right" src="assets/sample.jpg"/> Apollo 11</h1> <p><b>Apollo 11</b> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p> <p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)" title="Michael Collins (astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module" title="Apollo Command/Service Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p> <h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2> <p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:</p> <blockquote><p>One small step for [a] man, one giant leap for mankind.</p></blockquote> <p>Apollo 11 effectively ended the <a href="http://en.wikipedia.org/wiki/Space_Race" title="Space Race">Space Race</a> and fulfilled a national goal proposed in 1961 by the late U.S. President <a href="http://en.wikipedia.org/wiki/John_F._Kennedy" title="John F. Kennedy">John F. Kennedy</a> in a speech before the United States Congress:</p> <blockquote><p>[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.</p></blockquote> <h2>Technical details <a id="tech-details" name="tech-details"></a></h2> <table align="right" border="1" bordercolor="#ccc" cellpadding="5" cellspacing="0" style="border-collapse:collapse;margin:10px 0 10px 15px;"> <caption><strong>Mission crew</strong></caption> <thead> <tr> <th scope="col">Position</th> <th scope="col">Astronaut</th> </tr> </thead> <tbody> <tr> <td>Commander</td> <td>Neil A. Armstrong</td> </tr> <tr> <td>Command Module Pilot</td> <td>Michael Collins</td> </tr> <tr> <td>Lunar Module Pilot</td> <td>Edwin &quot;Buzz&quot; E. Aldrin, Jr.</td> </tr> </tbody> </table> <p>Launched by a <strong>Saturn V</strong> rocket from <a href="http://en.wikipedia.org/wiki/Kennedy_Space_Center" title="Kennedy Space Center">Kennedy Space Center</a> in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of <a href="http://en.wikipedia.org/wiki/NASA" title="NASA">NASA</a>&#39;s Apollo program. The Apollo spacecraft had three parts:</p> <ol> <li><strong>Command Module</strong> with a cabin for the three astronauts which was the only part which landed back on Earth</li> <li><strong>Service Module</strong> which supported the Command Module with propulsion, electrical power, oxygen and water</li> <li><strong>Lunar Module</strong> for landing on the Moon.</li> </ol> <p>After being sent to the Moon by the Saturn V&#39;s upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the <a href="http://en.wikipedia.org/wiki/Mare_Tranquillitatis" title="Mare Tranquillitatis">Sea of Tranquility</a>. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p> <hr/> <p style="text-align: right;"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
|
351
|
+
</textarea>
|
352
|
+
<script>
|
353
|
+
|
354
|
+
CKEDITOR.replace( 'editor4', {
|
355
|
+
removePlugins: 'bidi,div,font,forms,flash,horizontalrule,iframe,justify,table,tabletools,smiley',
|
356
|
+
removeButtons: 'Anchor,Underline,Strike,Subscript,Superscript,Image',
|
357
|
+
format_tags: 'p;h1;h2;h3;pre;address'
|
358
|
+
} );
|
359
|
+
|
360
|
+
</script>
|
361
|
+
</div>
|
362
|
+
|
363
|
+
<br>
|
364
|
+
|
365
|
+
<div>
|
366
|
+
<label for="editor5">
|
367
|
+
Editor 5:
|
368
|
+
</label>
|
369
|
+
<div class="description">
|
370
|
+
<p>
|
371
|
+
This editor is built on editable <code><h1></code> element.
|
372
|
+
<abbr title="Advanced Content Filter">ACF</abbr> takes care of
|
373
|
+
what can be included in <code><h1></code>. Note that there
|
374
|
+
are no block styles in Styles combo. Also why lists, indentation,
|
375
|
+
blockquote, div, form and other buttons are missing.
|
376
|
+
</p>
|
377
|
+
<p>
|
378
|
+
<abbr title="Advanced Content Filter">ACF</abbr> makes sure that
|
379
|
+
no disallowed tags will come to <code><h1></code> so the final
|
380
|
+
markup is valid. If the user tried to paste some invalid HTML
|
381
|
+
into this editor (let's say a list), it would be automatically
|
382
|
+
converted into plain text.
|
383
|
+
</p>
|
384
|
+
</div>
|
385
|
+
<h1 id="editor5" contenteditable="true">
|
386
|
+
<em>Apollo 11</em> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC.
|
387
|
+
</h1>
|
388
|
+
</div>
|
389
|
+
|
390
|
+
<div id="footer">
|
391
|
+
<hr>
|
392
|
+
<p>
|
393
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
394
|
+
</p>
|
395
|
+
<p id="copy">
|
396
|
+
Copyright © 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
397
|
+
Knabben. All rights reserved.
|
398
|
+
</p>
|
399
|
+
</div>
|
400
|
+
</body>
|
401
|
+
</html>
|
@@ -0,0 +1,141 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--
|
3
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
5
|
+
-->
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<meta charset="utf-8">
|
9
|
+
<title>Replace DIV — CKEditor Sample</title>
|
10
|
+
<script src="../ckeditor.js"></script>
|
11
|
+
<link href="sample.css" rel="stylesheet">
|
12
|
+
<style>
|
13
|
+
|
14
|
+
div.editable
|
15
|
+
{
|
16
|
+
border: solid 2px transparent;
|
17
|
+
padding-left: 15px;
|
18
|
+
padding-right: 15px;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.editable:hover
|
22
|
+
{
|
23
|
+
border-color: black;
|
24
|
+
}
|
25
|
+
|
26
|
+
</style>
|
27
|
+
<script>
|
28
|
+
|
29
|
+
// Uncomment the following code to test the "Timeout Loading Method".
|
30
|
+
// CKEDITOR.loadFullCoreTimeout = 5;
|
31
|
+
|
32
|
+
window.onload = function() {
|
33
|
+
// Listen to the double click event.
|
34
|
+
if ( window.addEventListener )
|
35
|
+
document.body.addEventListener( 'dblclick', onDoubleClick, false );
|
36
|
+
else if ( window.attachEvent )
|
37
|
+
document.body.attachEvent( 'ondblclick', onDoubleClick );
|
38
|
+
|
39
|
+
};
|
40
|
+
|
41
|
+
function onDoubleClick( ev ) {
|
42
|
+
// Get the element which fired the event. This is not necessarily the
|
43
|
+
// element to which the event has been attached.
|
44
|
+
var element = ev.target || ev.srcElement;
|
45
|
+
|
46
|
+
// Find out the div that holds this element.
|
47
|
+
var name;
|
48
|
+
|
49
|
+
do {
|
50
|
+
element = element.parentNode;
|
51
|
+
}
|
52
|
+
while ( element && ( name = element.nodeName.toLowerCase() ) &&
|
53
|
+
( name != 'div' || element.className.indexOf( 'editable' ) == -1 ) && name != 'body' );
|
54
|
+
|
55
|
+
if ( name == 'div' && element.className.indexOf( 'editable' ) != -1 )
|
56
|
+
replaceDiv( element );
|
57
|
+
}
|
58
|
+
|
59
|
+
var editor;
|
60
|
+
|
61
|
+
function replaceDiv( div ) {
|
62
|
+
if ( editor )
|
63
|
+
editor.destroy();
|
64
|
+
|
65
|
+
editor = CKEDITOR.replace( div );
|
66
|
+
}
|
67
|
+
|
68
|
+
</script>
|
69
|
+
</head>
|
70
|
+
<body>
|
71
|
+
<h1 class="samples">
|
72
|
+
<a href="index.html">CKEditor Samples</a> » Replace DIV with CKEditor on the Fly
|
73
|
+
</h1>
|
74
|
+
<div class="description">
|
75
|
+
<p>
|
76
|
+
This sample shows how to automatically replace <code><div></code> elements
|
77
|
+
with a CKEditor instance on the fly, following user's doubleclick. The content
|
78
|
+
that was previously placed inside the <code><div></code> element will now
|
79
|
+
be moved into CKEditor editing area.
|
80
|
+
</p>
|
81
|
+
<p>
|
82
|
+
For details on how to create this setup check the source code of this sample page.
|
83
|
+
</p>
|
84
|
+
</div>
|
85
|
+
<p>
|
86
|
+
Double-click any of the following <code><div></code> elements to transform them into
|
87
|
+
editor instances.
|
88
|
+
</p>
|
89
|
+
<div class="editable">
|
90
|
+
<h3>
|
91
|
+
Part 1
|
92
|
+
</h3>
|
93
|
+
<p>
|
94
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
|
95
|
+
semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
|
96
|
+
rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
|
97
|
+
nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
|
98
|
+
eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
|
99
|
+
</p>
|
100
|
+
</div>
|
101
|
+
<div class="editable">
|
102
|
+
<h3>
|
103
|
+
Part 2
|
104
|
+
</h3>
|
105
|
+
<p>
|
106
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
|
107
|
+
semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
|
108
|
+
rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
|
109
|
+
nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
|
110
|
+
eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
|
111
|
+
</p>
|
112
|
+
<p>
|
113
|
+
Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus
|
114
|
+
sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum
|
115
|
+
vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate.
|
116
|
+
</p>
|
117
|
+
</div>
|
118
|
+
<div class="editable">
|
119
|
+
<h3>
|
120
|
+
Part 3
|
121
|
+
</h3>
|
122
|
+
<p>
|
123
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi
|
124
|
+
semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna
|
125
|
+
rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla
|
126
|
+
nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce
|
127
|
+
eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus.
|
128
|
+
</p>
|
129
|
+
</div>
|
130
|
+
<div id="footer">
|
131
|
+
<hr>
|
132
|
+
<p>
|
133
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
134
|
+
</p>
|
135
|
+
<p id="copy">
|
136
|
+
Copyright © 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
137
|
+
Knabben. All rights reserved.
|
138
|
+
</p>
|
139
|
+
</div>
|
140
|
+
</body>
|
141
|
+
</html>
|