drg_default_html_editor 0.5.50.3 → 0.6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/ckeditor/CHANGES.md +1370 -414
- data/app/assets/javascripts/ckeditor/LICENSE.md +160 -4
- data/app/assets/javascripts/ckeditor/README.md +2 -2
- data/app/assets/javascripts/ckeditor/adapters/jquery.js +8 -8
- data/app/assets/javascripts/ckeditor/build-config.js +63 -60
- data/app/assets/javascripts/ckeditor/ckeditor.js +1241 -971
- data/app/assets/javascripts/ckeditor/config.js +33 -5
- data/app/assets/javascripts/ckeditor/contents.css +83 -9
- data/app/assets/javascripts/ckeditor/lang/af.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ar.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/az.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/bg.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/bn.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/bs.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ca.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/cs.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/cy.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/da.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/de-ch.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/de.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/el.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/en-au.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/en-ca.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/en-gb.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/en.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/eo.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/es-mx.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/es.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/et.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/eu.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/fa.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/fi.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/fo.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/fr-ca.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/fr.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/gl.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/gu.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/he.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/hi.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/hr.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/hu.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/id.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/is.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/it.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ja.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ka.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/km.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ko.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ku.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/lt.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/lv.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/mk.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/mn.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ms.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/nb.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/nl.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/no.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/oc.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/pl.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/pt-br.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/pt.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ro.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ru.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/si.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/sk.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/sl.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/sq.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/sr-latn.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/sr.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/sv.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/th.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/tr.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/tt.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/ug.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/uk.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/vi.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/zh-cn.js +4 -4
- data/app/assets/javascripts/ckeditor/lang/zh.js +4 -4
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -10
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -11
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +11 -10
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +7 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +8 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +6 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +5 -5
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +8 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +6 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -10
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -10
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +10 -10
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +8 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +8 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +9 -10
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +7 -8
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -5
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +20 -0
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +12 -11
- data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +196 -0
- data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +42 -41
- data/app/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -5
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -24
- data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/pastecode/CHANGES.md +8 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/LICENSE.md +1242 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/README.md +23 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/tests/pastefromexcel.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +53 -29
- data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +20 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -17
- data/app/assets/javascripts/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +4 -4
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +5 -5
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +10 -9
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +10 -10
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +5 -5
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +7 -10
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +19 -19
- data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +26 -0
- data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -15
- data/app/assets/javascripts/ckeditor/plugins/widget/images/handle.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +88 -71
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +7 -7
- data/app/assets/javascripts/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +43 -0
- data/app/assets/javascripts/ckeditor/samples/css/samples.css +1637 -0
- data/app/assets/javascripts/ckeditor/samples/img/github-top.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/img/header-bg.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/img/header-separator.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/img/logo.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/img/logo.svg +13 -0
- data/app/assets/javascripts/ckeditor/samples/img/navigation-tip.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/index.html +112 -112
- data/app/assets/javascripts/ckeditor/samples/js/sample.js +53 -0
- data/app/assets/javascripts/ckeditor/samples/js/sf.js +17 -0
- data/app/assets/javascripts/ckeditor/samples/{ajax.html → old/ajax.html} +8 -5
- data/app/assets/javascripts/ckeditor/samples/{api.html → old/api.html} +17 -14
- data/app/assets/javascripts/ckeditor/samples/{appendto.html → old/appendto.html} +10 -7
- data/app/assets/javascripts/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/outputxhtml/outputxhtml.css +2 -2
- data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/posteddata.php +4 -4
- data/app/assets/javascripts/ckeditor/samples/old/assets/sample.jpg +0 -0
- data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
- data/app/assets/javascripts/ckeditor/samples/{datafiltering.html → old/datafiltering.html} +120 -13
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/assets/my_dialog.js +3 -3
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/dialog/dialog.html +12 -9
- data/app/assets/javascripts/ckeditor/samples/{divreplace.html → old/divreplace.html} +8 -5
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/enterkey/enterkey.html +12 -9
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +19 -0
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/outputforflash.html +11 -8
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/htmlwriter/outputhtml.html +12 -9
- data/app/assets/javascripts/ckeditor/samples/old/index.html +131 -0
- data/app/assets/javascripts/ckeditor/samples/{inlineall.html → old/inlineall.html} +13 -10
- data/app/assets/javascripts/ckeditor/samples/{inlinebycode.html → old/inlinebycode.html} +9 -6
- data/app/assets/javascripts/ckeditor/samples/{inlinetextarea.html → old/inlinetextarea.html} +10 -7
- data/app/assets/javascripts/ckeditor/samples/{jquery.html → old/jquery.html} +11 -8
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/magicline/magicline.html +9 -6
- data/app/assets/javascripts/ckeditor/samples/{readonly.html → old/readonly.html} +11 -8
- data/app/assets/javascripts/ckeditor/samples/{replacebyclass.html → old/replacebyclass.html} +8 -5
- data/app/assets/javascripts/ckeditor/samples/{replacebycode.html → old/replacebycode.html} +8 -5
- data/app/assets/javascripts/ckeditor/samples/{sample.css → old/sample.css} +6 -14
- data/app/assets/javascripts/ckeditor/samples/{sample.js → old/sample.js} +2 -2
- data/app/assets/javascripts/ckeditor/samples/{sample_posteddata.php → old/sample_posteddata.php} +2 -2
- data/app/assets/javascripts/ckeditor/samples/{tabindex.html → old/tabindex.html} +8 -5
- data/app/assets/javascripts/ckeditor/samples/{plugins → old}/toolbar/toolbar.html +13 -10
- data/app/assets/javascripts/ckeditor/samples/{uicolor.html → old/uicolor.html} +9 -6
- data/app/assets/javascripts/ckeditor/samples/{uilanguages.html → old/uilanguages.html} +11 -8
- data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
- data/app/assets/javascripts/ckeditor/samples/{xhtmlstyle.html → old/xhtmlstyle.html} +10 -7
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +446 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
- data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/editor.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/spinner.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/readme.md +5 -7
- data/app/assets/javascripts/ckeditor/styles.js +43 -17
- data/app/controllers/dc_elfinder_controller.rb +5 -1
- data/app/models/drgcms_form_fields/ckeditor.rb +60 -0
- data/{lib/patches/drgcms_form_field.rb → app/models/drgcms_form_fields/elfinder.rb} +1 -34
- data/lib/drg_default_html_editor.rb +1 -2
- data/lib/drg_default_html_editor/version.rb +1 -1
- data/lib/patches/patch_for_elfinder.rb +0 -1
- metadata +118 -127
- data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -24
- data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -24
- data/app/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -8
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -8
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -8
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -8
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -8
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -20
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -13
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +0 -84
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -10
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/app/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
- data/app/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
- data/app/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
- data/app/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
@@ -1,23 +1,26 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
4
|
-
For licensing, see LICENSE.md or
|
3
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
6
|
<html>
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>Append To Page Element Using JavaScript Code — CKEditor Sample</title>
|
10
|
-
<script src="
|
10
|
+
<script src="../../ckeditor.js"></script>
|
11
11
|
<link rel="stylesheet" href="sample.css">
|
12
12
|
</head>
|
13
13
|
<body>
|
14
14
|
<h1 class="samples">
|
15
15
|
<a href="index.html">CKEditor Samples</a> » Append To Page Element Using JavaScript Code
|
16
16
|
</h1>
|
17
|
+
<div class="warning deprecated">
|
18
|
+
This sample is not maintained anymore. Check out the <a href="https://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>.
|
19
|
+
</div>
|
17
20
|
<div id="section1">
|
18
21
|
<div class="description">
|
19
22
|
<p>
|
20
|
-
The <code><a class="samples" href="
|
23
|
+
The <code><a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-appendTo">CKEDITOR.appendTo()</a></code> method serves to to place editors inside existing DOM elements. Unlike <code><a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-replace">CKEDITOR.replace()</a></code>,
|
21
24
|
a target container to be replaced is no longer necessary. A new editor
|
22
25
|
instance is inserted directly wherever it is desired.
|
23
26
|
</p>
|
@@ -36,7 +39,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
36
39
|
// provided content to the <div> element of ID "section1".
|
37
40
|
CKEDITOR.appendTo( 'section1',
|
38
41
|
null,
|
39
|
-
'<p>This is some <strong>sample text</strong>. You are using <a href="
|
42
|
+
'<p>This is some <strong>sample text</strong>. You are using <a href="https://ckeditor.com/">CKEditor</a>.</p>'
|
40
43
|
);
|
41
44
|
|
42
45
|
</script>
|
@@ -45,10 +48,10 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
45
48
|
<div id="footer">
|
46
49
|
<hr>
|
47
50
|
<p>
|
48
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="
|
51
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
49
52
|
</p>
|
50
53
|
<p id="copy">
|
51
|
-
Copyright © 2003-
|
54
|
+
Copyright © 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
|
52
55
|
Knabben. All rights reserved.
|
53
56
|
</p>
|
54
57
|
</div>
|
data/app/assets/javascripts/ckeditor/samples/{assets → old/assets}/outputxhtml/outputxhtml.css
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2003-
|
3
|
-
* For licensing, see LICENSE.md or
|
2
|
+
* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*
|
5
5
|
* Styles used by the XHTML 1.1 sample page (xhtml.html).
|
6
6
|
*/
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<?php
|
3
3
|
/*
|
4
|
-
Copyright (c) 2003-
|
5
|
-
For licensing, see LICENSE.md or
|
4
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
5
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
6
6
|
*/
|
7
7
|
?>
|
8
8
|
<html>
|
@@ -49,10 +49,10 @@ if (!empty($_POST))
|
|
49
49
|
<div id="footer">
|
50
50
|
<hr>
|
51
51
|
<p>
|
52
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="
|
52
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
53
53
|
</p>
|
54
54
|
<p id="copy">
|
55
|
-
Copyright © 2003-
|
55
|
+
Copyright © 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
|
56
56
|
</p>
|
57
57
|
</div>
|
58
58
|
</body>
|
Binary file
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
+
*/
|
5
|
+
var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German","de-ch":"German (Switzerland)",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish","es-mx":"Spanish (Mexico)",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",
|
6
|
+
gu:"Gujarati",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mk:"Macedonian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",oc:"Occitan",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",si:"Sinhala",sk:"Slovak",sq:"Albanian",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",
|
7
|
+
sv:"Swedish",th:"Thai",tr:"Turkish",tt:"Tatar",ug:"Uighur",uk:"Ukrainian",vi:"Vietnamese",zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a,name:c[a]||a});b.sort(function(a,b){return a.name<b.name?-1:1});return b}();
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
4
|
-
For licensing, see LICENSE.md or
|
3
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
6
|
<html>
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>Data Filtering — CKEditor Sample</title>
|
10
|
-
<script src="
|
10
|
+
<script src="../../ckeditor.js"></script>
|
11
11
|
<link rel="stylesheet" href="sample.css">
|
12
12
|
<script>
|
13
13
|
// Remove advanced tabs for all editors.
|
@@ -18,6 +18,9 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
18
18
|
<h1 class="samples">
|
19
19
|
<a href="index.html">CKEditor Samples</a> » Data Filtering and Features Activation
|
20
20
|
</h1>
|
21
|
+
<div class="warning deprecated">
|
22
|
+
This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/acf.html">brand new version in CKEditor SDK</a>.
|
23
|
+
</div>
|
21
24
|
<div class="description">
|
22
25
|
<p>
|
23
26
|
This sample page demonstrates the idea of Advanced Content Filter
|
@@ -55,7 +58,7 @@ editor.setData( '<p>Hello world!</p>' );
|
|
55
58
|
it provides a set of easy rules that allow adjusting filtering rules
|
56
59
|
and disabling the entire feature when necessary. The config property
|
57
60
|
responsible for this feature is <code><a class="samples"
|
58
|
-
href="
|
61
|
+
href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">config.allowedContent</a></code>.
|
59
62
|
</p>
|
60
63
|
<p>
|
61
64
|
By "automatic mode" is meant that loaded plugins decide which kind
|
@@ -64,7 +67,7 @@ editor.setData( '<p>Hello world!</p>' );
|
|
64
67
|
automatically allowed. Each plugin is given a set
|
65
68
|
of predefined <abbr title="Advanced Content Filter">ACF</abbr> rules
|
66
69
|
that control the editor until <code><a class="samples"
|
67
|
-
href="
|
70
|
+
href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
|
68
71
|
config.allowedContent</a></code>
|
69
72
|
is defined manually.
|
70
73
|
</p>
|
@@ -73,7 +76,7 @@ editor.setData( '<p>Hello world!</p>' );
|
|
73
76
|
only: no attributes, no styles, no other tags</strong>.
|
74
77
|
With <abbr title="Advanced Content Filter">ACF</abbr>
|
75
78
|
this is very simple. Basically set <code><a class="samples"
|
76
|
-
href="
|
79
|
+
href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
|
77
80
|
config.allowedContent</a></code> to <code>'p'</code>:
|
78
81
|
</p>
|
79
82
|
<pre class="samples">
|
@@ -101,13 +104,13 @@ alert( editor.getData() );
|
|
101
104
|
<p>
|
102
105
|
This is just a small sample of what <abbr title="Advanced Content Filter">ACF</abbr>
|
103
106
|
can do. To know more, please refer to the sample section below and
|
104
|
-
<a href="
|
107
|
+
<a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html">the official Advanced Content Filter guide</a>.
|
105
108
|
</p>
|
106
109
|
<p>
|
107
110
|
You may, of course, want CKEditor to avoid filtering of any kind.
|
108
111
|
To get rid of <abbr title="Advanced Content Filter">ACF</abbr>,
|
109
112
|
basically set <code><a class="samples"
|
110
|
-
href="
|
113
|
+
href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
|
111
114
|
config.allowedContent</a></code> to <code>true</code> like this:
|
112
115
|
</p>
|
113
116
|
<pre class="samples">
|
@@ -143,7 +146,7 @@ CKEDITOR.replace( <em>textarea_id</em>, {
|
|
143
146
|
<p>
|
144
147
|
There are several editor instances below that present different
|
145
148
|
<abbr title="Advanced Content Filter">ACF</abbr> setups. <strong>All of them,
|
146
|
-
except the
|
149
|
+
except the inline instance, share the same HTML content</strong> to visualize
|
147
150
|
how different filtering rules affect the same input data.
|
148
151
|
</p>
|
149
152
|
</div>
|
@@ -156,7 +159,7 @@ CKEDITOR.replace( <em>textarea_id</em>, {
|
|
156
159
|
<p>
|
157
160
|
This editor is using default configuration ("automatic mode"). It means that
|
158
161
|
<code><a class="samples"
|
159
|
-
href="
|
162
|
+
href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
|
160
163
|
config.allowedContent</a></code> is defined by loaded plugins.
|
161
164
|
Each plugin extends filtering rules to make it's own associated content
|
162
165
|
available for the user.
|
@@ -241,7 +244,7 @@ CKEDITOR.replace( 'editor2', {
|
|
241
244
|
The same thing happened to subscript/superscript, strike, underline
|
242
245
|
(<code><u></code>, <code><sub></code>, <code><sup></code>
|
243
246
|
are disallowed by <code><a class="samples"
|
244
|
-
href="
|
247
|
+
href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent">
|
245
248
|
config.allowedContent</a></code>) and many other buttons.
|
246
249
|
</p>
|
247
250
|
</div>
|
@@ -387,13 +390,117 @@ CKEDITOR.replace( 'editor4', {
|
|
387
390
|
</h1>
|
388
391
|
</div>
|
389
392
|
|
393
|
+
<br>
|
394
|
+
|
395
|
+
<div>
|
396
|
+
<label for="editor3">
|
397
|
+
Editor 6:
|
398
|
+
</label>
|
399
|
+
<div class="description">
|
400
|
+
<p>
|
401
|
+
This editor is using a custom configuration for <abbr title="Advanced Content Filter">ACF</abbr>.
|
402
|
+
It's using the <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_disallowed_content.html" rel="noopener noreferrer" target="_blank">
|
403
|
+
Disallowed Content</a> property of the filter to eliminate all <code>title</code> attributes.
|
404
|
+
</p>
|
405
|
+
|
406
|
+
<pre class="samples">
|
407
|
+
CKEDITOR.replace( 'editor6', {
|
408
|
+
allowedContent: {
|
409
|
+
'b i ul ol big small': true,
|
410
|
+
'h1 h2 h3 p blockquote li': {
|
411
|
+
styles: 'text-align'
|
412
|
+
},
|
413
|
+
a: {attributes: '!href,target'},
|
414
|
+
img: {
|
415
|
+
attributes: '!src,alt',
|
416
|
+
styles: 'width,height',
|
417
|
+
classes: 'left,right'
|
418
|
+
}
|
419
|
+
},
|
420
|
+
disallowedContent: '*{title*}'
|
421
|
+
} );
|
422
|
+
</pre>
|
423
|
+
</div>
|
424
|
+
<textarea cols="80" id="editor6" name="editor6" rows="10">
|
425
|
+
<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>
|
426
|
+
</textarea>
|
427
|
+
<script>
|
428
|
+
|
429
|
+
CKEDITOR.replace( 'editor6', {
|
430
|
+
allowedContent: {
|
431
|
+
'b i ul ol big small': true,
|
432
|
+
'h1 h2 h3 p blockquote li': {
|
433
|
+
styles: 'text-align'
|
434
|
+
},
|
435
|
+
a: {attributes: '!href,target'},
|
436
|
+
img: {
|
437
|
+
attributes: '!src,alt',
|
438
|
+
styles: 'width,height',
|
439
|
+
classes: 'left,right'
|
440
|
+
}
|
441
|
+
},
|
442
|
+
disallowedContent: '*{title*}'
|
443
|
+
} );
|
444
|
+
|
445
|
+
</script>
|
446
|
+
</div>
|
447
|
+
|
448
|
+
<br>
|
449
|
+
|
450
|
+
<div>
|
451
|
+
<label for="editor7">
|
452
|
+
Editor 7:
|
453
|
+
</label>
|
454
|
+
<div class="description">
|
455
|
+
<p>
|
456
|
+
This editor is using a custom configuration for <abbr title="Advanced Content Filter">ACF</abbr>.
|
457
|
+
It's using the <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_disallowed_content.html" rel="noopener noreferrer" target="_blank">
|
458
|
+
Disallowed Content</a> property of the filter to eliminate all <code>a</code> and <code>img</code> tags,
|
459
|
+
while allowing all other tags.
|
460
|
+
</p>
|
461
|
+
<pre class="samples">
|
462
|
+
CKEDITOR.replace( 'editor7', {
|
463
|
+
allowedContent: {
|
464
|
+
// Allow all content.
|
465
|
+
$1: {
|
466
|
+
elements: CKEDITOR.dtd,
|
467
|
+
attributes: true,
|
468
|
+
styles: true,
|
469
|
+
classes: true
|
470
|
+
}
|
471
|
+
},
|
472
|
+
disallowedContent: 'img a'
|
473
|
+
} );
|
474
|
+
</pre>
|
475
|
+
</div>
|
476
|
+
<textarea cols="80" id="editor7" name="editor7" rows="10">
|
477
|
+
<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>
|
478
|
+
</textarea>
|
479
|
+
<script>
|
480
|
+
|
481
|
+
CKEDITOR.replace( 'editor7', {
|
482
|
+
allowedContent: {
|
483
|
+
// allow all content
|
484
|
+
$1: {
|
485
|
+
elements: CKEDITOR.dtd,
|
486
|
+
attributes: true,
|
487
|
+
styles: true,
|
488
|
+
classes: true
|
489
|
+
}
|
490
|
+
},
|
491
|
+
disallowedContent: 'img a'
|
492
|
+
} );
|
493
|
+
|
494
|
+
</script>
|
495
|
+
</div>
|
496
|
+
|
390
497
|
<div id="footer">
|
391
498
|
<hr>
|
392
499
|
<p>
|
393
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="
|
500
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
394
501
|
</p>
|
395
502
|
<p id="copy">
|
396
|
-
Copyright © 2003-
|
503
|
+
Copyright © 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
|
397
504
|
Knabben. All rights reserved.
|
398
505
|
</p>
|
399
506
|
</div>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/**
|
2
|
-
* Copyright (c) 2003-
|
3
|
-
* For licensing, see LICENSE.md or
|
2
|
+
* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
CKEDITOR.dialog.add( 'myDialog', function(
|
6
|
+
CKEDITOR.dialog.add( 'myDialog', function() {
|
7
7
|
return {
|
8
8
|
title: 'My Dialog',
|
9
9
|
minWidth: 400,
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
4
|
-
For licensing, see LICENSE.md or
|
3
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
6
|
<html>
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>Using API to Customize Dialog Windows — CKEditor Sample</title>
|
10
10
|
<script src="../../../ckeditor.js"></script>
|
11
|
-
<link rel="stylesheet" href="../../../samples/sample.css">
|
11
|
+
<link rel="stylesheet" href="../../../samples/old/sample.css">
|
12
12
|
<meta name="ckeditor-sample-name" content="Using the JavaScript API to customize dialog windows">
|
13
13
|
<meta name="ckeditor-sample-group" content="Advanced Samples">
|
14
14
|
<meta name="ckeditor-sample-description" content="Using the dialog windows API to customize dialog windows without changing the original editor code.">
|
@@ -134,12 +134,15 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
134
134
|
</head>
|
135
135
|
<body>
|
136
136
|
<h1 class="samples">
|
137
|
-
<a href="../../../samples/index.html">CKEditor Samples</a> » Using CKEditor Dialog API
|
137
|
+
<a href="../../../samples/old/index.html">CKEditor Samples</a> » Using CKEditor Dialog API
|
138
138
|
</h1>
|
139
|
+
<div class="warning deprecated">
|
140
|
+
This sample is not maintained anymore. Check out the <a href="https://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>.
|
141
|
+
</div>
|
139
142
|
<div class="description">
|
140
143
|
<p>
|
141
144
|
This sample shows how to use the
|
142
|
-
<a class="samples" href="
|
145
|
+
<a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html">CKEditor Dialog API</a>
|
143
146
|
to customize CKEditor dialog windows without changing the original editor code.
|
144
147
|
The following customizations are being done in the example below:
|
145
148
|
</p>
|
@@ -152,7 +155,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
152
155
|
<li><strong>Creating a custom dialog window</strong> – "My Dialog" dialog window opened with the "My Dialog" toolbar button.</li>
|
153
156
|
<li><strong>Creating a custom button</strong> – Add button to open the dialog with "My Dialog" toolbar button.</li>
|
154
157
|
</ol>
|
155
|
-
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="
|
158
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="https://ckeditor.com/">CKEditor</a>.</p></textarea>
|
156
159
|
<script>
|
157
160
|
// Replace the <textarea id="editor1"> with an CKEditor instance.
|
158
161
|
CKEDITOR.replace( 'editor1', config );
|
@@ -166,7 +169,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
166
169
|
<li><strong>Setting default values for dialog window fields</strong> – Set default value of "Text Field" text field. </li>
|
167
170
|
<li><strong>Setup initial focus for dialog window</strong> – Put initial focus on "My Custom Field" text field. </li>
|
168
171
|
</ol>
|
169
|
-
<textarea cols="80" id="editor2" name="editor2" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="
|
172
|
+
<textarea cols="80" id="editor2" name="editor2" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="https://ckeditor.com/">CKEditor</a>.</p></textarea>
|
170
173
|
<script>
|
171
174
|
|
172
175
|
// Replace the <textarea id="editor1"> with an CKEditor instance.
|
@@ -176,10 +179,10 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
176
179
|
<div id="footer">
|
177
180
|
<hr>
|
178
181
|
<p>
|
179
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="
|
182
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
180
183
|
</p>
|
181
184
|
<p id="copy">
|
182
|
-
Copyright © 2003-
|
185
|
+
Copyright © 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
|
183
186
|
Knabben. All rights reserved.
|
184
187
|
</p>
|
185
188
|
</div>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
4
|
-
For licensing, see LICENSE.md or
|
3
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
6
|
<html>
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>Replace DIV — CKEditor Sample</title>
|
10
|
-
<script src="
|
10
|
+
<script src="../../ckeditor.js"></script>
|
11
11
|
<link href="sample.css" rel="stylesheet">
|
12
12
|
<style>
|
13
13
|
|
@@ -71,6 +71,9 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
71
71
|
<h1 class="samples">
|
72
72
|
<a href="index.html">CKEditor Samples</a> » Replace DIV with CKEditor on the Fly
|
73
73
|
</h1>
|
74
|
+
<div class="warning deprecated">
|
75
|
+
This sample is not maintained anymore. Check out the <a href="https://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>.
|
76
|
+
</div>
|
74
77
|
<div class="description">
|
75
78
|
<p>
|
76
79
|
This sample shows how to automatically replace <code><div></code> elements
|
@@ -130,10 +133,10 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
130
133
|
<div id="footer">
|
131
134
|
<hr>
|
132
135
|
<p>
|
133
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="
|
136
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
134
137
|
</p>
|
135
138
|
<p id="copy">
|
136
|
-
Copyright © 2003-
|
139
|
+
Copyright © 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
|
137
140
|
Knabben. All rights reserved.
|
138
141
|
</p>
|
139
142
|
</div>
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
4
|
-
For licensing, see LICENSE.md or
|
3
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
4
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
6
|
<html>
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>ENTER Key Configuration — CKEditor Sample</title>
|
10
10
|
<script src="../../../ckeditor.js"></script>
|
11
|
-
<link href="../../../samples/sample.css" rel="stylesheet">
|
11
|
+
<link href="../../../samples/old/sample.css" rel="stylesheet">
|
12
12
|
<meta name="ckeditor-sample-name" content="Using the "Enter" key in CKEditor">
|
13
13
|
<meta name="ckeditor-sample-group" content="Advanced Samples">
|
14
14
|
<meta name="ckeditor-sample-description" content="Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys.">
|
@@ -35,14 +35,17 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
35
35
|
</head>
|
36
36
|
<body>
|
37
37
|
<h1 class="samples">
|
38
|
-
<a href="../../../samples/index.html">CKEditor Samples</a> » ENTER Key Configuration
|
38
|
+
<a href="../../../samples/old/index.html">CKEditor Samples</a> » ENTER Key Configuration
|
39
39
|
</h1>
|
40
|
+
<div class="warning deprecated">
|
41
|
+
This sample is not maintained anymore. Check out its <a href="https://sdk.ckeditor.com/samples/enterkey.html">brand new version in CKEditor SDK</a>.
|
42
|
+
</div>
|
40
43
|
<div class="description">
|
41
44
|
<p>
|
42
45
|
This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys
|
43
46
|
to perform actions specified in the
|
44
|
-
<a class="samples" href="
|
45
|
-
and <a class="samples" href="
|
47
|
+
<a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode"><code>enterMode</code></a>
|
48
|
+
and <a class="samples" href="https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-shiftEnterMode"><code>shiftEnterMode</code></a>
|
46
49
|
parameters, respectively.
|
47
50
|
You can choose from the following options:
|
48
51
|
</p>
|
@@ -83,7 +86,7 @@ CKEDITOR.replace( '<em>textarea_id</em>', {
|
|
83
86
|
<form action="../../../samples/sample_posteddata.php" method="post">
|
84
87
|
<p>
|
85
88
|
<br>
|
86
|
-
<textarea cols="80" id="editor1" name="editor1" rows="10">This is some <strong>sample text</strong>. You are using <a href="
|
89
|
+
<textarea cols="80" id="editor1" name="editor1" rows="10">This is some <strong>sample text</strong>. You are using <a href="https://ckeditor.com/">CKEditor</a>.</textarea>
|
87
90
|
</p>
|
88
91
|
<p>
|
89
92
|
<input type="submit" value="Submit">
|
@@ -92,10 +95,10 @@ CKEDITOR.replace( '<em>textarea_id</em>', {
|
|
92
95
|
<div id="footer">
|
93
96
|
<hr>
|
94
97
|
<p>
|
95
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="
|
98
|
+
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
96
99
|
</p>
|
97
100
|
<p id="copy">
|
98
|
-
Copyright © 2003-
|
101
|
+
Copyright © 2003-2018, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico
|
99
102
|
Knabben. All rights reserved.
|
100
103
|
</p>
|
101
104
|
</div>
|