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(){function t(t,n,i){if(!t.getCustomData("indent_processed")){var s=this.editor,r=this.isIndent;if(n){if(i=0,(s=t.$.className.match(this.classNameRegex))&&(s=s[1],i=
|
|
1
|
+
!function(){function t(t,n,i){if(!t.getCustomData("indent_processed")){var s=this.editor,r=this.isIndent;if(n){if(i=0,(s=t.$.className.match(this.classNameRegex))&&(s=s[1],i=NEW_CKEDITOR.tools.indexOf(n,s)+1),0>(i+=r?1:-1))return;i=Math.min(i,n.length),i=Math.max(i,0),t.$.className=NEW_CKEDITOR.tools.ltrim(t.$.className.replace(this.classNameRegex,"")),0<i&&t.addClass(n[i-1])}else{n=e(t,i),i=parseInt(t.getStyle(n),10);var a=s.config.indentOffset||40;if(isNaN(i)&&(i=0),0>(i+=(r?1:-1)*a))return;i=Math.max(i,0),i=Math.ceil(i/a)*a,t.setStyle(n,i?i+(s.config.indentUnit||"px"):""),""===t.getAttribute("style")&&t.removeAttribute("style")}NEW_CKEDITOR.dom.element.setMarker(this.database,t,"indent_processed",1)}}function e(t,e){return"ltr"==(e||t.getComputedStyle("direction"))?"margin-left":"margin-right"}var n=NEW_CKEDITOR.dtd.$listItem,i=NEW_CKEDITOR.dtd.$list,s=NEW_CKEDITOR.TRISTATE_DISABLED,r=NEW_CKEDITOR.TRISTATE_OFF;NEW_CKEDITOR.plugins.add("indentblock",{requires:"indent",init:function(a){function l(){o.specificDefinition.apply(this,arguments),this.allowedContent={"div h1 h2 h3 h4 h5 h6 ol p pre ul":{propertiesOnly:!0,styles:h?null:"margin-left,margin-right",classes:h||null}},this.contentTransformations=[["div: splitMarginShorthand"],["h1: splitMarginShorthand"],["h2: splitMarginShorthand"],["h3: splitMarginShorthand"],["h4: splitMarginShorthand"],["h5: splitMarginShorthand"],["h6: splitMarginShorthand"],["ol: splitMarginShorthand"],["p: splitMarginShorthand"],["pre: splitMarginShorthand"],["ul: splitMarginShorthand"]],this.enterBr&&(this.allowedContent.div=!0),this.requiredContent=(this.enterBr?"div":"p")+(h?"("+h.join(",")+")":"{margin-left}"),this.jobs={20:{refresh:function(t,i){if(!(a=i.block||i.blockLimit).is(n))var a=(l=a.getAscendant(n))&&i.contains(l)||a;if(a.is(n)&&(a=a.getParent()),this.enterBr||this.getContext(i)){if(h){var l=h,o=(a=a.$.className.match(this.classNameRegex),this.isIndent);return(l=a?!o||a[1]!=l.slice(-1):o)?r:s}return this.isIndent?r:a?NEW_CKEDITOR[0>=(parseInt(a.getStyle(e(a)),10)||0)?"TRISTATE_DISABLED":"TRISTATE_OFF"]:s}return s},exec:function(e){var n,s=(s=e.getSelection())&&s.getRanges()[0];if(n=e.elementPath().contains(i))t.call(this,n,h);else for(s=s.createIterator(),e=e.config.enterMode,s.enforceRealBlocks=!0,s.enlargeBr=e!=NEW_CKEDITOR.ENTER_BR;n=s.getNextParagraph(e==NEW_CKEDITOR.ENTER_P?"p":"div");)n.isReadOnly()||t.call(this,n,h);return!0}}}}var o=NEW_CKEDITOR.plugins.indent,h=a.config.indentClasses;o.registerCommands(a,{indentblock:new l(a,"indentblock",!0),outdentblock:new l(a,"outdentblock")}),NEW_CKEDITOR.tools.extend(l.prototype,o.specificDefinition.prototype,{context:{div:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ul:1,ol:1,p:1,pre:1,table:1},classNameRegex:h?new RegExp("(?:^|\\s+)("+h.join("|")+")(?=$|\\s)"):null})}})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(t,e){var s;if(e)s=t.getComputedStyle("text-align");else{for(;(!t.hasAttribute||!t.hasAttribute("align")&&!t.getStyle("text-align"))&&(s=t.getParent());)t=s;s=t.getStyle("text-align")||t.getAttribute("align")||""}return s&&(s=s.replace(/(?:-(?:moz|webkit)-)?(?:start|auto)/i,"")),!s&&e&&(s="rtl"==t.getComputedStyle("direction")?"right":"left"),s}function e(t,e,s){this.editor=t,this.name=e,this.value=s,this.context="p",e=t.config.justifyClasses;var a=t.config.enterMode==
|
|
1
|
+
!function(){function t(t,e){var s;if(e)s=t.getComputedStyle("text-align");else{for(;(!t.hasAttribute||!t.hasAttribute("align")&&!t.getStyle("text-align"))&&(s=t.getParent());)t=s;s=t.getStyle("text-align")||t.getAttribute("align")||""}return s&&(s=s.replace(/(?:-(?:moz|webkit)-)?(?:start|auto)/i,"")),!s&&e&&(s="rtl"==t.getComputedStyle("direction")?"right":"left"),s}function e(t,e,s){this.editor=t,this.name=e,this.value=s,this.context="p",e=t.config.justifyClasses;var a=t.config.enterMode==NEW_CKEDITOR.ENTER_P?"p":"div";if(e){switch(s){case"left":this.cssClassName=e[0];break;case"center":this.cssClassName=e[1];break;case"right":this.cssClassName=e[2];break;case"justify":this.cssClassName=e[3]}this.cssClassRegex=new RegExp("(?:^|\\s+)(?:"+e.join("|")+")(?=$|\\s)"),this.requiredContent=a+"("+this.cssClassName+")"}else this.requiredContent=a+"{text-align}";this.allowedContent={"caption div h1 h2 h3 h4 h5 h6 p pre td th li":{propertiesOnly:!0,styles:this.cssClassName?null:"text-align",classes:this.cssClassName||null}},t.config.enterMode==NEW_CKEDITOR.ENTER_BR&&(this.allowedContent.div=!0)}function s(t){var e=t.editor,s=e.createRange();s.setStartBefore(t.data.node),s.setEndAfter(t.data.node);for(var a,i=new NEW_CKEDITOR.dom.walker(s);a=i.next();)if(a.type==NEW_CKEDITOR.NODE_ELEMENT)if(!a.equals(t.data.node)&&a.getDirection())s.setStartAfter(a),i=new NEW_CKEDITOR.dom.walker(s);else{var l=e.config.justifyClasses;l&&(a.hasClass(l[0])?(a.removeClass(l[0]),a.addClass(l[2])):a.hasClass(l[2])&&(a.removeClass(l[2]),a.addClass(l[0]))),"left"==(l=a.getStyle("text-align"))?a.setStyle("text-align","right"):"right"==l&&a.setStyle("text-align","left")}}e.prototype={exec:function(e){var s=e.getSelection(),a=e.config.enterMode;if(s){for(var i,l,n=s.createBookmarks(),o=s.getRanges(),r=this.cssClassName,c=e.config.useComputedState,g=o.length-1;0<=g;g--)for((i=o[g].createIterator()).enlargeBr=a!=NEW_CKEDITOR.ENTER_BR;l=i.getNextParagraph(a==NEW_CKEDITOR.ENTER_P?"p":"div");)if(!l.isReadOnly()){var d,f=l.getName();if(d=e.activeFilter.check(f+"{text-align}"),(f=e.activeFilter.check(f+"("+r+")"))||d){l.removeAttribute("align"),l.removeStyle("text-align");var u=r&&(l.$.className=NEW_CKEDITOR.tools.ltrim(l.$.className.replace(this.cssClassRegex,""))),h=this.state==NEW_CKEDITOR.TRISTATE_OFF&&(!c||t(l,!0)!=this.value);r&&f?h?l.addClass(r):u||l.removeAttribute("class"):h&&d&&l.setStyle("text-align",this.value)}}e.focus(),e.forceNextSelectionCheck(),s.selectBookmarks(n)}},refresh:function(e,s){var a=s.block||s.blockLimit,i=a.getName(),l=a.equals(e.editable());i=this.cssClassName?e.activeFilter.check(i+"("+this.cssClassName+")"):e.activeFilter.check(i+"{text-align}");l&&!NEW_CKEDITOR.dtd.$list[s.lastElement.getName()]?this.setState(NEW_CKEDITOR.TRISTATE_OFF):!l&&i?this.setState(t(a,this.editor.config.useComputedState)==this.value?NEW_CKEDITOR.TRISTATE_ON:NEW_CKEDITOR.TRISTATE_OFF):this.setState(NEW_CKEDITOR.TRISTATE_DISABLED)}},NEW_CKEDITOR.plugins.add("justify",{icons:"justifyblock,justifycenter,justifyleft,justifyright",hidpi:!0,init:function(t){if(!t.blockless){var a=new e(t,"justifyleft","left"),i=new e(t,"justifycenter","center"),l=new e(t,"justifyright","right"),n=new e(t,"justifyblock","justify");t.addCommand("justifyleft",a),t.addCommand("justifycenter",i),t.addCommand("justifyright",l),t.addCommand("justifyblock",n),t.ui.addButton&&(t.ui.addButton("JustifyLeft",{isToggle:!0,label:t.lang.common.alignLeft,command:"justifyleft",toolbar:"align,10"}),t.ui.addButton("JustifyCenter",{isToggle:!0,label:t.lang.common.center,command:"justifycenter",toolbar:"align,20"}),t.ui.addButton("JustifyRight",{isToggle:!0,label:t.lang.common.alignRight,command:"justifyright",toolbar:"align,30"}),t.ui.addButton("JustifyBlock",{isToggle:!0,label:t.lang.common.justify,command:"justifyblock",toolbar:"align,40"})),t.on("dirChanged",s)}}})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("language","de-ch",{button:"Sprache festlegen",remove:"Sprache entfernen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("language","de",{button:"Sprache festlegen",remove:"Sprache entfernen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("language","en",{button:"Set language",remove:"Remove language"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("language","fr",{button:"Définir la langue",remove:"Supprimer la langue"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("language","it",{button:"Imposta lingua",remove:"Rimuovi lingua"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.add("language",{requires:"menubutton",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,fo,fr,gl,he,hr,hu,id,it,ja,km,ko,ku,lt,lv,nb,nl,no,oc,pl,pt,pt-br,ro,ru,sk,sl,sq,sr,sr-latn,sv,tr,tt,ug,uk,vi,zh,zh-cn",icons:"language",hidpi:!0,init:function(e){var t,n,a,r,l=e.config.language_list||["ar:Arabic:rtl","fr:French","es:Spanish"],g=this,u=e.lang.language,o={};for(e.addCommand("language",{allowedContent:"span[!lang,dir]",requiredContent:"span[lang]",contextSensitive:!0,exec:function(e,t){var n=o["language_"+t];n&&e[n.style.checkActive(e.elementPath(),e)?"removeStyle":"applyStyle"](n.style)},refresh:function(e){this.setState(g.getCurrentLangElement(e)?NEW_CKEDITOR.TRISTATE_ON:NEW_CKEDITOR.TRISTATE_OFF)}}),r=0;r<l.length;r++)n=(t=l[r].split(":"))[0],o[a="language_"+n]={label:t[1],langId:n,group:"language",order:r,ltr:"rtl"!=(""+t[2]).toLowerCase(),onClick:function(){e.execCommand("language",this.langId)},role:"menuitemcheckbox"},o[a].style=new NEW_CKEDITOR.style({element:"span",attributes:{lang:n,dir:o[a].ltr?"ltr":"rtl"}});o.language_remove={label:u.remove,group:"language_remove",state:NEW_CKEDITOR.TRISTATE_DISABLED,order:o.length,onClick:function(){var t=g.getCurrentLangElement(e);t&&e.execCommand("language",t.getAttribute("lang"))}},e.addMenuGroup("language",1),e.addMenuGroup("language_remove"),e.addMenuItems(o),e.ui.add("Language",NEW_CKEDITOR.UI_MENUBUTTON,{label:u.button,allowedContent:"span[!lang,dir]",requiredContent:"span[lang]",toolbar:"bidi,30",command:"language",contentTransformations:[[{element:"span",left:function(e){return e.attributes.lang&&(!e.attributes.dir||""===e.attributes.dir)},right:function(e){var t=NEW_CKEDITOR.tools.object.keys(NEW_CKEDITOR.lang.rtl);t=-1!==NEW_CKEDITOR.tools.array.indexOf(t,e.attributes.lang)?"rtl":"ltr",e.attributes.dir=t}}]],onMenu:function(){var t,n={},a=g.getCurrentLangElement(e);for(t in o)n[t]=NEW_CKEDITOR.TRISTATE_OFF;return n.language_remove=a?NEW_CKEDITOR.TRISTATE_OFF:NEW_CKEDITOR.TRISTATE_DISABLED,a&&(n["language_"+a.getAttribute("lang")]=NEW_CKEDITOR.TRISTATE_ON),n}}),e.addRemoveFormatFilter&&e.addRemoveFormatFilter((function(e){return!(e.is("span")&&e.getAttribute("dir")&&e.getAttribute("lang"))}))},getCurrentLangElement:function(e){var t,n=e.elementPath();if(e=n&&n.elements,n)for(var a=0;a<e.length;a++)n=e[a],!t&&"span"==n.getName()&&n.hasAttribute("lang")&&(t=n);return t}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.dialog.add("anchor",(function(e){function t(e,t){return e.createFakeElement(e.document.createElement("a",{attributes:t}),"edi_anchor","anchor")}return{title:e.lang.link.anchor.title,minWidth:300,minHeight:60,getModel:function(e){var t=e.getSelection();return e=t.getRanges()[0],t=t.getSelectedElement(),e.shrink(NEW_CKEDITOR.SHRINK_ELEMENT),(t=e.getEnclosedNode())&&t.type===NEW_CKEDITOR.NODE_TEXT&&(t=t.getParent()),t&&!t.is("a")&&(t=t.getAscendant("a")||t),(e=t&&t.type===NEW_CKEDITOR.NODE_ELEMENT&&("anchor"===t.data("edi-real-element-type")||t.is("a"))?t:void 0)||null},onOk:function(){var n={id:n=NEW_CKEDITOR.tools.trim(this.getValueOf("info","txtName")),name:n,"data-edi-saved-name":n},a=this.getModel(e);if(a)a.data("edi-realelement")?((n=t(e,n)).replace(a),NEW_CKEDITOR.env.ie&&e.getSelection().selectElement(n)):a.setAttributes(n);else if((a=(a=e.getSelection())&&a.getRanges()[0]).collapsed)n=t(e,n),a.insertNode(n);else{NEW_CKEDITOR.env.ie&&9>NEW_CKEDITOR.env.version&&(n.class="edi_anchor"),(i=a.clone()).enlarge(NEW_CKEDITOR.ENLARGE_ELEMENT);for(var l=new NEW_CKEDITOR.dom.walker(i),i=i.collapsed?i.startContainer:l.next(),r=a.createBookmark();i;)i.type===NEW_CKEDITOR.NODE_ELEMENT&&i.getAttribute("data-edi-saved-name")&&(i.remove(!0),l.reset()),i=l.next();a.moveToBookmark(r),(n=new NEW_CKEDITOR.style({element:"a",attributes:n})).type=NEW_CKEDITOR.STYLE_INLINE,n.applyToRange(a)}},onShow:function(){var t=e.getSelection(),n=this.getModel(e),a=n&&n.data("edi-realelement");if(n=a?NEW_CKEDITOR.plugins.link.tryRestoreFakeAnchor(e,n):NEW_CKEDITOR.plugins.link.getSelectedLink(e)){var l=n.data("edi-saved-name");this.setValueOf("info","txtName",l||""),!a&&t.selectElement(n)}this.getContentElement("info","txtName").focus()},contents:[{id:"info",label:e.lang.link.anchor.title,accessKey:"I",elements:[{type:"text",id:"txtName",label:e.lang.link.anchor.name,required:!0,validate:function(){var t=this.getValue();return t?!/[\u0020\u0009\u000a\u000c\u000d]/g.test(t)||(alert(e.lang.link.anchor.errorWhitespace),!1):(alert(e.lang.link.anchor.errorName),!1)}}]}]}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(){var e=this.getDialog(),t=(l=e._.editor).config.linkPhoneRegExp,i=l.config.linkPhoneMsg,l=CKEDITOR.dialog.validate.notEmpty(l.lang.link.noTel).apply(this);return!e.getContentElement("info","linkType")||"tel"!=e.getValueOf("info","linkType")||(!0!==l?l:t?CKEDITOR.dialog.validate.regex(t,i).call(this):void 0)}CKEDITOR.dialog.add("link",(function(t){function i(e,t){var i=e.createRange();return i.setStartBefore(t),i.setEndAfter(t),i}var l,n,a=CKEDITOR.plugins.link,o=function(){var e=(i=this.getDialog()).getContentElement("target","popupFeatures"),i=i.getContentElement("target","linkTargetName"),l=this.getValue();if(e&&i)switch(e=e.getElement(),e.hide(),i.setValue(""),l){case"frame":i.setLabel(t.lang.link.targetFrameName),i.getElement().show();break;case"popup":e.show(),i.setLabel(t.lang.link.targetPopupName),i.getElement().show();break;default:i.setValue(l),i.getElement().hide()}},s=function(e){e.target&&this.setValue(e.target[this.id]||"")},d=function(e){e.advanced&&this.setValue(e.advanced[this.id]||"")},r=function(e){e.target||(e.target={}),e.target[this.id]=this.getValue()||""},h=function(e){e.advanced||(e.advanced={}),e.advanced[this.id]=this.getValue()||""},u=t.lang.common,p=t.lang.link;return{title:p.title,minWidth:"moono-lisa"==(CKEDITOR.skinName||t.config.skin)?450:350,minHeight:240,getModel:function(e){return a.getSelectedLink(e,!0)[0]||null},contents:[{id:"info",label:p.info,title:p.info,elements:[{type:"text",id:"linkDisplayText",label:p.displayText,setup:function(){this.enable(),this.setValue(t.getSelection().getSelectedText()),l=this.getValue()},commit:function(e){e.linkText=this.isEnabled()?this.getValue():""}},{id:"linkType",type:"select",label:p.type,default:"url",items:[[p.toUrl,"url"],[p.toAnchor,"anchor"],[p.toEmail,"email"],[p.toPhone,"tel"]],onChange:function(){var e=this.getDialog(),i=["urlOptions","anchorOptions","emailOptions","telOptions"],l=this.getValue(),n=(n=e.definition.getContents("upload"))&&n.hidden;for("url"==l?(t.config.linkShowTargetTab&&e.showPage("target"),n||e.showPage("upload")):(e.hidePage("target"),n||e.hidePage("upload")),n=0;n<i.length;n++){var a=e.getContentElement("info",i[n]);a&&(a=a.getElement().getParent().getParent(),i[n]==l+"Options"?a.show():a.hide())}e.layout()},setup:function(e){this.setValue(e.type||"url")},commit:function(e){e.type=this.getValue()}},{type:"vbox",id:"urlOptions",children:[{type:"hbox",widths:["25%","75%"],children:[{id:"protocol",type:"select",label:u.protocol,items:[["http://","http://"],["https://","https://"],["ftp://","ftp://"],["news://","news://"],[p.other,""]],default:t.config.linkDefaultProtocol,setup:function(e){e.url&&this.setValue(e.url.protocol||"")},commit:function(e){e.url||(e.url={}),e.url.protocol=this.getValue()}},{type:"text",id:"url",label:u.url,required:!0,onLoad:function(){this.allowOnChange=!0},onKeyUp:function(){this.allowOnChange=!1;var e=this.getDialog().getContentElement("info","protocol"),t=this.getValue(),i=/^(http|https|ftp|news):\/\/(?=.)/i.exec(t);i?(this.setValue(t.substr(i[0].length)),e.setValue(i[0].toLowerCase())):/^((javascript:)|[#\/\.\?])/i.test(t)&&e.setValue(""),this.allowOnChange=!0},onChange:function(){this.allowOnChange&&this.onKeyUp()},validate:function(){var e=this.getDialog();return!(!e.getContentElement("info","linkType")||"url"==e.getValueOf("info","linkType"))||(!t.config.linkJavaScriptLinksAllowed&&/javascript\:/.test(this.getValue())?(alert(u.invalidValue),!1):!!this.getDialog().fakeObj||CKEDITOR.dialog.validate.notEmpty(p.noUrl).apply(this))},setup:function(e){this.allowOnChange=!1,e.url&&this.setValue(e.url.url),this.allowOnChange=!0},commit:function(e){this.onChange(),e.url||(e.url={}),e.url.url=this.getValue(),this.allowOnChange=!1}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().show()}},{type:"button",id:"browse",hidden:"true",filebrowser:"info:url",label:u.browseServer}]},{type:"vbox",id:"anchorOptions",width:260,align:"center",padding:0,children:[{type:"fieldset",id:"selectAnchorText",label:p.selectAnchor,setup:function(){n=a.getEditorAnchors(t),this.getElement()[n&&n.length?"show":"hide"]()},children:[{type:"hbox",id:"selectAnchor",children:[{type:"select",id:"anchorName",default:"",label:p.anchorName,style:"width: 100%;",items:[[""]],setup:function(e){if(this.clear(),this.add(""),n)for(var t=0;t<n.length;t++)n[t].name&&this.add(n[t].name);e.anchor&&this.setValue(e.anchor.name),(e=this.getDialog().getContentElement("info","linkType"))&&"email"==e.getValue()&&this.focus()},commit:function(e){e.anchor||(e.anchor={}),e.anchor.name=this.getValue()}},{type:"select",id:"anchorId",default:"",label:p.anchorId,style:"width: 100%;",items:[[""]],setup:function(e){if(this.clear(),this.add(""),n)for(var t=0;t<n.length;t++)n[t].id&&this.add(n[t].id);e.anchor&&this.setValue(e.anchor.id)},commit:function(e){e.anchor||(e.anchor={}),e.anchor.id=this.getValue()}}],setup:function(){this.getElement()[n&&n.length?"show":"hide"]()}}]},{type:"html",id:"noAnchors",style:"text-align: center;",html:'<div role="note" tabIndex="-1">'+CKEDITOR.tools.htmlEncode(p.noAnchors)+"</div>",focus:!0,setup:function(){this.getElement()[n&&n.length?"hide":"show"]()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}},{type:"vbox",id:"emailOptions",padding:1,children:[{type:"text",id:"emailAddress",label:p.emailAddress,required:!0,validate:function(){var e=this.getDialog();return!e.getContentElement("info","linkType")||"email"!=e.getValueOf("info","linkType")||CKEDITOR.dialog.validate.notEmpty(p.noEmail).apply(this)},setup:function(e){e.email&&this.setValue(e.email.address),(e=this.getDialog().getContentElement("info","linkType"))&&"email"==e.getValue()&&this.select()},commit:function(e){e.email||(e.email={}),e.email.address=this.getValue()}},{type:"text",id:"emailSubject",label:p.emailSubject,setup:function(e){e.email&&this.setValue(e.email.subject)},commit:function(e){e.email||(e.email={}),e.email.subject=this.getValue()}},{type:"textarea",id:"emailBody",label:p.emailBody,rows:3,default:"",setup:function(e){e.email&&this.setValue(e.email.body)},commit:function(e){e.email||(e.email={}),e.email.body=this.getValue()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}},{type:"vbox",id:"telOptions",padding:1,children:[{type:"tel",id:"telNumber",label:p.phoneNumber,required:!0,validate:e,setup:function(e){e.tel&&this.setValue(e.tel),(e=this.getDialog().getContentElement("info","linkType"))&&"tel"==e.getValue()&&this.select()},commit:function(e){e.tel=this.getValue()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}}]},{id:"target",requiredContent:"a[target]",label:p.target,title:p.target,elements:[{type:"hbox",widths:["50%","50%"],children:[{type:"select",id:"linkTargetType",label:u.target,default:"notSet",style:"width : 100%;",items:[[u.notSet,"notSet"],[p.targetFrame,"frame"],[p.targetPopup,"popup"],[u.targetNew,"_blank"],[u.targetTop,"_top"],[u.targetSelf,"_self"],[u.targetParent,"_parent"]],onChange:o,setup:function(e){e.target&&this.setValue(e.target.type||"notSet"),o.call(this)},commit:function(e){e.target||(e.target={}),e.target.type=this.getValue()}},{type:"text",id:"linkTargetName",label:p.targetFrameName,default:"",setup:function(e){e.target&&this.setValue(e.target.name)},commit:function(e){e.target||(e.target={}),e.target.name=this.getValue().replace(/([^\x00-\x7F]|\s)/gi,"")}}]},{type:"vbox",width:"100%",align:"center",padding:2,id:"popupFeatures",children:[{type:"fieldset",label:p.popupFeatures,children:[{type:"hbox",children:[{type:"checkbox",id:"resizable",label:p.popupResizable,setup:s,commit:r},{type:"checkbox",id:"status",label:p.popupStatusBar,setup:s,commit:r}]},{type:"hbox",children:[{type:"checkbox",id:"location",label:p.popupLocationBar,setup:s,commit:r},{type:"checkbox",id:"toolbar",label:p.popupToolbar,setup:s,commit:r}]},{type:"hbox",children:[{type:"checkbox",id:"menubar",label:p.popupMenuBar,setup:s,commit:r},{type:"checkbox",id:"fullscreen",label:p.popupFullScreen,setup:s,commit:r}]},{type:"hbox",children:[{type:"checkbox",id:"scrollbars",label:p.popupScrollBars,setup:s,commit:r},{type:"checkbox",id:"dependent",label:p.popupDependent,setup:s,commit:r}]},{type:"hbox",children:[{type:"text",widths:["50%","50%"],labelLayout:"horizontal",label:u.width,id:"width",setup:s,commit:r},{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:p.popupLeft,id:"left",setup:s,commit:r}]},{type:"hbox",children:[{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:u.height,id:"height",setup:s,commit:r},{type:"text",labelLayout:"horizontal",label:p.popupTop,widths:["50%","50%"],id:"top",setup:s,commit:r}]}]}]}]},{id:"upload",label:p.upload,title:p.upload,hidden:!0,filebrowser:"uploadButton",elements:[{type:"file",id:"upload",label:u.upload,style:"height:40px",size:29},{type:"fileButton",id:"uploadButton",label:u.uploadSubmit,filebrowser:"info:url",for:["upload","upload"]}]},{id:"advanced",label:p.advanced,title:p.advanced,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",id:"advId",requiredContent:"a[id]",label:p.id,setup:d,commit:h},{type:"select",id:"advLangDir",requiredContent:"a[dir]",label:p.langDir,default:"",style:"width:110px",items:[[u.notSet,""],[p.langDirLTR,"ltr"],[p.langDirRTL,"rtl"]],setup:d,commit:h},{type:"text",id:"advAccessKey",requiredContent:"a[accesskey]",width:"80px",label:p.acccessKey,maxLength:1,setup:d,commit:h}]},{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",label:p.name,id:"advName",requiredContent:"a[name]",setup:d,commit:h},{type:"text",label:p.langCode,id:"advLangCode",requiredContent:"a[lang]",width:"110px",default:"",setup:d,commit:h},{type:"text",label:p.tabIndex,id:"advTabIndex",requiredContent:"a[tabindex]",width:"80px",maxLength:5,setup:d,commit:h}]}]},{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:p.advisoryTitle,requiredContent:"a[title]",default:"",id:"advTitle",setup:d,commit:h},{type:"text",label:p.advisoryContentType,requiredContent:"a[type]",default:"",id:"advContentType",setup:d,commit:h}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:p.cssClasses,requiredContent:"a(cke-xyz)",default:"",id:"advCSSClasses",setup:d,commit:h},{type:"text",label:p.charset,requiredContent:"a[charset]",default:"",id:"advCharset",setup:d,commit:h}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:p.rel,requiredContent:"a[rel]",default:"",id:"advRel",setup:d,commit:h},{type:"text",label:p.styles,requiredContent:"a{cke-xyz}",default:"",id:"advStyles",validate:CKEDITOR.dialog.validate.inlineStyle(t.lang.common.invalidInlineStyle),setup:d,commit:h}]},{type:"hbox",widths:["45%","55%"],children:[{type:"checkbox",id:"download",requiredContent:"a[download]",label:p.download,setup:function(e){void 0!==e.download&&this.setValue("checked","checked")},commit:function(e){this.getValue()&&(e.download=this.getValue())}}]}]}]}],onShow:function(){var e=this.getParentEditor(),t=e.getSelection(),i=this.getContentElement("info","linkDisplayText").getElement().getParent().getParent(),l=a.getSelectedLink(e,!0),n=l[0]||null;n&&n.hasAttribute("href")&&(t.getSelectedElement()||t.isInTable()||t.selectElement(n)),t=a.parseLinkAttributes(e,n),1>=l.length&&a.showDisplayTextForElement(n,e)?i.show():i.hide(),this._.selectedElements=l,this.setupContent(t)},onOk:function(){var e={};if(this.commitContent(e),this._.selectedElements.length){var n,o,s,d,r,h,u=this._.selectedElements,p=a.getLinkAttributes(t,e),c=[];for(h=0;h<u.length;h++)o=(d=u[h]).data("cke-saved-href"),n=e.linkText&&l!=e.linkText,s=o==l,o="email"==e.type&&o=="mailto:"+l,d.setAttributes(p.set),d.removeAttributes(p.removed),n?r=e.linkText:(s||o)&&(r="email"==e.type?e.email.address:p.set["data-cke-saved-href"]),r&&d.setText(r),c.push(i(t,d));t.getSelection().selectRanges(c),delete this._.selectedElements}else{for(u=a.getLinkAttributes(t,e),p=t.getSelection().getRanges(),n=[],(c=new CKEDITOR.style({element:"a",attributes:u.set})).type=CKEDITOR.STYLE_INLINE,d=0;d<p.length;d++){for((s=p[d]).collapsed?(r=new CKEDITOR.dom.text(e.linkText||("email"==e.type?e.email.address:u.set["data-cke-saved-href"]),t.document),s.insertNode(r),s.selectNodeContents(r)):l!==e.linkText&&(r=new CKEDITOR.dom.text(e.linkText,t.document),s.shrink(CKEDITOR.SHRINK_TEXT),t.editable().extractHtmlFromRange(s),s.insertNode(r)),r=s._find("a"),h=0;h<r.length;h++)r[h].remove(!0);c.applyToRange(s,t),n.push(s)}t.getSelection().selectRanges(n)}},onLoad:function(){t.config.linkShowAdvancedTab||this.hidePage("advanced"),t.config.linkShowTargetTab||this.hidePage("target")},onFocus:function(){var e=this.getContentElement("info","linkType");e&&"url"==e.getValue()&&(e=this.getContentElement("info","url")).select()}}}))}();
|
|
1
|
+
!function(){function e(){var e=this.getDialog(),t=(l=e._.editor).config.linkPhoneRegExp,i=l.config.linkPhoneMsg,l=NEW_CKEDITOR.dialog.validate.notEmpty(l.lang.link.noTel).apply(this);return!e.getContentElement("info","linkType")||"tel"!=e.getValueOf("info","linkType")||(!0!==l?l:t?NEW_CKEDITOR.dialog.validate.regex(t,i).call(this):void 0)}NEW_CKEDITOR.dialog.add("link",(function(t){function i(e,t){var i=e.createRange();return i.setStartBefore(t),i.setEndAfter(t),i}var l,n,a=NEW_CKEDITOR.plugins.link,o=function(){var e=(i=this.getDialog()).getContentElement("target","popupFeatures"),i=i.getContentElement("target","linkTargetName"),l=this.getValue();if(e&&i)switch(e=e.getElement(),e.hide(),i.setValue(""),l){case"frame":i.setLabel(t.lang.link.targetFrameName),i.getElement().show();break;case"popup":e.show(),i.setLabel(t.lang.link.targetPopupName),i.getElement().show();break;default:i.setValue(l),i.getElement().hide()}},s=function(e){e.target&&this.setValue(e.target[this.id]||"")},d=function(e){e.advanced&&this.setValue(e.advanced[this.id]||"")},r=function(e){e.target||(e.target={}),e.target[this.id]=this.getValue()||""},h=function(e){e.advanced||(e.advanced={}),e.advanced[this.id]=this.getValue()||""},u=t.lang.common,p=t.lang.link;return{title:p.title,minWidth:"moono-lisa"==(NEW_CKEDITOR.skinName||t.config.skin)?450:350,minHeight:240,getModel:function(e){return a.getSelectedLink(e,!0)[0]||null},contents:[{id:"info",label:p.info,title:p.info,elements:[{type:"text",id:"linkDisplayText",label:p.displayText,setup:function(){this.enable(),this.setValue(t.getSelection().getSelectedText()),l=this.getValue()},commit:function(e){e.linkText=this.isEnabled()?this.getValue():""}},{id:"linkType",type:"select",label:p.type,default:"url",items:[[p.toUrl,"url"],[p.toAnchor,"anchor"],[p.toEmail,"email"],[p.toPhone,"tel"]],onChange:function(){var e=this.getDialog(),i=["urlOptions","anchorOptions","emailOptions","telOptions"],l=this.getValue(),n=(n=e.definition.getContents("upload"))&&n.hidden;for("url"==l?(t.config.linkShowTargetTab&&e.showPage("target"),n||e.showPage("upload")):(e.hidePage("target"),n||e.hidePage("upload")),n=0;n<i.length;n++){var a=e.getContentElement("info",i[n]);a&&(a=a.getElement().getParent().getParent(),i[n]==l+"Options"?a.show():a.hide())}e.layout()},setup:function(e){this.setValue(e.type||"url")},commit:function(e){e.type=this.getValue()}},{type:"vbox",id:"urlOptions",children:[{type:"hbox",widths:["25%","75%"],children:[{id:"protocol",type:"select",label:u.protocol,items:[["http://","http://"],["https://","https://"],["ftp://","ftp://"],["news://","news://"],[p.other,""]],default:t.config.linkDefaultProtocol,setup:function(e){e.url&&this.setValue(e.url.protocol||"")},commit:function(e){e.url||(e.url={}),e.url.protocol=this.getValue()}},{type:"text",id:"url",label:u.url,required:!0,onLoad:function(){this.allowOnChange=!0},onKeyUp:function(){this.allowOnChange=!1;var e=this.getDialog().getContentElement("info","protocol"),t=this.getValue(),i=/^(http|https|ftp|news):\/\/(?=.)/i.exec(t);i?(this.setValue(t.substr(i[0].length)),e.setValue(i[0].toLowerCase())):/^((javascript:)|[#\/\.\?])/i.test(t)&&e.setValue(""),this.allowOnChange=!0},onChange:function(){this.allowOnChange&&this.onKeyUp()},validate:function(){var e=this.getDialog();return!(!e.getContentElement("info","linkType")||"url"==e.getValueOf("info","linkType"))||(!t.config.linkJavaScriptLinksAllowed&&/javascript\:/.test(this.getValue())?(alert(u.invalidValue),!1):!!this.getDialog().fakeObj||NEW_CKEDITOR.dialog.validate.notEmpty(p.noUrl).apply(this))},setup:function(e){this.allowOnChange=!1,e.url&&this.setValue(e.url.url),this.allowOnChange=!0},commit:function(e){this.onChange(),e.url||(e.url={}),e.url.url=this.getValue(),this.allowOnChange=!1}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().show()}},{type:"button",id:"browse",hidden:"true",filebrowser:"info:url",label:u.browseServer}]},{type:"vbox",id:"anchorOptions",width:260,align:"center",padding:0,children:[{type:"fieldset",id:"selectAnchorText",label:p.selectAnchor,setup:function(){n=a.getEditorAnchors(t),this.getElement()[n&&n.length?"show":"hide"]()},children:[{type:"hbox",id:"selectAnchor",children:[{type:"select",id:"anchorName",default:"",label:p.anchorName,style:"width: 100%;",items:[[""]],setup:function(e){if(this.clear(),this.add(""),n)for(var t=0;t<n.length;t++)n[t].name&&this.add(n[t].name);e.anchor&&this.setValue(e.anchor.name),(e=this.getDialog().getContentElement("info","linkType"))&&"email"==e.getValue()&&this.focus()},commit:function(e){e.anchor||(e.anchor={}),e.anchor.name=this.getValue()}},{type:"select",id:"anchorId",default:"",label:p.anchorId,style:"width: 100%;",items:[[""]],setup:function(e){if(this.clear(),this.add(""),n)for(var t=0;t<n.length;t++)n[t].id&&this.add(n[t].id);e.anchor&&this.setValue(e.anchor.id)},commit:function(e){e.anchor||(e.anchor={}),e.anchor.id=this.getValue()}}],setup:function(){this.getElement()[n&&n.length?"show":"hide"]()}}]},{type:"html",id:"noAnchors",style:"text-align: center;",html:'<div role="note" tabIndex="-1">'+NEW_CKEDITOR.tools.htmlEncode(p.noAnchors)+"</div>",focus:!0,setup:function(){this.getElement()[n&&n.length?"hide":"show"]()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}},{type:"vbox",id:"emailOptions",padding:1,children:[{type:"text",id:"emailAddress",label:p.emailAddress,required:!0,validate:function(){var e=this.getDialog();return!e.getContentElement("info","linkType")||"email"!=e.getValueOf("info","linkType")||NEW_CKEDITOR.dialog.validate.notEmpty(p.noEmail).apply(this)},setup:function(e){e.email&&this.setValue(e.email.address),(e=this.getDialog().getContentElement("info","linkType"))&&"email"==e.getValue()&&this.select()},commit:function(e){e.email||(e.email={}),e.email.address=this.getValue()}},{type:"text",id:"emailSubject",label:p.emailSubject,setup:function(e){e.email&&this.setValue(e.email.subject)},commit:function(e){e.email||(e.email={}),e.email.subject=this.getValue()}},{type:"textarea",id:"emailBody",label:p.emailBody,rows:3,default:"",setup:function(e){e.email&&this.setValue(e.email.body)},commit:function(e){e.email||(e.email={}),e.email.body=this.getValue()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}},{type:"vbox",id:"telOptions",padding:1,children:[{type:"tel",id:"telNumber",label:p.phoneNumber,required:!0,validate:e,setup:function(e){e.tel&&this.setValue(e.tel),(e=this.getDialog().getContentElement("info","linkType"))&&"tel"==e.getValue()&&this.select()},commit:function(e){e.tel=this.getValue()}}],setup:function(){this.getDialog().getContentElement("info","linkType")||this.getElement().hide()}}]},{id:"target",requiredContent:"a[target]",label:p.target,title:p.target,elements:[{type:"hbox",widths:["50%","50%"],children:[{type:"select",id:"linkTargetType",label:u.target,default:"notSet",style:"width : 100%;",items:[[u.notSet,"notSet"],[p.targetFrame,"frame"],[p.targetPopup,"popup"],[u.targetNew,"_blank"],[u.targetTop,"_top"],[u.targetSelf,"_self"],[u.targetParent,"_parent"]],onChange:o,setup:function(e){e.target&&this.setValue(e.target.type||"notSet"),o.call(this)},commit:function(e){e.target||(e.target={}),e.target.type=this.getValue()}},{type:"text",id:"linkTargetName",label:p.targetFrameName,default:"",setup:function(e){e.target&&this.setValue(e.target.name)},commit:function(e){e.target||(e.target={}),e.target.name=this.getValue().replace(/([^\x00-\x7F]|\s)/gi,"")}}]},{type:"vbox",width:"100%",align:"center",padding:2,id:"popupFeatures",children:[{type:"fieldset",label:p.popupFeatures,children:[{type:"hbox",children:[{type:"checkbox",id:"resizable",label:p.popupResizable,setup:s,commit:r},{type:"checkbox",id:"status",label:p.popupStatusBar,setup:s,commit:r}]},{type:"hbox",children:[{type:"checkbox",id:"location",label:p.popupLocationBar,setup:s,commit:r},{type:"checkbox",id:"toolbar",label:p.popupToolbar,setup:s,commit:r}]},{type:"hbox",children:[{type:"checkbox",id:"menubar",label:p.popupMenuBar,setup:s,commit:r},{type:"checkbox",id:"fullscreen",label:p.popupFullScreen,setup:s,commit:r}]},{type:"hbox",children:[{type:"checkbox",id:"scrollbars",label:p.popupScrollBars,setup:s,commit:r},{type:"checkbox",id:"dependent",label:p.popupDependent,setup:s,commit:r}]},{type:"hbox",children:[{type:"text",widths:["50%","50%"],labelLayout:"horizontal",label:u.width,id:"width",setup:s,commit:r},{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:p.popupLeft,id:"left",setup:s,commit:r}]},{type:"hbox",children:[{type:"text",labelLayout:"horizontal",widths:["50%","50%"],label:u.height,id:"height",setup:s,commit:r},{type:"text",labelLayout:"horizontal",label:p.popupTop,widths:["50%","50%"],id:"top",setup:s,commit:r}]}]}]}]},{id:"upload",label:p.upload,title:p.upload,hidden:!0,filebrowser:"uploadButton",elements:[{type:"file",id:"upload",label:u.upload,style:"height:40px",size:29},{type:"fileButton",id:"uploadButton",label:u.uploadSubmit,filebrowser:"info:url",for:["upload","upload"]}]},{id:"advanced",label:p.advanced,title:p.advanced,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",id:"advId",requiredContent:"a[id]",label:p.id,setup:d,commit:h},{type:"select",id:"advLangDir",requiredContent:"a[dir]",label:p.langDir,default:"",style:"width:110px",items:[[u.notSet,""],[p.langDirLTR,"ltr"],[p.langDirRTL,"rtl"]],setup:d,commit:h},{type:"text",id:"advAccessKey",requiredContent:"a[accesskey]",width:"80px",label:p.acccessKey,maxLength:1,setup:d,commit:h}]},{type:"hbox",widths:["45%","35%","20%"],children:[{type:"text",label:p.name,id:"advName",requiredContent:"a[name]",setup:d,commit:h},{type:"text",label:p.langCode,id:"advLangCode",requiredContent:"a[lang]",width:"110px",default:"",setup:d,commit:h},{type:"text",label:p.tabIndex,id:"advTabIndex",requiredContent:"a[tabindex]",width:"80px",maxLength:5,setup:d,commit:h}]}]},{type:"vbox",padding:1,children:[{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:p.advisoryTitle,requiredContent:"a[title]",default:"",id:"advTitle",setup:d,commit:h},{type:"text",label:p.advisoryContentType,requiredContent:"a[type]",default:"",id:"advContentType",setup:d,commit:h}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:p.cssClasses,requiredContent:"a(edi-xyz)",default:"",id:"advCSSClasses",setup:d,commit:h},{type:"text",label:p.charset,requiredContent:"a[charset]",default:"",id:"advCharset",setup:d,commit:h}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",label:p.rel,requiredContent:"a[rel]",default:"",id:"advRel",setup:d,commit:h},{type:"text",label:p.styles,requiredContent:"a{edi-xyz}",default:"",id:"advStyles",validate:NEW_CKEDITOR.dialog.validate.inlineStyle(t.lang.common.invalidInlineStyle),setup:d,commit:h}]},{type:"hbox",widths:["45%","55%"],children:[{type:"checkbox",id:"download",requiredContent:"a[download]",label:p.download,setup:function(e){void 0!==e.download&&this.setValue("checked","checked")},commit:function(e){this.getValue()&&(e.download=this.getValue())}}]}]}]}],onShow:function(){var e=this.getParentEditor(),t=e.getSelection(),i=this.getContentElement("info","linkDisplayText").getElement().getParent().getParent(),l=a.getSelectedLink(e,!0),n=l[0]||null;n&&n.hasAttribute("href")&&(t.getSelectedElement()||t.isInTable()||t.selectElement(n)),t=a.parseLinkAttributes(e,n),1>=l.length&&a.showDisplayTextForElement(n,e)?i.show():i.hide(),this._.selectedElements=l,this.setupContent(t)},onOk:function(){var e={};if(this.commitContent(e),this._.selectedElements.length){var n,o,s,d,r,h,u=this._.selectedElements,p=a.getLinkAttributes(t,e),c=[];for(h=0;h<u.length;h++)o=(d=u[h]).data("edi-saved-href"),n=e.linkText&&l!=e.linkText,s=o==l,o="email"==e.type&&o=="mailto:"+l,d.setAttributes(p.set),d.removeAttributes(p.removed),n?r=e.linkText:(s||o)&&(r="email"==e.type?e.email.address:p.set["data-edi-saved-href"]),r&&d.setText(r),c.push(i(t,d));t.getSelection().selectRanges(c),delete this._.selectedElements}else{for(u=a.getLinkAttributes(t,e),p=t.getSelection().getRanges(),n=[],(c=new NEW_CKEDITOR.style({element:"a",attributes:u.set})).type=NEW_CKEDITOR.STYLE_INLINE,d=0;d<p.length;d++){for((s=p[d]).collapsed?(r=new NEW_CKEDITOR.dom.text(e.linkText||("email"==e.type?e.email.address:u.set["data-edi-saved-href"]),t.document),s.insertNode(r),s.selectNodeContents(r)):l!==e.linkText&&(r=new NEW_CKEDITOR.dom.text(e.linkText,t.document),s.shrink(NEW_CKEDITOR.SHRINK_TEXT),t.editable().extractHtmlFromRange(s),s.insertNode(r)),r=s._find("a"),h=0;h<r.length;h++)r[h].remove(!0);c.applyToRange(s,t),n.push(s)}t.getSelection().selectRanges(n)}},onLoad:function(){t.config.linkShowAdvancedTab||this.hidePage("advanced"),t.config.linkShowTargetTab||this.hidePage("target")},onFocus:function(){var e=this.getContentElement("info","linkType");e&&"url"==e.getValue()&&(e=this.getContentElement("info","url")).select()}}}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(t,e){var i;try{i=t.getSelection().getRanges()[0]}catch(t){return null}return i.shrink(
|
|
1
|
+
!function(){function t(t,e){var i;try{i=t.getSelection().getRanges()[0]}catch(t){return null}return i.shrink(NEW_CKEDITOR.SHRINK_TEXT),t.elementPath(i.getCommonAncestor()).contains(e,1)}function e(e,n){var s=e.lang.liststyle;if("bulletedListStyle"==n)return{title:s.bulletedTitle,minWidth:300,minHeight:50,getModel:i(e,"ul"),contents:[{id:"info",accessKey:"I",elements:[{type:"select",label:s.type,id:"type",align:"center",style:"width:150px",items:[[s.notset,""],[s.circle,"circle"],[s.disc,"disc"],[s.square,"square"]],setup:function(t){t=t.getStyle("list-style-type")||r[t.getAttribute("type")]||t.getAttribute("type")||"",this.setValue(t)},commit:function(t){var e=this.getValue();e?t.setStyle("list-style-type",e):t.removeStyle("list-style-type")}}]}],onShow:function(){var e=this.getParentEditor();(e=t(e,"ul"))&&this.setupContent(e)},onOk:function(){var e=this.getParentEditor();(e=t(e,"ul"))&&this.commitContent(e)}};if("numberedListStyle"==n){var a=[[s.notset,""],[s.lowerRoman,"lower-roman"],[s.upperRoman,"upper-roman"],[s.lowerAlpha,"lower-alpha"],[s.upperAlpha,"upper-alpha"],[s.decimal,"decimal"]];return{title:s.numberedTitle,minWidth:300,minHeight:50,getModel:i(e,"ol"),contents:[{id:"info",accessKey:"I",elements:[{type:"hbox",widths:["25%","75%"],children:[{label:s.start,type:"text",id:"start",validate:NEW_CKEDITOR.dialog.validate.integer(s.validateStartNumber),setup:function(t){t=t.getFirst(l).getAttribute("value")||t.getAttribute("start")||1,this.setValue(t)},commit:function(t){var e=t.getFirst(l),i=e.getAttribute("value")||t.getAttribute("start")||1;t.getFirst(l).removeAttribute("value");var r=parseInt(this.getValue(),10);for(isNaN(r)?t.removeAttribute("start"):t.setAttribute("start",r),t=e,e=i,r=isNaN(r)?1:r;(t=t.getNext(l))&&e++;)t.getAttribute("value")==e&&t.setAttribute("value",r+e-i)}},{type:"select",label:s.type,id:"type",style:"width: 100%;",items:a,setup:function(t){t=t.getStyle("list-style-type")||r[t.getAttribute("type")]||t.getAttribute("type")||"",this.setValue(t)},commit:function(t){var e=this.getValue();e?t.setStyle("list-style-type",e):t.removeStyle("list-style-type")}}]}]}],onShow:function(){var e=this.getParentEditor();(e=t(e,"ol"))&&this.setupContent(e)},onOk:function(){var e=this.getParentEditor();(e=t(e,"ol"))&&this.commitContent(e)}}}}function i(e,i){return function(){return t(e,i)||null}}var l=function(t){return t.type==NEW_CKEDITOR.NODE_ELEMENT&&t.is("li")},r={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman",1:"decimal",disc:"disc",circle:"circle",square:"square"};NEW_CKEDITOR.dialog.add("numberedListStyle",(function(t){return e(t,"numberedListStyle")})),NEW_CKEDITOR.dialog.add("bulletedListStyle",(function(t){return e(t,"bulletedListStyle")}))}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("liststyle","de-ch",{bulletedTitle:"Aufzählungslisteneigenschaften",circle:"Ring",decimal:"Dezimal (1, 2, 3, etc.)",disc:"Kreis",lowerAlpha:"Klein Alpha (a, b, c, d, e, usw.)",lowerRoman:"Klein römisch (i, ii, iii, iv, v, usw.)",none:"Keine",notset:"<nicht festgelegt>",numberedTitle:"Nummerierte Listeneigenschaften",square:"Quadrat",start:"Start",type:"Typ",upperAlpha:"Gross alpha (A, B, C, D, E, etc.)",upperRoman:"Gross römisch (I, II, III, IV, V, usw.)",validateStartNumber:"Listenstartnummer muss eine ganze Zahl sein."});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("liststyle","de",{bulletedTitle:"Aufzählungslisteneigenschaften",circle:"Ring",decimal:"Dezimal (1, 2, 3, etc.)",disc:"Kreis",lowerAlpha:"Klein Alpha (a, b, c, d, e, usw.)",lowerRoman:"Klein römisch (i, ii, iii, iv, v, usw.)",none:"Keine",notset:"<nicht festgelegt>",numberedTitle:"Nummerierte Listeneigenschaften",square:"Quadrat",start:"Start",type:"Typ",upperAlpha:"Groß alpha (A, B, C, D, E, etc.)",upperRoman:"Groß römisch (I, II, III, IV, V, usw.)",validateStartNumber:"Listenstartnummer muss eine ganze Zahl sein."});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("liststyle","en",{bulletedTitle:"Bulleted List Properties",circle:"Circle",decimal:"Decimal (1, 2, 3, etc.)",disc:"Disc",lowerAlpha:"Lower Alpha (a, b, c, d, e, etc.)",lowerRoman:"Lower Roman (i, ii, iii, iv, v, etc.)",none:"None",notset:"<not set>",numberedTitle:"Numbered List Properties",square:"Square",start:"Start",type:"Type",upperAlpha:"Upper Alpha (A, B, C, D, E, etc.)",upperRoman:"Upper Roman (I, II, III, IV, V, etc.)",validateStartNumber:"List start number must be a whole number."});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("liststyle","fr",{bulletedTitle:"Propriétés de la liste à puces",circle:"Cercle",decimal:"Décimal (1, 2, 3, etc.)",disc:"Disque",lowerAlpha:"Lettres minuscules (a, b, c, d, e, etc.)",lowerRoman:"Chiffres romains minuscules (i, ii, iii, iv, v, etc.)",none:"Aucun",notset:"<indéfini>",numberedTitle:"Propriétés de la liste numérotée",square:"Carré",start:"Début",type:"Type",upperAlpha:"Lettres majuscules (A, B, C, D, E, etc.)",upperRoman:"Chiffres romains majuscules (I, II, III, IV, V, etc.)",validateStartNumber:"Le premier élément de la liste doit être un nombre entier."});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("liststyle","it",{bulletedTitle:"Proprietà liste puntate",circle:"Cerchio",decimal:"Decimale (1, 2, 3, ecc.)",disc:"Disco",lowerAlpha:"Alfabetico minuscolo (a, b, c, d, e, ecc.)",lowerRoman:"Numerazione Romana minuscola (i, ii, iii, iv, v, ecc.)",none:"Nessuno",notset:"<non impostato>",numberedTitle:"Proprietà liste numerate",square:"Quadrato",start:"Inizio",type:"Tipo",upperAlpha:"Alfabetico maiuscolo (A, B, C, D, E, ecc.)",upperRoman:"Numerazione Romana maiuscola (I, II, III, IV, V, ecc.)",validateStartNumber:"Il numero di inizio di una lista numerata deve essere un numero intero."});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.liststyle={requires:"dialog,contextmenu",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(e){var t;e.blockless||(t=new NEW_CKEDITOR.dialogCommand("numberedListStyle",{requiredContent:"ol",allowedContent:"ol{list-style-type}[start]; li{list-style-type}[value]",contentTransformations:[["ol: listTypeToStyle"]]}),t=e.addCommand("numberedListStyle",t),e.addFeature(t),NEW_CKEDITOR.dialog.add("numberedListStyle",this.path+"dialogs/liststyle.js"),t=new NEW_CKEDITOR.dialogCommand("bulletedListStyle",{requiredContent:"ul",allowedContent:"ul{list-style-type}",contentTransformations:[["ul: listTypeToStyle"]]}),t=e.addCommand("bulletedListStyle",t),e.addFeature(t),NEW_CKEDITOR.dialog.add("bulletedListStyle",this.path+"dialogs/liststyle.js"),e.addMenuGroup("list",108),e.addMenuItems({numberedlist:{label:e.lang.liststyle.numberedTitle,group:"list",command:"numberedListStyle"},bulletedlist:{label:e.lang.liststyle.bulletedTitle,group:"list",command:"bulletedListStyle"}}),e.contextMenu.addListener((function(e){if(!e||e.isReadOnly())return null;for(;e;){var t=e.getName();if("ol"==t)return{numberedlist:NEW_CKEDITOR.TRISTATE_OFF};if("ul"==t)return{bulletedlist:NEW_CKEDITOR.TRISTATE_OFF};e=e.getParent()}return null})))}},NEW_CKEDITOR.plugins.add("liststyle",NEW_CKEDITOR.plugins.liststyle);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.dialog.add("mathjax",(function(t){var e,i=t.lang.mathjax;return{title:i.title,minWidth:350,minHeight:100,contents:[{id:"info",elements:[{id:"equation",type:"textarea",label:i.dialogInput,onLoad:function(){var t=this;NEW_CKEDITOR.env.ie&&8==NEW_CKEDITOR.env.version||this.getInputElement().on("keyup",(function(){e.setValue("\\("+t.getInputElement().getValue()+"\\)")}))},setup:function(t){this.setValue(NEW_CKEDITOR.plugins.mathjax.trim(t.data.math))},commit:function(t){t.setData("math","\\("+this.getValue()+"\\)")}},{id:"documentation",type:"html",html:'<div style="width:100%;text-align:right;margin:-8px 0 10px"><a class="edi_mathjax_doc" href="'+i.docUrl+'" target="_black" style="cursor:pointer;color:#00B2CE;text-decoration:underline">'+i.docLabel+"</a></div>"},!(NEW_CKEDITOR.env.ie&&8==NEW_CKEDITOR.env.version)&&{id:"preview",type:"html",html:'<div style="width:100%;text-align:center;"><iframe style="border:0;width:0;height:0;font-size:20px" scrolling="no" frameborder="0" allowTransparency="true" src="'+NEW_CKEDITOR.plugins.mathjax.fixSrc+'"></iframe></div>',onLoad:function(){var i=NEW_CKEDITOR.document.getById(this.domId).getChild(0);e=new NEW_CKEDITOR.plugins.mathjax.frameWrapper(i,t)},setup:function(t){e.setValue(t.data.math)}}]}]}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("mathjax","de-ch",{title:"Mathematik in TeX",button:"Rechnung",dialogInput:"Schreiben Sie hier in TeX",docUrl:"http://en.wikibooks.org/wiki/LaTeX/Mathematics",docLabel:"TeX-Dokumentation",loading:"Ladevorgang...",pathName:"rechnen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("mathjax","de",{title:"TeX-Formel einfügen",button:"TeX-Formel einfügen",dialogInput:"Schreiben Sie hier in Tex",docUrl:"http://en.wikibooks.org/wiki/LaTeX/Mathematics",docLabel:"TeX-Dokumentation",loading:"Ladevorgang...",pathName:"rechnen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("mathjax","en",{title:"Mathematics in TeX",button:"Math",dialogInput:"Write your TeX here",docUrl:"http://en.wikibooks.org/wiki/LaTeX/Mathematics",docLabel:"TeX documentation",loading:"loading...",pathName:"math"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("mathjax","fr",{title:"Formules mathématiques en TeX",button:"Maths",dialogInput:"Saisir la formule TeX ici",docUrl:"http://fr.wikibooks.org/wiki/LaTeX/Math%C3%A9matiques",docLabel:"Documentation de TeX",loading:"chargement...",pathName:"maths"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("mathjax","it",{title:"Formule in TeX",button:"Formule",dialogInput:"Scrivere qui il proprio TeX",docUrl:"http://en.wikibooks.org/wiki/LaTeX/Mathematics",docLabel:"Documentazione TeX",loading:"caricamento…",pathName:"formula"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.add("mathjax",{lang:"af,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,gl,he,hr,hu,id,it,ja,km,ko,ku,lt,lv,nb,nl,no,oc,pl,pt,pt-br,ro,ru,sk,sl,sq,sr,sr-latn,sv,tr,tt,ug,uk,vi,zh,zh-cn",requires:"widget,dialog",icons:"mathjax",hidpi:!0,isSupportedEnvironment:function(){return!NEW_CKEDITOR.env.ie||8<NEW_CKEDITOR.env.version},init:function(t){var e=t.config.mathJaxClass||"math-tex";t.config.mathJaxLib||NEW_CKEDITOR.error("mathjax-no-config"),t.widgets.add("mathjax",{inline:!0,dialog:"mathjax",button:t.lang.mathjax.button,mask:!0,allowedContent:"span(!"+e+")",styleToAllowedContentRules:function(t){return(t=t.getClassesArray())?(t.push("!"+e),"span("+t.join(",")+")"):null},pathName:t.lang.mathjax.pathName,template:'<span class="'+e+'" style="display:inline-block" data-edi-survive=1></span>',parts:{span:"span"},defaults:{math:"\\(x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\\)"},init:function(){var e=this.parts.span.getChild(0);e&&e.type==NEW_CKEDITOR.NODE_ELEMENT&&e.is("iframe")||((e=new NEW_CKEDITOR.dom.element("iframe")).setAttributes({style:"border:0;width:0;height:0",scrolling:"no",frameborder:0,allowTransparency:!0,src:NEW_CKEDITOR.plugins.mathjax.fixSrc}),this.parts.span.append(e)),this.once("ready",(function(){NEW_CKEDITOR.env.ie&&e.setAttribute("src",NEW_CKEDITOR.plugins.mathjax.fixSrc),this.frameWrapper=new NEW_CKEDITOR.plugins.mathjax.frameWrapper(e,t),this.frameWrapper.setValue(this.data.math)}))},data:function(){this.frameWrapper&&this.frameWrapper.setValue(this.data.math)},upcast:function(t,a){if("span"==t.name&&t.hasClass(e)&&!(1<t.children.length||t.children[0].type!=NEW_CKEDITOR.NODE_TEXT)){a.math=NEW_CKEDITOR.tools.htmlDecode(t.children[0].value);var n=t.attributes;return n.style=n.style?n.style+";display:inline-block":"display:inline-block",n["data-edi-survive"]=1,t.children[0].remove(),t}},downcast:function(t){t.children[0].replaceWith(new NEW_CKEDITOR.htmlParser.text(NEW_CKEDITOR.tools.htmlEncode(this.data.math)));var e=t.attributes;return e.style=e.style.replace(/display:\s?inline-block;?\s?/,""),""===e.style&&delete e.style,t}}),NEW_CKEDITOR.dialog.add("mathjax",this.path+"dialogs/mathjax.js"),t.on("contentPreview",(function(e){e.data.dataValue=e.data.dataValue.replace(/<\/head>/,'<script src="'+NEW_CKEDITOR.getUrl(t.config.mathJaxLib)+'"><\/script></head>')})),t.on("paste",(function(t){t.data.dataValue=t.data.dataValue.replace(new RegExp("<span[^>]*?"+e+".*?</span>","ig"),(function(t){return t.replace(/(<iframe.*?\/iframe>)/i,"")}))}))}}),NEW_CKEDITOR.plugins.mathjax={},NEW_CKEDITOR.plugins.mathjax.fixSrc=NEW_CKEDITOR.env.gecko?"javascript:true":NEW_CKEDITOR.env.ie?"javascript:void((function(){"+encodeURIComponent("document.open();("+NEW_CKEDITOR.tools.fixDomain+")();document.close();")+"})())":"javascript:void(0)",NEW_CKEDITOR.plugins.mathjax.loadingIcon=NEW_CKEDITOR.plugins.get("mathjax").path+"images/loader.gif",NEW_CKEDITOR.plugins.mathjax.copyStyles=function(t,e){for(var a="color font-family font-style font-weight font-variant font-size".split(" "),n=0;n<a.length;n++){var i=a[n],s=t.getComputedStyle(i);s&&e.setStyle(i,s)}},NEW_CKEDITOR.plugins.mathjax.trim=function(t){var e=t.indexOf("\\(")+2,a=t.lastIndexOf("\\)");return t.substring(e,a)},NEW_CKEDITOR.plugins.mathjax.frameWrapper=NEW_CKEDITOR.env.ie&&8==NEW_CKEDITOR.env.version?function(t,e){return t.getFrameDocument().write('<!DOCTYPE html><html><head><meta charset="utf-8"></head><body style="padding:0;margin:0;background:transparent;overflow:hidden"><span style="white-space:nowrap;" id="tex"></span></body></html>'),{setValue:function(a){var n=t.getFrameDocument(),i=n.getById("tex");i.setHtml(NEW_CKEDITOR.plugins.mathjax.trim(NEW_CKEDITOR.tools.htmlEncode(a))),NEW_CKEDITOR.plugins.mathjax.copyStyles(t,i),e.fire("lockSnapshot"),t.setStyles({width:Math.min(250,i.$.offsetWidth)+"px",height:n.$.body.offsetHeight+"px",display:"inline","vertical-align":"middle"}),e.fire("unlockSnapshot")}}}:function(t,e){function a(){(r=t.getFrameDocument()).getById("preview")||(NEW_CKEDITOR.env.ie&&t.removeAttribute("src"),r.write('<!DOCTYPE html><html><head><meta charset="utf-8"><script type="text/x-mathjax-config">MathJax.Hub.Config( {showMathMenu: false,messageStyle: "none"} );function getCKE() {if ( typeof window.parent.NEW_CKEDITOR == \'object\' ) {return window.parent.NEW_CKEDITOR;} else {return window.parent.parent.NEW_CKEDITOR;}}function update() {MathJax.Hub.Queue([ \'Typeset\', MathJax.Hub, this.buffer ],function() {getCKE().tools.callFunction( '+c+" );});}MathJax.Hub.Queue( function() {getCKE().tools.callFunction("+p+');} );<\/script><script src="'+e.config.mathJaxLib+'"><\/script></head><body style="padding:0;margin:0;background:transparent;overflow:hidden"><span id="preview"></span><span id="buffer" style="display:none"></span></body></html>'))}function n(){h=!0,o=l,e.fire("lockSnapshot"),i.setHtml(o),s.setHtml("<img src="+NEW_CKEDITOR.plugins.mathjax.loadingIcon+" alt="+e.lang.mathjax.loading+">"),t.setStyles({height:"16px",width:"16px",display:"inline","vertical-align":"middle"}),e.fire("unlockSnapshot"),r.getWindow().$.update(o)}var i,s,o,l,r=t.getFrameDocument(),d=!1,h=!1,p=NEW_CKEDITOR.tools.addFunction((function(){s=r.getById("preview"),i=r.getById("buffer"),d=!0,l&&n(),NEW_CKEDITOR.fire("mathJaxLoaded",t)})),c=NEW_CKEDITOR.tools.addFunction((function(){NEW_CKEDITOR.plugins.mathjax.copyStyles(t,s),s.setHtml(i.getHtml()),e.fire("lockSnapshot"),t.setStyles({height:0,width:0});var a=Math.max(r.$.body.offsetHeight,r.$.documentElement.offsetHeight),d=Math.max(s.$.offsetWidth,r.$.body.scrollWidth);t.setStyles({height:a+"px",width:d+"px"}),e.fire("unlockSnapshot"),NEW_CKEDITOR.fire("mathJaxUpdateDone",t),o!=l?n():h=!1}));return t.on("load",a),a(),{setValue:function(t){l=NEW_CKEDITOR.tools.htmlEncode(t),d&&!h&&n()}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(t,r){var i,a=r.feed;if(this.caseSensitive=r.caseSensitive,this.marker=r.hasOwnProperty("marker")?r.marker:"@",this.minChars=null!==r.minChars&&void 0!==r.minChars?r.minChars:2,!(i=r.pattern)){i=this.minChars;var o="\\"+this.marker+"[_a-zA-Z0-9À-ž]";o=(i?o+"{"+i+",}":o+"*")+"$";i=new RegExp(o)}this.pattern=i,this.cache=void 0===r.cache||r.cache,this.followingSpace=r.followingSpace,this.throttle=void 0!==r.throttle?r.throttle:200,this._autocomplete=new
|
|
1
|
+
!function(){function t(t,r){var i,a=r.feed;if(this.caseSensitive=r.caseSensitive,this.marker=r.hasOwnProperty("marker")?r.marker:"@",this.minChars=null!==r.minChars&&void 0!==r.minChars?r.minChars:2,!(i=r.pattern)){i=this.minChars;var o="\\"+this.marker+"[_a-zA-Z0-9À-ž]";o=(i?o+"{"+i+",}":o+"*")+"$";i=new RegExp(o)}this.pattern=i,this.cache=void 0===r.cache||r.cache,this.followingSpace=r.followingSpace,this.throttle=void 0!==r.throttle?r.throttle:200,this._autocomplete=new NEW_CKEDITOR.plugins.autocomplete(t,{textTestCallback:e(this.marker,this.minChars,this.pattern),dataCallback:n(a,this),itemTemplate:r.itemTemplate,outputTemplate:r.outputTemplate,throttle:this.throttle,itemsLimit:r.itemsLimit,followingSpace:this.followingSpace})}function e(t,e,n){function r(t,e){var r=t.slice(0,e).match(n);if(!r)return null;var i=t[r.index-1];return void 0===i||i.match(/\s+/)?{start:r.index,end:e}:null}return function(t){return t.collapsed?NEW_CKEDITOR.plugins.textMatch.match(t,r):null}}function n(t,e){return function(n,i){function a(t){t&&(t=NEW_CKEDITOR.tools.array.map(t,(function(t){return NEW_CKEDITOR.tools.object.merge(t,{name:e.marker+t.name})})),i(t))}var o=n.query;e.marker&&(o=o.substring(e.marker.length)),NEW_CKEDITOR.tools.array.isArray(t)?a(function(t){var e=1;return NEW_CKEDITOR.tools.array.reduce(t,(function(t,n){return t.push({name:n,id:e++}),t}),[])}(t).filter((function(t){return t=t.name,e.caseSensitive||(t=t.toLowerCase(),o=o.toLowerCase()),0===t.indexOf(o)}))):"string"==typeof t?function(){var n=new NEW_CKEDITOR.template(t).output({encodedQuery:encodeURIComponent(o)});if(e.cache&&r[n])return a(r[n]);NEW_CKEDITOR.ajax.load(n,(function(t){t=JSON.parse(t),e.cache&&null!==t&&(r[n]=t),a(t)}))}():t({query:o,marker:e.marker},a)}}NEW_CKEDITOR._.mentions={cache:{}};var r=NEW_CKEDITOR._.mentions.cache;NEW_CKEDITOR.plugins.add("mentions",{requires:"autocomplete,textmatch,ajax",instances:[],init:function(e){var n=this;e.on("instanceReady",(function(){NEW_CKEDITOR.tools.array.forEach(e.config.mentions||[],(function(r){n.instances.push(new t(e,r))}))}))},isSupportedEnvironment:function(t){return t.plugins.autocomplete.isSupportedEnvironment(t)}}),t.prototype={destroy:function(){this._autocomplete.destroy()}},NEW_CKEDITOR.plugins.mentions=t}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("newpage","de-ch",{toolbar:"Neue Seite"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("newpage","de",{toolbar:"Neue Seite"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("newpage","en",{toolbar:"New Page"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("newpage","fr",{toolbar:"Nouvelle page"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("newpage","it",{toolbar:"Nuova pagina"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.add("newpage",{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:"newpage,newpage-rtl",hidpi:!0,init:function(e){e.addCommand("newpage",{modes:{wysiwyg:1,source:1},exec:function(e){var n=this;e.setData(e.config.newpage_html||"",(function(){e.focus(),setTimeout((function(){e.fire("afterCommandExec",{name:"newpage",command:n}),e.selectionChange()}),200)}))},async:!0}),e.ui.addButton&&e.ui.addButton("NewPage",{label:e.lang.newpage.toolbar,command:"newpage",toolbar:"document,20"})}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("pagebreak","de-ch",{alt:"Seitenumbruch",toolbar:"Seitenumbruch zum Drucken einfügen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("pagebreak","de",{alt:"Seitenumbruch",toolbar:"Seitenumbruch zum Drucken einfügen"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("pagebreak","en",{alt:"Page Break",toolbar:"Insert Page Break for Printing"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("pagebreak","fr",{alt:"Saut de page",toolbar:"Insérer un saut de page pour l'impression"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.setLang("pagebreak","it",{alt:"Interruzione di pagina",toolbar:"Inserisci interruzione di pagina per la stampa"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(e){return{"aria-label":e,class:"
|
|
1
|
+
!function(){function e(e){return{"aria-label":e,class:"edi_pagebreak",contenteditable:"false","data-edi-display-name":"pagebreak","data-edi-pagebreak":1,style:"page-break-after: always",title:e}}NEW_CKEDITOR.plugins.add("pagebreak",{requires:"fakeobjects",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:"pagebreak,pagebreak-rtl",hidpi:!0,onLoad:function(){var e=("background:url("+NEW_CKEDITOR.getUrl(this.path+"images/pagebreak.gif")+") no-repeat center center;clear:both;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;padding:0;height:7px;cursor:default;").replace(/;/g," !important;");NEW_CKEDITOR.addCss("div.edi_pagebreak{"+e+"}")},init:function(e){e.blockless||(e.addCommand("pagebreak",NEW_CKEDITOR.plugins.pagebreakCmd),e.ui.addButton&&e.ui.addButton("PageBreak",{label:e.lang.pagebreak.toolbar,command:"pagebreak",toolbar:"insert,70"}),NEW_CKEDITOR.env.webkit&&e.on("contentDom",(function(){e.document.on("click",(function(a){(a=a.data.getTarget()).is("div")&&a.hasClass("edi_pagebreak")&&e.getSelection().selectElement(a)}))})))},afterInit:function(a){function t(t){NEW_CKEDITOR.tools.extend(t.attributes,e(a.lang.pagebreak.alt),!0),t.children.length=0}var n=(r=a.dataProcessor)&&r.dataFilter,r=r&&r.htmlFilter,i=/page-break-after\s*:\s*always/i,l=/display\s*:\s*none/i;r&&r.addRules({attributes:{class:function(e,a){var t=e.replace("edi_pagebreak","");if(t!=e){var n=NEW_CKEDITOR.htmlParser.fragment.fromHtml('<span style="display: none;"> </span>').children[0];a.children.length=0,a.add(n),delete(n=a.attributes)["aria-label"],delete n.contenteditable,delete n.title}return t}}},{applyToAll:!0,priority:5}),n&&n.addRules({elements:{div:function(e){if(e.attributes["data-edi-pagebreak"])t(e);else if(i.test(e.attributes.style)){var a=e.children[0];a&&"span"==a.name&&l.test(a.attributes.style)&&t(e)}}}})}}),NEW_CKEDITOR.plugins.pagebreakCmd={exec:function(e){e.insertElement(NEW_CKEDITOR.plugins.pagebreak.createElement(e))},context:"div",allowedContent:{div:{styles:"!page-break-after"},span:{match:function(e){return(e=e.parent)&&"div"==e.name&&e.styles&&e.styles["page-break-after"]},styles:"display"}},requiredContent:"div{page-break-after}"},NEW_CKEDITOR.plugins.pagebreak={createElement:function(a){return a.document.createElement("div",{attributes:e(a.lang.pagebreak.alt)})}}}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
NEW_CKEDITOR.plugins.add("panelbutton",{requires:"button",onLoad:function(){function t(t){var e=this._;e.state!=NEW_CKEDITOR.TRISTATE_DISABLED&&(this.createPanel(t),e.on?e.panel.hide():e.panel.showBlock(this._.id,this.document.getById(this._.id),4))}NEW_CKEDITOR.ui.panelButton=NEW_CKEDITOR.tools.createClass({base:NEW_CKEDITOR.ui.button,$:function(e){var n=e.panel||{};delete e.panel,this.base(e),this.document=n.parent&&n.parent.getDocument()||NEW_CKEDITOR.document,n.block={attributes:n.attributes},n.toolbarRelated=!0,this.hasArrow="listbox",this.click=t,this._={panelDefinition:n}},statics:{handler:{create:function(t){return new NEW_CKEDITOR.ui.panelButton(t)}}},proto:{createPanel:function(t){var e=this._;if(!e.panel){var n=this._.panelDefinition,o=this._.panelDefinition.block,a=n.parent||NEW_CKEDITOR.document.getBody(),i=NEW_CKEDITOR.document.getById(this._.id),s=this._.panel=new NEW_CKEDITOR.ui.floatPanel(t,a,n),d=(n=s.addBlock(e.id,o),this),l=t.getCommand(this.command);s.onShow=function(){d.className&&this.element.addClass(d.className+"_panel"),d.setState(NEW_CKEDITOR.TRISTATE_ON),i.setAttribute("aria-expanded","true"),e.on=1,d.editorFocus&&t.focus(),d.onOpen&&d.onOpen()},s.onHide=function(n){d.className&&this.element.getFirst().removeClass(d.className+"_panel"),!d.modes&&l?d.setStateFromCommand(l):d.setState(d.modes&&d.modes[t.mode]?NEW_CKEDITOR.TRISTATE_OFF:NEW_CKEDITOR.TRISTATE_DISABLED),e.on=0,i.setAttribute("aria-expanded","false"),!n&&d.onClose&&d.onClose()},s.onEscape=function(){s.hide(1),d.document.getById(e.id).focus()},this.onBlock&&this.onBlock(s,n),n.onHide=function(){e.on=0,!d.modes&&d.command?d.setStateFromCommand(l):d.setState(NEW_CKEDITOR.TRISTATE_OFF)}}},setStateFromCommand:function(t){this.setState(t.state)}}})},beforeInit:function(t){t.ui.addHandler(NEW_CKEDITOR.UI_PANELBUTTON,NEW_CKEDITOR.ui.panelButton.handler)}}),NEW_CKEDITOR.UI_PANELBUTTON="panelbutton";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(e){return""!==e&&e}function t(e){return/(o|u)l/i.test(e.parent.name)?(i.elements.replaceWithChildren(e),!1):e}function n(e){var t=e.parent,n=function(e){return
|
|
1
|
+
!function(){function e(e){return""!==e&&e}function t(e){return/(o|u)l/i.test(e.parent.name)?(i.elements.replaceWithChildren(e),!1):e}function n(e){var t=e.parent,n=function(e){return NEW_CKEDITOR.tools.array.reduce(e,(function(e,t){return e+t}),0)}(e=function(e){return NEW_CKEDITOR.tools.array.map(e,(function(e){return Number(e.attributes.width)}))}(e.children));t.attributes.width=n,function e(t,n){var r,i;if(t&&"tr"===t.name){for(r=t.children,i=0;i<n.length&&r[i];i++)r[i].attributes.width=n[i];e(t.next,n)}}(function(e){return(e=NEW_CKEDITOR.tools.array.find(e.children,(function(e){return e.name&&("tr"===e.name||"tbody"===e.name)})))&&e.name&&"tbody"===e.name?e.children[0]:e}(t),e)}var r=NEW_CKEDITOR.plugins.pastetools,i=r.filters.common,l=i.styles;NEW_CKEDITOR.plugins.pastetools.filters.gdocs={rules:function(r,u,a){return{elementNames:[[/^meta/,""]],comment:function(){return!1},attributes:{id:function(e){return!/^docs\-internal\-guid\-/.test(e)},dir:function(e){return"ltr"!==e&&e},style:function(t,n){return e(l.normalizedStyles(n,u))},class:function(t){return e(t.replace(/kix-line-break/gi,""))}},elements:{div:function(e){var t=1===e.children.length,n="table"===e.children[0].name;"div"===e.name&&t&&n&&delete e.attributes.align},colgroup:n,span:function(e){l.createStyleStack(e,a,u,/vertical-align|white-space|font-variant/);var t=e.attributes.style;/vertical-align:\s*super/.test(t)?e.name="sup":/vertical-align:\s*sub/.test(t)&&(e.name="sub"),e.attributes.style=t.replace(/vertical-align\s*.+?;?/,"")},b:function(e){return i.elements.replaceWithChildren(e),!1},p:function(e){if(e.parent&&"li"===e.parent.name)return i.elements.replaceWithChildren(e),!1},ul:function(e){return l.pushStylesLower(e),t(e)},ol:function(e){return l.pushStylesLower(e),t(e)},li:function(e){l.pushStylesLower(e);var t=e.children;return 1===t.length&&/(o|u)l/i.test(t[0].name)&&(i.elements.replaceWithChildren(e),e=!1),e}}}}},NEW_CKEDITOR.pasteFilters.gdocs=r.createFilter({rules:[i.rules,NEW_CKEDITOR.plugins.pastetools.filters.gdocs.rules]})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function t(t,i){if(!(t.previous&&n(t.previous)&&t.getFirst().children.length&&1===t.children.length&&n(t.getFirst().getFirst())))return!1;for(var s=e(t.previous),l=0,a=s,o=function(){var t=!1;return function(e){return!t&&(n(e)||"li"===e.name?n(e):(t=!0,!1))}}();a=a.getAscendant(o);)l++;return!!(l=r(t,l))&&(s.add(l),l.filterChildren(i),!0)}function e(t){var r=t.children[t.children.length-1];return n(r)||"li"===r.name?e(r):t}function r(t,e){return e?r(t.getFirst().getFirst(),--e):t}function n(t){return"ol"===t.name||"ul"===t.name}function i(){return!1}var s=
|
|
1
|
+
!function(){function t(t,i){if(!(t.previous&&n(t.previous)&&t.getFirst().children.length&&1===t.children.length&&n(t.getFirst().getFirst())))return!1;for(var s=e(t.previous),l=0,a=s,o=function(){var t=!1;return function(e){return!t&&(n(e)||"li"===e.name?n(e):(t=!0,!1))}}();a=a.getAscendant(o);)l++;return!!(l=r(t,l))&&(s.add(l),l.filterChildren(i),!0)}function e(t){var r=t.children[t.children.length-1];return n(r)||"li"===r.name?e(r):t}function r(t,e){return e?r(t.getFirst().getFirst(),--e):t}function n(t){return"ol"===t.name||"ul"===t.name}function i(){return!1}var s=NEW_CKEDITOR.plugins.pastetools,l=s.filters.common,a=l.styles;NEW_CKEDITOR.plugins.pastetools.filters.libreoffice={rules:function(e,r,n){return{root:function(t){t.filterChildren(n)},comment:function(){return!1},elementNames:[[/^head$/i,""],[/^meta$/i,""],[/^strike$/i,"s"]],elements:{"!doctype":function(t){t.replaceWithChildren()},span:function(t){t.attributes.style&&(t.attributes.style=a.normalizedStyles(t,r),a.createStyleStack(t,n,r)),NEW_CKEDITOR.tools.object.entries(t.attributes).length||t.replaceWithChildren()},p:function(t){var e=NEW_CKEDITOR.tools.parseCssText(t.attributes.style);if(r.plugins.pagebreak&&("always"===e["page-break-before"]||"page"===e["break-before"])){var i=NEW_CKEDITOR.plugins.pagebreak.createElement(r);(i=NEW_CKEDITOR.htmlParser.fragment.fromHtml(i.getOuterHtml()).children[0]).insertBefore(t)}t.attributes.style=NEW_CKEDITOR.tools.writeCssText(e),t.filterChildren(n),a.createStyleStack(t,n,r)},div:function(t){a.createStyleStack(t,n,r)},a:function(t){if(t.attributes.style){var e=t.attributes;"#000080"===(t=NEW_CKEDITOR.tools.parseCssText(t.attributes.style)).color&&delete t.color,"underline"===t["text-decoration"]&&delete t["text-decoration"],t=NEW_CKEDITOR.tools.writeCssText(t),e.style=t}},h1:function(t){a.createStyleStack(t,n,r)},h2:function(t){a.createStyleStack(t,n,r)},h3:function(t){a.createStyleStack(t,n,r)},h4:function(t){a.createStyleStack(t,n,r)},h5:function(t){a.createStyleStack(t,n,r)},h6:function(t){a.createStyleStack(t,n,r)},pre:function(t){a.createStyleStack(t,n,r)},font:function(t){var e;(e="a"===t.parent.name&&"#000080"===t.attributes.color||1===t.parent.children.length&&("sup"===t.parent.name||"sub"===t.parent.name)&&"2"===t.attributes.size)&&t.replaceWithChildren(),e=NEW_CKEDITOR.tools.parseCssText(t.attributes.style);var r=t.getFirst();t.attributes.size&&r&&r.type===NEW_CKEDITOR.NODE_ELEMENT&&/font-size/.test(r.attributes.style)&&t.replaceWithChildren(),e["font-size"]&&(delete t.attributes.size,t.name="span",r&&r.type===NEW_CKEDITOR.NODE_ELEMENT&&r.attributes.size&&r.replaceWithChildren())},ul:function(e){if(t(e,n))return!1},ol:function(e){if(t(e,n))return!1},img:function(t){if(!t.attributes.src)return!1},table:function(t){var e=t.attributes;t=t.attributes.style;var r=NEW_CKEDITOR.tools.parseCssText(t);r["border-collapse"]||(r["border-collapse"]="collapse",t=NEW_CKEDITOR.tools.writeCssText(r)),e.style=t}},attributes:{style:function(t,e){return a.normalizedStyles(e,r)||!1},align:function(t,e){if("img"!==e.name){var r=NEW_CKEDITOR.tools.parseCssText(e.attributes.style);return r["text-align"]=e.attributes.align,e.attributes.style=NEW_CKEDITOR.tools.writeCssText(r),!1}},cellspacing:i,cellpadding:i,border:i}}}},NEW_CKEDITOR.pasteFilters.libreoffice=s.createFilter({rules:[l.rules,NEW_CKEDITOR.plugins.pastetools.filters.libreoffice.rules]})}();
|