drg_default_html_editor 0.6.0.0 → 0.7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/close.png +0 -0
- data/app/assets/images/lock-open.png +0 -0
- data/app/assets/images/lock.png +0 -0
- data/app/assets/images/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/CHANGES.md +832 -163
- data/app/assets/javascripts/ckeditor/LICENSE.md +23 -7
- data/app/assets/javascripts/ckeditor/README.md +5 -5
- data/app/assets/javascripts/ckeditor/SECURITY.md +10 -0
- data/app/assets/javascripts/ckeditor/adapters/jquery.js +6 -6
- data/app/assets/javascripts/ckeditor/bender-runner.config.json +16 -0
- data/app/assets/javascripts/ckeditor/build-config.js +30 -12
- data/app/assets/javascripts/ckeditor/ckeditor.js +1216 -1040
- data/app/assets/javascripts/ckeditor/config.js +9 -32
- data/app/assets/javascripts/ckeditor/contents.css +1 -1
- data/app/assets/javascripts/ckeditor/lang/af.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ar.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/az.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/bg.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/bn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/bs.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ca.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/cs.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/cy.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/da.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/de-ch.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/de.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/el.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en-au.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en-ca.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en-gb.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/eo.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/es-mx.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/es.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/et.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/eu.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fa.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fi.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fo.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fr-ca.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/gl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/gu.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/he.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/hi.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/hr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/hu.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/id.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/is.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/it.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ja.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ka.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/km.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ko.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ku.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/lt.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/lv.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/mk.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/mn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ms.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/nb.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/nl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/no.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/oc.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/pl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/pt-br.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/pt.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ro.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ru.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/si.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sk.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sq.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sr-latn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sv.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/th.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/tr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/tt.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ug.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/uk.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/vi.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/zh-cn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/zh.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +8 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +10 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +4 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +4 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +8 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +4 -4
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
- data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
- data/app/assets/javascripts/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
- data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/dialog/styles/dialog.css +18 -0
- data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +26 -0
- 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-org.js +44 -0
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1286 -44
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +5 -5
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -24
- data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +39 -52
- data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/common.js +24 -0
- data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/image.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +13 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/styles/screen.css +10 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +1 -17
- data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +63 -7
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -32
- 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/specialchar/dialogs/lang/_translationstatus.txt +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +8 -10
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +10 -10
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +19 -18
- data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +10 -0
- data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +15 -15
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templatedefinition.js +4 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +7 -0
- 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/css/samples.css +1 -1
- data/app/assets/javascripts/ckeditor/samples/index.html +11 -9
- data/app/assets/javascripts/ckeditor/samples/js/sample.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/js/sf.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/ajax.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/api.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/appendto.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/assets/posteddata.php +4 -3
- data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/datafiltering.html +8 -8
- data/app/assets/javascripts/ckeditor/samples/old/dialog/assets/my_dialog.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/dialog/dialog.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/divreplace.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/enterkey/enterkey.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputhtml.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/index.html +11 -13
- data/app/assets/javascripts/ckeditor/samples/old/inlineall.html +6 -6
- data/app/assets/javascripts/ckeditor/samples/old/inlinebycode.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/inlinetextarea.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/jquery.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/magicline/magicline.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/readonly.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/replacebyclass.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/replacebycode.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/sample.css +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/sample.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/sample_posteddata.php +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/tabindex.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/toolbar/toolbar.html +4 -4
- data/app/assets/javascripts/ckeditor/samples/old/uicolor.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/uilanguages.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/xhtmlstyle.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +7 -6
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +4 -4
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/{moono → moono-lisa}/readme.md +9 -12
- data/app/assets/javascripts/ckeditor/styles.js +1 -1
- data/app/assets/javascripts/ckeditor/vendor/promise.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor_cms.js +1 -4
- data/app/assets/stylesheets/drg_default_html_editor_cms.css +3 -3
- data/app/models/drgcms_form_fields/ckeditor.rb +12 -13
- data/lib/drg_default_html_editor/version.rb +1 -1
- data/lib/drg_default_html_editor.rb +2 -2
- data/lib/tasks/drg_default_html_editor_tasks.rake +16 -4
- metadata +95 -166
- data/app/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +0 -196
- data/app/assets/javascripts/ckeditor/plugins/pastecode/CHANGES.md +0 -8
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/LICENSE.md +0 -1242
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/README.md +0 -23
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/tests/pastefromexcel.js +0 -6
- data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
- data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
- data/app/assets/javascripts/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
- data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +0 -5
- 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/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/elfinder/Changelog +0 -494
- data/app/assets/javascripts/elfinder/LICENSE.md +0 -15
- data/app/assets/javascripts/elfinder/README.md +0 -209
- data/app/assets/javascripts/elfinder/bower.json +0 -28
- data/app/assets/javascripts/elfinder/composer.json +0 -39
- data/app/assets/javascripts/elfinder/css/elfinder.full.css +0 -3034
- data/app/assets/javascripts/elfinder/css/elfinder.min.css +0 -9
- data/app/assets/javascripts/elfinder/css/theme.css +0 -68
- data/app/assets/javascripts/elfinder/elfinder.html +0 -61
- data/app/assets/javascripts/elfinder/img/arrows-active.png +0 -0
- data/app/assets/javascripts/elfinder/img/arrows-normal.png +0 -0
- data/app/assets/javascripts/elfinder/img/crop.gif +0 -0
- data/app/assets/javascripts/elfinder/img/dialogs.png +0 -0
- data/app/assets/javascripts/elfinder/img/icons-big.png +0 -0
- data/app/assets/javascripts/elfinder/img/icons-small.png +0 -0
- data/app/assets/javascripts/elfinder/img/logo.png +0 -0
- data/app/assets/javascripts/elfinder/img/progress.gif +0 -0
- data/app/assets/javascripts/elfinder/img/quicklook-bg.png +0 -0
- data/app/assets/javascripts/elfinder/img/quicklook-icons.png +0 -0
- data/app/assets/javascripts/elfinder/img/resize.png +0 -0
- data/app/assets/javascripts/elfinder/img/spinner-mini.gif +0 -0
- data/app/assets/javascripts/elfinder/img/toolbar.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_box.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_dropbox.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_ftp.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_googledrive.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_local.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_onedrive.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_sql.png +0 -0
- data/app/assets/javascripts/elfinder/js/elfinder.full.js +0 -23025
- data/app/assets/javascripts/elfinder/js/elfinder.min.js +0 -20
- data/app/assets/javascripts/elfinder/js/extras/encoding-japanese.min.js +0 -35
- data/app/assets/javascripts/elfinder/js/extras/quicklook.googledocs.js +0 -69
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.LANG.js +0 -479
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ar.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.bg.js +0 -412
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ca.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.cs.js +0 -469
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.da.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.de.js +0 -457
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.el.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.es.js +0 -433
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fa.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fallback.js +0 -11
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fo.js +0 -419
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fr.js +0 -419
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.he.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.hr.js +0 -434
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.hu.js +0 -447
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.id.js +0 -373
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.it.js +0 -448
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.jp.js +0 -474
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ko.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.nl.js +0 -419
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.no.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.pl.js +0 -455
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.pt_BR.js +0 -438
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ro.js +0 -417
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ru.js +0 -440
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sk.js +0 -469
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sl.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sr.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sv.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.tr.js +0 -468
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ug_CN.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.uk.js +0 -391
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.vi.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_CN.js +0 -467
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_TW.js +0 -472
- data/app/assets/javascripts/elfinder/js/proxy/elFinderSupportVer1.js +0 -420
- data/app/assets/javascripts/elfinder/main.default.js +0 -94
- data/app/assets/javascripts/elfinder/package.json +0 -13
- data/app/assets/javascripts/elfinder/sounds/rm.wav +0 -0
- data/app/controllers/dc_elfinder_controller.rb +0 -62
- data/app/models/drgcms_form_fields/elfinder.rb +0 -88
- data/config/initializers/load_patches.rb +0 -30
- data/config/routes.rb +0 -2
- data/lib/drg_default_html_editor.rb~ +0 -6
- data/lib/patches/patch_for_elfinder.rb +0 -114
- data/lib/tasks/drg_default_html_editor_copy_assets.rake +0 -18
- /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/arrow.png +0 -0
- /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/spinner.gif +0 -0
@@ -1,14 +1,14 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
CKEDITOR.dialog.add("specialchar",function(
|
6
|
-
var f
|
7
|
-
|
8
|
-
break;case
|
9
|
-
d(null,b)}});return{title:n.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,onLoad:function(){for(var c=this.definition.charColumns,b=
|
10
|
-
for(var
|
11
|
-
'" onkeydown\x3d"CKEDITOR.tools.callFunction( '+q+', event, this )" onclick\x3d"CKEDITOR.tools.callFunction('+p+', this); return false;" tabindex\x3d"-1"\x3e\x3cspan style\x3d"margin: 0 auto;cursor: inherit"\x3e'+
|
12
|
-
|
13
|
-
|
14
|
-
|
5
|
+
CKEDITOR.dialog.add("specialchar",function(h){var f,n=h.lang.specialchar,k,l,p,d,e,q;l=function(c){var b;c=c.data?c.data.getTarget():new CKEDITOR.dom.element(c);"a"==c.getName()&&(b=c.getChild(0).getHtml())&&(c.removeClass("cke_light_background"),f.hide(),c=h.document.createElement("span"),c.setHtml(b),h.insertText(c.getText()))};p=CKEDITOR.tools.addFunction(l);e=function(c,b){var a;b=b||c.data.getTarget();"span"==b.getName()&&(b=b.getParent());if("a"==b.getName()&&(a=b.getChild(0).getHtml())){k&&
|
6
|
+
d(null,k);var e=f.getContentElement("info","htmlPreview").getElement();f.getContentElement("info","charPreview").getElement().setHtml(a);e.setHtml(CKEDITOR.tools.htmlEncode(a));b.getParent().addClass("cke_light_background");k=b}};d=function(c,b){b=b||c.data.getTarget();"span"==b.getName()&&(b=b.getParent());"a"==b.getName()&&(f.getContentElement("info","charPreview").getElement().setHtml("\x26nbsp;"),f.getContentElement("info","htmlPreview").getElement().setHtml("\x26nbsp;"),b.getParent().removeClass("cke_light_background"),
|
7
|
+
k=void 0)};q=CKEDITOR.tools.addFunction(function(c){c=new CKEDITOR.dom.event(c);var b=c.getTarget(),a;a=c.getKeystroke();var r="rtl"==h.lang.dir;switch(a){case 38:if(a=b.getParent().getParent().getPrevious())a=a.getChild([b.getParent().getIndex(),0]),a.focus(),d(null,b),e(null,a);c.preventDefault();break;case 40:(a=b.getParent().getParent().getNext())&&(a=a.getChild([b.getParent().getIndex(),0]))&&1==a.type&&(a.focus(),d(null,b),e(null,a));c.preventDefault();break;case 32:l({data:c});c.preventDefault();
|
8
|
+
break;case r?37:39:if(a=b.getParent().getNext())a=a.getChild(0),1==a.type?(a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):d(null,b);else if(a=b.getParent().getParent().getNext())(a=a.getChild([0,0]))&&1==a.type?(a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):d(null,b);break;case r?39:37:(a=b.getParent().getPrevious())?(a=a.getChild(0),a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):(a=b.getParent().getParent().getPrevious())?(a=a.getLast().getChild(0),a.focus(),d(null,b),e(null,a),c.preventDefault(!0)):
|
9
|
+
d(null,b)}});return{title:n.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,onLoad:function(){for(var c=this.definition.charColumns,b=h.config.specialChars,a=CKEDITOR.tools.getNextId()+"_specialchar_table_label",d=['\x3ctable role\x3d"listbox" aria-labelledby\x3d"'+a+'" style\x3d"width: 320px; height: 100%; border-collapse: separate;" align\x3d"center" cellspacing\x3d"2" cellpadding\x3d"2" border\x3d"0"\x3e'],e=0,f=b.length,g,m;e<f;){d.push('\x3ctr role\x3d"presentation"\x3e');
|
10
|
+
for(var k=0;k<c;k++,e++)if(g=b[e]){g instanceof Array?(m=g[1],g=g[0]):(m=g.replace("\x26","").replace(";","").replace("#",""),m=n[m]||g);var l="cke_specialchar_label_"+e+"_"+CKEDITOR.tools.getNextNumber();d.push('\x3ctd class\x3d"cke_dark_background" style\x3d"cursor: default" role\x3d"presentation"\x3e\x3ca href\x3d"javascript: void(0);" role\x3d"option" aria-posinset\x3d"'+(e+1)+'"',' aria-setsize\x3d"'+f+'"',' aria-labelledby\x3d"'+l+'"',' class\x3d"cke_specialchar" title\x3d"',CKEDITOR.tools.htmlEncode(m),
|
11
|
+
'" onkeydown\x3d"CKEDITOR.tools.callFunction( '+q+', event, this )" onclick\x3d"CKEDITOR.tools.callFunction('+p+', this); return false;" tabindex\x3d"-1"\x3e\x3cspan style\x3d"margin: 0 auto;cursor: inherit"\x3e'+g+'\x3c/span\x3e\x3cspan class\x3d"cke_voice_label" id\x3d"'+l+'"\x3e'+m+"\x3c/span\x3e\x3c/a\x3e\x3c/td\x3e")}d.push("\x3c/tr\x3e")}d.push("\x3c/tbody\x3e\x3c/table\x3e",'\x3cspan id\x3d"'+a+'" class\x3d"cke_voice_label"\x3e'+n.options+"\x3c/span\x3e");this.getContentElement("info","charContainer").getElement().setHtml(d.join(""))},
|
12
|
+
contents:[{id:"info",label:h.lang.common.generalTab,title:h.lang.common.generalTab,padding:0,align:"top",elements:[{type:"hbox",align:"top",widths:["320px","90px"],children:[{type:"html",id:"charContainer",html:"",onMouseover:e,onMouseout:d,focus:function(){var c=this.getElement().getElementsByTag("a").getItem(0);setTimeout(function(){c.focus();e(null,c)},0)},onShow:function(){var c=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){c.focus();e(null,c)},0)},onLoad:function(c){f=c.sender}},
|
13
|
+
{type:"hbox",align:"top",widths:["100%"],children:[{type:"vbox",align:"top",children:[{type:"html",html:"\x3cdiv\x3e\x3c/div\x3e"},{type:"html",id:"charPreview",className:"cke_dark_background",style:"border:1px solid #eeeeee;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",html:"\x3cdiv\x3e\x26nbsp;\x3c/div\x3e"},{type:"html",id:"htmlPreview",className:"cke_dark_background",style:"border:1px solid #eeeeee;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;text-align:center;",
|
14
|
+
html:"\x3cdiv\x3e\x26nbsp;\x3c/div\x3e"}]}]}]}]}]}});
|
@@ -1,21 +1,22 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
(function(){function
|
6
|
-
310:280,onLoad:function(){var
|
7
|
-
"txtHeight");"tableProperties"==f&&((
|
8
|
-
b);if(c.info){c=c.info;if(!this._.selectedElement)for(var
|
9
|
-
g.type!=CKEDITOR.NODE_ELEMENT||
|
10
|
-
f))for(
|
11
|
-
b.getAttribute("style")||b.removeAttribute("style")}if(this._.selectedElement)try{
|
12
|
-
required:!0,controlStyle:"width:5em",validate:
|
13
|
-
"row"],[a.lang.table.headersColumn,"col"],[a.lang.table.headersBoth,"both"]],setup:function(
|
14
|
-
controlStyle:"width:3em",validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidBorder),setup:function(
|
15
|
-
"")},commit:function(a,
|
16
|
-
a.lang.common.width)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("width",this.getValue())},setup:function(a){a=a.getStyle("width");this.setValue(a)},commit:
|
17
|
-
a.lang.common.height)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("height",this.getValue())},setup:function(a){(a=a.getStyle("height"))&&this.setValue(a)},commit:
|
18
|
-
setup:function(a){this.setValue(a.getAttribute("cellSpacing")||"")},commit:function(a,
|
19
|
-
|
20
|
-
this.setValue(a))}},commit:function(e
|
21
|
-
"")},commit:function(a,
|
5
|
+
(function(){function w(a){for(var f=0,p=0,n=0,q,d=a.$.rows.length;n<d;n++){q=a.$.rows[n];for(var e=f=0,b,c=q.cells.length;e<c;e++)b=q.cells[e],f+=b.colSpan;f>p&&(p=f)}return p}function t(a){return function(){var f=this.getValue(),f=!!(CKEDITOR.dialog.validate.integer().call(this,f)&&0<f);f||(alert(a),this.select());return f}}function r(a,f){var p=function(d){return new CKEDITOR.dom.element(d,a.document)},r=a.editable(),q=a.plugins.dialogadvtab;return{title:a.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?
|
6
|
+
310:280,getModel:function(d){return"tableProperties"!==this.dialog.getName()?null:(d=(d=d.getSelection())&&d.getRanges()[0])?d._getTableElement({table:1}):null},onLoad:function(){var d=this,a=d.getContentElement("advanced","advStyles");if(a)a.on("change",function(){var a=this.getStyle("width",""),c=d.getContentElement("info","txtWidth");c&&c.setValue(a,!0);a=this.getStyle("height","");(c=d.getContentElement("info","txtHeight"))&&c.setValue(a,!0)})},onShow:function(){var d=a.getSelection(),e=d.getRanges(),
|
7
|
+
b,c=this.getContentElement("info","txtRows"),h=this.getContentElement("info","txtCols"),u=this.getContentElement("info","txtWidth"),l=this.getContentElement("info","txtHeight");"tableProperties"==f&&((d=d.getSelectedElement())&&d.is("table")?b=d:0<e.length&&(CKEDITOR.env.webkit&&e[0].shrink(CKEDITOR.NODE_ELEMENT),b=a.elementPath(e[0].getCommonAncestor(!0)).contains("table",1)),this._.selectedElement=b);b?(this.setupContent(b),c&&c.disable(),h&&h.disable()):(c&&c.enable(),h&&h.enable());u&&u.onChange();
|
8
|
+
l&&l.onChange()},onOk:function(){var d=a.getSelection(),e=this._.selectedElement&&d.createBookmarks(),b=this._.selectedElement||p("table"),c={};this.commitContent(c,b);if(c.info){c=c.info;if(!this._.selectedElement)for(var h=b.append(p("tbody")),f=parseInt(c.txtRows,10)||0,l=parseInt(c.txtCols,10)||0,k=0;k<f;k++)for(var g=h.append(p("tr")),m=0;m<l;m++)g.append(p("td")).appendBogus();f=c.selHeaders;if(!b.$.tHead&&("row"==f||"both"==f)){g=b.getElementsByTag("thead").getItem(0);h=b.getElementsByTag("tbody").getItem(0);
|
9
|
+
l=h.getElementsByTag("tr").getItem(0);g||(g=new CKEDITOR.dom.element("thead"),g.insertBefore(h));for(k=0;k<l.getChildCount();k++)h=l.getChild(k),h.type!=CKEDITOR.NODE_ELEMENT||h.data("cke-bookmark")||(h.renameNode("th"),h.setAttribute("scope","col"));g.append(l.remove())}if(null!==b.$.tHead&&"row"!=f&&"both"!=f){g=new CKEDITOR.dom.element(b.$.tHead);for(h=b.getElementsByTag("tbody").getItem(0);0<g.getChildCount();){l=g.getFirst();for(k=0;k<l.getChildCount();k++)m=l.getChild(k),m.type==CKEDITOR.NODE_ELEMENT&&
|
10
|
+
(m.renameNode("td"),m.removeAttribute("scope"));h.append(l,!0)}g.remove()}if(!this.hasColumnHeaders&&("col"==f||"both"==f))for(g=0;g<b.$.rows.length;g++)m=new CKEDITOR.dom.element(b.$.rows[g].cells[0]),m.renameNode("th"),m.setAttribute("scope","row");if(this.hasColumnHeaders&&"col"!=f&&"both"!=f)for(k=0;k<b.$.rows.length;k++)g=new CKEDITOR.dom.element(b.$.rows[k]),"tbody"==g.getParent().getName()&&(m=new CKEDITOR.dom.element(g.$.cells[0]),m.renameNode("td"),m.removeAttribute("scope"));c.txtHeight?
|
11
|
+
b.setStyle("height",c.txtHeight):b.removeStyle("height");c.txtWidth?b.setStyle("width",c.txtWidth):b.removeStyle("width");b.getAttribute("style")||b.removeAttribute("style")}if(this._.selectedElement)try{d.selectBookmarks(e)}catch(n){}else a.insertElement(b),setTimeout(function(){var d=new CKEDITOR.dom.element(b.$.rows[0].cells[0]),c=a.createRange();c.moveToPosition(d,CKEDITOR.POSITION_AFTER_START);c.select()},0)},contents:[{id:"info",label:a.lang.table.title,elements:[{type:"hbox",widths:[null,null],
|
12
|
+
styles:["vertical-align:top"],children:[{type:"vbox",padding:0,children:[{type:"text",id:"txtRows","default":3,label:a.lang.table.rows,required:!0,controlStyle:"width:5em",validate:t(a.lang.table.invalidRows),setup:function(d){this.setValue(d.$.rows.length)},commit:n},{type:"text",id:"txtCols","default":2,label:a.lang.table.columns,required:!0,controlStyle:"width:5em",validate:t(a.lang.table.invalidCols),setup:function(d){this.setValue(w(d))},commit:n},{type:"html",html:"\x26nbsp;"},{type:"select",
|
13
|
+
id:"selHeaders",requiredContent:"th","default":"",label:a.lang.table.headers,items:[[a.lang.table.headersNone,""],[a.lang.table.headersRow,"row"],[a.lang.table.headersColumn,"col"],[a.lang.table.headersBoth,"both"]],setup:function(d){var a=this.getDialog();a.hasColumnHeaders=!0;for(var b=0;b<d.$.rows.length;b++){var c=d.$.rows[b].cells[0];if(c&&"th"!=c.nodeName.toLowerCase()){a.hasColumnHeaders=!1;break}}null!==d.$.tHead?this.setValue(a.hasColumnHeaders?"both":"row"):this.setValue(a.hasColumnHeaders?
|
14
|
+
"col":"")},commit:n},{type:"text",id:"txtBorder",requiredContent:"table[border]","default":a.filter.check("table[border]")?1:0,label:a.lang.table.border,controlStyle:"width:3em",validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidBorder),setup:function(d){this.setValue(d.getAttribute("border")||"")},commit:function(d,a){this.getValue()?a.setAttribute("border",this.getValue()):a.removeAttribute("border")}},{id:"cmbAlign",type:"select",requiredContent:"table[align]","default":"",label:a.lang.common.align,
|
15
|
+
items:[[a.lang.common.notSet,""],[a.lang.common.left,"left"],[a.lang.common.center,"center"],[a.lang.common.right,"right"]],setup:function(a){this.setValue(a.getAttribute("align")||"")},commit:function(a,e){this.getValue()?e.setAttribute("align",this.getValue()):e.removeAttribute("align")}}]},{type:"vbox",padding:0,children:[{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtWidth",requiredContent:"table{width}",controlStyle:"width:5em",label:a.lang.common.width,title:a.lang.common.cssLengthTooltip,
|
16
|
+
"default":a.filter.check("table{width}")?500>r.getSize("width")?"100%":500:0,getValue:v,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1",a.lang.common.width)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("width",this.getValue())},setup:function(a){a=a.getStyle("width");this.setValue(a)},commit:n}]},{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtHeight",requiredContent:"table{height}",controlStyle:"width:5em",
|
17
|
+
label:a.lang.common.height,title:a.lang.common.cssLengthTooltip,"default":"",getValue:v,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1",a.lang.common.height)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("height",this.getValue())},setup:function(a){(a=a.getStyle("height"))&&this.setValue(a)},commit:n}]},{type:"html",html:"\x26nbsp;"},{type:"text",id:"txtCellSpace",requiredContent:"table[cellspacing]",
|
18
|
+
controlStyle:"width:3em",label:a.lang.table.cellSpace,"default":a.filter.check("table[cellspacing]")?1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellSpacing),setup:function(a){this.setValue(a.getAttribute("cellSpacing")||"")},commit:function(a,e){this.getValue()?e.setAttribute("cellSpacing",this.getValue()):e.removeAttribute("cellSpacing")}},{type:"text",id:"txtCellPad",requiredContent:"table[cellpadding]",controlStyle:"width:3em",label:a.lang.table.cellPad,"default":a.filter.check("table[cellpadding]")?
|
19
|
+
1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellPadding),setup:function(a){this.setValue(a.getAttribute("cellPadding")||"")},commit:function(a,e){this.getValue()?e.setAttribute("cellPadding",this.getValue()):e.removeAttribute("cellPadding")}}]}]},{type:"html",align:"right",html:""},{type:"vbox",padding:0,children:[{type:"text",id:"txtCaption",requiredContent:"caption",label:a.lang.table.caption,setup:function(a){this.enable();a=a.getElementsByTag("caption");if(0<a.count()){a=
|
20
|
+
a.getItem(0);var e=a.getFirst(CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT));e&&!e.equals(a.getBogus())?(this.disable(),this.setValue(a.getText())):(a=CKEDITOR.tools.trim(a.getText()),this.setValue(a))}},commit:function(d,e){if(this.isEnabled()){var b=this.getValue(),c=e.getElementsByTag("caption");if(b)0<c.count()?(c=c.getItem(0),c.setHtml("")):(c=new CKEDITOR.dom.element("caption",a.document),e.append(c,!0)),c.append(new CKEDITOR.dom.text(b,a.document));else if(0<c.count())for(b=c.count()-
|
21
|
+
1;0<=b;b--)c.getItem(b).remove()}}},{type:"text",id:"txtSummary",bidi:!0,requiredContent:"table[summary]",label:a.lang.table.summary,setup:function(a){this.setValue(a.getAttribute("summary")||"")},commit:function(a,e){this.getValue()?e.setAttribute("summary",this.getValue()):e.removeAttribute("summary")}}]}]},q&&q.createAdvancedTab(a,null,"table")]}}var v=CKEDITOR.tools.cssLength,n=function(a){var f=this.id;a.info||(a.info={});a.info[f]=this.getValue()};CKEDITOR.dialog.add("table",function(a){return r(a,
|
22
|
+
"table")});CKEDITOR.dialog.add("tableProperties",function(a){return r(a,"tableProperties")})})();
|
@@ -24,3 +24,13 @@
|
|
24
24
|
.cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
|
25
25
|
background: transparent;
|
26
26
|
}
|
27
|
+
|
28
|
+
/* Change the cursor when selecting cells (#706).
|
29
|
+
*
|
30
|
+
* This solution does not work in IE, Edge and Safari due to upstream isues:
|
31
|
+
* https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3419602/
|
32
|
+
* https://bugs.webkit.org/show_bug.cgi?id=53341
|
33
|
+
*/
|
34
|
+
table[data-cke-table-faked-selection-table] {
|
35
|
+
cursor: cell;
|
36
|
+
}
|
@@ -1,18 +1,18 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
CKEDITOR.dialog.add("cellProperties",function(
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
"
|
12
|
-
|
13
|
-
"
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
this.
|
18
|
-
b.
|
5
|
+
CKEDITOR.dialog.add("cellProperties",function(h){function k(a){return{isSpacer:!0,type:"html",html:"\x26nbsp;",requiredContent:a?a:void 0}}function r(){return{type:"vbox",padding:0,children:[]}}function t(a){return{requiredContent:"td{"+a+"}",type:"hbox",widths:["70%","30%"],children:[{type:"text",id:a,width:"100px",label:e[a],validate:n.number(d["invalid"+CKEDITOR.tools.capitalize(a)]),onLoad:function(){var b=this.getDialog().getContentElement("info",a+"Type").getElement(),c=this.getInputElement(),
|
6
|
+
d=c.getAttribute("aria-labelledby");c.setAttribute("aria-labelledby",[d,b.$.id].join(" "))},setup:f(function(b){var c=parseFloat(b.getAttribute(a),10);b=parseFloat(b.getStyle(a),10);if(!isNaN(b))return b;if(!isNaN(c))return c}),commit:function(b){var c=parseFloat(this.getValue(),10),d=this.getDialog().getValueOf("info",a+"Type")||u(b,a);isNaN(c)?b.removeStyle(a):b.setStyle(a,c+d);b.removeAttribute(a)},"default":""},{type:"select",id:a+"Type",label:h.lang.table[a+"Unit"],labelStyle:"visibility:hidden;display:block;width:0;overflow:hidden",
|
7
|
+
"default":"px",items:[[p.widthPx,"px"],[p.widthPc,"%"]],setup:f(function(b){return u(b,a)})}]}}function f(a){return function(b){for(var c=a(b[0]),d=1;d<b.length;d++)if(a(b[d])!==c){c=null;break}"undefined"!=typeof c&&(this.setValue(c),CKEDITOR.env.gecko&&"select"==this.type&&!c&&(this.getInputElement().$.selectedIndex=-1))}}function u(a,b){var c=/^(\d+(?:\.\d+)?)(px|%)$/.exec(a.getStyle(b)||a.getAttribute(b));if(c)return c[2]}function v(a,b){h.getColorFromDialog(function(c){c&&a.getDialog().getContentElement("info",
|
8
|
+
b).setValue(c);a.focus()},a)}function w(a,b,c){(a=a.getValue())?b.setStyle(c,a):b.removeStyle(c);"background-color"==c?b.removeAttribute("bgColor"):"border-color"==c&&b.removeAttribute("borderColor")}var p=h.lang.table,d=p.cell,e=h.lang.common,n=CKEDITOR.dialog.validate,y="rtl"==h.lang.dir,l=h.plugins.colordialog,q=[t("width"),t("height"),k(["td{width}","td{height}"]),{type:"select",id:"wordWrap",requiredContent:"td{white-space}",label:d.wordWrap,"default":"yes",items:[[d.yes,"yes"],[d.no,"no"]],
|
9
|
+
setup:f(function(a){var b=a.getAttribute("noWrap");if("nowrap"==a.getStyle("white-space")||b)return"no"}),commit:function(a){"no"==this.getValue()?a.setStyle("white-space","nowrap"):a.removeStyle("white-space");a.removeAttribute("noWrap")}},k("td{white-space}"),{type:"select",id:"hAlign",requiredContent:"td{text-align}",label:d.hAlign,"default":"",items:[[e.notSet,""],[e.left,"left"],[e.center,"center"],[e.right,"right"],[e.justify,"justify"]],setup:f(function(a){var b=a.getAttribute("align");return a.getStyle("text-align")||
|
10
|
+
b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("text-align",b):a.removeStyle("text-align");a.removeAttribute("align")}},{type:"select",id:"vAlign",requiredContent:"td{vertical-align}",label:d.vAlign,"default":"",items:[[e.notSet,""],[e.alignTop,"top"],[e.alignMiddle,"middle"],[e.alignBottom,"bottom"],[d.alignBaseline,"baseline"]],setup:f(function(a){var b=a.getAttribute("vAlign");a=a.getStyle("vertical-align");switch(a){case "top":case "middle":case "bottom":case "baseline":break;default:a=
|
11
|
+
""}return a||b||""}),commit:function(a){var b=this.getValue();b?a.setStyle("vertical-align",b):a.removeStyle("vertical-align");a.removeAttribute("vAlign")}},k(["td{text-align}","td{vertical-align}"]),{type:"select",id:"cellType",requiredContent:"th",label:d.cellType,"default":"td",items:[[d.data,"td"],[d.header,"th"]],setup:f(function(a){return a.getName()}),commit:function(a){a.renameNode(this.getValue())}},k("th"),{type:"text",id:"rowSpan",requiredContent:"td[rowspan]",label:d.rowSpan,"default":"",
|
12
|
+
validate:n.integer(d.invalidRowSpan),setup:f(function(a){if((a=parseInt(a.getAttribute("rowSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),10);b&&1!=b?a.setAttribute("rowSpan",this.getValue()):a.removeAttribute("rowSpan")}},{type:"text",id:"colSpan",requiredContent:"td[colspan]",label:d.colSpan,"default":"",validate:n.integer(d.invalidColSpan),setup:f(function(a){if((a=parseInt(a.getAttribute("colSpan"),10))&&1!=a)return a}),commit:function(a){var b=parseInt(this.getValue(),
|
13
|
+
10);b&&1!=b?a.setAttribute("colSpan",this.getValue()):a.removeAttribute("colSpan")}},k(["td[colspan]","td[rowspan]"]),{type:"hbox",padding:0,widths:l?["60%","40%"]:["100%"],requiredContent:"td{background-color}",children:function(){var a=[{type:"text",id:"bgColor",label:d.bgColor,"default":"",setup:f(function(a){var c=a.getAttribute("bgColor");return a.getStyle("background-color")||c}),commit:function(a){w(this,a,"background-color")}}];l&&a.push({type:"button",id:"bgColorChoose","class":"colorChooser",
|
14
|
+
label:d.chooseColor,onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){v(this,"bgColor")}});return a}()},{type:"hbox",padding:0,widths:l?["60%","40%"]:["100%"],requiredContent:"td{border-color}",children:function(){var a=[{type:"text",id:"borderColor",label:d.borderColor,"default":"",setup:f(function(a){var c=a.getAttribute("borderColor");return a.getStyle("border-color")||c}),commit:function(a){w(this,a,"border-color")}}];l&&a.push({type:"button",
|
15
|
+
id:"borderColorChoose","class":"colorChooser",label:d.chooseColor,style:(y?"margin-right":"margin-left")+": 10px",onLoad:function(){this.getElement().getParent().setStyle("vertical-align","bottom")},onClick:function(){v(this,"borderColor")}});return a}()}],m=0,x=-1,g=[r()],q=CKEDITOR.tools.array.filter(q,function(a){var b=a.requiredContent;delete a.requiredContent;(b=h.filter.check(b))&&!a.isSpacer&&m++;return b});5<m&&(g=g.concat([k(),r()]));CKEDITOR.tools.array.forEach(q,function(a){a.isSpacer||
|
16
|
+
x++;5<m&&x>=m/2?g[2].children.push(a):g[0].children.push(a)});CKEDITOR.tools.array.forEach(g,function(a){a.isSpacer||(a=a.children,a[a.length-1].isSpacer&&a.pop())});return{title:d.title,minWidth:1===g.length?205:410,minHeight:50,contents:[{id:"info",label:d.title,accessKey:"I",elements:[{type:"hbox",widths:1===g.length?["100%"]:["40%","5%","40%"],children:g}]}],getModel:function(a){return CKEDITOR.plugins.tabletools.getSelectedCells(a.getSelection())},onShow:function(){var a=this.getModel(this.getParentEditor());
|
17
|
+
this.setupContent(a)},onOk:function(){for(var a=this._.editor.getSelection(),b=a.createBookmarks(),c=this.getParentEditor(),d=this.getModel(c),e=0;e<d.length;e++)this.commitContent(d[e]);c.forceNextSelectionCheck();a.selectBookmarks(b);c.selectionChange()},onLoad:function(){var a={};this.foreach(function(b){b.setup&&b.commit&&(b.setup=CKEDITOR.tools.override(b.setup,function(c){return function(){c.apply(this,arguments);a[b.id]=b.getValue()}}),b.commit=CKEDITOR.tools.override(b.commit,function(c){return function(){a[b.id]!==
|
18
|
+
b.getValue()&&c.apply(this,arguments)}}))})}}});
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
+
*/
|
5
|
+
|
6
|
+
.cke_tpl_list
|
7
|
+
{
|
8
|
+
border: #dcdcdc 2px solid;
|
9
|
+
background-color: #ffffff;
|
10
|
+
overflow-y: auto;
|
11
|
+
overflow-x: hidden;
|
12
|
+
width: 100%;
|
13
|
+
height: 220px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.cke_tpl_item
|
17
|
+
{
|
18
|
+
margin: 5px;
|
19
|
+
padding: 7px;
|
20
|
+
border: #eeeeee 1px solid;
|
21
|
+
*width: 88%;
|
22
|
+
}
|
23
|
+
|
24
|
+
.cke_tpl_preview
|
25
|
+
{
|
26
|
+
border-collapse: separate;
|
27
|
+
text-indent:0;
|
28
|
+
width: 100%;
|
29
|
+
}
|
30
|
+
.cke_tpl_preview td
|
31
|
+
{
|
32
|
+
padding: 2px;
|
33
|
+
vertical-align: middle;
|
34
|
+
}
|
35
|
+
.cke_tpl_preview .cke_tpl_preview_img
|
36
|
+
{
|
37
|
+
width: 100px;
|
38
|
+
}
|
39
|
+
.cke_tpl_preview span
|
40
|
+
{
|
41
|
+
white-space: normal;
|
42
|
+
}
|
43
|
+
|
44
|
+
.cke_tpl_title
|
45
|
+
{
|
46
|
+
font-weight: bold;
|
47
|
+
}
|
48
|
+
|
49
|
+
.cke_tpl_list a:hover .cke_tpl_item,
|
50
|
+
.cke_tpl_list a:focus .cke_tpl_item,
|
51
|
+
.cke_tpl_list a:active .cke_tpl_item
|
52
|
+
{
|
53
|
+
border: #ff9933 1px solid;
|
54
|
+
background-color: #fffacd;
|
55
|
+
}
|
56
|
+
|
57
|
+
.cke_tpl_list a:hover *,
|
58
|
+
.cke_tpl_list a:focus *,
|
59
|
+
.cke_tpl_list a:active *
|
60
|
+
{
|
61
|
+
cursor: pointer;
|
62
|
+
}
|
63
|
+
|
64
|
+
/* IE Quirks contextual selectors children will not get :hover transition until
|
65
|
+
the hover style of the link itself contains certain CSS declarations. */
|
66
|
+
.cke_browser_quirks .cke_tpl_list a:active,
|
67
|
+
.cke_browser_quirks .cke_tpl_list a:hover,
|
68
|
+
.cke_browser_quirks .cke_tpl_list a:focus
|
69
|
+
{
|
70
|
+
background-position: 0 0;
|
71
|
+
}
|
72
|
+
|
73
|
+
.cke_hc .cke_tpl_list a:hover .cke_tpl_item,
|
74
|
+
.cke_hc .cke_tpl_list a:focus .cke_tpl_item,
|
75
|
+
.cke_hc .cke_tpl_list a:active .cke_tpl_item
|
76
|
+
{
|
77
|
+
border-width: 3px;
|
78
|
+
}
|
79
|
+
|
80
|
+
.cke_tpl_empty, .cke_tpl_loading
|
81
|
+
{
|
82
|
+
text-align: center;
|
83
|
+
padding: 5px;
|
84
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
+
*/
|
5
|
+
(function(){CKEDITOR.dialog.add("templates",function(c){function r(a,b){var n=CKEDITOR.dom.element.createFromHtml('\x3ca href\x3d"javascript:void(0)" tabIndex\x3d"-1" role\x3d"option" \x3e\x3cdiv class\x3d"cke_tpl_item"\x3e\x3c/div\x3e\x3c/a\x3e'),d='\x3ctable style\x3d"width:350px;" class\x3d"cke_tpl_preview" role\x3d"presentation"\x3e\x3ctr\x3e';a.image&&b&&(d+='\x3ctd class\x3d"cke_tpl_preview_img"\x3e\x3cimg src\x3d"'+CKEDITOR.getUrl(b+a.image)+'"'+(CKEDITOR.env.ie6Compat?' onload\x3d"this.width\x3dthis.width"':
|
6
|
+
"")+' alt\x3d"" title\x3d""\x3e\x3c/td\x3e');d+='\x3ctd style\x3d"white-space:normal;"\x3e\x3cspan class\x3d"cke_tpl_title"\x3e'+a.title+"\x3c/span\x3e\x3cbr/\x3e";a.description&&(d+="\x3cspan\x3e"+a.description+"\x3c/span\x3e");d+="\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e";n.getFirst().setHtml(d);n.on("click",function(){if(a.htmlFile){var b=CKEDITOR.dialog.getCurrent();b.setState(CKEDITOR.DIALOG_STATE_BUSY);CKEDITOR.ajax.loadText(a.htmlFile,function(a){l(a);b.setState(CKEDITOR.DIALOG_STATE_IDLE)})}else l(a.html)});
|
7
|
+
return n}function l(a){var b=CKEDITOR.dialog.getCurrent();b.getValueOf("selectTpl","chkInsertOpt")?(c.fire("saveSnapshot"),c.setData(a,function(){b.hide();var a=c.createRange();a.moveToElementEditStart(c.editable());a.select();setTimeout(function(){c.fire("saveSnapshot")},0)})):(c.insertHtml(a),b.hide())}function k(a){var b=a.data.getTarget(),c=g.equals(b);if(c||g.contains(b)){var d=a.data.getKeystroke(),f=g.getElementsByTag("a"),e;if(f){if(c)e=f.getItem(0);else switch(d){case 40:e=b.getNext();break;
|
8
|
+
case 38:e=b.getPrevious();break;case 13:case 32:b.fire("click")}e&&(e.focus(),a.data.preventDefault())}}}var h=CKEDITOR.plugins.get("templates");CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(h.path+"dialogs/templates.css"));var g,h="cke_tpl_list_label_"+CKEDITOR.tools.getNextNumber(),f=c.lang.templates,p=c.config;return{title:c.lang.templates.title,minWidth:CKEDITOR.env.ie?440:400,minHeight:340,contents:[{id:"selectTpl",label:f.title,elements:[{type:"vbox",padding:5,children:[{id:"chkInsertOpt",
|
9
|
+
type:"checkbox",label:f.insertOption,"default":p.templates_replaceContent},{id:"selectTplText",type:"html",html:"\x3cspan\x3e"+f.selectPromptMsg+"\x3c/span\x3e"},{id:"templatesList",type:"html",focus:!0,html:'\x3cdiv class\x3d"cke_tpl_list" tabIndex\x3d"-1" role\x3d"listbox" aria-labelledby\x3d"'+h+'"\x3e\x3cdiv class\x3d"cke_tpl_loading"\x3e\x3cspan\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e\x3cspan class\x3d"cke_voice_label" id\x3d"'+h+'"\x3e'+f.options+"\x3c/span\x3e"}]}]}],buttons:[CKEDITOR.dialog.cancelButton],
|
10
|
+
onShow:function(){var a=this.getContentElement("selectTpl","templatesList");g=a.getElement();CKEDITOR.loadTemplates(p.templates_files,function(){var b=(p.templates||"default").split(",");if(b.length){var c=g;c.setHtml("");for(var d=0,h=b.length;d<h;d++)for(var e=CKEDITOR.getTemplates(b[d]),l=e.imagesPath,e=e.templates,k=e.length,m=0;m<k;m++){var q=r(e[m],l);q.setAttribute("aria-posinset",m+1);q.setAttribute("aria-setsize",k);c.append(q)}a.focus()}else g.setHtml('\x3cdiv class\x3d"cke_tpl_empty"\x3e\x3cspan\x3e'+
|
11
|
+
f.emptyListMsg+"\x3c/span\x3e\x3c/div\x3e")});this._.element.on("keydown",k)},onHide:function(){this._.element.removeListener("keydown",k)}}})})();
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
+
*/
|
5
|
+
CKEDITOR.addTemplates("default",{imagesPath:CKEDITOR.getUrl(CKEDITOR.plugins.getPath("templates")+"templates/images/"),templates:[{title:"Image and Title",image:"template1.gif",description:"One main image with a title and text that surround the image.",html:'\x3ch3\x3e\x3cimg src\x3d" " alt\x3d"" style\x3d"margin-right: 10px" height\x3d"100" width\x3d"100" align\x3d"left" /\x3eType the title here\x3c/h3\x3e\x3cp\x3eType the text here\x3c/p\x3e'},{title:"Strange Template",image:"template2.gif",description:"A template that defines two columns, each one with a title, and some text.",
|
6
|
+
html:'\x3ctable cellspacing\x3d"0" cellpadding\x3d"0" style\x3d"width:100%" border\x3d"0"\x3e\x3ctr\x3e\x3ctd style\x3d"width:50%"\x3e\x3ch3\x3eTitle 1\x3c/h3\x3e\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd style\x3d"width:50%"\x3e\x3ch3\x3eTitle 2\x3c/h3\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3eText 1\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3eText 2\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3cp\x3eMore text goes here.\x3c/p\x3e'},{title:"Text and Table",image:"template3.gif",description:"A title with some text and a table.",
|
7
|
+
html:'\x3cdiv style\x3d"width: 80%"\x3e\x3ch3\x3eTitle goes here\x3c/h3\x3e\x3ctable style\x3d"width:150px;float: right" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"1"\x3e\x3ccaption style\x3d"border:solid 1px black"\x3e\x3cstrong\x3eTable title\x3c/strong\x3e\x3c/caption\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3ctd\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3cp\x3eType the text here\x3c/p\x3e\x3c/div\x3e'}]});
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
@media (max-width: 900px) {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
3
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
4
4
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
|
-
<html>
|
6
|
+
<html lang="en">
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>CKEditor Sample</title>
|
@@ -11,6 +11,8 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
11
11
|
<script src="js/sample.js"></script>
|
12
12
|
<link rel="stylesheet" href="css/samples.css">
|
13
13
|
<link rel="stylesheet" href="toolbarconfigurator/lib/codemirror/neo.css">
|
14
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
15
|
+
<meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
|
14
16
|
</head>
|
15
17
|
<body id="main">
|
16
18
|
|
@@ -18,8 +20,8 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
18
20
|
<div class="grid-container">
|
19
21
|
<ul class="navigation-a-left grid-width-70">
|
20
22
|
<li><a href="https://ckeditor.com/ckeditor-4/">Project Homepage</a></li>
|
21
|
-
<li><a href="https://github.com/ckeditor/
|
22
|
-
<li><a href="
|
23
|
+
<li><a href="https://github.com/ckeditor/ckeditor4/issues">I found a bug</a></li>
|
24
|
+
<li><a href="https://github.com/ckeditor/ckeditor4" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
|
23
25
|
</ul>
|
24
26
|
<ul class="navigation-a-right grid-width-30">
|
25
27
|
<li><a href="https://ckeditor.com/blog/">CKEditor Blog</a></li>
|
@@ -69,7 +71,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
69
71
|
<div class="content grid-width-100">
|
70
72
|
<section id="sample-customize">
|
71
73
|
<h2>Customize Your Editor</h2>
|
72
|
-
<p>Modular build and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_configuration">numerous configuration options</a> give you nearly endless possibilities to customize CKEditor. Replace the content of your <code><a href="../config.js">config.js</a></code> file with the following code and refresh this page (<strong>remember to clear the browser cache</strong>.html)!</p>
|
74
|
+
<p>Modular build and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_configuration.html">numerous configuration options</a> give you nearly endless possibilities to customize CKEditor. Replace the content of your <code><a href="../config.js">config.js</a></code> file with the following code and refresh this page (<strong>remember to clear the browser cache</strong>.html)!</p>
|
73
75
|
<pre class="cm-s-neo CodeMirror"><code><span style="padding-right: 0.1px;"><span class="cm-variable">CKEDITOR</span>.<span class="cm-property">editorConfig</span> <span class="cm-operator">=</span> <span class="cm-keyword">function</span>( <span class="cm-def">config</span> ) {</span>
|
74
76
|
<span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">language</span> <span class="cm-operator">=</span> <span class="cm-string">'es'</span>;</span>
|
75
77
|
<span style="padding-right: 0.1px;"><span class="cm-tab"> </span><span class="cm-variable-2">config</span>.<span class="cm-property">uiColor</span> <span class="cm-operator">=</span> <span class="cm-string">'#F7B42C'</span>;</span>
|
@@ -85,7 +87,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
85
87
|
|
86
88
|
<section>
|
87
89
|
<h2>More Samples!</h2>
|
88
|
-
<p>Visit the <a href="https://
|
90
|
+
<p>Visit the <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/index.html">CKEditor Examples</a> for a huge collection of samples showcasing editor features, with source code readily available to copy and use in your own implementation.</p>
|
89
91
|
</section>
|
90
92
|
|
91
93
|
<section>
|
@@ -93,11 +95,11 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
93
95
|
<p>The most important resource for all developers working with CKEditor, integrating it with their websites and applications, and customizing to their needs. You can start from here:</p>
|
94
96
|
<ul>
|
95
97
|
<li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_installation.html">Getting Started</a> – Explains most crucial editor concepts and practices as well as the installation process and integration with your website.</li>
|
96
|
-
<li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_installation">Advanced Installation Concepts</a> – Describes how to upgrade, install additional components (plugins, skins.html), or create a custom build.</li>
|
98
|
+
<li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_installation.html">Advanced Installation Concepts</a> – Describes how to upgrade, install additional components (plugins, skins.html), or create a custom build.</li>
|
97
99
|
</ul>
|
98
100
|
<p>When you have the basics sorted out, feel free to browse some more advanced sections like:</p>
|
99
101
|
<ul>
|
100
|
-
<li><a href="https://ckeditor.com/docs/ckeditor4/latest/
|
102
|
+
<li><a href="https://ckeditor.com/docs/ckeditor4/latest/features/index.html">Features Overview</a> – Descriptions and samples of various editor features.</li>
|
101
103
|
<li><a href="https://ckeditor.com/docs/ckeditor4/latest/guide/plugin_sdk_intro.html">Plugin SDK</a>, <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/widget_sdk_intro.html">Widget SDK</a>, and <a href="https://ckeditor.com/docs/ckeditor4/latest/guide/skin_sdk_intro.html">Skin SDK</a> – Useful when you want to create your own editor components.</li>
|
102
104
|
</ul>
|
103
105
|
</section>
|
@@ -116,7 +118,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
116
118
|
CKEditor – The text editor for the Internet – <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
117
119
|
</p>
|
118
120
|
<p class="grid-width-100" id="copy">
|
119
|
-
Copyright © 2003-
|
121
|
+
Copyright © 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
|
120
122
|
</p>
|
121
123
|
</div>
|
122
124
|
</footer>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
var SF=function(){function d(a){return(a=a.attributes?a.attributes.getNamedItem("class"):null)?a.value.split(" "):[]}function c(a){var e=document.createAttribute("class");e.value=a.join(" ");return e}var b={attachListener:function(a,e,b){if(a.addEventListener)a.addEventListener(e,b,!1);else if(a.attachEvent)a.attachEvent("on"+e,function(){b.apply(a,arguments)});else throw Error("Could not attach event.");}};b.indexOf=function(){var a=Array.prototype.indexOf;return"function"===a?function(e,b){return a.call(e,
|
@@ -1,14 +1,15 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
3
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
4
4
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
|
-
<html>
|
6
|
+
<html lang="en">
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>Ajax — CKEditor Sample</title>
|
10
10
|
<script src="../../ckeditor.js"></script>
|
11
11
|
<link rel="stylesheet" href="sample.css">
|
12
|
+
<meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
|
12
13
|
<script>
|
13
14
|
|
14
15
|
var editor, html = '';
|
@@ -43,7 +44,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
43
44
|
<a href="index.html">CKEditor Samples</a> » Create and Destroy Editor Instances for Ajax Applications
|
44
45
|
</h1>
|
45
46
|
<div class="warning deprecated">
|
46
|
-
This sample is not maintained anymore. Check out its <a href="https://
|
47
|
+
This sample is not maintained anymore. Check out its <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/saveajax.html">brand new version in CKEditor Examples</a>.
|
47
48
|
</div>
|
48
49
|
<div class="description">
|
49
50
|
<p>
|
@@ -77,8 +78,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
77
78
|
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
78
79
|
</p>
|
79
80
|
<p id="copy">
|
80
|
-
Copyright © 2003-
|
81
|
-
Knabben. All rights reserved.
|
81
|
+
Copyright © 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
|
82
82
|
</p>
|
83
83
|
</div>
|
84
84
|
</body>
|
@@ -1,14 +1,15 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
3
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
4
4
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
|
-
<html>
|
6
|
+
<html lang="en">
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>API Usage — CKEditor Sample</title>
|
10
10
|
<script src="../../ckeditor.js"></script>
|
11
11
|
<link href="sample.css" rel="stylesheet">
|
12
|
+
<meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
|
12
13
|
<script>
|
13
14
|
|
14
15
|
// The instanceReady event is fired, when an instance of CKEditor has finished
|
@@ -125,7 +126,7 @@ function onBlur() {
|
|
125
126
|
<a href="index.html">CKEditor Samples</a> » Using CKEditor JavaScript API
|
126
127
|
</h1>
|
127
128
|
<div class="warning deprecated">
|
128
|
-
This sample is not maintained anymore. Check out its <a href="https://
|
129
|
+
This sample is not maintained anymore. Check out its <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/api.html">brand new version in CKEditor Examples</a>.
|
129
130
|
</div>
|
130
131
|
<div class="description">
|
131
132
|
<p>
|
@@ -202,8 +203,7 @@ Second line of text preceded by two line breaks.</textarea>
|
|
202
203
|
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
203
204
|
</p>
|
204
205
|
<p id="copy">
|
205
|
-
Copyright © 2003-
|
206
|
-
Knabben. All rights reserved.
|
206
|
+
Copyright © 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
|
207
207
|
</p>
|
208
208
|
</div>
|
209
209
|
</body>
|
@@ -1,21 +1,22 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
Copyright (c) 2003-
|
3
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
4
4
|
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
5
5
|
-->
|
6
|
-
<html>
|
6
|
+
<html lang="en">
|
7
7
|
<head>
|
8
8
|
<meta charset="utf-8">
|
9
9
|
<title>Append To Page Element Using JavaScript Code — CKEditor Sample</title>
|
10
10
|
<script src="../../ckeditor.js"></script>
|
11
11
|
<link rel="stylesheet" href="sample.css">
|
12
|
+
<meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
|
12
13
|
</head>
|
13
14
|
<body>
|
14
15
|
<h1 class="samples">
|
15
16
|
<a href="index.html">CKEditor Samples</a> » Append To Page Element Using JavaScript Code
|
16
17
|
</h1>
|
17
18
|
<div class="warning deprecated">
|
18
|
-
This sample is not maintained anymore. Check out the <a href="https://
|
19
|
+
This sample is not maintained anymore. Check out the <a href="https://ckeditor.com/docs/ckeditor4/latest/examples/index.html">brand new samples in CKEditor Examples</a>.
|
19
20
|
</div>
|
20
21
|
<div id="section1">
|
21
22
|
<div class="description">
|
@@ -51,8 +52,7 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
51
52
|
CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
|
52
53
|
</p>
|
53
54
|
<p id="copy">
|
54
|
-
Copyright © 2003-
|
55
|
-
Knabben. All rights reserved.
|
55
|
+
Copyright © 2003-2022, <a class="samples" href="https://cksource.com/">CKSource</a> Holding sp. z o.o. All rights reserved.
|
56
56
|
</p>
|
57
57
|
</div>
|
58
58
|
</body>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2003-
|
2
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
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).
|