tocco-devcon 1.0.196 → 1.0.197-hotfix37.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +42 -0
- package/dist/{chunk-496.2c94bc185c98a2df60ac.js → chunk-496.34160df6943b5f28b796.js} +1 -1
- package/dist/chunk-html-editor.7d0ce5cc789ff8b9fb57.js +6 -0
- package/dist/ckeditor4/adapters/jquery.js +1 -1
- package/dist/ckeditor4/ckeditor-new.js +1 -0
- package/dist/ckeditor4/config.js +1 -1
- package/dist/ckeditor4/contents.css +3 -3
- package/dist/ckeditor4/lang/de-ch.js +1 -1
- package/dist/ckeditor4/lang/de.js +1 -1
- package/dist/ckeditor4/lang/en.js +1 -1
- package/dist/ckeditor4/lang/fr.js +1 -1
- package/dist/ckeditor4/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/af.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ar.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/az.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/bg.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ca.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/cs.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/cy.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/da.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/el.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/en-au.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/en-gb.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/eo.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/es-mx.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/es.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/et.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/eu.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fa.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fi.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fo.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fr-ca.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/gl.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/gu.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/he.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/hi.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/hr.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/hu.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/id.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ja.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/km.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ko.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ku.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/lt.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/lv.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/mk.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/mn.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/nb.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/nl.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/no.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/oc.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/pl.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/pt.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ro.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ru.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/si.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sk.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sl.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sq.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sr-latn.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sr.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/th.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/tr.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/tt.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/ug.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/uk.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/vi.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/zh-cn.js +1 -1
- package/dist/ckeditor4/plugins/a11yhelp/dialogs/lang/zh.js +1 -1
- package/dist/ckeditor4/plugins/about/dialogs/about.js +1 -1
- package/dist/ckeditor4/plugins/adobeair/plugin.js +1 -1
- package/dist/ckeditor4/plugins/autocomplete/plugin.js +1 -1
- package/dist/ckeditor4/plugins/autocomplete/skins/default.css +5 -5
- package/dist/ckeditor4/plugins/autoembed/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/autoembed/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/autoembed/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/autoembed/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/autoembed/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/autoembed/plugin.js +1 -1
- package/dist/ckeditor4/plugins/autogrow/plugin.js +1 -1
- package/dist/ckeditor4/plugins/autolink/plugin.js +1 -1
- package/dist/ckeditor4/plugins/balloonpanel/plugin.js +1 -1
- package/dist/ckeditor4/plugins/balloonpanel/skins/kama/balloonpanel.css +32 -32
- package/dist/ckeditor4/plugins/balloonpanel/skins/moono/balloonpanel.css +32 -32
- package/dist/ckeditor4/plugins/balloonpanel/skins/moono-lisa/balloonpanel.css +35 -35
- package/dist/ckeditor4/plugins/balloontoolbar/plugin.js +1 -1
- package/dist/ckeditor4/plugins/balloontoolbar/skins/default.css +20 -20
- package/dist/ckeditor4/plugins/balloontoolbar/skins/kama/balloontoolbar.css +6 -6
- package/dist/ckeditor4/plugins/balloontoolbar/skins/moono/balloontoolbar.css +6 -6
- package/dist/ckeditor4/plugins/balloontoolbar/skins/moono-lisa/balloontoolbar.css +11 -11
- package/dist/ckeditor4/plugins/bbcode/plugin.js +1 -1
- package/dist/ckeditor4/plugins/bidi/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/bidi/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/bidi/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/bidi/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/bidi/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/bidi/plugin.js +1 -1
- package/dist/ckeditor4/plugins/clipboard/dialogs/paste.js +1 -1
- package/dist/ckeditor4/plugins/cloudservices/plugin.js +1 -1
- package/dist/ckeditor4/plugins/codemirror/css/codemirror.min.css +1 -1
- package/dist/ckeditor4/plugins/codemirror/dialogs/codemirrorAbout.js +1 -1
- package/dist/ckeditor4/plugins/codemirror/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/codemirror/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/codemirror/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/codemirror/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/codemirror/plugin.js +1 -1
- package/dist/ckeditor4/plugins/codesnippet/dialogs/codesnippet.js +1 -1
- package/dist/ckeditor4/plugins/codesnippet/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/codesnippet/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/codesnippet/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/codesnippet/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/codesnippet/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/codesnippet/plugin.js +1 -1
- package/dist/ckeditor4/plugins/codesnippetgeshi/plugin.js +1 -1
- package/dist/ckeditor4/plugins/colorbutton/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/colorbutton/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/colorbutton/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/colorbutton/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/colorbutton/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/colorbutton/plugin.js +1 -1
- package/dist/ckeditor4/plugins/colordialog/dialogs/colordialog.css +4 -4
- package/dist/ckeditor4/plugins/colordialog/dialogs/colordialog.js +1 -1
- package/dist/ckeditor4/plugins/colordialog/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/colordialog/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/colordialog/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/colordialog/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/colordialog/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/colordialog/plugin.js +1 -1
- package/dist/ckeditor4/plugins/copyformatting/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/copyformatting/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/copyformatting/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/copyformatting/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/copyformatting/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/copyformatting/plugin.js +1 -1
- package/dist/ckeditor4/plugins/copyformatting/styles/copyformatting.css +14 -14
- package/dist/ckeditor4/plugins/devtools/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/devtools/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/devtools/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/devtools/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/devtools/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/devtools/plugin.js +1 -1
- package/dist/ckeditor4/plugins/dialog/styles/dialog.css +3 -3
- package/dist/ckeditor4/plugins/dialogadvtab/plugin.js +1 -1
- package/dist/ckeditor4/plugins/div/dialogs/div.js +1 -1
- package/dist/ckeditor4/plugins/div/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/div/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/div/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/div/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/div/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/div/plugin.js +1 -1
- package/dist/ckeditor4/plugins/divarea/plugin.js +1 -1
- package/dist/ckeditor4/plugins/docprops/dialogs/docprops.js +1 -1
- package/dist/ckeditor4/plugins/docprops/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/docprops/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/docprops/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/docprops/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/docprops/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/docprops/plugin.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/dialogs/easyimagealt.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/plugin.js +1 -1
- package/dist/ckeditor4/plugins/easyimage/styles/easyimage.css +16 -16
- package/dist/ckeditor4/plugins/editorplaceholder/plugin.js +1 -1
- package/dist/ckeditor4/plugins/embed/plugin.js +1 -1
- package/dist/ckeditor4/plugins/embedbase/dialogs/embedbase.js +1 -1
- package/dist/ckeditor4/plugins/embedbase/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/embedbase/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/embedbase/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/embedbase/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/embedbase/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/embedbase/plugin.js +1 -1
- package/dist/ckeditor4/plugins/embedsemantic/plugin.js +1 -1
- package/dist/ckeditor4/plugins/emoji/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/emoji/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/emoji/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/emoji/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/emoji/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/emoji/plugin.js +1 -1
- package/dist/ckeditor4/plugins/emoji/skins/default.css +39 -39
- package/dist/ckeditor4/plugins/exportpdf/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/exportpdf/plugin.js +1 -1
- package/dist/ckeditor4/plugins/find/dialogs/find.js +1 -1
- package/dist/ckeditor4/plugins/find/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/find/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/find/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/find/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/find/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/find/plugin.js +1 -1
- package/dist/ckeditor4/plugins/flash/plugin.js +1 -1
- package/dist/ckeditor4/plugins/font/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/font/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/font/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/font/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/font/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/font/plugin.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/button.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/checkbox.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/form.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/hiddenfield.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/radio.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/select.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/textarea.js +1 -1
- package/dist/ckeditor4/plugins/forms/dialogs/textfield.js +1 -1
- package/dist/ckeditor4/plugins/forms/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/forms/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/forms/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/forms/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/forms/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/forms/plugin.js +1 -1
- package/dist/ckeditor4/plugins/iframe/dialogs/iframe.js +1 -1
- package/dist/ckeditor4/plugins/iframe/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/iframe/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/iframe/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/iframe/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/iframe/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/iframe/plugin.js +1 -1
- package/dist/ckeditor4/plugins/iframedialog/plugin.js +1 -1
- package/dist/ckeditor4/plugins/image/dialogs/image.js +1 -1
- package/dist/ckeditor4/plugins/image2/dialogs/image2.js +1 -1
- package/dist/ckeditor4/plugins/image2/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/image2/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/image2/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/image2/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/image2/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/image2/plugin.js +1 -1
- package/dist/ckeditor4/plugins/imagebase/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/imagebase/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/imagebase/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/imagebase/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/imagebase/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/imagebase/plugin.js +1 -1
- package/dist/ckeditor4/plugins/imagebase/styles/imagebase.css +3 -3
- package/dist/ckeditor4/plugins/indentblock/plugin.js +1 -1
- package/dist/ckeditor4/plugins/justify/plugin.js +1 -1
- package/dist/ckeditor4/plugins/language/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/language/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/language/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/language/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/language/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/language/plugin.js +1 -1
- package/dist/ckeditor4/plugins/link/dialogs/anchor.js +1 -1
- package/dist/ckeditor4/plugins/link/dialogs/link.js +1 -1
- package/dist/ckeditor4/plugins/liststyle/dialogs/liststyle.js +1 -1
- package/dist/ckeditor4/plugins/liststyle/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/liststyle/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/liststyle/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/liststyle/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/liststyle/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/liststyle/plugin.js +1 -1
- package/dist/ckeditor4/plugins/mathjax/dialogs/mathjax.js +1 -1
- package/dist/ckeditor4/plugins/mathjax/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/mathjax/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/mathjax/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/mathjax/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/mathjax/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/mathjax/plugin.js +1 -1
- package/dist/ckeditor4/plugins/mentions/plugin.js +1 -1
- package/dist/ckeditor4/plugins/newpage/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/newpage/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/newpage/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/newpage/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/newpage/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/newpage/plugin.js +1 -1
- package/dist/ckeditor4/plugins/pagebreak/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/pagebreak/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/pagebreak/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/pagebreak/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/pagebreak/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/pagebreak/plugin.js +1 -1
- package/dist/ckeditor4/plugins/panelbutton/plugin.js +1 -1
- package/dist/ckeditor4/plugins/pastefromgdocs/filter/default.js +1 -1
- package/dist/ckeditor4/plugins/pastefromlibreoffice/filter/default.js +1 -1
- package/dist/ckeditor4/plugins/pastefromword/filter/default.js +1 -1
- package/dist/ckeditor4/plugins/pastetools/filter/common.js +1 -1
- package/dist/ckeditor4/plugins/pastetools/filter/image.js +1 -1
- package/dist/ckeditor4/plugins/placeholder/dialogs/placeholder.js +1 -1
- package/dist/ckeditor4/plugins/placeholder/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/placeholder/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/placeholder/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/placeholder/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/placeholder/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/placeholder/plugin.js +1 -1
- package/dist/ckeditor4/plugins/preview/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/preview/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/preview/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/preview/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/preview/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/preview/plugin.js +1 -1
- package/dist/ckeditor4/plugins/print/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/print/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/print/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/print/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/print/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/print/plugin.js +1 -1
- package/dist/ckeditor4/plugins/save/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/save/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/save/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/save/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/save/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/save/plugin.js +1 -1
- package/dist/ckeditor4/plugins/scayt/dialogs/dialog.css +4 -4
- package/dist/ckeditor4/plugins/scayt/dialogs/options.js +1 -1
- package/dist/ckeditor4/plugins/scayt/dialogs/toolbar.css +17 -17
- package/dist/ckeditor4/plugins/scayt/skins/moono-lisa/scayt.css +1 -1
- package/dist/ckeditor4/plugins/selectall/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/selectall/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/selectall/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/selectall/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/selectall/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/selectall/plugin.js +1 -1
- package/dist/ckeditor4/plugins/sharedspace/plugin.js +1 -1
- package/dist/ckeditor4/plugins/showblocks/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/showblocks/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/showblocks/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/showblocks/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/showblocks/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/showblocks/plugin.js +1 -1
- package/dist/ckeditor4/plugins/smiley/dialogs/smiley.js +1 -1
- package/dist/ckeditor4/plugins/smiley/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/smiley/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/smiley/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/smiley/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/smiley/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/smiley/plugin.js +1 -1
- package/dist/ckeditor4/plugins/sourcedialog/dialogs/sourcedialog.js +1 -1
- package/dist/ckeditor4/plugins/sourcedialog/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/sourcedialog/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/sourcedialog/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/sourcedialog/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/sourcedialog/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/sourcedialog/plugin.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/af.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ar.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/az.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/bg.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ca.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/cs.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/cy.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/da.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/el.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en-au.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en-ca.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en-gb.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/eo.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/es-mx.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/es.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/et.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/eu.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fa.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fi.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/gl.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/he.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/hr.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/hu.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/id.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ja.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/km.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ko.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ku.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/lt.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/lv.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/nb.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/nl.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/no.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/oc.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/pl.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/pt.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ro.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ru.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/si.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sk.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sl.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sq.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sr-latn.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sr.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/sv.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/th.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/tr.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/tt.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/ug.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/uk.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/vi.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/lang/zh.js +1 -1
- package/dist/ckeditor4/plugins/specialchar/dialogs/specialchar.js +1 -1
- package/dist/ckeditor4/plugins/stylesheetparser/plugin.js +1 -1
- package/dist/ckeditor4/plugins/table/dialogs/table.js +1 -1
- package/dist/ckeditor4/plugins/tableresize/plugin.js +1 -1
- package/dist/ckeditor4/plugins/tableselection/styles/tableselection.css +8 -8
- package/dist/ckeditor4/plugins/tabletools/dialogs/tableCell.js +1 -1
- package/dist/ckeditor4/plugins/templates/dialogs/templates.css +20 -20
- package/dist/ckeditor4/plugins/templates/dialogs/templates.js +1 -1
- package/dist/ckeditor4/plugins/templates/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/templates/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/templates/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/templates/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/templates/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/templates/plugin.js +1 -1
- package/dist/ckeditor4/plugins/templates/templates/default.js +1 -1
- package/dist/ckeditor4/plugins/textmatch/plugin.js +1 -1
- package/dist/ckeditor4/plugins/textwatcher/plugin.js +1 -1
- package/dist/ckeditor4/plugins/uicolor/dialogs/uicolor.css +4 -4
- package/dist/ckeditor4/plugins/uicolor/dialogs/uicolor.js +1 -1
- package/dist/ckeditor4/plugins/uicolor/lang/de-ch.js +1 -1
- package/dist/ckeditor4/plugins/uicolor/lang/de.js +1 -1
- package/dist/ckeditor4/plugins/uicolor/lang/en.js +1 -1
- package/dist/ckeditor4/plugins/uicolor/lang/fr.js +1 -1
- package/dist/ckeditor4/plugins/uicolor/lang/it.js +1 -1
- package/dist/ckeditor4/plugins/uicolor/plugin.js +1 -1
- package/dist/ckeditor4/plugins/uploadfile/plugin.js +1 -1
- package/dist/ckeditor4/skins/kama/dialog.css +1 -1
- package/dist/ckeditor4/skins/kama/dialog_ie.css +1 -1
- package/dist/ckeditor4/skins/kama/dialog_ie7.css +1 -1
- package/dist/ckeditor4/skins/kama/dialog_ie8.css +1 -1
- package/dist/ckeditor4/skins/kama/dialog_iequirks.css +1 -1
- package/dist/ckeditor4/skins/kama/editor.css +1 -1
- package/dist/ckeditor4/skins/kama/editor_ie.css +1 -1
- package/dist/ckeditor4/skins/kama/editor_ie7.css +1 -1
- package/dist/ckeditor4/skins/kama/editor_ie8.css +1 -1
- package/dist/ckeditor4/skins/kama/editor_iequirks.css +1 -1
- package/dist/ckeditor4/skins/kama/skin.js +1 -1
- package/dist/ckeditor4/skins/moono/dialog.css +1 -1
- package/dist/ckeditor4/skins/moono/dialog_ie.css +1 -1
- package/dist/ckeditor4/skins/moono/dialog_ie7.css +1 -1
- package/dist/ckeditor4/skins/moono/dialog_ie8.css +1 -1
- package/dist/ckeditor4/skins/moono/dialog_iequirks.css +1 -1
- package/dist/ckeditor4/skins/moono/editor.css +1 -1
- package/dist/ckeditor4/skins/moono/editor_gecko.css +1 -1
- package/dist/ckeditor4/skins/moono/editor_ie.css +1 -1
- package/dist/ckeditor4/skins/moono/editor_ie7.css +1 -1
- package/dist/ckeditor4/skins/moono/editor_ie8.css +1 -1
- package/dist/ckeditor4/skins/moono/editor_iequirks.css +1 -1
- package/dist/ckeditor4/skins/moono/skin.js +1 -1
- package/dist/ckeditor4/skins/moono-lisa/dialog.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/dialog_ie.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/dialog_ie8.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/dialog_iequirks.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/editor.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/editor_gecko.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/editor_ie.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/editor_ie8.css +1 -1
- package/dist/ckeditor4/skins/moono-lisa/editor_iequirks.css +1 -1
- package/dist/ckeditor4/styles.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-html-editor.aea905be6090ad559315.js +0 -6
- package/dist/ckeditor4/ckeditor.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){
|
|
1
|
+
!function(){NEW_CKEDITOR.plugins.add("codesnippetgeshi",{requires:"ajax,codesnippet",init:function(e){var i=new NEW_CKEDITOR.htmlParser.basicWriter,l=new NEW_CKEDITOR.plugins.codesnippet.highlighter({languages:a,highlighter:function(a,l,t){a=JSON.stringify({lang:l,html:a}),NEW_CKEDITOR.ajax.post(NEW_CKEDITOR.getUrl(e.config.codeSnippetGeshi_url||""),a,"application/json",(function(a){a?(NEW_CKEDITOR.htmlParser.fragment.fromHtml(a||"").children[0].writeChildrenHtml(i),t(i.getHtml(!0))):t("")}))}});e.plugins.codesnippet.setHighlighter(l)}});var a={abap:"ABAP",actionscript:"ActionScript",ada:"Ada",apache:"Apache Configuration",applescript:"AppleScript",asm:"Assembly",asp:"Active Server Pages (ASP)",autoit:"AutoIt",bash:"Bash",basic4gl:"Basic4GL",bf:"Brainfuck",blitzbasic:"Blitz BASIC",bnf:"Backus-Naur Form",c:"C",c_mac:"C (Mac)",caddcl:"AutoCAD DCL",cadlisp:"AutoLISP",cfdg:"CFDG",cfm:"ColdFusion Markup Language",cil:"Common Intermediate Language (CIL)",cobol:"COBOL","cpp-qt":"C++ (Qt toolkit)",cpp:"C++",csharp:"C#",css:"Cascading Style Sheets (CSS)",d:"D",delphi:"Delphi",diff:"Diff",div:"DIV",dos:"DOS batch file",dot:"DOT",eiffel:"Eiffel",fortran:"Fortran",freebasic:"FreeBASIC",gambas:"Gambas",genero:"Genero",gettext:"GNU internationalization (i18n) library",glsl:"OpenGL Shading Language (GLSL)",gml:"Game Maker Language (GML)",gnuplot:"gnuplot",groovy:"Groovy",haskell:"Haskell",hq9plus:"HQ9+",html4strict:"HTML",html5:"HTML5",idl:"Uno IDL",ini:"INI",inno:"Inno",intercal:"INTERCAL",io:"Io",java:"Java",java5:"Java(TM) 2 Platform Standard Edition 5.0",javascript:"JavaScript",kixtart:"KiXtart",klonec:"Klone C",klonecpp:"Klone C++",latex:"LaTeX",lisp:"Lisp",lolcode:"LOLCODE",lotusscript:"LotusScript",lua:"Lua",Code:"Language",m68k:"Motorola 68000 Assembler",make:"make",matlab:"MATLAB M",mirc:"mIRC scripting language",mxml:"MXML",mpasm:"Microchip Assembler",mysql:"MySQL",nsis:"Nullsoft Scriptable Install System (NSIS)",objc:"Objective-C","ocaml-brief":"OCaml",ocaml:"OCaml",oobas:"OpenOffice.org Basic",oracle8:"Oracle 8 SQL",oracle11:"Oracle 11 SQL",pascal:"Pascal",per:"per",perl:"Perl","php-brief":"PHP",php:"PHP",pixelbender:"Pixel Bender",plsql:"PL/SQL",povray:"Persistence of Vision Raytracer",powershell:"Windows PowerShell",progress:"OpenEdge Advanced Business Language",prolog:"Prolog",providex:"ProvideX",python:"Python",qbasic:"QBasic/QuickBASIC",rails:"Rails",reg:"Windows Registry",robots:"robots.txt",rsplus:"R",ruby:"Ruby",sas:"SAS",scala:"Scala",scheme:"Scheme",scilab:"Scilab",sdlbasic:"SdlBasic",smalltalk:"Smalltalk",smarty:"Smarty",sql:"SQL",tcl:"Tcl",teraterm:"Tera Term",text:"Plain text",thinbasic:"thinBasic",tsql:"Transact-SQL",typoscript:"TypoScript",vala:"Vala",vb:"Visual Basic",vbnet:"Visual Basic .NET",verilog:"Verilog",vhdl:"VHDL",vim:"Vimscript",visualfoxpro:"Visual FoxPro",visualprolog:"Visual Prolog",whitespace:"Whitespace",winbatch:"Winbatch",xml:"XML",xorg_conf:"Xorg.conf",xpp:"X++",z80:"ZiLOG Z80 Assembler"}}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colorbutton","de-ch",{auto:"Automatisch",bgColorTitle:"Hintergrundfarbe",colors:{"000":"Schwarz",8e5:"Kastanienbraun","8B4513":"Braun","2F4F4F":"Dunkles Schiefergrau","008080":"Blaugrün","000080":"Marineblau","4B0082":"Indigo",696969:"Dunkelgrau",B22222:"Ziegelrot",A52A2A:"Braun",DAA520:"Goldgelb","006400":"Dunkelgrün","40E0D0":"Türkis","0000CD":"Mittelblau",800080:"Lila",808080:"Grau",F00:"Rot",FF8C00:"Dunkelorange",FFD700:"Gold","008000":"Grün","0FF":"Cyan","00F":"Blau",EE82EE:"Violett",A9A9A9:"Dunkelgrau",FFA07A:"Helles Lachsrosa",FFA500:"Orange",FFFF00:"Gelb","00FF00":"Lime",AFEEEE:"Blasstürkis",ADD8E6:"Hellblau",DDA0DD:"Pflaumenblau",D3D3D3:"Hellgrau",FFF0F5:"Lavendel",FAEBD7:"Antik Weiss",FFFFE0:"Hellgelb",F0FFF0:"Honigtau",F0FFFF:"Azurblau",F0F8FF:"Alice Blau",E6E6FA:"Lavendel",FFF:"Weiss","1ABC9C":"Kräftiges Türkis","2ECC71":"Smaragdgrün","3498DB":"Helles Blau","9B59B6":"Amethystblau","4E5F70":"Graublau",F1C40F:"Lebhaftes Gelb","16A085":"Dunkeltürkis","27AE60":"Dunkles Smaragdgrün","2980B9":"Kräftiges Blau","8E44AD":"Dunkelvilolett","2C3E50":"Entsättigtes blau",F39C12:"Orange",E67E22:"Karotte",E74C3C:"Blassrot",ECF0F1:"Glänzendes Silber","95A5A6":"Helles Graublau",DDD:"Hellgrau",D35400:"Kürbisfarben",C0392B:"Kräftiges Rot",BDC3C7:"Silber","7F8C8D":"Graucyan",999:"Dunkelgrau"},more:"Weitere Farben...",panelTitle:"Farben",textColorTitle:"Textfarbe"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colorbutton","de",{auto:"Automatisch",bgColorTitle:"Hintergrundfarbe",colors:{"000":"Schwarz",8e5:"Kastanienbraun","8B4513":"Braun","2F4F4F":"Dunkles Schiefergrau","008080":"Blaugrün","000080":"Marineblau","4B0082":"Indigo",696969:"Dunkelgrau",B22222:"Ziegelrot",A52A2A:"Braun",DAA520:"Goldgelb","006400":"Dunkelgrün","40E0D0":"Türkis","0000CD":"Mittelblau",800080:"Lila",808080:"Grau",F00:"Rot",FF8C00:"Dunkelorange",FFD700:"Gold","008000":"Grün","0FF":"Cyan","00F":"Blau",EE82EE:"Violett",A9A9A9:"Dunkelgrau",FFA07A:"Helles Lachsrosa",FFA500:"Orange",FFFF00:"Gelb","00FF00":"Lime",AFEEEE:"Blasstürkis",ADD8E6:"Hellblau",DDA0DD:"Pflaumenblau",D3D3D3:"Hellgrau",FFF0F5:"Lavendel",FAEBD7:"Antik Weiß",FFFFE0:"Hellgelb",F0FFF0:"Honigtau",F0FFFF:"Azurblau",F0F8FF:"Alice Blau",E6E6FA:"Lavendel",FFF:"Weiß","1ABC9C":"Kräftiges Cyan","2ECC71":"Smaragdgrün","3498DB":"Helles Blau","9B59B6":"Amethystblau","4E5F70":"Graublau",F1C40F:"Lebhaftes Gelb","16A085":"Dunkelcyan","27AE60":"Dunkelsmaragdgrün","2980B9":"Kräftiges Blau","8E44AD":"Dunkelviolett","2C3E50":"Entsättigtes blau",F39C12:"Orange",E67E22:"Möhrenfarben",E74C3C:"Blassrot",ECF0F1:"Glänzendes Silber","95A5A6":"Helles Graublau",DDD:"Hellgrau",D35400:"Kürbisfarben",C0392B:"Kräftiges Rot",BDC3C7:"Silber","7F8C8D":"Graucyan",999:"Dunkelgrau"},more:"Weitere Farben...",panelTitle:"Farben",textColorTitle:"Textfarbe"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colorbutton","en",{auto:"Automatic",bgColorTitle:"Background Color",colors:{"000":"Black",8e5:"Maroon","8B4513":"Saddle Brown","2F4F4F":"Dark Slate Gray","008080":"Teal","000080":"Navy","4B0082":"Indigo",696969:"Dark Gray",B22222:"Fire Brick",A52A2A:"Brown",DAA520:"Golden Rod","006400":"Dark Green","40E0D0":"Turquoise","0000CD":"Medium Blue",800080:"Purple",808080:"Gray",F00:"Red",FF8C00:"Dark Orange",FFD700:"Gold","008000":"Green","0FF":"Cyan","00F":"Blue",EE82EE:"Violet",A9A9A9:"Dim Gray",FFA07A:"Light Salmon",FFA500:"Orange",FFFF00:"Yellow","00FF00":"Lime",AFEEEE:"Pale Turquoise",ADD8E6:"Light Blue",DDA0DD:"Plum",D3D3D3:"Light Grey",FFF0F5:"Lavender Blush",FAEBD7:"Antique White",FFFFE0:"Light Yellow",F0FFF0:"Honeydew",F0FFFF:"Azure",F0F8FF:"Alice Blue",E6E6FA:"Lavender",FFF:"White","1ABC9C":"Strong Cyan","2ECC71":"Emerald","3498DB":"Bright Blue","9B59B6":"Amethyst","4E5F70":"Grayish Blue",F1C40F:"Vivid Yellow","16A085":"Dark Cyan","27AE60":"Dark Emerald","2980B9":"Strong Blue","8E44AD":"Dark Violet","2C3E50":"Desaturated Blue",F39C12:"Orange",E67E22:"Carrot",E74C3C:"Pale Red",ECF0F1:"Bright Silver","95A5A6":"Light Grayish Cyan",DDD:"Light Gray",D35400:"Pumpkin",C0392B:"Strong Red",BDC3C7:"Silver","7F8C8D":"Grayish Cyan",999:"Dark Gray"},more:"More Colors...",panelTitle:"Colors",textColorTitle:"Text Color"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colorbutton","fr",{auto:"Automatique",bgColorTitle:"Couleur d'arrière-plan",colors:{"000":"Noir",8e5:"Marron","8B4513":"Brun de selle","2F4F4F":"Gris sombre d'ardoise","008080":"Canard","000080":"Bleu marine","4B0082":"Indigo",696969:"Gris foncé",B22222:"Rouge brique",A52A2A:"Brun",DAA520:"Or terni","006400":"Vert foncé","40E0D0":"Turquoise","0000CD":"Bleu royal",800080:"Violet",808080:"Gris",F00:"Rouge",FF8C00:"Orange foncé",FFD700:"Or","008000":"Vert","0FF":"Cyan","00F":"Bleu",EE82EE:"Violet",A9A9A9:"Gris tamisé",FFA07A:"Saumon clair",FFA500:"Orange",FFFF00:"Jaune","00FF00":"Lime",AFEEEE:"Turquoise clair",ADD8E6:"Bleu clair",DDA0DD:"Prune",D3D3D3:"Gris clair",FFF0F5:"Fard lavande",FAEBD7:"Blanc antique",FFFFE0:"Jaune clair",F0FFF0:"Vert rosée",F0FFFF:"Azur",F0F8FF:"Bleu Alice",E6E6FA:"Lavande",FFF:"Blanc","1ABC9C":"Cyan dur","2ECC71":"Émeraude","3498DB":"Bleu brillant","9B59B6":"Améthyste","4E5F70":"Bleu-gris",F1C40F:"Jaune vif","16A085":"Cyan foncé","27AE60":"Émeraude foncée","2980B9":"Bleu dur","8E44AD":"Violet foncé","2C3E50":"Bleu désaturé",F39C12:"Orange",E67E22:"Carotte",E74C3C:"Rouge pâle",ECF0F1:"Argent brillant","95A5A6":"Cyan-gris clair",DDD:"Gris clair",D35400:"Citrouille",C0392B:"Rouge dur",BDC3C7:"Argent","7F8C8D":"Cyan-gris",999:"Gris foncé"},more:"Plus de couleurs...",panelTitle:"Couleurs",textColorTitle:"Couleur du texte"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colorbutton","it",{auto:"Automatico",bgColorTitle:"Colore sfondo",colors:{"000":"Nero",8e5:"Marrone Castagna","8B4513":"Marrone Cuoio","2F4F4F":"Grigio Fumo di Londra","008080":"Acquamarina","000080":"Blu Oceano","4B0082":"Indigo",696969:"Grigio Scuro",B22222:"Giallo Fiamma",A52A2A:"Marrone",DAA520:"Giallo Mimosa","006400":"Verde Scuro","40E0D0":"Turchese","0000CD":"Blue Scuro",800080:"Viola",808080:"Grigio",F00:"Rosso",FF8C00:"Arancio Scuro",FFD700:"Oro","008000":"Verde","0FF":"Ciano","00F":"Blu",EE82EE:"Violetto",A9A9A9:"Grigio Scuro",FFA07A:"Salmone",FFA500:"Arancio",FFFF00:"Giallo","00FF00":"Lime",AFEEEE:"Turchese Chiaro",ADD8E6:"Blu Chiaro",DDA0DD:"Rosso Ciliegia",D3D3D3:"Grigio Chiaro",FFF0F5:"Lavanda Chiara",FAEBD7:"Bianco Antico",FFFFE0:"Giallo Chiaro",F0FFF0:"Verde Mela",F0FFFF:"Azzurro",F0F8FF:"Celeste",E6E6FA:"Lavanda",FFF:"Bianco","1ABC9C":"Ciano intenso","2ECC71":"Smeraldo","3498DB":"Blu luminoso","9B59B6":"Ametista","4E5F70":"Blu grigiastro",F1C40F:"Giallo vivido","16A085":"Ciano scuro","27AE60":"Smeraldo scuro","2980B9":"Blu intenso","8E44AD":"Viola scuro","2C3E50":"Blu desaturato",F39C12:"Arancio",E67E22:"Carota",E74C3C:"Rosso pallido",ECF0F1:"Argento luminoso","95A5A6":"Ciano grigiastro chiaro",DDD:"Grigio chiaro",D35400:"Zucca",C0392B:"Rosso intenso",BDC3C7:"Argento","7F8C8D":"Ciano grigiastro",999:"Grigio scuro"},more:"Altri colori...",panelTitle:"Colori",textColorTitle:"Colore testo"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){var t,o,e;CKEDITOR.plugins.add("colorbutton",{requires:"panelbutton,floatpanel",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn",icons:"bgcolor,textcolor",hidpi:!0,init:function(o){function n(n){function c(t,e,n){var i={};if(t&&(i.color=t),e&&(i.colorName=e),e=!CKEDITOR.tools.isEmpty(i)&&new CKEDITOR.style(function(){var t=o.config["colorButton_"+u+"Style"];return t.childRule="back"==u?function(t){return r(t)}:function(t){return!(t.is("a")||t.getElementsByTag("a").count())||r(t)},t}(),i),o.execCommand(f,{newStyle:e}),t&&n)for(n.addColor(t.substr(1).toUpperCase()),t=g.element.find("[role=option]").toArray(),n=0;n<t.length;n++)t[n].setAttributes({"aria-posinset":n+1,"aria-setsize":t.length})}var a=n.name,u=n.type,h=n.title,d=n.order,f=n.commandName;n=n.contentTransformations||{};var g,C=new CKEDITOR.style(s["colorButton_"+u+"Style"]),m=CKEDITOR.tools.getNextId()+"_colorBox",p={type:u},b=new CKEDITOR.style(s["colorButton_"+u+"Style"],{color:"inherit"}),E=CKEDITOR.tools.addFunction((function(t,e,n){o.focus(),o.fire("saveSnapshot"),"?"==t?o.getColorFromDialog((function(t){t&&c(t,e,y)}),null,p):c(t&&"#"+t,e,y),n&&(n.setAttribute("cke_colorlast",!0),o.once("selectionChange",(function(){n.removeAttribute("cke_colorlast")})))})),y=e.getRowLimit(o)?new e(o,"back"==u?"background-color":"color",E):void 0;o.addCommand(f,{contextSensitive:!0,exec:function(t,o){if(!t.readOnly){var e=o.newStyle;t.removeStyle(b),t.focus(),e&&t.applyStyle(e),t.fire("saveSnapshot")}},refresh:function(t,o){b.checkApplicable(o,t,t.activeFilter)?b.checkActive(o,t)?this.setState(CKEDITOR.TRISTATE_ON):this.setState(CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)}}),o.ui.add(a,CKEDITOR.UI_PANELBUTTON,{label:h,title:h,command:f,editorFocus:0,toolbar:"colors,"+d,allowedContent:C,requiredContent:C,contentTransformations:n,panel:{css:[CKEDITOR.skin.getPath("editor")].concat(s.colorButton_contentsCss),attributes:{role:"listbox","aria-label":l.panelTitle}},select:function(o){var e=s.colorButton_colors.split(",");o=CKEDITOR.tools.array.find(e,o),o=t.normalizeColor(o),i(g,o),g._.markFirstDisplayed()},onBlock:function(n,r){g=r,r.autoSize=!0,r.element.addClass("cke_colorblock"),r.element.setHtml(function(n,r,i){var c=[],a=s.colorButton_colors.split(","),u=o.plugins.colordialog&&s.colorButton_enableMore;i=a.length+i+(u?1:0);var h=1;for(s.colorButton_enableAutomatic&&(i+=1,h+=1,c.push('<a class="cke_colorauto" _cke_focus=1 hidefocus=true',' title="',l.auto,'"',' draggable="false"',' ondragstart="return false;"',' onclick="CKEDITOR.tools.callFunction(',r,',null);return false;"'," href=\"javascript:void('",l.auto,"')\"",' role="option" aria-posinset="1" aria-setsize="',i,'">','<table role="presentation" cellspacing=0 cellpadding=0 width="100%">',"<tr>",'<td colspan="',o.config.colorButton_colorsPerRow,'" align="center">','<span class="cke_colorbox" id="',n,'"></span>',l.auto,"</td>","</tr>","</table>","</a>")),c.push('<table role="presentation" cellspacing=0 cellpadding=0 width="100%"><tbody>'),n=0;n<a.length;n++){0==n%o.config.colorButton_colorsPerRow&&c.push("</tr><tr>");var d,f=(d=a[n].split("/"))[0];(d=new t(o,{color:d[1]||f,label:d[1]?f:void 0},r)).setPositionIndex(h+n,i),c.push(d.getHtml())}return e.getRowLimit(o)&&e.renderContainer(c,o),u&&c.push("</tr>","<tr>",'<td colspan="',o.config.colorButton_colorsPerRow,'" align="center">','<a class="cke_colormore" _cke_focus=1 hidefocus=true',' title="',l.more,'"',' draggable="false"',' ondragstart="return false;"',' onclick="CKEDITOR.tools.callFunction(',r,",'?');return false;\""," href=\"javascript:void('",l.more,"')\"",' role="option" aria-posinset="',i,'" aria-setsize="',i,'">',l.more,"</a>","</td>"),c.push("</tr></tbody></table>"),c.join("")}(m,E,y?y.getLength():0)),r.element.getDocument().getBody().setStyle("overflow","hidden"),r.element.getAscendant({html:1}).setStyle("overflow","hidden"),CKEDITOR.ui.fire("ready",this);var i=r.keys,c="rtl"==o.lang.dir;i[c?37:39]="next",i[40]="next",i[9]="next",i[c?39:37]="prev",i[38]="prev",i[CKEDITOR.SHIFT+9]="prev",i[32]="click",y&&y.setContainer(r.element.findOne(".cke_colorhistory"))},onOpen:function(){var e=(l=o.getSelection())&&l.getStartElement(),n=o.elementPath(e),r="back"==u?"background-color":"color";if(n){e=n.block||n.blockLimit||o.document.getBody();do{n=e&&e.getComputedStyle(r)||"transparent"}while("back"==u&&"transparent"==n&&e&&(e=e.getParent()));if(n&&"transparent"!=n||(n="#ffffff"),s.colorButton_enableAutomatic&&g.element.findOne("#"+m).setStyle("background-color",n),e=l&&l.getRanges()[0]){var l=new CKEDITOR.dom.walker(e),c=e.collapsed?e.startContainer:l.next();for(e="";c;){if(c.type!==CKEDITOR.NODE_ELEMENT&&(c=c.getParent()),c=t.normalizeColor(c.getComputedStyle(r)),(e=e||c)!==c){e="";break}c=l.next()}"transparent"==e&&(e=""),"fore"==u&&(p.automaticTextColor="#"+t.normalizeColor(n)),p.selectionColor=e?"#"+e:"",i(g,e)}return n}}})}function r(t){return"false"==t.getAttribute("contentEditable")||t.getAttribute("data-nostyle")}function i(o,e){var n=o._.getItems(),r=o.element.findOne("[aria-selected]"),i=o.element.findOne("[cke_colorlast]");if(r&&r.removeAttribute("aria-selected"),i)i.setAttribute("aria-selected",!0);else for(r=0;r<n.count();r++)if(i=n.getItem(r),e&&e==t.normalizeColor(i.getAttribute("data-value"))){i.setAttribute("aria-selected",!0);break}}var s=o.config,l=o.lang.colorbutton;if(!CKEDITOR.env.hc){n({name:"TextColor",type:"fore",commandName:"textColor",title:l.textColorTitle,order:10,contentTransformations:[[{element:"font",check:"span{color}",left:function(t){return!!t.attributes.color},right:function(t){t.name="span",t.attributes.color&&(t.styles.color=t.attributes.color),delete t.attributes.color}}]]});var c,a=o.config.colorButton_normalizeBackground;(void 0===a||a)&&(c=[[{element:"span",left:function(t){var o=CKEDITOR.tools;return!("span"!=t.name||!t.styles||!t.styles.background)&&((t=o.style.parse.background(t.styles.background)).color&&1===o.object.keys(t).length)},right:function(t){var e=new CKEDITOR.style(o.config.colorButton_backStyle,{color:t.styles.background}).getDefinition();return t.name=e.element,t.styles=e.styles,t.attributes=e.attributes||{},t}}]]),n({name:"BGColor",type:"back",commandName:"bgColor",title:l.bgColorTitle,order:20,contentTransformations:c})}}}),t=CKEDITOR.tools.createClass({$:function(o,e,n){this.$=new CKEDITOR.dom.element("td"),this.color=CKEDITOR.tools._isValidColorFormat(e.color)?e.color:"",this.clickFn=n,this.label=e.label||t.colorNames(o)[this.color]||this.color,this.setHtml()},statics:{colorNames:function(t){return t.lang.colorbutton.colors},normalizeColor:function(t){var o=/^(rgb|hsl)a\(/g.test(t),e=/^rgba\((\s*0\s*,?){4}\)$/g.test(t);return o&&!e?(t=new CKEDITOR.tools.color(t),CKEDITOR.tools.normalizeHex(t.getHex()||"").replace(/#/g,"")):CKEDITOR.tools.normalizeHex("#"+CKEDITOR.tools.convertRgbToHex(t||"")).replace(/#/g,"")}},proto:{getElement:function(){return this.$},getHtml:function(){return this.getElement().getOuterHtml()},setHtml:function(){this.getElement().setHtml('<a class="cke_colorbox" _cke_focus=1 hidefocus=true title="'+this.label+'" draggable="false" ondragstart="return false;" onclick="CKEDITOR.tools.callFunction('+this.clickFn+",'"+this.color+"','"+this.label+"', this); return false;\" href=\"javascript:void('"+this.color+'\')" data-value="'+this.color+'" role="option"><span class="cke_colorbox" style="background-color:#'+this.color+'"></span></a>')},setPositionIndex:function(t,o){this.getElement().getChild(0).setAttributes({"aria-posinset":t,"aria-setsize":o})}}}),o=CKEDITOR.tools.createClass({$:function(){this.$=new CKEDITOR.dom.element("tr"),this.$.addClass("cke_colorhistory_row"),this.boxes=[]},proto:{getElement:function(){return this.$},removeLastColor:function(){return this.getElement().getLast().remove(),this.boxes.pop()},addNewColor:function(t){this.boxes.unshift(t),this.getElement().append(t.getElement(),!0)},extractColorBox:function(t){var o=CKEDITOR.tools.getIndex(this.boxes,(function(o){return o.color===t}));return 0>o?null:(this.boxes[o].getElement().remove(),this.boxes.splice(o,1)[0])}}}),e=CKEDITOR.tools.createClass({$:function(t,o,e){this.editor=t,this.cssProperty=o,this.clickFn=e,this.rows=[],this._.addNewRow(),this.editor.config.colorButton_renderContentColors&&this.editor.once("instanceReady",(function(){this.renderContentColors()}),this)},statics:{renderContainer:function(t,o){t.push('</tbody><tbody class="cke_colorhistory" style="display:none;">',"<tr>",'<td colspan="',o.config.colorButton_colorsPerRow,'" align="center">',"<span><hr></span>","</td>","</tr>","</tbody><tbody>")},getRowLimit:function(t){return t.config.colorButton_historyRowLimit},getCapacity:function(t){return e.getRowLimit(t)*t.config.colorButton_colorsPerRow},colorList:CKEDITOR.tools.style.parse._colors},_:{countColors:function(){var t=CKEDITOR.tools.getStyledSpans(this.cssProperty,this.editor.editable());return CKEDITOR.tools.array.reduce(t,(function(t,o){var n=this._.getHexCode(o,this.cssProperty,e.colorList);return t[n]=t[n]||0,t[n]+=1,t}),{},this)},getHexCode:function(o,e,n){var r=o.getStyle(e);return r in n?n[r].substr(1):t.normalizeColor(o.getComputedStyle(e)).toUpperCase()},sortByOccurrencesAscending:function(t,o){var e,n=[];for(e in t){var r={};r[o]=e,r.frequency=t[e],n.push(r)}return n.sort((function(t,o){return o.frequency-t.frequency})),this._.trimToCapacity(n),n.reverse()},trimToCapacity:function(t){t.splice(e.getCapacity(this.editor))},addColors:function(t){CKEDITOR.tools.array.forEach(t,(function(t){this.addColor(t.colorCode)}),this)},extractColorBox:function(t){for(var o=0;o<this.rows.length;o++){var e=this.rows[o].extractColorBox(t);if(e)return e}return null},moveToBeginning:function(t){this.rows[0].addNewColor(t)},createAtBeginning:function(o){this._.moveToBeginning(new t(this.editor,{color:o},this.clickFn))},addNewRow:function(){this.rows.push(new o),this.container&&this.container.append(this.rows[this.rows.length-1].getElement())},alignRows:function(){for(var t=0;t<e.getRowLimit(this.editor)&&!(this.rows[t].boxes.length<=this.editor.config.colorButton_colorsPerRow);t++)this.rows[t+1]?this._.moveLastBoxToNextRow(t):t<e.getRowLimit(this.editor)-1?(this._.addNewRow(),this._.moveLastBoxToNextRow(t)):this.rows[t].removeLastColor()},moveLastBoxToNextRow:function(t){this.rows[t+1].addNewColor(this.rows[t].removeLastColor())},refreshPositions:function(){var t=this._.countPanelElements(),o=this._.calculateFirstPosition(t);CKEDITOR.tools.array.forEach(this.rows,(function(e){CKEDITOR.tools.array.forEach(e.boxes,(function(e){e.setPositionIndex(o,t),o+=1}))}))},countPanelElements:function(){var t=this.editor.config.colorButton_colors.split(",").length+this.getLength();return this.editor.plugins.colordialog&&this.editor.config.colorButton_enableMore&&(t+=1),this.editor.config.colorButton_enableAutomatic&&(t+=1),t},calculateFirstPosition:function(t){return this.editor.plugins.colordialog&&this.editor.config.colorButton_enableMore?t-this.getLength():t-this.getLength()+1},attachRows:function(){CKEDITOR.tools.array.forEach(this.rows,(function(t){this.container.append(t.getElement())}),this)}},proto:{setContainer:function(t){this.container=t,this._.attachRows(),this.getLength()&&this.show()},show:function(){this.container&&this.container.show()},renderContentColors:function(){var t=this._.countColors();CKEDITOR.tools.isEmpty(t)||(t=this._.sortByOccurrencesAscending(t,"colorCode"),this._.addColors(t),this._.refreshPositions())},addColor:function(t){var o=this._.extractColorBox(t);this.container&&!this.container.isVisible()&&this.show(),o?this._.moveToBeginning(o):this._.createAtBeginning(t),this._.alignRows()},getLength:function(){return CKEDITOR.tools.array.reduce(this.rows,(function(t,o){return t+o.boxes.length}),0)}}})}(),CKEDITOR.config.colorButton_enableMore=!0,CKEDITOR.config.colorButton_colors="1ABC9C,2ECC71,3498DB,9B59B6,4E5F70,F1C40F,16A085,27AE60,2980B9,8E44AD,2C3E50,F39C12,E67E22,E74C3C,ECF0F1,95A5A6,DDD,FFF,D35400,C0392B,BDC3C7,7F8C8D,999,000",CKEDITOR.config.colorButton_foreStyle={element:"span",styles:{color:"#(color)"},overrides:[{element:"font",attributes:{color:null}}]},CKEDITOR.config.colorButton_backStyle={element:"span",styles:{"background-color":"#(color)"}},CKEDITOR.config.colorButton_enableAutomatic=!0,CKEDITOR.config.colorButton_colorsPerRow=6,CKEDITOR.config.colorButton_historyRowLimit=1,CKEDITOR.config.colorButton_renderContentColors=!0,CKEDITOR.config.colorButton_contentsCss=[];
|
|
1
|
+
!function(){var t,o,e;NEW_CKEDITOR.plugins.add("colorbutton",{requires:"panelbutton,floatpanel",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn",icons:"bgcolor,textcolor",hidpi:!0,init:function(o){function n(n){function a(t,e,n){var i={};if(t&&(i.color=t),e&&(i.colorName=e),e=!NEW_CKEDITOR.tools.isEmpty(i)&&new NEW_CKEDITOR.style(function(){var t=o.config["colorButton_"+u+"Style"];return t.childRule="back"==u?function(t){return r(t)}:function(t){return!(t.is("a")||t.getElementsByTag("a").count())||r(t)},t}(),i),o.execCommand(f,{newStyle:e}),t&&n)for(n.addColor(t.substr(1).toUpperCase()),t=g.element.find("[role=option]").toArray(),n=0;n<t.length;n++)t[n].setAttributes({"aria-posinset":n+1,"aria-setsize":t.length})}var c=n.name,u=n.type,d=n.title,h=n.order,f=n.commandName;n=n.contentTransformations||{};var g,E=new NEW_CKEDITOR.style(s["colorButton_"+u+"Style"]),C=NEW_CKEDITOR.tools.getNextId()+"_colorBox",m={type:u},_=new NEW_CKEDITOR.style(s["colorButton_"+u+"Style"],{color:"inherit"}),p=NEW_CKEDITOR.tools.addFunction((function(t,e,n){o.focus(),o.fire("saveSnapshot"),"?"==t?o.getColorFromDialog((function(t){t&&a(t,e,b)}),null,m):a(t&&"#"+t,e,b),n&&(n.setAttribute("edi_colorlast",!0),o.once("selectionChange",(function(){n.removeAttribute("edi_colorlast")})))})),b=e.getRowLimit(o)?new e(o,"back"==u?"background-color":"color",p):void 0;o.addCommand(f,{contextSensitive:!0,exec:function(t,o){if(!t.readOnly){var e=o.newStyle;t.removeStyle(_),t.focus(),e&&t.applyStyle(e),t.fire("saveSnapshot")}},refresh:function(t,o){_.checkApplicable(o,t,t.activeFilter)?_.checkActive(o,t)?this.setState(NEW_CKEDITOR.TRISTATE_ON):this.setState(NEW_CKEDITOR.TRISTATE_OFF):this.setState(NEW_CKEDITOR.TRISTATE_DISABLED)}}),o.ui.add(c,NEW_CKEDITOR.UI_PANELBUTTON,{label:d,title:d,command:f,editorFocus:0,toolbar:"colors,"+h,allowedContent:E,requiredContent:E,contentTransformations:n,panel:{css:[NEW_CKEDITOR.skin.getPath("editor")].concat(s.colorButton_contentsCss),attributes:{role:"listbox","aria-label":l.panelTitle}},select:function(o){var e=s.colorButton_colors.split(",");o=NEW_CKEDITOR.tools.array.find(e,o),o=t.normalizeColor(o),i(g,o),g._.markFirstDisplayed()},onBlock:function(n,r){g=r,r.autoSize=!0,r.element.addClass("edi_colorblock"),r.element.setHtml(function(n,r,i){var a=[],c=s.colorButton_colors.split(","),u=o.plugins.colordialog&&s.colorButton_enableMore;i=c.length+i+(u?1:0);var d=1;for(s.colorButton_enableAutomatic&&(i+=1,d+=1,a.push('<a class="edi_colorauto" _cke_focus=1 hidefocus=true',' title="',l.auto,'"',' draggable="false"',' ondragstart="return false;"',' onclick="NEW_CKEDITOR.tools.callFunction(',r,',null);return false;"'," href=\"javascript:void('",l.auto,"')\"",' role="option" aria-posinset="1" aria-setsize="',i,'">','<table role="presentation" cellspacing=0 cellpadding=0 width="100%">',"<tr>",'<td colspan="',o.config.colorButton_colorsPerRow,'" align="center">','<span class="edi_colorbox" id="',n,'"></span>',l.auto,"</td>","</tr>","</table>","</a>")),a.push('<table role="presentation" cellspacing=0 cellpadding=0 width="100%"><tbody>'),n=0;n<c.length;n++){0==n%o.config.colorButton_colorsPerRow&&a.push("</tr><tr>");var h,f=(h=c[n].split("/"))[0];(h=new t(o,{color:h[1]||f,label:h[1]?f:void 0},r)).setPositionIndex(d+n,i),a.push(h.getHtml())}return e.getRowLimit(o)&&e.renderContainer(a,o),u&&a.push("</tr>","<tr>",'<td colspan="',o.config.colorButton_colorsPerRow,'" align="center">','<a class="edi_colormore" _cke_focus=1 hidefocus=true',' title="',l.more,'"',' draggable="false"',' ondragstart="return false;"',' onclick="NEW_CKEDITOR.tools.callFunction(',r,",'?');return false;\""," href=\"javascript:void('",l.more,"')\"",' role="option" aria-posinset="',i,'" aria-setsize="',i,'">',l.more,"</a>","</td>"),a.push("</tr></tbody></table>"),a.join("")}(C,p,b?b.getLength():0)),r.element.getDocument().getBody().setStyle("overflow","hidden"),r.element.getAscendant({html:1}).setStyle("overflow","hidden"),NEW_CKEDITOR.ui.fire("ready",this);var i=r.keys,a="rtl"==o.lang.dir;i[a?37:39]="next",i[40]="next",i[9]="next",i[a?39:37]="prev",i[38]="prev",i[NEW_CKEDITOR.SHIFT+9]="prev",i[32]="click",b&&b.setContainer(r.element.findOne(".edi_colorhistory"))},onOpen:function(){var e=(l=o.getSelection())&&l.getStartElement(),n=o.elementPath(e),r="back"==u?"background-color":"color";if(n){e=n.block||n.blockLimit||o.document.getBody();do{n=e&&e.getComputedStyle(r)||"transparent"}while("back"==u&&"transparent"==n&&e&&(e=e.getParent()));if(n&&"transparent"!=n||(n="#ffffff"),s.colorButton_enableAutomatic&&g.element.findOne("#"+C).setStyle("background-color",n),e=l&&l.getRanges()[0]){var l=new NEW_CKEDITOR.dom.walker(e),a=e.collapsed?e.startContainer:l.next();for(e="";a;){if(a.type!==NEW_CKEDITOR.NODE_ELEMENT&&(a=a.getParent()),a=t.normalizeColor(a.getComputedStyle(r)),(e=e||a)!==a){e="";break}a=l.next()}"transparent"==e&&(e=""),"fore"==u&&(m.automaticTextColor="#"+t.normalizeColor(n)),m.selectionColor=e?"#"+e:"",i(g,e)}return n}}})}function r(t){return"false"==t.getAttribute("contentEditable")||t.getAttribute("data-nostyle")}function i(o,e){var n=o._.getItems(),r=o.element.findOne("[aria-selected]"),i=o.element.findOne("[edi_colorlast]");if(r&&r.removeAttribute("aria-selected"),i)i.setAttribute("aria-selected",!0);else for(r=0;r<n.count();r++)if(i=n.getItem(r),e&&e==t.normalizeColor(i.getAttribute("data-value"))){i.setAttribute("aria-selected",!0);break}}var s=o.config,l=o.lang.colorbutton;if(!NEW_CKEDITOR.env.hc){n({name:"TextColor",type:"fore",commandName:"textColor",title:l.textColorTitle,order:10,contentTransformations:[[{element:"font",check:"span{color}",left:function(t){return!!t.attributes.color},right:function(t){t.name="span",t.attributes.color&&(t.styles.color=t.attributes.color),delete t.attributes.color}}]]});var a,c=o.config.colorButton_normalizeBackground;(void 0===c||c)&&(a=[[{element:"span",left:function(t){var o=NEW_CKEDITOR.tools;return!("span"!=t.name||!t.styles||!t.styles.background)&&((t=o.style.parse.background(t.styles.background)).color&&1===o.object.keys(t).length)},right:function(t){var e=new NEW_CKEDITOR.style(o.config.colorButton_backStyle,{color:t.styles.background}).getDefinition();return t.name=e.element,t.styles=e.styles,t.attributes=e.attributes||{},t}}]]),n({name:"BGColor",type:"back",commandName:"bgColor",title:l.bgColorTitle,order:20,contentTransformations:a})}}}),t=NEW_CKEDITOR.tools.createClass({$:function(o,e,n){this.$=new NEW_CKEDITOR.dom.element("td"),this.color=NEW_CKEDITOR.tools._isValidColorFormat(e.color)?e.color:"",this.clickFn=n,this.label=e.label||t.colorNames(o)[this.color]||this.color,this.setHtml()},statics:{colorNames:function(t){return t.lang.colorbutton.colors},normalizeColor:function(t){var o=/^(rgb|hsl)a\(/g.test(t),e=/^rgba\((\s*0\s*,?){4}\)$/g.test(t);return o&&!e?(t=new NEW_CKEDITOR.tools.color(t),NEW_CKEDITOR.tools.normalizeHex(t.getHex()||"").replace(/#/g,"")):NEW_CKEDITOR.tools.normalizeHex("#"+NEW_CKEDITOR.tools.convertRgbToHex(t||"")).replace(/#/g,"")}},proto:{getElement:function(){return this.$},getHtml:function(){return this.getElement().getOuterHtml()},setHtml:function(){this.getElement().setHtml('<a class="edi_colorbox" _cke_focus=1 hidefocus=true title="'+this.label+'" draggable="false" ondragstart="return false;" onclick="NEW_CKEDITOR.tools.callFunction('+this.clickFn+",'"+this.color+"','"+this.label+"', this); return false;\" href=\"javascript:void('"+this.color+'\')" data-value="'+this.color+'" role="option"><span class="edi_colorbox" style="background-color:#'+this.color+'"></span></a>')},setPositionIndex:function(t,o){this.getElement().getChild(0).setAttributes({"aria-posinset":t,"aria-setsize":o})}}}),o=NEW_CKEDITOR.tools.createClass({$:function(){this.$=new NEW_CKEDITOR.dom.element("tr"),this.$.addClass("edi_colorhistory_row"),this.boxes=[]},proto:{getElement:function(){return this.$},removeLastColor:function(){return this.getElement().getLast().remove(),this.boxes.pop()},addNewColor:function(t){this.boxes.unshift(t),this.getElement().append(t.getElement(),!0)},extractColorBox:function(t){var o=NEW_CKEDITOR.tools.getIndex(this.boxes,(function(o){return o.color===t}));return 0>o?null:(this.boxes[o].getElement().remove(),this.boxes.splice(o,1)[0])}}}),e=NEW_CKEDITOR.tools.createClass({$:function(t,o,e){this.editor=t,this.cssProperty=o,this.clickFn=e,this.rows=[],this._.addNewRow(),this.editor.config.colorButton_renderContentColors&&this.editor.once("instanceReady",(function(){this.renderContentColors()}),this)},statics:{renderContainer:function(t,o){t.push('</tbody><tbody class="edi_colorhistory" style="display:none;">',"<tr>",'<td colspan="',o.config.colorButton_colorsPerRow,'" align="center">',"<span><hr></span>","</td>","</tr>","</tbody><tbody>")},getRowLimit:function(t){return t.config.colorButton_historyRowLimit},getCapacity:function(t){return e.getRowLimit(t)*t.config.colorButton_colorsPerRow},colorList:NEW_CKEDITOR.tools.style.parse._colors},_:{countColors:function(){var t=NEW_CKEDITOR.tools.getStyledSpans(this.cssProperty,this.editor.editable());return NEW_CKEDITOR.tools.array.reduce(t,(function(t,o){var n=this._.getHexCode(o,this.cssProperty,e.colorList);return t[n]=t[n]||0,t[n]+=1,t}),{},this)},getHexCode:function(o,e,n){var r=o.getStyle(e);return r in n?n[r].substr(1):t.normalizeColor(o.getComputedStyle(e)).toUpperCase()},sortByOccurrencesAscending:function(t,o){var e,n=[];for(e in t){var r={};r[o]=e,r.frequency=t[e],n.push(r)}return n.sort((function(t,o){return o.frequency-t.frequency})),this._.trimToCapacity(n),n.reverse()},trimToCapacity:function(t){t.splice(e.getCapacity(this.editor))},addColors:function(t){NEW_CKEDITOR.tools.array.forEach(t,(function(t){this.addColor(t.colorCode)}),this)},extractColorBox:function(t){for(var o=0;o<this.rows.length;o++){var e=this.rows[o].extractColorBox(t);if(e)return e}return null},moveToBeginning:function(t){this.rows[0].addNewColor(t)},createAtBeginning:function(o){this._.moveToBeginning(new t(this.editor,{color:o},this.clickFn))},addNewRow:function(){this.rows.push(new o),this.container&&this.container.append(this.rows[this.rows.length-1].getElement())},alignRows:function(){for(var t=0;t<e.getRowLimit(this.editor)&&!(this.rows[t].boxes.length<=this.editor.config.colorButton_colorsPerRow);t++)this.rows[t+1]?this._.moveLastBoxToNextRow(t):t<e.getRowLimit(this.editor)-1?(this._.addNewRow(),this._.moveLastBoxToNextRow(t)):this.rows[t].removeLastColor()},moveLastBoxToNextRow:function(t){this.rows[t+1].addNewColor(this.rows[t].removeLastColor())},refreshPositions:function(){var t=this._.countPanelElements(),o=this._.calculateFirstPosition(t);NEW_CKEDITOR.tools.array.forEach(this.rows,(function(e){NEW_CKEDITOR.tools.array.forEach(e.boxes,(function(e){e.setPositionIndex(o,t),o+=1}))}))},countPanelElements:function(){var t=this.editor.config.colorButton_colors.split(",").length+this.getLength();return this.editor.plugins.colordialog&&this.editor.config.colorButton_enableMore&&(t+=1),this.editor.config.colorButton_enableAutomatic&&(t+=1),t},calculateFirstPosition:function(t){return this.editor.plugins.colordialog&&this.editor.config.colorButton_enableMore?t-this.getLength():t-this.getLength()+1},attachRows:function(){NEW_CKEDITOR.tools.array.forEach(this.rows,(function(t){this.container.append(t.getElement())}),this)}},proto:{setContainer:function(t){this.container=t,this._.attachRows(),this.getLength()&&this.show()},show:function(){this.container&&this.container.show()},renderContentColors:function(){var t=this._.countColors();NEW_CKEDITOR.tools.isEmpty(t)||(t=this._.sortByOccurrencesAscending(t,"colorCode"),this._.addColors(t),this._.refreshPositions())},addColor:function(t){var o=this._.extractColorBox(t);this.container&&!this.container.isVisible()&&this.show(),o?this._.moveToBeginning(o):this._.createAtBeginning(t),this._.alignRows()},getLength:function(){return NEW_CKEDITOR.tools.array.reduce(this.rows,(function(t,o){return t+o.boxes.length}),0)}}})}(),NEW_CKEDITOR.config.colorButton_enableMore=!0,NEW_CKEDITOR.config.colorButton_colors="1ABC9C,2ECC71,3498DB,9B59B6,4E5F70,F1C40F,16A085,27AE60,2980B9,8E44AD,2C3E50,F39C12,E67E22,E74C3C,ECF0F1,95A5A6,DDD,FFF,D35400,C0392B,BDC3C7,7F8C8D,999,000",NEW_CKEDITOR.config.colorButton_foreStyle={element:"span",styles:{color:"#(color)"},overrides:[{element:"font",attributes:{color:null}}]},NEW_CKEDITOR.config.colorButton_backStyle={element:"span",styles:{"background-color":"#(color)"}},NEW_CKEDITOR.config.colorButton_enableAutomatic=!0,NEW_CKEDITOR.config.colorButton_colorsPerRow=6,NEW_CKEDITOR.config.colorButton_historyRowLimit=1,NEW_CKEDITOR.config.colorButton_renderContentColors=!0,NEW_CKEDITOR.config.colorButton_contentsCss=[];
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
.edi_colordialog_colorcell {
|
|
7
7
|
width: 12px; /* All cells have equal width which depends on parent width (in this case table parent). Width works more like max-width. */
|
|
8
8
|
height: 14px;
|
|
9
9
|
padding: 1px; /* Padding is replaced by border for focused cells. Prevents 'jumping' when adding borders. */
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
13
|
-
.
|
|
12
|
+
.edi_colordialog_colorcell.edi_colordialog_focused_light,
|
|
13
|
+
.edi_colordialog_colorcell.edi_colordialog_focused_dark {
|
|
14
14
|
padding: 0; /* Shrink cell to allow 1px border indicating focus. */
|
|
15
15
|
border: 1px dotted #000;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.edi_colordialog_colorcell.edi_colordialog_focused_dark {
|
|
19
19
|
border-color: #FFF;
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.dialog.add("colordialog",(function(e){function t(){m.getById(y).removeStyle("background-color"),s.getContentElement("picker","selectedColor").setValue(""),l()}function o(e){var t;"td"==(e=e.data.getTarget()).getName()&&(t=e.getChild(0).getHtml())&&(l(),(c=e).setAttribute("aria-selected",!0),c.addClass("edi_colordialog_selected"),s.getContentElement("picker","selectedColor").setValue(t))}function l(){c&&(c.removeClass("edi_colordialog_selected"),c.removeAttribute("aria-selected"),c=null)}function a(e){!e.name&&(e=new NEW_CKEDITOR.event(e));var t,o=!/mouse/.test(e.name),l=e.data.getTarget();"td"==l.getName()&&(t=l.getChild(0).getHtml())&&(n(e),o?u=l:p=l,o&&l.addClass(function(e){e=e.replace(/^#/,"");for(var t=0,o=[];2>=t;t++)o[t]=parseInt(e.substr(2*t,2),16);return 165<=.2126*o[0]+.7152*o[1]+.0722*o[2]}(t)?"edi_colordialog_focused_light":"edi_colordialog_focused_dark"),i(t))}function r(){u&&(u.removeClass("edi_colordialog_focused_light"),u.removeClass("edi_colordialog_focused_dark")),i(!1),u=null}function n(e){(e=!/mouse/.test(e.name)&&u)&&(e.removeClass("edi_colordialog_focused_light"),e.removeClass("edi_colordialog_focused_dark")),u||p||i(!1)}function i(e){e?(m.getById(h).setStyle("background-color",e),m.getById(C).setHtml(e)):(m.getById(h).removeStyle("background-color"),m.getById(C).setHtml(" "))}function d(t){var l=t.data,a=l.getTarget(),r=l.getKeystroke(),n="rtl"==e.lang.dir;switch(r){case 38:(t=a.getParent().getPrevious())&&(t=t.getChild([a.getIndex()])).focus(),l.preventDefault();break;case 40:(t=a.getParent().getNext())&&(t=t.getChild([a.getIndex()]))&&1==t.type&&t.focus(),l.preventDefault();break;case 32:case 13:o(t),l.preventDefault();break;case n?37:39:(t=a.getNext())?1==t.type&&(t.focus(),l.preventDefault(!0)):(t=a.getParent().getNext())&&(t=t.getChild([0]))&&1==t.type&&(t.focus(),l.preventDefault(!0));break;case n?39:37:(t=a.getPrevious())?(t.focus(),l.preventDefault(!0)):(t=a.getParent().getPrevious())&&((t=t.getLast()).focus(),l.preventDefault(!0))}}var s,c,g,u,p,f=NEW_CKEDITOR.dom.element,m=NEW_CKEDITOR.document,b=e.lang.colordialog,v={type:"html",html:" "},_=function(e){return NEW_CKEDITOR.tools.getNextId()+"_"+e},h=_("hicolor"),C=_("hicolortext"),y=_("selhicolor");return function(){function e(e,o){for(var a=e;a<e+3;a++){var r=new f(g.$.insertRow(-1));r.setAttribute("role","row");for(var n=o;n<o+3;n++)for(var i=0;6>i;i++)t(r.$,"#"+l[n]+l[i]+l[a])}}function t(e,t){var l=new f(e.insertCell(-1));l.setAttribute("class","ColorCell edi_colordialog_colorcell"),l.setAttribute("tabIndex",-1),l.setAttribute("role","gridcell"),l.on("keydown",d),l.on("click",o),l.on("focus",a),l.on("blur",n),l.setStyle("background-color",t);var r=_("color_table_cell");l.setAttribute("aria-labelledby",r),l.append(NEW_CKEDITOR.dom.element.createFromHtml('<span id="'+r+'" class="edi_voice_label">'+t+"</span>",NEW_CKEDITOR.document))}(g=NEW_CKEDITOR.dom.element.createFromHtml('<table tabIndex="-1" class="edi_colordialog_table" aria-label="'+b.options+'" role="grid" style="border-collapse:separate;" cellspacing="0"><caption class="edi_voice_label">'+b.options+'</caption><tbody role="presentation"></tbody></table>')).on("mouseover",a),g.on("mouseout",n);var l="00 33 66 99 cc ff".split(" ");e(0,0),e(3,0),e(0,3),e(3,3);var r=new f(g.$.insertRow(-1));r.setAttribute("role","row"),t(r.$,"#000000");for(var i=0;16>i;i++){var s=i.toString(16);t(r.$,"#"+s+s+s+s+s+s)}t(r.$,"#ffffff")}(),NEW_CKEDITOR.document.appendStyleSheet(NEW_CKEDITOR.getUrl(NEW_CKEDITOR.plugins.get("colordialog").path+"dialogs/colordialog.css")),{title:b.title,minWidth:360,minHeight:220,onShow:function(e){if(!e.data.selectionColor||e.data.selectionColor==e.data.automaticTextColor||"#rgba(0, 0, 0, 0)"==e.data.selectionColor&&"back"==e.data.type)t(),r();else{var o,l=e.data.selectionColor;e=this.parts.contents.getElementsByTag("td").toArray(),s.getContentElement("picker","selectedColor").setValue(l),NEW_CKEDITOR.tools.array.forEach(e,(function(e){o=NEW_CKEDITOR.tools.convertRgbToHex(e.getStyle("background-color")),l===o&&(e.focus(),u=e)}))}},onLoad:function(){s=this},onHide:function(){t(),r()},contents:[{id:"picker",label:b.title,accessKey:"I",elements:[{type:"hbox",padding:0,widths:["70%","10%","30%"],children:[{type:"html",html:"<div></div>",onLoad:function(){NEW_CKEDITOR.document.getById(this.domId).append(g)},focus:function(){(u||this.getElement().getElementsByTag("td").getItem(0)).focus()}},v,{type:"vbox",padding:0,widths:["70%","5%","25%"],children:[{type:"html",html:"<span>"+b.highlight+'</span><div id="'+h+'" style="border: 1px solid; height: 74px; width: 74px;"></div><div id="'+C+'"> </div><span>'+b.selected+'</span><div id="'+y+'" style="border: 1px solid; height: 20px; width: 74px;"></div>'},{type:"text",label:b.selected,labelStyle:"display:none",id:"selectedColor",style:"width: 76px;margin-top:4px",onChange:function(){try{m.getById(y).setStyle("background-color",this.getValue())}catch(e){t()}}},v,{type:"button",id:"clear",label:b.clear,onClick:t}]}]}]}]}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colordialog","de-ch",{clear:"Entfernen",highlight:"Hervorheben",options:"Farboptionen",selected:"Ausgewählte Farbe",title:"Farbe auswählen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colordialog","de",{clear:"Entfernen",highlight:"Hervorheben",options:"Farboptionen",selected:"Ausgewählte Farbe",title:"Farbe auswählen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colordialog","en",{clear:"Clear",highlight:"Highlight",options:"Color Options",selected:"Selected Color",title:"Select color"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colordialog","fr",{clear:"Effacer",highlight:"Pointée",options:"Options de couleur",selected:"Couleur choisie",title:"Sélectionner une couleur"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("colordialog","it",{clear:"cancella",highlight:"Evidenzia",options:"Opzioni colore",selected:"Seleziona il colore",title:"Selezionare il colore"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.colordialog={requires:"dialog",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn",init:function(o){var i=new NEW_CKEDITOR.dialogCommand("colordialog");i.editorFocus=!1,o.addCommand("colordialog",i),NEW_CKEDITOR.dialog.add("colordialog",this.path+"dialogs/colordialog.js"),o.getColorFromDialog=function(i,l,n){var a,e,t,r;a=function(o){t(this),(o="ok"==o.name?this.getValueOf("picker","selectedColor"):null)&&!NEW_CKEDITOR.tools._isValidColorFormat(o)&&(o=null),/^[0-9a-f]{3}([0-9a-f]{3})?$/i.test(o)&&(o="#"+o),i.call(l,o)},e=function(o){n&&(o.data=n)},t=function(o){o.removeListener("ok",a),o.removeListener("cancel",a),o.removeListener("show",e)},r=function(o){o.on("ok",a),o.on("cancel",a),o.on("show",e,null,null,5)},o.execCommand("colordialog"),o._.storedDialogs&&o._.storedDialogs.colordialog?r(o._.storedDialogs.colordialog):NEW_CKEDITOR.on("dialogDefinition",(function(o){if("colordialog"==o.data.name){var i=o.data.definition;o.removeListener(),i.onLoad=NEW_CKEDITOR.tools.override(i.onLoad,(function(o){return function(){r(this),i.onLoad=o,"function"==typeof o&&o.call(this)}}))}}))}}},NEW_CKEDITOR.plugins.add("colordialog",NEW_CKEDITOR.plugins.colordialog);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("copyformatting","de-ch",{label:"Formatierung kopieren",notification:{copied:"Formatierung kopiert",applied:"Formatierung angewendet",canceled:"Formatierung abgebrochen",failed:"Formatierung fehlgeschlagen. Sie können Stile nicht anwenden, ohne sie zuerst zu kopieren."}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("copyformatting","de",{label:"Formatierung kopieren",notification:{copied:"Formatierung kopiert",applied:"Formatierung angewendet",canceled:"Formatierung abgebrochen",failed:"Formatierung fehlgeschlagen. Sie können Stile nicht anwenden, ohne sie zuerst zu kopieren."}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("copyformatting","en",{label:"Copy Formatting",notification:{copied:"Formatting copied",applied:"Formatting applied",canceled:"Formatting canceled",failed:"Formatting failed. You cannot apply styles without copying them first."}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("copyformatting","fr",{label:"Copier le formatage",notification:{copied:"Formatage copié",applied:"Formatage appliqué",canceled:"Formatage supprimé",failed:"Échec du formatage. Vous devez d'abord copier des styles pour pouvoir les appliquer."}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("copyformatting","it",{label:"Copia formattazione",notification:{copied:"Formattazione copiata",applied:"Formattazione applicata",canceled:"Formattazione annullata",failed:"Formattazione fallita. Non è possibile applicare stili senza averli prima copiati."}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(e,t,n,o){var a=new CKEDITOR.dom.walker(e);if(!(e=e.startContainer.getAscendant(t,!0)||e.endContainer.getAscendant(t,!0))||(n(e),!o))for(;(e=a.next())&&(!(e=e.getAscendant(t,!0))||(n(e),!o)););}function t(e,t){var n={ul:"ol",ol:"ul"};return-1!==o(t,(function(t){return t.element===e||t.element===n[e]}))}function n(e){this.styles=null,this.sticky=!1,this.editor=e,this.filter=new CKEDITOR.filter(e,e.config.copyFormatting_allowRules),!0===e.config.copyFormatting_allowRules&&(this.filter.disabled=!0),e.config.copyFormatting_disallowRules&&this.filter.disallow(e.config.copyFormatting_disallowRules)}var o=CKEDITOR.tools.indexOf,a=CKEDITOR.tools.getMouseButton,r=!1;CKEDITOR.plugins.add("copyformatting",{lang:"ar,az,bg,cs,da,de,de-ch,el,en,en-au,eo,es-mx,et,eu,fa,fr,gl,hr,hu,it,ja,ko,ku,lv,nb,nl,oc,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,uk,vi,zh,zh-cn",icons:"copyformatting",hidpi:!0,init:function(e){var n=CKEDITOR.plugins.copyformatting;n._addScreenReaderContainer(),r||(CKEDITOR.document.appendStyleSheet(this.path+"styles/copyformatting.css"),r=!0),e.addContentsCss&&e.addContentsCss(this.path+"styles/copyformatting.css"),e.copyFormatting=new n.state(e),e.addCommand("copyFormatting",n.commands.copyFormatting),e.addCommand("applyFormatting",n.commands.applyFormatting),e.ui.addButton("CopyFormatting",{isToggle:!0,label:e.lang.copyformatting.label,command:"copyFormatting",toolbar:"cleanup,0"}),e.on("contentDom",(function(){var t=e.getCommand("copyFormatting"),n=e.editable(),o=n.isInline()?n:e.document,r=e.ui.get("CopyFormatting");n.attachListener(o,"mouseup",(function(n){a(n)===CKEDITOR.MOUSE_BUTTON_LEFT&&t.state===CKEDITOR.TRISTATE_ON&&e.execCommand("applyFormatting")})),n.attachListener(CKEDITOR.document,"mouseup",(function(o){a(o)!==CKEDITOR.MOUSE_BUTTON_LEFT||t.state!==CKEDITOR.TRISTATE_ON||n.contains(o.data.getTarget())||e.execCommand("copyFormatting")})),r&&(o=CKEDITOR.document.getById(r._.id),n.attachListener(o,"dblclick",(function(){e.execCommand("copyFormatting",{sticky:!0})})),n.attachListener(o,"mouseup",(function(e){e.data.stopPropagation()})))})),e.config.copyFormatting_keystrokeCopy&&e.setKeystroke(e.config.copyFormatting_keystrokeCopy,"copyFormatting"),e.on("key",(function(t){var n=e.getCommand("copyFormatting");(t=t.data.domEvent).getKeystroke&&27===t.getKeystroke()&&n.state===CKEDITOR.TRISTATE_ON&&e.execCommand("copyFormatting")})),e.copyFormatting.on("extractFormatting",(function(t){var o=t.data.element;return o.contains(e.editable())||o.equals(e.editable())?t.cancel():(o=n._convertElementToStyleDef(o),e.copyFormatting.filter.check(new CKEDITOR.style(o),!0,!0)?void(t.data.styleDef=o):t.cancel())})),e.copyFormatting.on("applyFormatting",(function(a){if(!a.data.preventFormatStripping){var r,i,l=a.data.range,s=n._extractStylesFromRange(e,l),c=n._determineContext(l);if(e.copyFormatting._isContextAllowed(c))for(i=0;i<s.length;i++)c=s[i],r=l.createBookmark(),-1===o(n.preservedElements,c.element)?CKEDITOR.env.webkit&&!CKEDITOR.env.chrome?s[i].removeFromRange(a.data.range,a.editor):s[i].remove(a.editor):t(c.element,a.data.styles)&&n._removeStylesFromElementInRange(l,c.element),l.moveToBookmark(r)}})),e.copyFormatting.on("applyFormatting",(function(t){var n=CKEDITOR.plugins.copyformatting,o=n._determineContext(t.data.range);"list"===o&&e.copyFormatting._isContextAllowed("list")?n._applyStylesToListContext(t.editor,t.data.range,t.data.styles):"table"===o&&e.copyFormatting._isContextAllowed("table")?n._applyStylesToTableContext(t.editor,t.data.range,t.data.styles):e.copyFormatting._isContextAllowed("text")&&n._applyStylesToTextContext(t.editor,t.data.range,t.data.styles)}),null,null,999)}}),n.prototype._isContextAllowed=function(e){var t=this.editor.config.copyFormatting_allowedContexts;return!0===t||-1!==o(t,e)},CKEDITOR.event.implementOn(n.prototype),CKEDITOR.plugins.copyformatting={state:n,inlineBoundary:"h1 h2 h3 h4 h5 h6 p div".split(" "),excludedAttributes:["id","style","href","data-cke-saved-href","dir"],elementsForInlineTransform:["li"],excludedElementsFromInlineTransform:["table","thead","tbody","ul","ol"],excludedAttributesFromInlineTransform:["value","type"],preservedElements:"ul ol li td th tr thead tbody table".split(" "),breakOnElements:["ul","ol","table"],_initialKeystrokePasteCommand:null,commands:{copyFormatting:{exec:function(e,t){var n=CKEDITOR.plugins.copyformatting,o=e.copyFormatting,a=!!t&&"keystrokeHandler"==t.from,r=!!t&&(t.sticky||a),i=n._getCursorContainer(e),l=CKEDITOR.document.getDocumentElement();if(this.state===CKEDITOR.TRISTATE_ON)return o.styles=null,o.sticky=!1,i.removeClass("cke_copyformatting_active"),l.removeClass("cke_copyformatting_disabled"),l.removeClass("cke_copyformatting_tableresize_cursor"),n._putScreenReaderMessage(e,"canceled"),n._detachPasteKeystrokeHandler(e),this.setState(CKEDITOR.TRISTATE_OFF);o.styles=n._extractStylesFromElement(e,e.elementPath().lastElement),this.setState(CKEDITOR.TRISTATE_ON),a||(i.addClass("cke_copyformatting_active"),l.addClass("cke_copyformatting_tableresize_cursor"),e.config.copyFormatting_outerCursor&&l.addClass("cke_copyformatting_disabled")),o.sticky=r,n._putScreenReaderMessage(e,"copied"),n._attachPasteKeystrokeHandler(e)}},applyFormatting:{editorFocus:!(CKEDITOR.env.ie&&!CKEDITOR.env.edge),exec:function(e,t){var n=e.getCommand("copyFormatting"),o=!!t&&"keystrokeHandler"==t.from,a=CKEDITOR.plugins.copyformatting,r=e.copyFormatting,i=a._getCursorContainer(e),l=CKEDITOR.document.getDocumentElement();if(o&&!r.styles)return a._putScreenReaderMessage(e,"failed"),a._detachPasteKeystrokeHandler(e),!1;o=a._applyFormat(e,r.styles),r.sticky||(r.styles=null,i.removeClass("cke_copyformatting_active"),l.removeClass("cke_copyformatting_disabled"),l.removeClass("cke_copyformatting_tableresize_cursor"),n.setState(CKEDITOR.TRISTATE_OFF),a._detachPasteKeystrokeHandler(e)),a._putScreenReaderMessage(e,o?"applied":"canceled")}}},_getCursorContainer:function(e){return e.elementMode===CKEDITOR.ELEMENT_MODE_INLINE?e.editable():e.editable().getParent()},_convertElementToStyleDef:function(e){var t=CKEDITOR.tools,n=e.getAttributes(CKEDITOR.plugins.copyformatting.excludedAttributes);t=t.parseCssText(e.getAttribute("style"),!0,!0);return{element:e.getName(),type:CKEDITOR.STYLE_INLINE,attributes:n,styles:t}},_extractStylesFromElement:function(e,t){var n={},a=[];do{if(t.type===CKEDITOR.NODE_ELEMENT&&!t.hasAttribute("data-cke-bookmark")&&(n.element=t,e.copyFormatting.fire("extractFormatting",n,e)&&n.styleDef&&a.push(new CKEDITOR.style(n.styleDef)),t.getName&&-1!==o(CKEDITOR.plugins.copyformatting.breakOnElements,t.getName())))break}while((t=t.getParent())&&t.type===CKEDITOR.NODE_ELEMENT);return a},_extractStylesFromRange:function(e,t){for(var n,o=[],a=new CKEDITOR.dom.walker(t);n=a.next();)o=o.concat(CKEDITOR.plugins.copyformatting._extractStylesFromElement(e,n));return o},_removeStylesFromElementInRange:function(e,t){for(var n,a=-1!==o(["ol","ul","table"],t),r=new CKEDITOR.dom.walker(e);(n=r.next())&&(!(n=n.getAscendant(t,!0))||(n.removeAttributes(n.getAttributes()),!a)););},_getSelectedWordOffset:function(e){function t(e,t){return e[t?"getPrevious":"getNext"]((function(e){return e.type!==CKEDITOR.NODE_COMMENT}))}function n(e){return e.type==CKEDITOR.NODE_ELEMENT?(e=e.getHtml().replace(/<span.*?> <\/span>/g,"")).replace(/<.*?>/g,""):e.getText()}function a(e,r){var i,l,s=e,c=/\s/g,m="p br ol ul li td th div caption body".split(" "),d=!1,g=!1;do{for(i=t(s,r);!i&&s.getParent();){if(s=s.getParent(),-1!==o(m,s.getName())){g=d=!0;break}i=t(s,r)}if(i&&i.getName&&-1!==o(m,i.getName())){d=!0;break}s=i}while(s&&s.getStyle&&("none"==s.getStyle("display")||!s.getText()));for(s||(s=e);s.type!==CKEDITOR.NODE_TEXT;)s=!d||r||g?s.getChild(0):s.getChild(s.getChildCount()-1);for(m=n(s);null!=(g=c.exec(m))&&(l=g.index,r););if("number"!=typeof l&&!d)return a(s,r);if(d)r?l=0:l=(g=(c=/([\.\b]*$)/).exec(m))?g.index:m.length;else if(r&&(l+=1)>m.length)return a(s);return{node:s,offset:l}}var r,i,l,s,c,m=/\b\w+\b/gi;for(r=n(l=s=c=e.startContainer);null!=(i=m.exec(r));)if(i.index+i[0].length>=e.startOffset)return e=i.index,m=i.index+i[0].length,0===i.index&&(s=(i=a(l,!0)).node,e=i.offset),m>=r.length&&(c=(r=a(l)).node,m=r.offset),{startNode:s,startOffset:e,endNode:c,endOffset:m};return null},_filterStyles:function(e){var t,n,o=CKEDITOR.tools.isEmpty,a=[];for(n=0;n<e.length;n++)t=e[n]._.definition,-1!==CKEDITOR.tools.indexOf(CKEDITOR.plugins.copyformatting.inlineBoundary,t.element)&&(t.element=e[n].element="span"),"span"===t.element&&o(t.attributes)&&o(t.styles)||a.push(e[n]);return a},_determineContext:function(e){function t(t){var n,o=new CKEDITOR.dom.walker(e);if(e.startContainer.getAscendant(t,!0)||e.endContainer.getAscendant(t,!0))return!0;for(;n=o.next();)if(n.getAscendant(t,!0))return!0}return t({ul:1,ol:1})?"list":t("table")?"table":"text"},_applyStylesToTextContext:function(e,t,n){var a,r,i=CKEDITOR.plugins.copyformatting,l=i.excludedAttributesFromInlineTransform;for(CKEDITOR.env.webkit&&!CKEDITOR.env.chrome&&e.getSelection().selectRanges([t]),a=0;a<n.length;a++)if(t=n[a],-1===o(i.excludedElementsFromInlineTransform,t.element)){if(-1!==o(i.elementsForInlineTransform,t.element))for(t.element=t._.definition.element="span",r=0;r<l.length;r++)t._.definition.attributes[l[r]]&&delete t._.definition.attributes[l[r]];t.apply(e)}},_applyStylesToListContext:function(t,n,o){var a,r,i;for(i=0;i<o.length;i++)a=o[i],r=n.createBookmark(),"ol"===a.element||"ul"===a.element?e(n,{ul:1,ol:1},(function(e){var t=a;e.getName()!==t.element&&e.renameNode(t.element),t.applyToObject(e)}),!0):"li"===a.element?e(n,"li",(function(e){a.applyToObject(e)})):CKEDITOR.plugins.copyformatting._applyStylesToTextContext(t,n,[a]),n.moveToBookmark(r)},_applyStylesToTableContext:function(t,n,a){function r(e,t){e.getName()!==t.element&&((t=t.getDefinition()).element=e.getName(),t=new CKEDITOR.style(t)),t.applyToObject(e)}var i,l,s;for(s=0;s<a.length;s++)i=a[s],l=n.createBookmark(),-1!==o(["table","tr"],i.element)?e(n,i.element,(function(e){i.applyToObject(e)})):-1!==o(["td","th"],i.element)?e(n,{td:1,th:1},(function(e){r(e,i)})):-1!==o(["thead","tbody"],i.element)?e(n,{thead:1,tbody:1},(function(e){r(e,i)})):CKEDITOR.plugins.copyformatting._applyStylesToTextContext(t,n,[i]),n.moveToBookmark(l)},_applyFormat:function(e,t){var n,o,a=e.getSelection().getRanges()[0],r=CKEDITOR.plugins.copyformatting;if(!a)return!1;if(a.collapsed){if(o=e.getSelection().createBookmarks(),!(n=r._getSelectedWordOffset(a)))return;(a=e.createRange()).setStart(n.startNode,n.startOffset),a.setEnd(n.endNode,n.endOffset),a.select()}return t=r._filterStyles(t),!!e.copyFormatting.fire("applyFormatting",{styles:t,range:a,preventFormatStripping:!1},e)&&(o&&e.getSelection().selectBookmarks(o),!0)},_putScreenReaderMessage:function(e,t){var n=this._getScreenReaderContainer();n&&n.setText(e.lang.copyformatting.notification[t])},_addScreenReaderContainer:function(){return this._getScreenReaderContainer()?this._getScreenReaderContainer():CKEDITOR.env.ie6Compat||CKEDITOR.env.ie7Compat?void 0:CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml('<div class="cke_screen_reader_only cke_copyformatting_notification"><div aria-live="polite"></div></div>')).getChild(0)},_getScreenReaderContainer:function(){if(!CKEDITOR.env.ie6Compat&&!CKEDITOR.env.ie7Compat)return CKEDITOR.document.getBody().findOne(".cke_copyformatting_notification div[aria-live]")},_attachPasteKeystrokeHandler:function(e){var t=e.config.copyFormatting_keystrokePaste;t&&(this._initialKeystrokePasteCommand=e.keystrokeHandler.keystrokes[t],e.setKeystroke(t,"applyFormatting"))},_detachPasteKeystrokeHandler:function(e){var t=e.config.copyFormatting_keystrokePaste;t&&e.setKeystroke(t,this._initialKeystrokePasteCommand||!1)}},CKEDITOR.config.copyFormatting_outerCursor=!0,CKEDITOR.config.copyFormatting_allowRules="b s u i em strong span p div td th ol ul li(*)[*]{*}",CKEDITOR.config.copyFormatting_disallowRules="*[data-cke-widget*,data-widget*,data-cke-realelement](cke_widget*)",CKEDITOR.config.copyFormatting_allowedContexts=!0,CKEDITOR.config.copyFormatting_keystrokeCopy=CKEDITOR.CTRL+CKEDITOR.SHIFT+67,CKEDITOR.config.copyFormatting_keystrokePaste=CKEDITOR.CTRL+CKEDITOR.SHIFT+86}();
|
|
1
|
+
!function(){function e(e,t,n,o){var a=new NEW_CKEDITOR.dom.walker(e);if(!(e=e.startContainer.getAscendant(t,!0)||e.endContainer.getAscendant(t,!0))||(n(e),!o))for(;(e=a.next())&&(!(e=e.getAscendant(t,!0))||(n(e),!o)););}function t(e,t){var n={ul:"ol",ol:"ul"};return-1!==o(t,(function(t){return t.element===e||t.element===n[e]}))}function n(e){this.styles=null,this.sticky=!1,this.editor=e,this.filter=new NEW_CKEDITOR.filter(e,e.config.copyFormatting_allowRules),!0===e.config.copyFormatting_allowRules&&(this.filter.disabled=!0),e.config.copyFormatting_disallowRules&&this.filter.disallow(e.config.copyFormatting_disallowRules)}var o=NEW_CKEDITOR.tools.indexOf,a=NEW_CKEDITOR.tools.getMouseButton,r=!1;NEW_CKEDITOR.plugins.add("copyformatting",{lang:"ar,az,bg,cs,da,de,de-ch,el,en,en-au,eo,es-mx,et,eu,fa,fr,gl,hr,hu,it,ja,ko,ku,lv,nb,nl,oc,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,uk,vi,zh,zh-cn",icons:"copyformatting",hidpi:!0,init:function(e){var n=NEW_CKEDITOR.plugins.copyformatting;n._addScreenReaderContainer(),r||(NEW_CKEDITOR.document.appendStyleSheet(this.path+"styles/copyformatting.css"),r=!0),e.addContentsCss&&e.addContentsCss(this.path+"styles/copyformatting.css"),e.copyFormatting=new n.state(e),e.addCommand("copyFormatting",n.commands.copyFormatting),e.addCommand("applyFormatting",n.commands.applyFormatting),e.ui.addButton("CopyFormatting",{isToggle:!0,label:e.lang.copyformatting.label,command:"copyFormatting",toolbar:"cleanup,0"}),e.on("contentDom",(function(){var t=e.getCommand("copyFormatting"),n=e.editable(),o=n.isInline()?n:e.document,r=e.ui.get("CopyFormatting");n.attachListener(o,"mouseup",(function(n){a(n)===NEW_CKEDITOR.MOUSE_BUTTON_LEFT&&t.state===NEW_CKEDITOR.TRISTATE_ON&&e.execCommand("applyFormatting")})),n.attachListener(NEW_CKEDITOR.document,"mouseup",(function(o){a(o)!==NEW_CKEDITOR.MOUSE_BUTTON_LEFT||t.state!==NEW_CKEDITOR.TRISTATE_ON||n.contains(o.data.getTarget())||e.execCommand("copyFormatting")})),r&&(o=NEW_CKEDITOR.document.getById(r._.id),n.attachListener(o,"dblclick",(function(){e.execCommand("copyFormatting",{sticky:!0})})),n.attachListener(o,"mouseup",(function(e){e.data.stopPropagation()})))})),e.config.copyFormatting_keystrokeCopy&&e.setKeystroke(e.config.copyFormatting_keystrokeCopy,"copyFormatting"),e.on("key",(function(t){var n=e.getCommand("copyFormatting");(t=t.data.domEvent).getKeystroke&&27===t.getKeystroke()&&n.state===NEW_CKEDITOR.TRISTATE_ON&&e.execCommand("copyFormatting")})),e.copyFormatting.on("extractFormatting",(function(t){var o=t.data.element;return o.contains(e.editable())||o.equals(e.editable())?t.cancel():(o=n._convertElementToStyleDef(o),e.copyFormatting.filter.check(new NEW_CKEDITOR.style(o),!0,!0)?void(t.data.styleDef=o):t.cancel())})),e.copyFormatting.on("applyFormatting",(function(a){if(!a.data.preventFormatStripping){var r,i,l=a.data.range,s=n._extractStylesFromRange(e,l),c=n._determineContext(l);if(e.copyFormatting._isContextAllowed(c))for(i=0;i<s.length;i++)c=s[i],r=l.createBookmark(),-1===o(n.preservedElements,c.element)?NEW_CKEDITOR.env.webkit&&!NEW_CKEDITOR.env.chrome?s[i].removeFromRange(a.data.range,a.editor):s[i].remove(a.editor):t(c.element,a.data.styles)&&n._removeStylesFromElementInRange(l,c.element),l.moveToBookmark(r)}})),e.copyFormatting.on("applyFormatting",(function(t){var n=NEW_CKEDITOR.plugins.copyformatting,o=n._determineContext(t.data.range);"list"===o&&e.copyFormatting._isContextAllowed("list")?n._applyStylesToListContext(t.editor,t.data.range,t.data.styles):"table"===o&&e.copyFormatting._isContextAllowed("table")?n._applyStylesToTableContext(t.editor,t.data.range,t.data.styles):e.copyFormatting._isContextAllowed("text")&&n._applyStylesToTextContext(t.editor,t.data.range,t.data.styles)}),null,null,999)}}),n.prototype._isContextAllowed=function(e){var t=this.editor.config.copyFormatting_allowedContexts;return!0===t||-1!==o(t,e)},NEW_CKEDITOR.event.implementOn(n.prototype),NEW_CKEDITOR.plugins.copyformatting={state:n,inlineBoundary:"h1 h2 h3 h4 h5 h6 p div".split(" "),excludedAttributes:["id","style","href","data-edi-saved-href","dir"],elementsForInlineTransform:["li"],excludedElementsFromInlineTransform:["table","thead","tbody","ul","ol"],excludedAttributesFromInlineTransform:["value","type"],preservedElements:"ul ol li td th tr thead tbody table".split(" "),breakOnElements:["ul","ol","table"],_initialKeystrokePasteCommand:null,commands:{copyFormatting:{exec:function(e,t){var n=NEW_CKEDITOR.plugins.copyformatting,o=e.copyFormatting,a=!!t&&"keystrokeHandler"==t.from,r=!!t&&(t.sticky||a),i=n._getCursorContainer(e),l=NEW_CKEDITOR.document.getDocumentElement();if(this.state===NEW_CKEDITOR.TRISTATE_ON)return o.styles=null,o.sticky=!1,i.removeClass("edi_copyformatting_active"),l.removeClass("edi_copyformatting_disabled"),l.removeClass("edi_copyformatting_tableresize_cursor"),n._putScreenReaderMessage(e,"canceled"),n._detachPasteKeystrokeHandler(e),this.setState(NEW_CKEDITOR.TRISTATE_OFF);o.styles=n._extractStylesFromElement(e,e.elementPath().lastElement),this.setState(NEW_CKEDITOR.TRISTATE_ON),a||(i.addClass("edi_copyformatting_active"),l.addClass("edi_copyformatting_tableresize_cursor"),e.config.copyFormatting_outerCursor&&l.addClass("edi_copyformatting_disabled")),o.sticky=r,n._putScreenReaderMessage(e,"copied"),n._attachPasteKeystrokeHandler(e)}},applyFormatting:{editorFocus:!(NEW_CKEDITOR.env.ie&&!NEW_CKEDITOR.env.edge),exec:function(e,t){var n=e.getCommand("copyFormatting"),o=!!t&&"keystrokeHandler"==t.from,a=NEW_CKEDITOR.plugins.copyformatting,r=e.copyFormatting,i=a._getCursorContainer(e),l=NEW_CKEDITOR.document.getDocumentElement();if(o&&!r.styles)return a._putScreenReaderMessage(e,"failed"),a._detachPasteKeystrokeHandler(e),!1;o=a._applyFormat(e,r.styles),r.sticky||(r.styles=null,i.removeClass("edi_copyformatting_active"),l.removeClass("edi_copyformatting_disabled"),l.removeClass("edi_copyformatting_tableresize_cursor"),n.setState(NEW_CKEDITOR.TRISTATE_OFF),a._detachPasteKeystrokeHandler(e)),a._putScreenReaderMessage(e,o?"applied":"canceled")}}},_getCursorContainer:function(e){return e.elementMode===NEW_CKEDITOR.ELEMENT_MODE_INLINE?e.editable():e.editable().getParent()},_convertElementToStyleDef:function(e){var t=NEW_CKEDITOR.tools,n=e.getAttributes(NEW_CKEDITOR.plugins.copyformatting.excludedAttributes);t=t.parseCssText(e.getAttribute("style"),!0,!0);return{element:e.getName(),type:NEW_CKEDITOR.STYLE_INLINE,attributes:n,styles:t}},_extractStylesFromElement:function(e,t){var n={},a=[];do{if(t.type===NEW_CKEDITOR.NODE_ELEMENT&&!t.hasAttribute("data-edi-bookmark")&&(n.element=t,e.copyFormatting.fire("extractFormatting",n,e)&&n.styleDef&&a.push(new NEW_CKEDITOR.style(n.styleDef)),t.getName&&-1!==o(NEW_CKEDITOR.plugins.copyformatting.breakOnElements,t.getName())))break}while((t=t.getParent())&&t.type===NEW_CKEDITOR.NODE_ELEMENT);return a},_extractStylesFromRange:function(e,t){for(var n,o=[],a=new NEW_CKEDITOR.dom.walker(t);n=a.next();)o=o.concat(NEW_CKEDITOR.plugins.copyformatting._extractStylesFromElement(e,n));return o},_removeStylesFromElementInRange:function(e,t){for(var n,a=-1!==o(["ol","ul","table"],t),r=new NEW_CKEDITOR.dom.walker(e);(n=r.next())&&(!(n=n.getAscendant(t,!0))||(n.removeAttributes(n.getAttributes()),!a)););},_getSelectedWordOffset:function(e){function t(e,t){return e[t?"getPrevious":"getNext"]((function(e){return e.type!==NEW_CKEDITOR.NODE_COMMENT}))}function n(e){return e.type==NEW_CKEDITOR.NODE_ELEMENT?(e=e.getHtml().replace(/<span.*?> <\/span>/g,"")).replace(/<.*?>/g,""):e.getText()}function a(e,r){var i,l,s=e,c=/\s/g,d="p br ol ul li td th div caption body".split(" "),m=!1,g=!1;do{for(i=t(s,r);!i&&s.getParent();){if(s=s.getParent(),-1!==o(d,s.getName())){g=m=!0;break}i=t(s,r)}if(i&&i.getName&&-1!==o(d,i.getName())){m=!0;break}s=i}while(s&&s.getStyle&&("none"==s.getStyle("display")||!s.getText()));for(s||(s=e);s.type!==NEW_CKEDITOR.NODE_TEXT;)s=!m||r||g?s.getChild(0):s.getChild(s.getChildCount()-1);for(d=n(s);null!=(g=c.exec(d))&&(l=g.index,r););if("number"!=typeof l&&!m)return a(s,r);if(m)r?l=0:l=(g=(c=/([\.\b]*$)/).exec(d))?g.index:d.length;else if(r&&(l+=1)>d.length)return a(s);return{node:s,offset:l}}var r,i,l,s,c,d=/\b\w+\b/gi;for(r=n(l=s=c=e.startContainer);null!=(i=d.exec(r));)if(i.index+i[0].length>=e.startOffset)return e=i.index,d=i.index+i[0].length,0===i.index&&(s=(i=a(l,!0)).node,e=i.offset),d>=r.length&&(c=(r=a(l)).node,d=r.offset),{startNode:s,startOffset:e,endNode:c,endOffset:d};return null},_filterStyles:function(e){var t,n,o=NEW_CKEDITOR.tools.isEmpty,a=[];for(n=0;n<e.length;n++)t=e[n]._.definition,-1!==NEW_CKEDITOR.tools.indexOf(NEW_CKEDITOR.plugins.copyformatting.inlineBoundary,t.element)&&(t.element=e[n].element="span"),"span"===t.element&&o(t.attributes)&&o(t.styles)||a.push(e[n]);return a},_determineContext:function(e){function t(t){var n,o=new NEW_CKEDITOR.dom.walker(e);if(e.startContainer.getAscendant(t,!0)||e.endContainer.getAscendant(t,!0))return!0;for(;n=o.next();)if(n.getAscendant(t,!0))return!0}return t({ul:1,ol:1})?"list":t("table")?"table":"text"},_applyStylesToTextContext:function(e,t,n){var a,r,i=NEW_CKEDITOR.plugins.copyformatting,l=i.excludedAttributesFromInlineTransform;for(NEW_CKEDITOR.env.webkit&&!NEW_CKEDITOR.env.chrome&&e.getSelection().selectRanges([t]),a=0;a<n.length;a++)if(t=n[a],-1===o(i.excludedElementsFromInlineTransform,t.element)){if(-1!==o(i.elementsForInlineTransform,t.element))for(t.element=t._.definition.element="span",r=0;r<l.length;r++)t._.definition.attributes[l[r]]&&delete t._.definition.attributes[l[r]];t.apply(e)}},_applyStylesToListContext:function(t,n,o){var a,r,i;for(i=0;i<o.length;i++)a=o[i],r=n.createBookmark(),"ol"===a.element||"ul"===a.element?e(n,{ul:1,ol:1},(function(e){var t=a;e.getName()!==t.element&&e.renameNode(t.element),t.applyToObject(e)}),!0):"li"===a.element?e(n,"li",(function(e){a.applyToObject(e)})):NEW_CKEDITOR.plugins.copyformatting._applyStylesToTextContext(t,n,[a]),n.moveToBookmark(r)},_applyStylesToTableContext:function(t,n,a){function r(e,t){e.getName()!==t.element&&((t=t.getDefinition()).element=e.getName(),t=new NEW_CKEDITOR.style(t)),t.applyToObject(e)}var i,l,s;for(s=0;s<a.length;s++)i=a[s],l=n.createBookmark(),-1!==o(["table","tr"],i.element)?e(n,i.element,(function(e){i.applyToObject(e)})):-1!==o(["td","th"],i.element)?e(n,{td:1,th:1},(function(e){r(e,i)})):-1!==o(["thead","tbody"],i.element)?e(n,{thead:1,tbody:1},(function(e){r(e,i)})):NEW_CKEDITOR.plugins.copyformatting._applyStylesToTextContext(t,n,[i]),n.moveToBookmark(l)},_applyFormat:function(e,t){var n,o,a=e.getSelection().getRanges()[0],r=NEW_CKEDITOR.plugins.copyformatting;if(!a)return!1;if(a.collapsed){if(o=e.getSelection().createBookmarks(),!(n=r._getSelectedWordOffset(a)))return;(a=e.createRange()).setStart(n.startNode,n.startOffset),a.setEnd(n.endNode,n.endOffset),a.select()}return t=r._filterStyles(t),!!e.copyFormatting.fire("applyFormatting",{styles:t,range:a,preventFormatStripping:!1},e)&&(o&&e.getSelection().selectBookmarks(o),!0)},_putScreenReaderMessage:function(e,t){var n=this._getScreenReaderContainer();n&&n.setText(e.lang.copyformatting.notification[t])},_addScreenReaderContainer:function(){return this._getScreenReaderContainer()?this._getScreenReaderContainer():NEW_CKEDITOR.env.ie6Compat||NEW_CKEDITOR.env.ie7Compat?void 0:NEW_CKEDITOR.document.getBody().append(NEW_CKEDITOR.dom.element.createFromHtml('<div class="edi_screen_reader_only edi_copyformatting_notification"><div aria-live="polite"></div></div>')).getChild(0)},_getScreenReaderContainer:function(){if(!NEW_CKEDITOR.env.ie6Compat&&!NEW_CKEDITOR.env.ie7Compat)return NEW_CKEDITOR.document.getBody().findOne(".edi_copyformatting_notification div[aria-live]")},_attachPasteKeystrokeHandler:function(e){var t=e.config.copyFormatting_keystrokePaste;t&&(this._initialKeystrokePasteCommand=e.keystrokeHandler.keystrokes[t],e.setKeystroke(t,"applyFormatting"))},_detachPasteKeystrokeHandler:function(e){var t=e.config.copyFormatting_keystrokePaste;t&&e.setKeystroke(t,this._initialKeystrokePasteCommand||!1)}},NEW_CKEDITOR.config.copyFormatting_outerCursor=!0,NEW_CKEDITOR.config.copyFormatting_allowRules="b s u i em strong span p div td th ol ul li(*)[*]{*}",NEW_CKEDITOR.config.copyFormatting_disallowRules="*[data-edi-widget*,data-widget*,data-edi-realelement](edi_widget*)",NEW_CKEDITOR.config.copyFormatting_allowedContexts=!0,NEW_CKEDITOR.config.copyFormatting_keystrokeCopy=NEW_CKEDITOR.CTRL+NEW_CKEDITOR.SHIFT+67,NEW_CKEDITOR.config.copyFormatting_keystrokePaste=NEW_CKEDITOR.CTRL+NEW_CKEDITOR.SHIFT+86}();
|
|
@@ -3,7 +3,7 @@ Copyright (c) 2003-2023, 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
|
|
|
6
|
-
html.
|
|
6
|
+
html.edi_copyformatting_active {
|
|
7
7
|
min-height: 100%;
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -11,30 +11,30 @@ html.cke_copyformatting_active {
|
|
|
11
11
|
does not support custom cursor in [contenteditable] area.
|
|
12
12
|
Ticket for this issue:
|
|
13
13
|
https://connect.microsoft.com/IE/feedback/details/1070215/cant-change-cursor-in-contenteditable-using-css */
|
|
14
|
-
.
|
|
15
|
-
.
|
|
16
|
-
.
|
|
14
|
+
.edi_copyformatting_disabled,
|
|
15
|
+
.edi_copyformatting_disabled a,
|
|
16
|
+
.edi_copyformatting_disabled .edi_editable {
|
|
17
17
|
cursor: url(../cursors/cursor-disabled.svg) 12 1, auto;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.edi_copyformatting_disabled .edi_top a,
|
|
21
|
+
.edi_copyformatting_disabled .edi_bottom a {
|
|
22
22
|
cursor: default;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/* Added `!important` rule as a fix for overriding the cursor by the Table Resize plugin.
|
|
26
26
|
The `!important` rule is used because the Table Resize plugin creates a `<div>` which changes the cursor using inlined styles. */
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
30
|
-
.
|
|
31
|
-
.
|
|
32
|
-
.
|
|
33
|
-
.
|
|
27
|
+
.edi_copyformatting_active,
|
|
28
|
+
.edi_copyformatting_active.edi_editable,
|
|
29
|
+
.edi_copyformatting_active .edi_editable,
|
|
30
|
+
.edi_copyformatting_active a,
|
|
31
|
+
.edi_copyformatting_active table,
|
|
32
|
+
.edi_copyformatting_active div[data-edi-temp],
|
|
33
|
+
.edi_copyformatting_tableresize_cursor div[data-edi-temp] {
|
|
34
34
|
cursor: url(../cursors/cursor.svg) 12 1, auto !important;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.edi_screen_reader_only {
|
|
38
38
|
position: absolute;
|
|
39
39
|
clip: rect(1px, 1px, 1px, 1px);
|
|
40
40
|
padding: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("devtools","de-ch",{title:"Elementinformation",dialogName:"Dialogfenstername",tabName:"Reitername",elementId:"Elementkennung",elementType:"Elementtyp"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("devtools","de",{title:"Elementinformation",dialogName:"Dialogfenstername",tabName:"Reitername",elementId:"Elementkennung",elementType:"Elementtyp"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("devtools","en",{title:"Element Information",dialogName:"Dialog window name",tabName:"Tab name",elementId:"Element ID",elementType:"Element type"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("devtools","fr",{title:"Informations sur l'élément",dialogName:"Nom de la boîte de dialogue",tabName:"Nom de l'onglet",elementId:"ID de l'élément",elementType:"Type de l'élément"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("devtools","it",{title:"Informazioni elemento",dialogName:"Nome finestra di dialogo",tabName:"Nome Tab",elementId:"ID Elemento",elementType:"Tipo elemento"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.add("devtools",{lang:"ar,az,bg,ca,cs,cy,da,de,de-ch,el,en,en-au,en-gb,eo,es,es-mx,et,eu,fa,fi,fr,fr-ca,gl,gu,he,hr,hu,id,it,ja,km,ko,ku,lt,lv,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,tr,tt,ug,uk,vi,zh,zh-cn",init:function(t){t._.showDialogDefinitionTooltips=1},onLoad:function(){NEW_CKEDITOR.document.appendStyleText(NEW_CKEDITOR.config.devtools_styles||"#edi_tooltip { padding: 5px; border: 2px solid #333; background: #ffffff }#edi_tooltip h2 { font-size: 1.1em; border-bottom: 1px solid; margin: 0; padding: 1px; }#edi_tooltip ul { padding: 0pt; list-style-type: none; }")}}),function(){function t(t,o,e,n){t=t.lang.devtools;var i='<a href="https://ckeditor.com/docs/ckeditor4/latest/api/NEW_CKEDITOR_dialog_definition_'+(e?"text"==e.type?"textInput":e.type:"content")+'.html" target="_blank" rel="noopener noreferrer">'+(e?e.type:"content")+"</a>";return o="<h2>"+t.title+"</h2><ul><li><strong>"+t.dialogName+"</strong> : "+o.getName()+"</li><li><strong>"+t.tabName+"</strong> : "+n+"</li>",e&&(o+="<li><strong>"+t.elementId+"</strong> : "+e.id+"</li>"),(o+="<li><strong>"+t.elementType+"</strong> : "+i+"</li>")+"</ul>"}function o(t,o,n,i,l,d){var r=o.getDocumentPosition(),s={"z-index":NEW_CKEDITOR.dialog._.currentZIndex+10,top:r.y+o.getSize("height")+"px"};e.setHtml(t(n,i,l,d)),e.show(),"rtl"==n.lang.dir?(t=NEW_CKEDITOR.document.getWindow().getViewPaneSize(),s.right=t.width-r.x-o.getSize("width")+"px"):s.left=r.x+"px",e.setStyles(s)}var e;NEW_CKEDITOR.on("reset",(function(){e&&e.remove(),e=null})),NEW_CKEDITOR.on("dialogDefinition",(function(n){var i=n.editor;if(i._.showDialogDefinitionTooltips){e||((e=NEW_CKEDITOR.dom.element.createFromHtml('<div id="edi_tooltip" tabindex="-1" style="position: absolute"></div>',NEW_CKEDITOR.document)).hide(),e.on("mouseover",(function(){this.show()})),e.on("mouseout",(function(){this.hide()})),e.appendTo(NEW_CKEDITOR.document.getBody()));var l=n.data.definition.dialog,d=i.config.devtools_textCallback||t;l.on("load",(function(){for(var t,n=l.parts.tabs.getChildren(),r=0,s=n.count();r<s;r++)(t=n.getItem(r)).on("mouseover",(function(){var t=this.$.id;o(d,this,i,l,null,t.substring(4,t.lastIndexOf("_")))})),t.on("mouseout",(function(){e.hide()}));l.foreach((function(t){if(!(t.type in{hbox:1,vbox:1})){var n=t.getElement();n&&(n.on("mouseover",(function(){o(d,this,i,l,t,l._.currentTabId)})),n.on("mouseout",(function(){e.hide()})))}}))}))}}))}();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.
|
|
1
|
+
.edi_dialog_open {
|
|
2
2
|
overflow: hidden;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
.edi_dialog_container {
|
|
6
6
|
position: fixed;
|
|
7
7
|
overflow-y: auto;
|
|
8
8
|
overflow-x: auto;
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
z-index: 10010;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.edi_dialog_body {
|
|
17
17
|
position: relative;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(t){var e=this.att;void 0!==(t=t&&t.hasAttribute(e)&&t.getAttribute(e)||"")&&this.setValue(t)}function e(){for(var t,e=0;e<arguments.length;e++)if(arguments[e]instanceof
|
|
1
|
+
!function(){function t(t){var e=this.att;void 0!==(t=t&&t.hasAttribute(e)&&t.getAttribute(e)||"")&&this.setValue(t)}function e(){for(var t,e=0;e<arguments.length;e++)if(arguments[e]instanceof NEW_CKEDITOR.dom.element){t=arguments[e];break}if(t){e=this.att;var i=this.getValue();i?t.setAttribute(e,i):t.removeAttribute(e,i)}}var i={id:1,dir:1,classes:1,styles:1};NEW_CKEDITOR.plugins.add("dialogadvtab",{requires:"dialog",allowedContent:function(t){t||(t=i);var e=[];t.id&&e.push("id"),t.dir&&e.push("dir");var l="";return e.length&&(l+="["+e.join(",")+"]"),t.classes&&(l+="(*)"),t.styles&&(l+="{*}"),l},createAdvancedTab:function(l,s,a){s||(s=i);var n=l.lang.common,d={id:"advanced",label:n.advancedTab,title:n.advancedTab,elements:[{type:"vbox",padding:1,children:[]}]},r=[];return(s.id||s.dir)&&(s.id&&r.push({id:"advId",att:"id",type:"text",requiredContent:a?a+"[id]":null,label:n.id,setup:t,commit:e}),s.dir&&r.push({id:"advLangDir",att:"dir",type:"select",requiredContent:a?a+"[dir]":null,label:n.langDir,default:"",style:"width:100%",items:[[n.notSet,""],[n.langDirLTR,"ltr"],[n.langDirRTL,"rtl"]],setup:t,commit:e}),d.elements[0].children.push({type:"hbox",widths:["50%","50%"],children:[].concat(r)})),(s.styles||s.classes)&&(r=[],s.styles&&r.push({id:"advStyles",att:"style",type:"text",requiredContent:a?a+"{edi-xyz}":null,label:n.styles,default:"",validate:NEW_CKEDITOR.dialog.validate.inlineStyle(n.invalidInlineStyle),onChange:function(){},getStyle:function(t,e){var i=this.getValue().match(new RegExp("(?:^|;)\\s*"+t+"\\s*:\\s*([^;]*)","i"));return i?i[1]:e},updateStyle:function(t,e){var i=this.getValue(),s=l.document.createElement("span");s.setAttribute("style",i),s.setStyle(t,e),i=NEW_CKEDITOR.tools.normalizeCssText(s.getAttribute("style")),this.setValue(i,1)},setup:t,commit:e}),s.classes&&r.push({type:"hbox",widths:["45%","55%"],children:[{id:"advCSSClasses",att:"class",type:"text",requiredContent:a?a+"(edi-xyz)":null,label:n.cssClasses,default:"",setup:t,commit:e}]}),d.elements[0].children.push({type:"hbox",widths:["50%","50%"],children:[].concat(r)})),d}})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(e,t,n){t.is&&t.getCustomData("block_processed")||(t.is&&
|
|
1
|
+
!function(){function e(e,t,n){t.is&&t.getCustomData("block_processed")||(t.is&&NEW_CKEDITOR.dom.element.setMarker(n,t,"block_processed",!0),e.push(t))}function t(t,n){function l(){this.foreach((function(e){/^(?!vbox|hbox)/.test(e.type)&&(e.setup||(e.setup=function(t){e.setValue(t.getAttribute(e.id)||"",1)}),e.commit||(e.commit=function(t){var n=this.getValue();"dir"==e.id&&t.getComputedStyle("direction")==n||(n?t.setAttribute(e.id,n):t.removeAttribute(e.id))}))}))}var i,o=(i=NEW_CKEDITOR.tools.extend({},NEW_CKEDITOR.dtd.$blockLimit),t.config.div_wrapTable&&(delete i.td,delete i.th),i),a=NEW_CKEDITOR.dtd.div,d={},r=[];return{title:t.lang.div.title,minWidth:400,minHeight:165,contents:[{id:"info",label:t.lang.common.generalTab,title:t.lang.common.generalTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"elementStyle",type:"select",style:"width: 100%;",label:t.lang.div.styleSelectLabel,default:"",items:[[t.lang.common.notSet,""]],onChange:function(){var e=["info:elementStyle","info:class","advanced:dir","advanced:style"],n=this.getDialog(),l=(l=n.getModel(t))&&l.clone()||new NEW_CKEDITOR.dom.element("div",t.document);this.commit(l,!0);for(var i,o=(e=[].concat(e)).length,a=0;a<o;a++)(i=n.getContentElement.apply(n,e[a].split(":")))&&i.setup&&i.setup(l,!0)},setup:function(e){for(var n in d)d[n].checkElementRemovable(e,!0,t)&&this.setValue(n,1)},commit:function(e){var n;(n=this.getValue())?d[n].applyToObject(e,t):e.removeAttribute("style")}},{id:"class",type:"text",requiredContent:"div(edi-xyz)",label:t.lang.common.cssClass,default:""}]}]},{id:"advanced",label:t.lang.common.advancedTab,title:t.lang.common.advancedTab,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["50%","50%"],children:[{type:"text",id:"id",requiredContent:"div[id]",label:t.lang.common.id,default:""},{type:"text",id:"lang",requiredContent:"div[lang]",label:t.lang.common.langCode,default:""}]},{type:"hbox",children:[{type:"text",id:"style",requiredContent:"div{edi-xyz}",style:"width: 100%;",label:t.lang.common.cssStyle,default:"",commit:function(e){e.setAttribute("style",this.getValue())}}]},{type:"hbox",children:[{type:"text",id:"title",requiredContent:"div[title]",style:"width: 100%;",label:t.lang.common.advisoryTitle,default:""}]},{type:"select",id:"dir",requiredContent:"div[dir]",style:"width: 100%;",label:t.lang.common.langDir,default:"",items:[[t.lang.common.notSet,""],[t.lang.common.langDirLtr,"ltr"],[t.lang.common.langDirRtl,"rtl"]]}]}]}],getModel:function(e){return"editdiv"===n?NEW_CKEDITOR.plugins.div.getSurroundDiv(e):null},onLoad:function(){l.call(this);var e=this,n=this.getContentElement("info","elementStyle");t.getStylesSet((function(l){var i,o;if(l)for(var a=0;a<l.length;a++)(o=l[a]).element&&"div"==o.element&&(i=o.name,d[i]=o=new NEW_CKEDITOR.style(o),t.filter.check(o)&&(n.items.push([i,i]),n.add(i,i)));n[1<n.items.length?"enable":"disable"](),setTimeout((function(){var l=e.getModel(t);l&&n.setup(l)}),0)}))},onShow:function(){"editdiv"==n&&this.setupContent(this.getModel(t))},onOk:function(){if("editdiv"==n)r=[this.getModel(t)];else{var l,i,d,s=[],m={},c=[],g=t.getSelection(),u=g.getRanges(),h=g.createBookmarks();for(i=0;i<u.length;i++)for(d=u[i].createIterator();l=d.getNextParagraph();)if(l.getName()in o&&!l.isReadOnly()){var f=l.getChildren();for(l=0;l<f.count();l++)e(c,f.getItem(l),m)}else{for(;!a[l.getName()]&&!l.equals(u[i].root);)l=l.getParent();e(c,l,m)}for(NEW_CKEDITOR.dom.element.clearAllMarkers(m),u=[],i=null,d=0;d<c.length;d++)l=c[d],(f=t.elementPath(l).blockLimit).isReadOnly()&&(f=f.getParent()),t.config.div_wrapTable&&f.is(["td","th"])&&(f=t.elementPath(f.getParent()).blockLimit),f.equals(i)||(i=f,u.push([])),l.getParent()&&u[u.length-1].push(l);for(i=0;i<u.length;i++)if(u[i].length){for(c=(f=u[i][0]).getParent(),l=1;l<u[i].length;l++)c=c.getCommonAncestor(u[i][l]);for(c||(c=t.editable()),d=new NEW_CKEDITOR.dom.element("div",t.document),l=0;l<u[i].length;l++){for(f=u[i][l];f.getParent()&&!f.getParent().equals(c);)f=f.getParent();u[i][l]=f}for(l=0;l<u[i].length;l++)(f=u[i][l]).getCustomData&&f.getCustomData("block_processed")||(f.is&&NEW_CKEDITOR.dom.element.setMarker(m,f,"block_processed",!0),l||d.insertBefore(f),d.append(f));NEW_CKEDITOR.dom.element.clearAllMarkers(m),s.push(d)}g.selectBookmarks(h),r=s}for(s=r.length,m=0;m<s;m++)this.commitContent(r[m]),!r[m].getAttribute("style")&&r[m].removeAttribute("style");this.hide()},onHide:function(){this.getMode(t)===NEW_CKEDITOR.dialog.EDITING_MODE&&this.getModel(t).removeCustomData("elementStyle")}}}NEW_CKEDITOR.dialog.add("creatediv",(function(e){return t(e,"creatediv")})),NEW_CKEDITOR.dialog.add("editdiv",(function(e){return t(e,"editdiv")}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("div","de-ch",{IdInputLabel:"Kennung",advisoryTitleInputLabel:"Tooltip",cssClassInputLabel:"Formatvorlagenklasse",edit:"Div bearbeiten",inlineStyleInputLabel:"Inline Stil",langDirLTRLabel:"Links nach Rechts (LTR)",langDirLabel:"Sprachrichtung",langDirRTLLabel:"Rechts nach Links (RTL)",languageCodeInputLabel:"Sprachcode",remove:"Div entfernen",styleSelectLabel:"Stil",title:"Div-Container erzeugen",toolbar:"Div-Container erzeugen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("div","de",{IdInputLabel:"Kennung",advisoryTitleInputLabel:"Tooltip",cssClassInputLabel:"Formatvorlagenklasse",edit:"Div bearbeiten",inlineStyleInputLabel:"Inline Stil",langDirLTRLabel:"Links nach Rechs (LTR)",langDirLabel:"Sprachrichtung",langDirRTLLabel:"Rechs nach Links (RTL)",languageCodeInputLabel:"Sprachcode",remove:"Div entfernen",styleSelectLabel:"Stil",title:"Div Container erzeugen",toolbar:"Div Container erzeugen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("div","en",{IdInputLabel:"Id",advisoryTitleInputLabel:"Advisory Title",cssClassInputLabel:"Stylesheet Classes",edit:"Edit Div",inlineStyleInputLabel:"Inline Style",langDirLTRLabel:"Left to Right (LTR)",langDirLabel:"Language Direction",langDirRTLLabel:"Right to Left (RTL)",languageCodeInputLabel:" Language Code",remove:"Remove Div",styleSelectLabel:"Style",title:"Create Div Container",toolbar:"Create Div Container"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("div","fr",{IdInputLabel:"ID",advisoryTitleInputLabel:"Infobulle",cssClassInputLabel:"Classes de style",edit:"Modifier la division",inlineStyleInputLabel:"Style en ligne",langDirLTRLabel:"Gauche à droite (LTR)",langDirLabel:"Sens d'écriture",langDirRTLLabel:"Droite à gauche (RTL)",languageCodeInputLabel:"Code de langue",remove:"Enlever la division",styleSelectLabel:"Style",title:"Créer une division",toolbar:"Créer une division"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("div","it",{IdInputLabel:"Id",advisoryTitleInputLabel:"Titolo Avviso",cssClassInputLabel:"Classi di stile",edit:"Modifica DIV",inlineStyleInputLabel:"Stile Inline",langDirLTRLabel:"Da sinistra a destra (LTR)",langDirLabel:"Direzione di scrittura",langDirRTLLabel:"Da destra a sinistra (RTL)",languageCodeInputLabel:"Codice lingua",remove:"Rimuovi DIV",styleSelectLabel:"Stile",title:"Crea DIV contenitore",toolbar:"Crea DIV contenitore"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.add("div",{requires:"dialog",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn",icons:"creatediv",hidpi:!0,init:function(e){if(!e.blockless){var d=e.lang.div,i="div(*)";NEW_CKEDITOR.dialog.isTabEnabled(e,"editdiv","advanced")&&(i+=";div[dir,id,lang,title]{*}"),e.addCommand("creatediv",new NEW_CKEDITOR.dialogCommand("creatediv",{allowedContent:i,requiredContent:"div",contextSensitive:!0,contentTransformations:[["div: alignmentToStyle"]],refresh:function(e,d){this.setState("div"in(e.config.div_wrapTable?d.root:d.blockLimit).getDtd()?NEW_CKEDITOR.TRISTATE_OFF:NEW_CKEDITOR.TRISTATE_DISABLED)}})),e.addCommand("editdiv",new NEW_CKEDITOR.dialogCommand("editdiv",{requiredContent:"div"})),e.addCommand("removediv",{requiredContent:"div",exec:function(e){function d(d){(d=NEW_CKEDITOR.plugins.div.getSurroundDiv(e,d))&&!d.data("edi-div-added")&&(o.push(d),d.data("edi-div-added"))}for(var i,t=e.getSelection(),n=t&&t.getRanges(),a=t.createBookmarks(),o=[],r=0;r<n.length;r++)(i=n[r]).collapsed?d(t.getStartElement()):((i=new NEW_CKEDITOR.dom.walker(i)).evaluator=d,i.lastForward());for(r=0;r<o.length;r++)o[r].remove(!0);t.selectBookmarks(a)}}),e.ui.addButton&&e.ui.addButton("CreateDiv",{label:d.toolbar,command:"creatediv",toolbar:"blocks,50"}),e.addMenuItems&&(e.addMenuItems({editdiv:{label:d.edit,command:"editdiv",group:"div",order:1},removediv:{label:d.remove,command:"removediv",group:"div",order:5}}),e.contextMenu&&e.contextMenu.addListener((function(d){return!d||d.isReadOnly()?null:NEW_CKEDITOR.plugins.div.getSurroundDiv(e)?{editdiv:NEW_CKEDITOR.TRISTATE_OFF,removediv:NEW_CKEDITOR.TRISTATE_OFF}:null}))),NEW_CKEDITOR.dialog.add("creatediv",this.path+"dialogs/div.js"),NEW_CKEDITOR.dialog.add("editdiv",this.path+"dialogs/div.js")}}}),NEW_CKEDITOR.plugins.div={getSurroundDiv:function(e,d){var i=e.elementPath(d);return e.elementPath(i.blockLimit).contains((function(e){return e.is("div")&&!e.isReadOnly()}),1)}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.add("divarea",{afterInit:function(e){e.addMode("wysiwyg",(function(t){var i=NEW_CKEDITOR.dom.element.createFromHtml('<div class="edi_wysiwyg_div edi_reset edi_enable_context_menu" hidefocus="true"></div>');e.ui.space("contents").append(i),(i=e.editable(i)).detach=NEW_CKEDITOR.tools.override(i.detach,(function(e){return function(){e.apply(this,arguments),this.remove()}})),e.setData(e.getData(1),t),e.fire("contentDom")}))}});
|