From c63493c899de714b05b0521bb38aab60d19030ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 20 Jan 2017 00:55:51 +0100 Subject: [PATCH] Validation initiale --- README.md | 8 + build-config.js | 88 + component.json | 24 + composer.json | 35 + release/CHANGES.md | 1219 +++ release/LICENSE.md | 1420 +++ release/README.md | 39 + release/adapters/jquery.js | 10 + release/ckeditor.js | 1042 ++ release/config.js | 10 + release/contents.css | 208 + release/lang/en.js | 5 + release/lang/fr.js | 5 + release/plugins/a11yhelp/dialogs/a11yhelp.js | 10 + .../dialogs/lang/_translationstatus.txt | 25 + release/plugins/a11yhelp/dialogs/lang/af.js | 11 + release/plugins/a11yhelp/dialogs/lang/ar.js | 10 + release/plugins/a11yhelp/dialogs/lang/az.js | 11 + release/plugins/a11yhelp/dialogs/lang/bg.js | 10 + release/plugins/a11yhelp/dialogs/lang/ca.js | 12 + release/plugins/a11yhelp/dialogs/lang/cs.js | 12 + release/plugins/a11yhelp/dialogs/lang/cy.js | 11 + release/plugins/a11yhelp/dialogs/lang/da.js | 11 + .../plugins/a11yhelp/dialogs/lang/de-ch.js | 11 + release/plugins/a11yhelp/dialogs/lang/de.js | 11 + release/plugins/a11yhelp/dialogs/lang/el.js | 11 + .../plugins/a11yhelp/dialogs/lang/en-gb.js | 10 + release/plugins/a11yhelp/dialogs/lang/en.js | 10 + release/plugins/a11yhelp/dialogs/lang/eo.js | 12 + release/plugins/a11yhelp/dialogs/lang/es.js | 13 + release/plugins/a11yhelp/dialogs/lang/et.js | 10 + release/plugins/a11yhelp/dialogs/lang/eu.js | 12 + release/plugins/a11yhelp/dialogs/lang/fa.js | 11 + release/plugins/a11yhelp/dialogs/lang/fi.js | 11 + release/plugins/a11yhelp/dialogs/lang/fo.js | 10 + .../plugins/a11yhelp/dialogs/lang/fr-ca.js | 11 + release/plugins/a11yhelp/dialogs/lang/fr.js | 13 + release/plugins/a11yhelp/dialogs/lang/gl.js | 11 + release/plugins/a11yhelp/dialogs/lang/gu.js | 10 + release/plugins/a11yhelp/dialogs/lang/he.js | 10 + release/plugins/a11yhelp/dialogs/lang/hi.js | 10 + release/plugins/a11yhelp/dialogs/lang/hr.js | 11 + release/plugins/a11yhelp/dialogs/lang/hu.js | 11 + release/plugins/a11yhelp/dialogs/lang/id.js | 11 + release/plugins/a11yhelp/dialogs/lang/it.js | 13 + release/plugins/a11yhelp/dialogs/lang/ja.js | 9 + release/plugins/a11yhelp/dialogs/lang/km.js | 10 + release/plugins/a11yhelp/dialogs/lang/ko.js | 10 + release/plugins/a11yhelp/dialogs/lang/ku.js | 11 + release/plugins/a11yhelp/dialogs/lang/lt.js | 10 + release/plugins/a11yhelp/dialogs/lang/lv.js | 11 + release/plugins/a11yhelp/dialogs/lang/mk.js | 11 + release/plugins/a11yhelp/dialogs/lang/mn.js | 10 + release/plugins/a11yhelp/dialogs/lang/nb.js | 11 + release/plugins/a11yhelp/dialogs/lang/nl.js | 12 + release/plugins/a11yhelp/dialogs/lang/no.js | 11 + release/plugins/a11yhelp/dialogs/lang/oc.js | 12 + release/plugins/a11yhelp/dialogs/lang/pl.js | 13 + .../plugins/a11yhelp/dialogs/lang/pt-br.js | 12 + release/plugins/a11yhelp/dialogs/lang/pt.js | 12 + release/plugins/a11yhelp/dialogs/lang/ro.js | 11 + release/plugins/a11yhelp/dialogs/lang/ru.js | 11 + release/plugins/a11yhelp/dialogs/lang/si.js | 10 + release/plugins/a11yhelp/dialogs/lang/sk.js | 11 + release/plugins/a11yhelp/dialogs/lang/sl.js | 11 + release/plugins/a11yhelp/dialogs/lang/sq.js | 11 + .../plugins/a11yhelp/dialogs/lang/sr-latn.js | 10 + release/plugins/a11yhelp/dialogs/lang/sr.js | 10 + release/plugins/a11yhelp/dialogs/lang/sv.js | 11 + release/plugins/a11yhelp/dialogs/lang/th.js | 10 + release/plugins/a11yhelp/dialogs/lang/tr.js | 12 + release/plugins/a11yhelp/dialogs/lang/tt.js | 11 + release/plugins/a11yhelp/dialogs/lang/ug.js | 11 + release/plugins/a11yhelp/dialogs/lang/uk.js | 12 + release/plugins/a11yhelp/dialogs/lang/vi.js | 11 + .../plugins/a11yhelp/dialogs/lang/zh-cn.js | 9 + release/plugins/a11yhelp/dialogs/lang/zh.js | 9 + release/plugins/clipboard/dialogs/paste.js | 12 + release/plugins/dialog/dialogDefinition.js | 4 + release/plugins/icons.png | Bin 0 -> 4720 bytes release/plugins/icons_hidpi.png | Bin 0 -> 14281 bytes release/plugins/iframe/dialogs/iframe.js | 10 + release/plugins/iframe/images/placeholder.png | Bin 0 -> 265 bytes release/plugins/image/dialogs/image.js | 44 + release/plugins/image/images/noimage.png | Bin 0 -> 1610 bytes release/plugins/link/dialogs/anchor.js | 7 + release/plugins/link/dialogs/link.js | 28 + release/plugins/link/images/anchor.png | Bin 0 -> 752 bytes release/plugins/link/images/hidpi/anchor.png | Bin 0 -> 1109 bytes .../plugins/liststyle/dialogs/liststyle.js | 10 + .../magicline/images/hidpi/icon-rtl.png | Bin 0 -> 176 bytes .../plugins/magicline/images/hidpi/icon.png | Bin 0 -> 199 bytes release/plugins/magicline/images/icon-rtl.png | Bin 0 -> 138 bytes release/plugins/magicline/images/icon.png | Bin 0 -> 133 bytes release/plugins/oembed/LICENSE.md | 21 + release/plugins/oembed/README.md | 201 + .../plugins/oembed/libs/jquery.oembed.min.js | 71 + release/plugins/widget/images/handle.png | Bin 0 -> 220 bytes release/samples/css/samples.css | 1632 +++ release/samples/img/github-top.png | Bin 0 -> 383 bytes release/samples/img/header-bg.png | Bin 0 -> 13086 bytes release/samples/img/header-separator.png | Bin 0 -> 123 bytes release/samples/img/logo.png | Bin 0 -> 5891 bytes release/samples/img/navigation-tip.png | Bin 0 -> 12029 bytes release/samples/index.html | 128 + release/samples/js/sample.js | 53 + release/samples/js/sf.js | 17 + release/samples/old/ajax.html | 85 + release/samples/old/api.html | 210 + release/samples/old/appendto.html | 59 + release/samples/old/assets/inlineall/logo.png | Bin 0 -> 4283 bytes .../old/assets/outputxhtml/outputxhtml.css | 204 + release/samples/old/assets/posteddata.php | 59 + release/samples/old/assets/sample.jpg | Bin 0 -> 14449 bytes .../old/assets/uilanguages/languages.js | 7 + release/samples/old/datafiltering.html | 508 + .../samples/old/dialog/assets/my_dialog.js | 48 + release/samples/old/dialog/dialog.html | 190 + release/samples/old/divreplace.html | 144 + release/samples/old/enterkey/enterkey.html | 106 + .../assets/outputforflash/outputforflash.fla | Bin 0 -> 85504 bytes .../assets/outputforflash/outputforflash.swf | Bin 0 -> 15571 bytes .../assets/outputforflash/swfobject.js | 19 + .../old/htmlwriter/outputforflash.html | 283 + .../samples/old/htmlwriter/outputhtml.html | 224 + release/samples/old/index.html | 131 + release/samples/old/inlineall.html | 314 + release/samples/old/inlinebycode.html | 124 + release/samples/old/inlinetextarea.html | 113 + release/samples/old/jquery.html | 103 + release/samples/old/magicline/magicline.html | 209 + release/samples/old/readonly.html | 76 + release/samples/old/replacebyclass.html | 60 + release/samples/old/replacebycode.html | 59 + release/samples/old/sample.css | 357 + release/samples/old/sample.js | 50 + release/samples/old/sample_posteddata.php | 16 + release/samples/old/tabindex.html | 78 + release/samples/old/toolbar/toolbar.html | 235 + release/samples/old/uicolor.html | 72 + release/samples/old/uilanguages.html | 122 + release/samples/old/wysiwygarea/fullpage.html | 80 + release/samples/old/xhtmlstyle.html | 234 + .../toolbarconfigurator/css/fontello.css | 55 + .../toolbarconfigurator/font/LICENSE.txt | 10 + .../toolbarconfigurator/font/config.json | 28 + .../toolbarconfigurator/font/fontello.eot | Bin 0 -> 4988 bytes .../toolbarconfigurator/font/fontello.svg | 14 + .../toolbarconfigurator/font/fontello.ttf | Bin 0 -> 4820 bytes .../toolbarconfigurator/font/fontello.woff | Bin 0 -> 2904 bytes .../samples/toolbarconfigurator/index.html | 446 + .../js/abstracttoolbarmodifier.js | 13 + .../js/fulltoolbareditor.js | 9 + .../toolbarconfigurator/js/toolbarmodifier.js | 33 + .../js/toolbartextmodifier.js | 14 + .../lib/codemirror/LICENSE | 19 + .../lib/codemirror/codemirror.css | 325 + .../lib/codemirror/codemirror.js | 288 + .../lib/codemirror/javascript.js | 25 + .../lib/codemirror/neo.css | 36 + .../lib/codemirror/show-hint.css | 38 + .../lib/codemirror/show-hint.js | 16 + release/skins/moono/dialog.css | 5 + release/skins/moono/dialog_ie.css | 5 + release/skins/moono/dialog_ie7.css | 5 + release/skins/moono/dialog_ie8.css | 5 + release/skins/moono/dialog_iequirks.css | 5 + release/skins/moono/editor.css | 5 + release/skins/moono/editor_gecko.css | 5 + release/skins/moono/editor_ie.css | 5 + release/skins/moono/editor_ie7.css | 5 + release/skins/moono/editor_ie8.css | 5 + release/skins/moono/editor_iequirks.css | 5 + release/skins/moono/icons.png | Bin 0 -> 8994 bytes release/skins/moono/icons_hidpi.png | Bin 0 -> 24510 bytes release/skins/moono/images/anchor.png | Bin 0 -> 929 bytes release/skins/moono/images/arrow.png | Bin 0 -> 191 bytes release/skins/moono/images/close.png | Bin 0 -> 869 bytes release/skins/moono/images/hidpi/anchor.png | Bin 0 -> 1510 bytes release/skins/moono/images/hidpi/close.png | Bin 0 -> 1732 bytes .../skins/moono/images/hidpi/lock-open.png | Bin 0 -> 1582 bytes release/skins/moono/images/hidpi/lock.png | Bin 0 -> 1644 bytes release/skins/moono/images/hidpi/refresh.png | Bin 0 -> 2311 bytes release/skins/moono/images/lock-open.png | Bin 0 -> 801 bytes release/skins/moono/images/lock.png | Bin 0 -> 849 bytes release/skins/moono/images/refresh.png | Bin 0 -> 1050 bytes release/skins/moono/images/spinner.gif | Bin 0 -> 2984 bytes release/skins/moono/readme.md | 49 + release/styles.js | 137 + sources/CHANGES.md | 1219 +++ sources/LICENSE.md | 1641 ++++ sources/README.md | 39 + sources/adapters/jquery.js | 379 + sources/ckeditor.js | 48 + sources/config.js | 17 + sources/contents.css | 208 + sources/core/_bootstrap.js | 74 + sources/core/ckeditor.js | 204 + sources/core/ckeditor_base.js | 318 + sources/core/ckeditor_basic.js | 94 + sources/core/command.js | 275 + sources/core/commanddefinition.js | 162 + sources/core/config.js | 451 + sources/core/creators/inline.js | 157 + sources/core/creators/themedui.js | 541 + sources/core/dataprocessor.js | 70 + sources/core/dom.js | 13 + sources/core/dom/comment.js | 53 + sources/core/dom/document.js | 326 + sources/core/dom/documentfragment.js | 62 + sources/core/dom/domobject.js | 266 + sources/core/dom/element.js | 2183 ++++ sources/core/dom/elementpath.js | 251 + sources/core/dom/event.js | 208 + sources/core/dom/iterator.js | 565 ++ sources/core/dom/node.js | 902 ++ sources/core/dom/nodelist.js | 43 + sources/core/dom/range.js | 2978 ++++++ sources/core/dom/rangelist.js | 199 + sources/core/dom/text.js | 135 + sources/core/dom/walker.js | 652 ++ sources/core/dom/window.js | 95 + sources/core/dtd.js | 349 + sources/core/editable.js | 3266 ++++++ sources/core/editor.js | 2039 ++++ sources/core/editor_basic.js | 36 + sources/core/env.js | 361 + sources/core/event.js | 389 + sources/core/eventInfo.js | 115 + sources/core/filter.js | 2540 +++++ sources/core/focusmanager.js | 281 + sources/core/htmldataprocessor.js | 1036 ++ sources/core/htmlparser.js | 205 + sources/core/htmlparser/basicwriter.js | 152 + sources/core/htmlparser/cdata.js | 48 + sources/core/htmlparser/comment.js | 80 + sources/core/htmlparser/element.js | 568 ++ sources/core/htmlparser/filter.js | 407 + sources/core/htmlparser/fragment.js | 646 ++ sources/core/htmlparser/node.js | 156 + sources/core/htmlparser/text.js | 70 + sources/core/keystrokehandler.js | 169 + sources/core/lang.js | 103 + sources/core/loader.js | 225 + sources/core/log.js | 127 + sources/core/plugindefinition.js | 177 + sources/core/plugins.js | 119 + sources/core/resourcemanager.js | 228 + sources/core/scriptloader.js | 202 + sources/core/selection.js | 2204 +++++ sources/core/skin.js | 350 + sources/core/style.js | 2102 ++++ sources/core/template.js | 68 + sources/core/tools.js | 1916 ++++ sources/core/ui.js | 185 + sources/lang/_translationstatus.txt | 63 + sources/lang/af.js | 117 + sources/lang/ar.js | 117 + sources/lang/az.js | 117 + sources/lang/bg.js | 117 + sources/lang/bn.js | 117 + sources/lang/bs.js | 117 + sources/lang/ca.js | 117 + sources/lang/cs.js | 117 + sources/lang/cy.js | 117 + sources/lang/da.js | 117 + sources/lang/de-ch.js | 116 + sources/lang/de.js | 117 + sources/lang/el.js | 117 + sources/lang/en-au.js | 117 + sources/lang/en-ca.js | 117 + sources/lang/en-gb.js | 117 + sources/lang/en.js | 117 + sources/lang/eo.js | 117 + sources/lang/es.js | 117 + sources/lang/et.js | 117 + sources/lang/eu.js | 117 + sources/lang/fa.js | 117 + sources/lang/fi.js | 117 + sources/lang/fo.js | 117 + sources/lang/fr-ca.js | 117 + sources/lang/fr.js | 117 + sources/lang/gl.js | 117 + sources/lang/gu.js | 117 + sources/lang/he.js | 117 + sources/lang/hi.js | 117 + sources/lang/hr.js | 117 + sources/lang/hu.js | 117 + sources/lang/id.js | 116 + sources/lang/is.js | 117 + sources/lang/it.js | 117 + sources/lang/ja.js | 117 + sources/lang/ka.js | 117 + sources/lang/km.js | 117 + sources/lang/ko.js | 117 + sources/lang/ku.js | 116 + sources/lang/lt.js | 117 + sources/lang/lv.js | 117 + sources/lang/mk.js | 116 + sources/lang/mn.js | 117 + sources/lang/ms.js | 117 + sources/lang/nb.js | 117 + sources/lang/nl.js | 117 + sources/lang/no.js | 117 + sources/lang/oc.js | 117 + sources/lang/pl.js | 117 + sources/lang/pt-br.js | 116 + sources/lang/pt.js | 117 + sources/lang/ro.js | 117 + sources/lang/ru.js | 117 + sources/lang/si.js | 116 + sources/lang/sk.js | 117 + sources/lang/sl.js | 117 + sources/lang/sq.js | 116 + sources/lang/sr-latn.js | 117 + sources/lang/sr.js | 117 + sources/lang/sv.js | 116 + sources/lang/th.js | 117 + sources/lang/tr.js | 116 + sources/lang/tt.js | 117 + sources/lang/ug.js | 116 + sources/lang/uk.js | 117 + sources/lang/vi.js | 117 + sources/lang/zh-cn.js | 117 + sources/lang/zh.js | 117 + sources/plugins/a11yhelp/dialogs/a11yhelp.js | 217 + .../dialogs/lang/_translationstatus.txt | 25 + sources/plugins/a11yhelp/dialogs/lang/af.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ar.js | 140 + sources/plugins/a11yhelp/dialogs/lang/az.js | 140 + sources/plugins/a11yhelp/dialogs/lang/bg.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ca.js | 140 + sources/plugins/a11yhelp/dialogs/lang/cs.js | 140 + sources/plugins/a11yhelp/dialogs/lang/cy.js | 140 + sources/plugins/a11yhelp/dialogs/lang/da.js | 140 + .../plugins/a11yhelp/dialogs/lang/de-ch.js | 140 + sources/plugins/a11yhelp/dialogs/lang/de.js | 140 + sources/plugins/a11yhelp/dialogs/lang/el.js | 140 + .../plugins/a11yhelp/dialogs/lang/en-gb.js | 140 + sources/plugins/a11yhelp/dialogs/lang/en.js | 159 + sources/plugins/a11yhelp/dialogs/lang/eo.js | 140 + sources/plugins/a11yhelp/dialogs/lang/es.js | 140 + sources/plugins/a11yhelp/dialogs/lang/et.js | 140 + sources/plugins/a11yhelp/dialogs/lang/eu.js | 140 + sources/plugins/a11yhelp/dialogs/lang/fa.js | 140 + sources/plugins/a11yhelp/dialogs/lang/fi.js | 140 + sources/plugins/a11yhelp/dialogs/lang/fo.js | 140 + .../plugins/a11yhelp/dialogs/lang/fr-ca.js | 140 + sources/plugins/a11yhelp/dialogs/lang/fr.js | 140 + sources/plugins/a11yhelp/dialogs/lang/gl.js | 140 + sources/plugins/a11yhelp/dialogs/lang/gu.js | 140 + sources/plugins/a11yhelp/dialogs/lang/he.js | 140 + sources/plugins/a11yhelp/dialogs/lang/hi.js | 140 + sources/plugins/a11yhelp/dialogs/lang/hr.js | 140 + sources/plugins/a11yhelp/dialogs/lang/hu.js | 140 + sources/plugins/a11yhelp/dialogs/lang/id.js | 140 + sources/plugins/a11yhelp/dialogs/lang/it.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ja.js | 140 + sources/plugins/a11yhelp/dialogs/lang/km.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ko.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ku.js | 140 + sources/plugins/a11yhelp/dialogs/lang/lt.js | 140 + sources/plugins/a11yhelp/dialogs/lang/lv.js | 140 + sources/plugins/a11yhelp/dialogs/lang/mk.js | 140 + sources/plugins/a11yhelp/dialogs/lang/mn.js | 140 + sources/plugins/a11yhelp/dialogs/lang/nb.js | 140 + sources/plugins/a11yhelp/dialogs/lang/nl.js | 140 + sources/plugins/a11yhelp/dialogs/lang/no.js | 140 + sources/plugins/a11yhelp/dialogs/lang/oc.js | 140 + sources/plugins/a11yhelp/dialogs/lang/pl.js | 140 + .../plugins/a11yhelp/dialogs/lang/pt-br.js | 140 + sources/plugins/a11yhelp/dialogs/lang/pt.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ro.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ru.js | 140 + sources/plugins/a11yhelp/dialogs/lang/si.js | 140 + sources/plugins/a11yhelp/dialogs/lang/sk.js | 140 + sources/plugins/a11yhelp/dialogs/lang/sl.js | 140 + sources/plugins/a11yhelp/dialogs/lang/sq.js | 140 + .../plugins/a11yhelp/dialogs/lang/sr-latn.js | 140 + sources/plugins/a11yhelp/dialogs/lang/sr.js | 140 + sources/plugins/a11yhelp/dialogs/lang/sv.js | 140 + sources/plugins/a11yhelp/dialogs/lang/th.js | 140 + sources/plugins/a11yhelp/dialogs/lang/tr.js | 140 + sources/plugins/a11yhelp/dialogs/lang/tt.js | 140 + sources/plugins/a11yhelp/dialogs/lang/ug.js | 140 + sources/plugins/a11yhelp/dialogs/lang/uk.js | 140 + sources/plugins/a11yhelp/dialogs/lang/vi.js | 140 + .../plugins/a11yhelp/dialogs/lang/zh-cn.js | 140 + sources/plugins/a11yhelp/dialogs/lang/zh.js | 140 + sources/plugins/a11yhelp/plugin.js | 51 + sources/plugins/basicstyles/icons/bold.png | Bin 0 -> 580 bytes .../plugins/basicstyles/icons/hidpi/bold.png | Bin 0 -> 1207 bytes .../basicstyles/icons/hidpi/italic.png | Bin 0 -> 854 bytes .../basicstyles/icons/hidpi/strike.png | Bin 0 -> 1357 bytes .../basicstyles/icons/hidpi/subscript.png | Bin 0 -> 1189 bytes .../basicstyles/icons/hidpi/superscript.png | Bin 0 -> 1156 bytes .../basicstyles/icons/hidpi/underline.png | Bin 0 -> 1084 bytes sources/plugins/basicstyles/icons/italic.png | Bin 0 -> 611 bytes sources/plugins/basicstyles/icons/strike.png | Bin 0 -> 627 bytes .../plugins/basicstyles/icons/subscript.png | Bin 0 -> 584 bytes .../plugins/basicstyles/icons/superscript.png | Bin 0 -> 594 bytes .../plugins/basicstyles/icons/underline.png | Bin 0 -> 541 bytes sources/plugins/basicstyles/lang/af.js | 12 + sources/plugins/basicstyles/lang/ar.js | 12 + sources/plugins/basicstyles/lang/az.js | 12 + sources/plugins/basicstyles/lang/bg.js | 12 + sources/plugins/basicstyles/lang/bn.js | 12 + sources/plugins/basicstyles/lang/bs.js | 12 + sources/plugins/basicstyles/lang/ca.js | 12 + sources/plugins/basicstyles/lang/cs.js | 12 + sources/plugins/basicstyles/lang/cy.js | 12 + sources/plugins/basicstyles/lang/da.js | 12 + sources/plugins/basicstyles/lang/de-ch.js | 12 + sources/plugins/basicstyles/lang/de.js | 12 + sources/plugins/basicstyles/lang/el.js | 12 + sources/plugins/basicstyles/lang/en-au.js | 12 + sources/plugins/basicstyles/lang/en-ca.js | 12 + sources/plugins/basicstyles/lang/en-gb.js | 12 + sources/plugins/basicstyles/lang/en.js | 12 + sources/plugins/basicstyles/lang/eo.js | 12 + sources/plugins/basicstyles/lang/es.js | 12 + sources/plugins/basicstyles/lang/et.js | 12 + sources/plugins/basicstyles/lang/eu.js | 12 + sources/plugins/basicstyles/lang/fa.js | 12 + sources/plugins/basicstyles/lang/fi.js | 12 + sources/plugins/basicstyles/lang/fo.js | 12 + sources/plugins/basicstyles/lang/fr-ca.js | 12 + sources/plugins/basicstyles/lang/fr.js | 12 + sources/plugins/basicstyles/lang/gl.js | 12 + sources/plugins/basicstyles/lang/gu.js | 12 + sources/plugins/basicstyles/lang/he.js | 12 + sources/plugins/basicstyles/lang/hi.js | 12 + sources/plugins/basicstyles/lang/hr.js | 12 + sources/plugins/basicstyles/lang/hu.js | 12 + sources/plugins/basicstyles/lang/id.js | 12 + sources/plugins/basicstyles/lang/is.js | 12 + sources/plugins/basicstyles/lang/it.js | 12 + sources/plugins/basicstyles/lang/ja.js | 12 + sources/plugins/basicstyles/lang/ka.js | 12 + sources/plugins/basicstyles/lang/km.js | 12 + sources/plugins/basicstyles/lang/ko.js | 12 + sources/plugins/basicstyles/lang/ku.js | 12 + sources/plugins/basicstyles/lang/lt.js | 12 + sources/plugins/basicstyles/lang/lv.js | 12 + sources/plugins/basicstyles/lang/mk.js | 12 + sources/plugins/basicstyles/lang/mn.js | 12 + sources/plugins/basicstyles/lang/ms.js | 12 + sources/plugins/basicstyles/lang/nb.js | 12 + sources/plugins/basicstyles/lang/nl.js | 12 + sources/plugins/basicstyles/lang/no.js | 12 + sources/plugins/basicstyles/lang/oc.js | 12 + sources/plugins/basicstyles/lang/pl.js | 12 + sources/plugins/basicstyles/lang/pt-br.js | 12 + sources/plugins/basicstyles/lang/pt.js | 12 + sources/plugins/basicstyles/lang/ro.js | 12 + sources/plugins/basicstyles/lang/ru.js | 12 + sources/plugins/basicstyles/lang/si.js | 12 + sources/plugins/basicstyles/lang/sk.js | 12 + sources/plugins/basicstyles/lang/sl.js | 12 + sources/plugins/basicstyles/lang/sq.js | 12 + sources/plugins/basicstyles/lang/sr-latn.js | 12 + sources/plugins/basicstyles/lang/sr.js | 12 + sources/plugins/basicstyles/lang/sv.js | 12 + sources/plugins/basicstyles/lang/th.js | 12 + sources/plugins/basicstyles/lang/tr.js | 12 + sources/plugins/basicstyles/lang/tt.js | 12 + sources/plugins/basicstyles/lang/ug.js | 12 + sources/plugins/basicstyles/lang/uk.js | 12 + sources/plugins/basicstyles/lang/vi.js | 12 + sources/plugins/basicstyles/lang/zh-cn.js | 12 + sources/plugins/basicstyles/lang/zh.js | 12 + sources/plugins/basicstyles/plugin.js | 209 + sources/plugins/button/lang/af.js | 8 + sources/plugins/button/lang/ar.js | 8 + sources/plugins/button/lang/az.js | 8 + sources/plugins/button/lang/bg.js | 8 + sources/plugins/button/lang/ca.js | 8 + sources/plugins/button/lang/cs.js | 8 + sources/plugins/button/lang/da.js | 8 + sources/plugins/button/lang/de-ch.js | 8 + sources/plugins/button/lang/de.js | 8 + sources/plugins/button/lang/el.js | 8 + sources/plugins/button/lang/en-gb.js | 8 + sources/plugins/button/lang/en.js | 8 + sources/plugins/button/lang/eo.js | 8 + sources/plugins/button/lang/es.js | 8 + sources/plugins/button/lang/eu.js | 8 + sources/plugins/button/lang/fa.js | 8 + sources/plugins/button/lang/fi.js | 8 + sources/plugins/button/lang/fr.js | 8 + sources/plugins/button/lang/gl.js | 8 + sources/plugins/button/lang/he.js | 8 + sources/plugins/button/lang/hu.js | 8 + sources/plugins/button/lang/id.js | 8 + sources/plugins/button/lang/it.js | 8 + sources/plugins/button/lang/ja.js | 8 + sources/plugins/button/lang/km.js | 8 + sources/plugins/button/lang/ko.js | 8 + sources/plugins/button/lang/ku.js | 8 + sources/plugins/button/lang/lt.js | 8 + sources/plugins/button/lang/nb.js | 8 + sources/plugins/button/lang/nl.js | 8 + sources/plugins/button/lang/no.js | 8 + sources/plugins/button/lang/oc.js | 8 + sources/plugins/button/lang/pl.js | 8 + sources/plugins/button/lang/pt-br.js | 8 + sources/plugins/button/lang/pt.js | 8 + sources/plugins/button/lang/ro.js | 8 + sources/plugins/button/lang/ru.js | 8 + sources/plugins/button/lang/sk.js | 8 + sources/plugins/button/lang/sl.js | 8 + sources/plugins/button/lang/sq.js | 8 + sources/plugins/button/lang/sv.js | 8 + sources/plugins/button/lang/tr.js | 8 + sources/plugins/button/lang/tt.js | 8 + sources/plugins/button/lang/ug.js | 8 + sources/plugins/button/lang/uk.js | 8 + sources/plugins/button/lang/vi.js | 8 + sources/plugins/button/lang/zh-cn.js | 8 + sources/plugins/button/lang/zh.js | 8 + sources/plugins/button/plugin.js | 389 + sources/plugins/clipboard/dev/clipboard.html | 190 + sources/plugins/clipboard/dev/console.js | 49 + sources/plugins/clipboard/dev/dnd.html | 185 + sources/plugins/clipboard/dialogs/paste.js | 254 + sources/plugins/clipboard/icons/copy-rtl.png | Bin 0 -> 506 bytes sources/plugins/clipboard/icons/copy.png | Bin 0 -> 506 bytes sources/plugins/clipboard/icons/cut-rtl.png | Bin 0 -> 776 bytes sources/plugins/clipboard/icons/cut.png | Bin 0 -> 776 bytes .../clipboard/icons/hidpi/copy-rtl.png | Bin 0 -> 759 bytes .../plugins/clipboard/icons/hidpi/copy.png | Bin 0 -> 759 bytes .../plugins/clipboard/icons/hidpi/cut-rtl.png | Bin 0 -> 1576 bytes sources/plugins/clipboard/icons/hidpi/cut.png | Bin 0 -> 1576 bytes .../clipboard/icons/hidpi/paste-rtl.png | Bin 0 -> 854 bytes .../plugins/clipboard/icons/hidpi/paste.png | Bin 0 -> 854 bytes sources/plugins/clipboard/icons/paste-rtl.png | Bin 0 -> 464 bytes sources/plugins/clipboard/icons/paste.png | Bin 0 -> 464 bytes sources/plugins/clipboard/lang/af.js | 15 + sources/plugins/clipboard/lang/ar.js | 15 + sources/plugins/clipboard/lang/az.js | 15 + sources/plugins/clipboard/lang/bg.js | 15 + sources/plugins/clipboard/lang/bn.js | 15 + sources/plugins/clipboard/lang/bs.js | 15 + sources/plugins/clipboard/lang/ca.js | 15 + sources/plugins/clipboard/lang/cs.js | 15 + sources/plugins/clipboard/lang/cy.js | 15 + sources/plugins/clipboard/lang/da.js | 15 + sources/plugins/clipboard/lang/de-ch.js | 15 + sources/plugins/clipboard/lang/de.js | 15 + sources/plugins/clipboard/lang/el.js | 15 + sources/plugins/clipboard/lang/en-au.js | 15 + sources/plugins/clipboard/lang/en-ca.js | 15 + sources/plugins/clipboard/lang/en-gb.js | 15 + sources/plugins/clipboard/lang/en.js | 15 + sources/plugins/clipboard/lang/eo.js | 15 + sources/plugins/clipboard/lang/es.js | 15 + sources/plugins/clipboard/lang/et.js | 15 + sources/plugins/clipboard/lang/eu.js | 15 + sources/plugins/clipboard/lang/fa.js | 15 + sources/plugins/clipboard/lang/fi.js | 15 + sources/plugins/clipboard/lang/fo.js | 15 + sources/plugins/clipboard/lang/fr-ca.js | 15 + sources/plugins/clipboard/lang/fr.js | 15 + sources/plugins/clipboard/lang/gl.js | 15 + sources/plugins/clipboard/lang/gu.js | 15 + sources/plugins/clipboard/lang/he.js | 15 + sources/plugins/clipboard/lang/hi.js | 15 + sources/plugins/clipboard/lang/hr.js | 15 + sources/plugins/clipboard/lang/hu.js | 15 + sources/plugins/clipboard/lang/id.js | 15 + sources/plugins/clipboard/lang/is.js | 15 + sources/plugins/clipboard/lang/it.js | 15 + sources/plugins/clipboard/lang/ja.js | 15 + sources/plugins/clipboard/lang/ka.js | 15 + sources/plugins/clipboard/lang/km.js | 15 + sources/plugins/clipboard/lang/ko.js | 15 + sources/plugins/clipboard/lang/ku.js | 15 + sources/plugins/clipboard/lang/lt.js | 15 + sources/plugins/clipboard/lang/lv.js | 15 + sources/plugins/clipboard/lang/mk.js | 15 + sources/plugins/clipboard/lang/mn.js | 15 + sources/plugins/clipboard/lang/ms.js | 15 + sources/plugins/clipboard/lang/nb.js | 15 + sources/plugins/clipboard/lang/nl.js | 15 + sources/plugins/clipboard/lang/no.js | 15 + sources/plugins/clipboard/lang/oc.js | 15 + sources/plugins/clipboard/lang/pl.js | 15 + sources/plugins/clipboard/lang/pt-br.js | 15 + sources/plugins/clipboard/lang/pt.js | 15 + sources/plugins/clipboard/lang/ro.js | 15 + sources/plugins/clipboard/lang/ru.js | 15 + sources/plugins/clipboard/lang/si.js | 15 + sources/plugins/clipboard/lang/sk.js | 15 + sources/plugins/clipboard/lang/sl.js | 15 + sources/plugins/clipboard/lang/sq.js | 15 + sources/plugins/clipboard/lang/sr-latn.js | 15 + sources/plugins/clipboard/lang/sr.js | 15 + sources/plugins/clipboard/lang/sv.js | 15 + sources/plugins/clipboard/lang/th.js | 15 + sources/plugins/clipboard/lang/tr.js | 15 + sources/plugins/clipboard/lang/tt.js | 15 + sources/plugins/clipboard/lang/ug.js | 15 + sources/plugins/clipboard/lang/uk.js | 15 + sources/plugins/clipboard/lang/vi.js | 15 + sources/plugins/clipboard/lang/zh-cn.js | 15 + sources/plugins/clipboard/lang/zh.js | 15 + sources/plugins/clipboard/plugin.js | 2772 ++++++ sources/plugins/contextmenu/lang/af.js | 7 + sources/plugins/contextmenu/lang/ar.js | 7 + sources/plugins/contextmenu/lang/az.js | 7 + sources/plugins/contextmenu/lang/bg.js | 7 + sources/plugins/contextmenu/lang/bn.js | 7 + sources/plugins/contextmenu/lang/bs.js | 7 + sources/plugins/contextmenu/lang/ca.js | 7 + sources/plugins/contextmenu/lang/cs.js | 7 + sources/plugins/contextmenu/lang/cy.js | 7 + sources/plugins/contextmenu/lang/da.js | 7 + sources/plugins/contextmenu/lang/de-ch.js | 7 + sources/plugins/contextmenu/lang/de.js | 7 + sources/plugins/contextmenu/lang/el.js | 7 + sources/plugins/contextmenu/lang/en-au.js | 7 + sources/plugins/contextmenu/lang/en-ca.js | 7 + sources/plugins/contextmenu/lang/en-gb.js | 7 + sources/plugins/contextmenu/lang/en.js | 7 + sources/plugins/contextmenu/lang/eo.js | 7 + sources/plugins/contextmenu/lang/es.js | 7 + sources/plugins/contextmenu/lang/et.js | 7 + sources/plugins/contextmenu/lang/eu.js | 7 + sources/plugins/contextmenu/lang/fa.js | 7 + sources/plugins/contextmenu/lang/fi.js | 7 + sources/plugins/contextmenu/lang/fo.js | 7 + sources/plugins/contextmenu/lang/fr-ca.js | 7 + sources/plugins/contextmenu/lang/fr.js | 7 + sources/plugins/contextmenu/lang/gl.js | 7 + sources/plugins/contextmenu/lang/gu.js | 7 + sources/plugins/contextmenu/lang/he.js | 7 + sources/plugins/contextmenu/lang/hi.js | 7 + sources/plugins/contextmenu/lang/hr.js | 7 + sources/plugins/contextmenu/lang/hu.js | 7 + sources/plugins/contextmenu/lang/id.js | 7 + sources/plugins/contextmenu/lang/is.js | 7 + sources/plugins/contextmenu/lang/it.js | 7 + sources/plugins/contextmenu/lang/ja.js | 7 + sources/plugins/contextmenu/lang/ka.js | 7 + sources/plugins/contextmenu/lang/km.js | 7 + sources/plugins/contextmenu/lang/ko.js | 7 + sources/plugins/contextmenu/lang/ku.js | 7 + sources/plugins/contextmenu/lang/lt.js | 7 + sources/plugins/contextmenu/lang/lv.js | 7 + sources/plugins/contextmenu/lang/mk.js | 7 + sources/plugins/contextmenu/lang/mn.js | 7 + sources/plugins/contextmenu/lang/ms.js | 7 + sources/plugins/contextmenu/lang/nb.js | 7 + sources/plugins/contextmenu/lang/nl.js | 7 + sources/plugins/contextmenu/lang/no.js | 7 + sources/plugins/contextmenu/lang/oc.js | 7 + sources/plugins/contextmenu/lang/pl.js | 7 + sources/plugins/contextmenu/lang/pt-br.js | 7 + sources/plugins/contextmenu/lang/pt.js | 7 + sources/plugins/contextmenu/lang/ro.js | 7 + sources/plugins/contextmenu/lang/ru.js | 7 + sources/plugins/contextmenu/lang/si.js | 7 + sources/plugins/contextmenu/lang/sk.js | 7 + sources/plugins/contextmenu/lang/sl.js | 7 + sources/plugins/contextmenu/lang/sq.js | 7 + sources/plugins/contextmenu/lang/sr-latn.js | 7 + sources/plugins/contextmenu/lang/sr.js | 7 + sources/plugins/contextmenu/lang/sv.js | 7 + sources/plugins/contextmenu/lang/th.js | 7 + sources/plugins/contextmenu/lang/tr.js | 7 + sources/plugins/contextmenu/lang/tt.js | 7 + sources/plugins/contextmenu/lang/ug.js | 7 + sources/plugins/contextmenu/lang/uk.js | 7 + sources/plugins/contextmenu/lang/vi.js | 7 + sources/plugins/contextmenu/lang/zh-cn.js | 7 + sources/plugins/contextmenu/lang/zh.js | 7 + sources/plugins/contextmenu/plugin.js | 159 + sources/plugins/dialog/dialogDefinition.js | 1032 ++ sources/plugins/dialog/plugin.js | 3399 +++++++ .../dialog/samples/assets/my_dialog.js | 49 + sources/plugins/dialog/samples/dialog.html | 190 + sources/plugins/dialogadvtab/plugin.js | 196 + sources/plugins/dialogui/plugin.js | 1530 +++ sources/plugins/elementspath/lang/af.js | 8 + sources/plugins/elementspath/lang/ar.js | 8 + sources/plugins/elementspath/lang/az.js | 8 + sources/plugins/elementspath/lang/bg.js | 8 + sources/plugins/elementspath/lang/bn.js | 8 + sources/plugins/elementspath/lang/bs.js | 8 + sources/plugins/elementspath/lang/ca.js | 8 + sources/plugins/elementspath/lang/cs.js | 8 + sources/plugins/elementspath/lang/cy.js | 8 + sources/plugins/elementspath/lang/da.js | 8 + sources/plugins/elementspath/lang/de-ch.js | 8 + sources/plugins/elementspath/lang/de.js | 8 + sources/plugins/elementspath/lang/el.js | 8 + sources/plugins/elementspath/lang/en-au.js | 8 + sources/plugins/elementspath/lang/en-ca.js | 8 + sources/plugins/elementspath/lang/en-gb.js | 8 + sources/plugins/elementspath/lang/en.js | 8 + sources/plugins/elementspath/lang/eo.js | 8 + sources/plugins/elementspath/lang/es.js | 8 + sources/plugins/elementspath/lang/et.js | 8 + sources/plugins/elementspath/lang/eu.js | 8 + sources/plugins/elementspath/lang/fa.js | 8 + sources/plugins/elementspath/lang/fi.js | 8 + sources/plugins/elementspath/lang/fo.js | 8 + sources/plugins/elementspath/lang/fr-ca.js | 8 + sources/plugins/elementspath/lang/fr.js | 8 + sources/plugins/elementspath/lang/gl.js | 8 + sources/plugins/elementspath/lang/gu.js | 8 + sources/plugins/elementspath/lang/he.js | 8 + sources/plugins/elementspath/lang/hi.js | 8 + sources/plugins/elementspath/lang/hr.js | 8 + sources/plugins/elementspath/lang/hu.js | 8 + sources/plugins/elementspath/lang/is.js | 8 + sources/plugins/elementspath/lang/it.js | 8 + sources/plugins/elementspath/lang/ja.js | 8 + sources/plugins/elementspath/lang/ka.js | 8 + sources/plugins/elementspath/lang/km.js | 8 + sources/plugins/elementspath/lang/ko.js | 8 + sources/plugins/elementspath/lang/ku.js | 8 + sources/plugins/elementspath/lang/lt.js | 8 + sources/plugins/elementspath/lang/lv.js | 8 + sources/plugins/elementspath/lang/mk.js | 8 + sources/plugins/elementspath/lang/mn.js | 8 + sources/plugins/elementspath/lang/ms.js | 8 + sources/plugins/elementspath/lang/nb.js | 8 + sources/plugins/elementspath/lang/nl.js | 8 + sources/plugins/elementspath/lang/no.js | 8 + sources/plugins/elementspath/lang/oc.js | 8 + sources/plugins/elementspath/lang/pl.js | 8 + sources/plugins/elementspath/lang/pt-br.js | 8 + sources/plugins/elementspath/lang/pt.js | 8 + sources/plugins/elementspath/lang/ro.js | 8 + sources/plugins/elementspath/lang/ru.js | 8 + sources/plugins/elementspath/lang/si.js | 8 + sources/plugins/elementspath/lang/sk.js | 8 + sources/plugins/elementspath/lang/sl.js | 8 + sources/plugins/elementspath/lang/sq.js | 8 + sources/plugins/elementspath/lang/sr-latn.js | 8 + sources/plugins/elementspath/lang/sr.js | 8 + sources/plugins/elementspath/lang/sv.js | 8 + sources/plugins/elementspath/lang/th.js | 8 + sources/plugins/elementspath/lang/tr.js | 8 + sources/plugins/elementspath/lang/tt.js | 8 + sources/plugins/elementspath/lang/ug.js | 8 + sources/plugins/elementspath/lang/uk.js | 8 + sources/plugins/elementspath/lang/vi.js | 8 + sources/plugins/elementspath/lang/zh-cn.js | 8 + sources/plugins/elementspath/lang/zh.js | 8 + sources/plugins/elementspath/plugin.js | 244 + sources/plugins/enterkey/plugin.js | 566 ++ .../plugins/enterkey/samples/enterkey.html | 106 + sources/plugins/entities/plugin.js | 239 + sources/plugins/fakeobjects/lang/af.js | 11 + sources/plugins/fakeobjects/lang/ar.js | 11 + sources/plugins/fakeobjects/lang/az.js | 11 + sources/plugins/fakeobjects/lang/bg.js | 11 + sources/plugins/fakeobjects/lang/bn.js | 11 + sources/plugins/fakeobjects/lang/bs.js | 11 + sources/plugins/fakeobjects/lang/ca.js | 11 + sources/plugins/fakeobjects/lang/cs.js | 11 + sources/plugins/fakeobjects/lang/cy.js | 11 + sources/plugins/fakeobjects/lang/da.js | 11 + sources/plugins/fakeobjects/lang/de-ch.js | 11 + sources/plugins/fakeobjects/lang/de.js | 11 + sources/plugins/fakeobjects/lang/el.js | 11 + sources/plugins/fakeobjects/lang/en-au.js | 11 + sources/plugins/fakeobjects/lang/en-ca.js | 11 + sources/plugins/fakeobjects/lang/en-gb.js | 11 + sources/plugins/fakeobjects/lang/en.js | 11 + sources/plugins/fakeobjects/lang/eo.js | 11 + sources/plugins/fakeobjects/lang/es.js | 11 + sources/plugins/fakeobjects/lang/et.js | 11 + sources/plugins/fakeobjects/lang/eu.js | 11 + sources/plugins/fakeobjects/lang/fa.js | 11 + sources/plugins/fakeobjects/lang/fi.js | 11 + sources/plugins/fakeobjects/lang/fo.js | 11 + sources/plugins/fakeobjects/lang/fr-ca.js | 11 + sources/plugins/fakeobjects/lang/fr.js | 11 + sources/plugins/fakeobjects/lang/gl.js | 11 + sources/plugins/fakeobjects/lang/gu.js | 11 + sources/plugins/fakeobjects/lang/he.js | 11 + sources/plugins/fakeobjects/lang/hi.js | 11 + sources/plugins/fakeobjects/lang/hr.js | 11 + sources/plugins/fakeobjects/lang/hu.js | 11 + sources/plugins/fakeobjects/lang/id.js | 11 + sources/plugins/fakeobjects/lang/is.js | 11 + sources/plugins/fakeobjects/lang/it.js | 11 + sources/plugins/fakeobjects/lang/ja.js | 11 + sources/plugins/fakeobjects/lang/ka.js | 11 + sources/plugins/fakeobjects/lang/km.js | 11 + sources/plugins/fakeobjects/lang/ko.js | 11 + sources/plugins/fakeobjects/lang/ku.js | 11 + sources/plugins/fakeobjects/lang/lt.js | 11 + sources/plugins/fakeobjects/lang/lv.js | 11 + sources/plugins/fakeobjects/lang/mk.js | 11 + sources/plugins/fakeobjects/lang/mn.js | 11 + sources/plugins/fakeobjects/lang/ms.js | 11 + sources/plugins/fakeobjects/lang/nb.js | 11 + sources/plugins/fakeobjects/lang/nl.js | 11 + sources/plugins/fakeobjects/lang/no.js | 11 + sources/plugins/fakeobjects/lang/oc.js | 11 + sources/plugins/fakeobjects/lang/pl.js | 11 + sources/plugins/fakeobjects/lang/pt-br.js | 11 + sources/plugins/fakeobjects/lang/pt.js | 11 + sources/plugins/fakeobjects/lang/ro.js | 11 + sources/plugins/fakeobjects/lang/ru.js | 11 + sources/plugins/fakeobjects/lang/si.js | 11 + sources/plugins/fakeobjects/lang/sk.js | 11 + sources/plugins/fakeobjects/lang/sl.js | 11 + sources/plugins/fakeobjects/lang/sq.js | 11 + sources/plugins/fakeobjects/lang/sr-latn.js | 11 + sources/plugins/fakeobjects/lang/sr.js | 11 + sources/plugins/fakeobjects/lang/sv.js | 11 + sources/plugins/fakeobjects/lang/th.js | 11 + sources/plugins/fakeobjects/lang/tr.js | 11 + sources/plugins/fakeobjects/lang/tt.js | 11 + sources/plugins/fakeobjects/lang/ug.js | 11 + sources/plugins/fakeobjects/lang/uk.js | 11 + sources/plugins/fakeobjects/lang/vi.js | 11 + sources/plugins/fakeobjects/lang/zh-cn.js | 11 + sources/plugins/fakeobjects/lang/zh.js | 11 + sources/plugins/fakeobjects/plugin.js | 183 + sources/plugins/filebrowser/plugin.js | 573 ++ sources/plugins/floatingspace/plugin.js | 406 + sources/plugins/floatpanel/plugin.js | 598 ++ sources/plugins/format/lang/af.js | 18 + sources/plugins/format/lang/ar.js | 18 + sources/plugins/format/lang/az.js | 18 + sources/plugins/format/lang/bg.js | 18 + sources/plugins/format/lang/bn.js | 18 + sources/plugins/format/lang/bs.js | 18 + sources/plugins/format/lang/ca.js | 18 + sources/plugins/format/lang/cs.js | 18 + sources/plugins/format/lang/cy.js | 18 + sources/plugins/format/lang/da.js | 18 + sources/plugins/format/lang/de-ch.js | 18 + sources/plugins/format/lang/de.js | 18 + sources/plugins/format/lang/el.js | 18 + sources/plugins/format/lang/en-au.js | 18 + sources/plugins/format/lang/en-ca.js | 18 + sources/plugins/format/lang/en-gb.js | 18 + sources/plugins/format/lang/en.js | 18 + sources/plugins/format/lang/eo.js | 18 + sources/plugins/format/lang/es.js | 18 + sources/plugins/format/lang/et.js | 18 + sources/plugins/format/lang/eu.js | 18 + sources/plugins/format/lang/fa.js | 18 + sources/plugins/format/lang/fi.js | 18 + sources/plugins/format/lang/fo.js | 18 + sources/plugins/format/lang/fr-ca.js | 18 + sources/plugins/format/lang/fr.js | 18 + sources/plugins/format/lang/gl.js | 18 + sources/plugins/format/lang/gu.js | 18 + sources/plugins/format/lang/he.js | 18 + sources/plugins/format/lang/hi.js | 18 + sources/plugins/format/lang/hr.js | 18 + sources/plugins/format/lang/hu.js | 18 + sources/plugins/format/lang/id.js | 18 + sources/plugins/format/lang/is.js | 18 + sources/plugins/format/lang/it.js | 18 + sources/plugins/format/lang/ja.js | 18 + sources/plugins/format/lang/ka.js | 18 + sources/plugins/format/lang/km.js | 18 + sources/plugins/format/lang/ko.js | 18 + sources/plugins/format/lang/ku.js | 18 + sources/plugins/format/lang/lt.js | 18 + sources/plugins/format/lang/lv.js | 18 + sources/plugins/format/lang/mk.js | 18 + sources/plugins/format/lang/mn.js | 18 + sources/plugins/format/lang/ms.js | 18 + sources/plugins/format/lang/nb.js | 18 + sources/plugins/format/lang/nl.js | 18 + sources/plugins/format/lang/no.js | 18 + sources/plugins/format/lang/oc.js | 18 + sources/plugins/format/lang/pl.js | 18 + sources/plugins/format/lang/pt-br.js | 18 + sources/plugins/format/lang/pt.js | 18 + sources/plugins/format/lang/ro.js | 18 + sources/plugins/format/lang/ru.js | 18 + sources/plugins/format/lang/si.js | 18 + sources/plugins/format/lang/sk.js | 18 + sources/plugins/format/lang/sl.js | 18 + sources/plugins/format/lang/sq.js | 18 + sources/plugins/format/lang/sr-latn.js | 18 + sources/plugins/format/lang/sr.js | 18 + sources/plugins/format/lang/sv.js | 18 + sources/plugins/format/lang/th.js | 18 + sources/plugins/format/lang/tr.js | 18 + sources/plugins/format/lang/tt.js | 18 + sources/plugins/format/lang/ug.js | 18 + sources/plugins/format/lang/uk.js | 18 + sources/plugins/format/lang/vi.js | 18 + sources/plugins/format/lang/zh-cn.js | 18 + sources/plugins/format/lang/zh.js | 18 + sources/plugins/format/plugin.js | 279 + .../icons/hidpi/horizontalrule.png | Bin 0 -> 530 bytes .../horizontalrule/icons/horizontalrule.png | Bin 0 -> 432 bytes sources/plugins/horizontalrule/lang/af.js | 7 + sources/plugins/horizontalrule/lang/ar.js | 7 + sources/plugins/horizontalrule/lang/az.js | 7 + sources/plugins/horizontalrule/lang/bg.js | 7 + sources/plugins/horizontalrule/lang/bn.js | 7 + sources/plugins/horizontalrule/lang/bs.js | 7 + sources/plugins/horizontalrule/lang/ca.js | 7 + sources/plugins/horizontalrule/lang/cs.js | 7 + sources/plugins/horizontalrule/lang/cy.js | 7 + sources/plugins/horizontalrule/lang/da.js | 7 + sources/plugins/horizontalrule/lang/de-ch.js | 7 + sources/plugins/horizontalrule/lang/de.js | 7 + sources/plugins/horizontalrule/lang/el.js | 7 + sources/plugins/horizontalrule/lang/en-au.js | 7 + sources/plugins/horizontalrule/lang/en-ca.js | 7 + sources/plugins/horizontalrule/lang/en-gb.js | 7 + sources/plugins/horizontalrule/lang/en.js | 7 + sources/plugins/horizontalrule/lang/eo.js | 7 + sources/plugins/horizontalrule/lang/es.js | 7 + sources/plugins/horizontalrule/lang/et.js | 7 + sources/plugins/horizontalrule/lang/eu.js | 7 + sources/plugins/horizontalrule/lang/fa.js | 7 + sources/plugins/horizontalrule/lang/fi.js | 7 + sources/plugins/horizontalrule/lang/fo.js | 7 + sources/plugins/horizontalrule/lang/fr-ca.js | 7 + sources/plugins/horizontalrule/lang/fr.js | 7 + sources/plugins/horizontalrule/lang/gl.js | 7 + sources/plugins/horizontalrule/lang/gu.js | 7 + sources/plugins/horizontalrule/lang/he.js | 7 + sources/plugins/horizontalrule/lang/hi.js | 7 + sources/plugins/horizontalrule/lang/hr.js | 7 + sources/plugins/horizontalrule/lang/hu.js | 7 + sources/plugins/horizontalrule/lang/id.js | 7 + sources/plugins/horizontalrule/lang/is.js | 7 + sources/plugins/horizontalrule/lang/it.js | 7 + sources/plugins/horizontalrule/lang/ja.js | 7 + sources/plugins/horizontalrule/lang/ka.js | 7 + sources/plugins/horizontalrule/lang/km.js | 7 + sources/plugins/horizontalrule/lang/ko.js | 7 + sources/plugins/horizontalrule/lang/ku.js | 7 + sources/plugins/horizontalrule/lang/lt.js | 7 + sources/plugins/horizontalrule/lang/lv.js | 7 + sources/plugins/horizontalrule/lang/mk.js | 7 + sources/plugins/horizontalrule/lang/mn.js | 7 + sources/plugins/horizontalrule/lang/ms.js | 7 + sources/plugins/horizontalrule/lang/nb.js | 7 + sources/plugins/horizontalrule/lang/nl.js | 7 + sources/plugins/horizontalrule/lang/no.js | 7 + sources/plugins/horizontalrule/lang/oc.js | 7 + sources/plugins/horizontalrule/lang/pl.js | 7 + sources/plugins/horizontalrule/lang/pt-br.js | 7 + sources/plugins/horizontalrule/lang/pt.js | 7 + sources/plugins/horizontalrule/lang/ro.js | 7 + sources/plugins/horizontalrule/lang/ru.js | 7 + sources/plugins/horizontalrule/lang/si.js | 7 + sources/plugins/horizontalrule/lang/sk.js | 7 + sources/plugins/horizontalrule/lang/sl.js | 7 + sources/plugins/horizontalrule/lang/sq.js | 7 + .../plugins/horizontalrule/lang/sr-latn.js | 7 + sources/plugins/horizontalrule/lang/sr.js | 7 + sources/plugins/horizontalrule/lang/sv.js | 7 + sources/plugins/horizontalrule/lang/th.js | 7 + sources/plugins/horizontalrule/lang/tr.js | 7 + sources/plugins/horizontalrule/lang/tt.js | 7 + sources/plugins/horizontalrule/lang/ug.js | 7 + sources/plugins/horizontalrule/lang/uk.js | 7 + sources/plugins/horizontalrule/lang/vi.js | 7 + sources/plugins/horizontalrule/lang/zh-cn.js | 7 + sources/plugins/horizontalrule/lang/zh.js | 7 + sources/plugins/horizontalrule/plugin.js | 43 + sources/plugins/htmlwriter/plugin.js | 360 + .../assets/outputforflash/outputforflash.fla | Bin 0 -> 85504 bytes .../assets/outputforflash/outputforflash.swf | Bin 0 -> 15571 bytes .../assets/outputforflash/swfobject.js | 5 + .../htmlwriter/samples/outputforflash.html | 283 + .../htmlwriter/samples/outputhtml.html | 224 + sources/plugins/iframe/dialogs/iframe.js | 207 + sources/plugins/iframe/icons/hidpi/iframe.png | Bin 0 -> 1837 bytes sources/plugins/iframe/icons/iframe.png | Bin 0 -> 816 bytes sources/plugins/iframe/images/placeholder.png | Bin 0 -> 265 bytes sources/plugins/iframe/lang/af.js | 11 + sources/plugins/iframe/lang/ar.js | 11 + sources/plugins/iframe/lang/az.js | 11 + sources/plugins/iframe/lang/bg.js | 11 + sources/plugins/iframe/lang/bn.js | 11 + sources/plugins/iframe/lang/bs.js | 11 + sources/plugins/iframe/lang/ca.js | 11 + sources/plugins/iframe/lang/cs.js | 11 + sources/plugins/iframe/lang/cy.js | 11 + sources/plugins/iframe/lang/da.js | 11 + sources/plugins/iframe/lang/de-ch.js | 11 + sources/plugins/iframe/lang/de.js | 11 + sources/plugins/iframe/lang/el.js | 11 + sources/plugins/iframe/lang/en-au.js | 11 + sources/plugins/iframe/lang/en-ca.js | 11 + sources/plugins/iframe/lang/en-gb.js | 11 + sources/plugins/iframe/lang/en.js | 11 + sources/plugins/iframe/lang/eo.js | 11 + sources/plugins/iframe/lang/es.js | 11 + sources/plugins/iframe/lang/et.js | 11 + sources/plugins/iframe/lang/eu.js | 11 + sources/plugins/iframe/lang/fa.js | 11 + sources/plugins/iframe/lang/fi.js | 11 + sources/plugins/iframe/lang/fo.js | 11 + sources/plugins/iframe/lang/fr-ca.js | 11 + sources/plugins/iframe/lang/fr.js | 11 + sources/plugins/iframe/lang/gl.js | 11 + sources/plugins/iframe/lang/gu.js | 11 + sources/plugins/iframe/lang/he.js | 11 + sources/plugins/iframe/lang/hi.js | 11 + sources/plugins/iframe/lang/hr.js | 11 + sources/plugins/iframe/lang/hu.js | 11 + sources/plugins/iframe/lang/id.js | 11 + sources/plugins/iframe/lang/is.js | 11 + sources/plugins/iframe/lang/it.js | 11 + sources/plugins/iframe/lang/ja.js | 11 + sources/plugins/iframe/lang/ka.js | 11 + sources/plugins/iframe/lang/km.js | 11 + sources/plugins/iframe/lang/ko.js | 11 + sources/plugins/iframe/lang/ku.js | 11 + sources/plugins/iframe/lang/lt.js | 11 + sources/plugins/iframe/lang/lv.js | 11 + sources/plugins/iframe/lang/mk.js | 11 + sources/plugins/iframe/lang/mn.js | 11 + sources/plugins/iframe/lang/ms.js | 11 + sources/plugins/iframe/lang/nb.js | 11 + sources/plugins/iframe/lang/nl.js | 11 + sources/plugins/iframe/lang/no.js | 11 + sources/plugins/iframe/lang/oc.js | 11 + sources/plugins/iframe/lang/pl.js | 11 + sources/plugins/iframe/lang/pt-br.js | 11 + sources/plugins/iframe/lang/pt.js | 11 + sources/plugins/iframe/lang/ro.js | 11 + sources/plugins/iframe/lang/ru.js | 11 + sources/plugins/iframe/lang/si.js | 11 + sources/plugins/iframe/lang/sk.js | 11 + sources/plugins/iframe/lang/sl.js | 11 + sources/plugins/iframe/lang/sq.js | 11 + sources/plugins/iframe/lang/sr-latn.js | 11 + sources/plugins/iframe/lang/sr.js | 11 + sources/plugins/iframe/lang/sv.js | 11 + sources/plugins/iframe/lang/th.js | 11 + sources/plugins/iframe/lang/tr.js | 11 + sources/plugins/iframe/lang/tt.js | 11 + sources/plugins/iframe/lang/ug.js | 11 + sources/plugins/iframe/lang/uk.js | 11 + sources/plugins/iframe/lang/vi.js | 11 + sources/plugins/iframe/lang/zh-cn.js | 11 + sources/plugins/iframe/lang/zh.js | 11 + sources/plugins/iframe/plugin.js | 85 + sources/plugins/image/dialogs/image.js | 1254 +++ sources/plugins/image/icons/hidpi/image.png | Bin 0 -> 905 bytes sources/plugins/image/icons/image.png | Bin 0 -> 498 bytes sources/plugins/image/images/noimage.png | Bin 0 -> 1610 bytes sources/plugins/image/lang/af.js | 25 + sources/plugins/image/lang/ar.js | 25 + sources/plugins/image/lang/az.js | 25 + sources/plugins/image/lang/bg.js | 25 + sources/plugins/image/lang/bn.js | 25 + sources/plugins/image/lang/bs.js | 25 + sources/plugins/image/lang/ca.js | 25 + sources/plugins/image/lang/cs.js | 25 + sources/plugins/image/lang/cy.js | 25 + sources/plugins/image/lang/da.js | 25 + sources/plugins/image/lang/de-ch.js | 25 + sources/plugins/image/lang/de.js | 25 + sources/plugins/image/lang/el.js | 25 + sources/plugins/image/lang/en-au.js | 25 + sources/plugins/image/lang/en-ca.js | 25 + sources/plugins/image/lang/en-gb.js | 25 + sources/plugins/image/lang/en.js | 25 + sources/plugins/image/lang/eo.js | 25 + sources/plugins/image/lang/es.js | 25 + sources/plugins/image/lang/et.js | 25 + sources/plugins/image/lang/eu.js | 25 + sources/plugins/image/lang/fa.js | 25 + sources/plugins/image/lang/fi.js | 25 + sources/plugins/image/lang/fo.js | 25 + sources/plugins/image/lang/fr-ca.js | 25 + sources/plugins/image/lang/fr.js | 25 + sources/plugins/image/lang/gl.js | 25 + sources/plugins/image/lang/gu.js | 25 + sources/plugins/image/lang/he.js | 25 + sources/plugins/image/lang/hi.js | 25 + sources/plugins/image/lang/hr.js | 25 + sources/plugins/image/lang/hu.js | 25 + sources/plugins/image/lang/id.js | 25 + sources/plugins/image/lang/is.js | 25 + sources/plugins/image/lang/it.js | 25 + sources/plugins/image/lang/ja.js | 25 + sources/plugins/image/lang/ka.js | 25 + sources/plugins/image/lang/km.js | 25 + sources/plugins/image/lang/ko.js | 25 + sources/plugins/image/lang/ku.js | 25 + sources/plugins/image/lang/lt.js | 25 + sources/plugins/image/lang/lv.js | 25 + sources/plugins/image/lang/mk.js | 25 + sources/plugins/image/lang/mn.js | 25 + sources/plugins/image/lang/ms.js | 25 + sources/plugins/image/lang/nb.js | 25 + sources/plugins/image/lang/nl.js | 25 + sources/plugins/image/lang/no.js | 25 + sources/plugins/image/lang/oc.js | 25 + sources/plugins/image/lang/pl.js | 25 + sources/plugins/image/lang/pt-br.js | 25 + sources/plugins/image/lang/pt.js | 25 + sources/plugins/image/lang/ro.js | 25 + sources/plugins/image/lang/ru.js | 25 + sources/plugins/image/lang/si.js | 25 + sources/plugins/image/lang/sk.js | 25 + sources/plugins/image/lang/sl.js | 25 + sources/plugins/image/lang/sq.js | 25 + sources/plugins/image/lang/sr-latn.js | 25 + sources/plugins/image/lang/sr.js | 25 + sources/plugins/image/lang/sv.js | 25 + sources/plugins/image/lang/th.js | 25 + sources/plugins/image/lang/tr.js | 25 + sources/plugins/image/lang/tt.js | 25 + sources/plugins/image/lang/ug.js | 25 + sources/plugins/image/lang/uk.js | 25 + sources/plugins/image/lang/vi.js | 25 + sources/plugins/image/lang/zh-cn.js | 25 + sources/plugins/image/lang/zh.js | 25 + sources/plugins/image/plugin.js | 183 + sources/plugins/indent/dev/indent.html | 284 + .../plugins/indent/icons/hidpi/indent-rtl.png | Bin 0 -> 757 bytes sources/plugins/indent/icons/hidpi/indent.png | Bin 0 -> 1001 bytes .../indent/icons/hidpi/outdent-rtl.png | Bin 0 -> 738 bytes .../plugins/indent/icons/hidpi/outdent.png | Bin 0 -> 754 bytes sources/plugins/indent/icons/indent-rtl.png | Bin 0 -> 438 bytes sources/plugins/indent/icons/indent.png | Bin 0 -> 489 bytes sources/plugins/indent/icons/outdent-rtl.png | Bin 0 -> 450 bytes sources/plugins/indent/icons/outdent.png | Bin 0 -> 413 bytes sources/plugins/indent/lang/af.js | 8 + sources/plugins/indent/lang/ar.js | 8 + sources/plugins/indent/lang/az.js | 8 + sources/plugins/indent/lang/bg.js | 8 + sources/plugins/indent/lang/bn.js | 8 + sources/plugins/indent/lang/bs.js | 8 + sources/plugins/indent/lang/ca.js | 8 + sources/plugins/indent/lang/cs.js | 8 + sources/plugins/indent/lang/cy.js | 8 + sources/plugins/indent/lang/da.js | 8 + sources/plugins/indent/lang/de-ch.js | 8 + sources/plugins/indent/lang/de.js | 8 + sources/plugins/indent/lang/el.js | 8 + sources/plugins/indent/lang/en-au.js | 8 + sources/plugins/indent/lang/en-ca.js | 8 + sources/plugins/indent/lang/en-gb.js | 8 + sources/plugins/indent/lang/en.js | 8 + sources/plugins/indent/lang/eo.js | 8 + sources/plugins/indent/lang/es.js | 8 + sources/plugins/indent/lang/et.js | 8 + sources/plugins/indent/lang/eu.js | 8 + sources/plugins/indent/lang/fa.js | 8 + sources/plugins/indent/lang/fi.js | 8 + sources/plugins/indent/lang/fo.js | 8 + sources/plugins/indent/lang/fr-ca.js | 8 + sources/plugins/indent/lang/fr.js | 8 + sources/plugins/indent/lang/gl.js | 8 + sources/plugins/indent/lang/gu.js | 8 + sources/plugins/indent/lang/he.js | 8 + sources/plugins/indent/lang/hi.js | 8 + sources/plugins/indent/lang/hr.js | 8 + sources/plugins/indent/lang/hu.js | 8 + sources/plugins/indent/lang/id.js | 8 + sources/plugins/indent/lang/is.js | 8 + sources/plugins/indent/lang/it.js | 8 + sources/plugins/indent/lang/ja.js | 8 + sources/plugins/indent/lang/ka.js | 8 + sources/plugins/indent/lang/km.js | 8 + sources/plugins/indent/lang/ko.js | 8 + sources/plugins/indent/lang/ku.js | 8 + sources/plugins/indent/lang/lt.js | 8 + sources/plugins/indent/lang/lv.js | 8 + sources/plugins/indent/lang/mk.js | 8 + sources/plugins/indent/lang/mn.js | 8 + sources/plugins/indent/lang/ms.js | 8 + sources/plugins/indent/lang/nb.js | 8 + sources/plugins/indent/lang/nl.js | 8 + sources/plugins/indent/lang/no.js | 8 + sources/plugins/indent/lang/oc.js | 8 + sources/plugins/indent/lang/pl.js | 8 + sources/plugins/indent/lang/pt-br.js | 8 + sources/plugins/indent/lang/pt.js | 8 + sources/plugins/indent/lang/ro.js | 8 + sources/plugins/indent/lang/ru.js | 8 + sources/plugins/indent/lang/si.js | 8 + sources/plugins/indent/lang/sk.js | 8 + sources/plugins/indent/lang/sl.js | 8 + sources/plugins/indent/lang/sq.js | 8 + sources/plugins/indent/lang/sr-latn.js | 8 + sources/plugins/indent/lang/sr.js | 8 + sources/plugins/indent/lang/sv.js | 8 + sources/plugins/indent/lang/th.js | 8 + sources/plugins/indent/lang/tr.js | 8 + sources/plugins/indent/lang/tt.js | 8 + sources/plugins/indent/lang/ug.js | 8 + sources/plugins/indent/lang/uk.js | 8 + sources/plugins/indent/lang/vi.js | 8 + sources/plugins/indent/lang/zh-cn.js | 8 + sources/plugins/indent/lang/zh.js | 8 + sources/plugins/indent/plugin.js | 461 + sources/plugins/indentblock/plugin.js | 312 + sources/plugins/indentlist/plugin.js | 318 + .../justify/icons/hidpi/justifyblock.png | Bin 0 -> 533 bytes .../justify/icons/hidpi/justifycenter.png | Bin 0 -> 576 bytes .../justify/icons/hidpi/justifyleft.png | Bin 0 -> 569 bytes .../justify/icons/hidpi/justifyright.png | Bin 0 -> 549 bytes .../plugins/justify/icons/justifyblock.png | Bin 0 -> 315 bytes .../plugins/justify/icons/justifycenter.png | Bin 0 -> 564 bytes sources/plugins/justify/icons/justifyleft.png | Bin 0 -> 342 bytes .../plugins/justify/icons/justifyright.png | Bin 0 -> 348 bytes sources/plugins/justify/lang/af.js | 10 + sources/plugins/justify/lang/ar.js | 10 + sources/plugins/justify/lang/az.js | 10 + sources/plugins/justify/lang/bg.js | 10 + sources/plugins/justify/lang/bn.js | 10 + sources/plugins/justify/lang/bs.js | 10 + sources/plugins/justify/lang/ca.js | 10 + sources/plugins/justify/lang/cs.js | 10 + sources/plugins/justify/lang/cy.js | 10 + sources/plugins/justify/lang/da.js | 10 + sources/plugins/justify/lang/de-ch.js | 10 + sources/plugins/justify/lang/de.js | 10 + sources/plugins/justify/lang/el.js | 10 + sources/plugins/justify/lang/en-au.js | 10 + sources/plugins/justify/lang/en-ca.js | 10 + sources/plugins/justify/lang/en-gb.js | 10 + sources/plugins/justify/lang/en.js | 10 + sources/plugins/justify/lang/eo.js | 10 + sources/plugins/justify/lang/es.js | 10 + sources/plugins/justify/lang/et.js | 10 + sources/plugins/justify/lang/eu.js | 10 + sources/plugins/justify/lang/fa.js | 10 + sources/plugins/justify/lang/fi.js | 10 + sources/plugins/justify/lang/fo.js | 10 + sources/plugins/justify/lang/fr-ca.js | 10 + sources/plugins/justify/lang/fr.js | 10 + sources/plugins/justify/lang/gl.js | 10 + sources/plugins/justify/lang/gu.js | 10 + sources/plugins/justify/lang/he.js | 10 + sources/plugins/justify/lang/hi.js | 10 + sources/plugins/justify/lang/hr.js | 10 + sources/plugins/justify/lang/hu.js | 10 + sources/plugins/justify/lang/id.js | 10 + sources/plugins/justify/lang/is.js | 10 + sources/plugins/justify/lang/it.js | 10 + sources/plugins/justify/lang/ja.js | 10 + sources/plugins/justify/lang/ka.js | 10 + sources/plugins/justify/lang/km.js | 10 + sources/plugins/justify/lang/ko.js | 10 + sources/plugins/justify/lang/ku.js | 10 + sources/plugins/justify/lang/lt.js | 10 + sources/plugins/justify/lang/lv.js | 10 + sources/plugins/justify/lang/mk.js | 10 + sources/plugins/justify/lang/mn.js | 10 + sources/plugins/justify/lang/ms.js | 10 + sources/plugins/justify/lang/nb.js | 10 + sources/plugins/justify/lang/nl.js | 10 + sources/plugins/justify/lang/no.js | 10 + sources/plugins/justify/lang/oc.js | 10 + sources/plugins/justify/lang/pl.js | 10 + sources/plugins/justify/lang/pt-br.js | 10 + sources/plugins/justify/lang/pt.js | 10 + sources/plugins/justify/lang/ro.js | 10 + sources/plugins/justify/lang/ru.js | 10 + sources/plugins/justify/lang/si.js | 10 + sources/plugins/justify/lang/sk.js | 10 + sources/plugins/justify/lang/sl.js | 10 + sources/plugins/justify/lang/sq.js | 10 + sources/plugins/justify/lang/sr-latn.js | 10 + sources/plugins/justify/lang/sr.js | 10 + sources/plugins/justify/lang/sv.js | 10 + sources/plugins/justify/lang/th.js | 10 + sources/plugins/justify/lang/tr.js | 10 + sources/plugins/justify/lang/tt.js | 10 + sources/plugins/justify/lang/ug.js | 10 + sources/plugins/justify/lang/uk.js | 10 + sources/plugins/justify/lang/vi.js | 10 + sources/plugins/justify/lang/zh-cn.js | 10 + sources/plugins/justify/lang/zh.js | 10 + sources/plugins/justify/plugin.js | 245 + sources/plugins/lineutils/dev/dnd.html | 172 + .../plugins/lineutils/dev/magicfinger.html | 285 + sources/plugins/lineutils/plugin.js | 1018 ++ sources/plugins/link/dialogs/anchor.js | 105 + sources/plugins/link/dialogs/link.js | 979 ++ sources/plugins/link/icons/anchor-rtl.png | Bin 0 -> 523 bytes sources/plugins/link/icons/anchor.png | Bin 0 -> 517 bytes .../plugins/link/icons/hidpi/anchor-rtl.png | Bin 0 -> 957 bytes sources/plugins/link/icons/hidpi/anchor.png | Bin 0 -> 917 bytes sources/plugins/link/icons/hidpi/link.png | Bin 0 -> 935 bytes sources/plugins/link/icons/hidpi/unlink.png | Bin 0 -> 1317 bytes sources/plugins/link/icons/link.png | Bin 0 -> 533 bytes sources/plugins/link/icons/unlink.png | Bin 0 -> 692 bytes sources/plugins/link/images/anchor.png | Bin 0 -> 752 bytes sources/plugins/link/images/hidpi/anchor.png | Bin 0 -> 1109 bytes sources/plugins/link/lang/af.js | 67 + sources/plugins/link/lang/ar.js | 67 + sources/plugins/link/lang/az.js | 67 + sources/plugins/link/lang/bg.js | 67 + sources/plugins/link/lang/bn.js | 67 + sources/plugins/link/lang/bs.js | 67 + sources/plugins/link/lang/ca.js | 67 + sources/plugins/link/lang/cs.js | 67 + sources/plugins/link/lang/cy.js | 67 + sources/plugins/link/lang/da.js | 67 + sources/plugins/link/lang/de-ch.js | 67 + sources/plugins/link/lang/de.js | 67 + sources/plugins/link/lang/el.js | 67 + sources/plugins/link/lang/en-au.js | 67 + sources/plugins/link/lang/en-ca.js | 67 + sources/plugins/link/lang/en-gb.js | 67 + sources/plugins/link/lang/en.js | 67 + sources/plugins/link/lang/eo.js | 67 + sources/plugins/link/lang/es.js | 67 + sources/plugins/link/lang/et.js | 67 + sources/plugins/link/lang/eu.js | 67 + sources/plugins/link/lang/fa.js | 67 + sources/plugins/link/lang/fi.js | 67 + sources/plugins/link/lang/fo.js | 67 + sources/plugins/link/lang/fr-ca.js | 67 + sources/plugins/link/lang/fr.js | 67 + sources/plugins/link/lang/gl.js | 67 + sources/plugins/link/lang/gu.js | 67 + sources/plugins/link/lang/he.js | 67 + sources/plugins/link/lang/hi.js | 67 + sources/plugins/link/lang/hr.js | 67 + sources/plugins/link/lang/hu.js | 67 + sources/plugins/link/lang/id.js | 67 + sources/plugins/link/lang/is.js | 67 + sources/plugins/link/lang/it.js | 67 + sources/plugins/link/lang/ja.js | 67 + sources/plugins/link/lang/ka.js | 67 + sources/plugins/link/lang/km.js | 67 + sources/plugins/link/lang/ko.js | 67 + sources/plugins/link/lang/ku.js | 67 + sources/plugins/link/lang/lt.js | 67 + sources/plugins/link/lang/lv.js | 67 + sources/plugins/link/lang/mk.js | 67 + sources/plugins/link/lang/mn.js | 67 + sources/plugins/link/lang/ms.js | 67 + sources/plugins/link/lang/nb.js | 67 + sources/plugins/link/lang/nl.js | 67 + sources/plugins/link/lang/no.js | 67 + sources/plugins/link/lang/oc.js | 67 + sources/plugins/link/lang/pl.js | 67 + sources/plugins/link/lang/pt-br.js | 67 + sources/plugins/link/lang/pt.js | 67 + sources/plugins/link/lang/ro.js | 67 + sources/plugins/link/lang/ru.js | 67 + sources/plugins/link/lang/si.js | 67 + sources/plugins/link/lang/sk.js | 67 + sources/plugins/link/lang/sl.js | 67 + sources/plugins/link/lang/sq.js | 67 + sources/plugins/link/lang/sr-latn.js | 67 + sources/plugins/link/lang/sr.js | 67 + sources/plugins/link/lang/sv.js | 67 + sources/plugins/link/lang/th.js | 67 + sources/plugins/link/lang/tr.js | 67 + sources/plugins/link/lang/tt.js | 67 + sources/plugins/link/lang/ug.js | 67 + sources/plugins/link/lang/uk.js | 67 + sources/plugins/link/lang/vi.js | 67 + sources/plugins/link/lang/zh-cn.js | 67 + sources/plugins/link/lang/zh.js | 67 + sources/plugins/link/plugin.js | 828 ++ .../plugins/list/icons/bulletedlist-rtl.png | Bin 0 -> 367 bytes sources/plugins/list/icons/bulletedlist.png | Bin 0 -> 370 bytes .../list/icons/hidpi/bulletedlist-rtl.png | Bin 0 -> 820 bytes .../plugins/list/icons/hidpi/bulletedlist.png | Bin 0 -> 828 bytes .../list/icons/hidpi/numberedlist-rtl.png | Bin 0 -> 628 bytes .../plugins/list/icons/hidpi/numberedlist.png | Bin 0 -> 655 bytes .../plugins/list/icons/numberedlist-rtl.png | Bin 0 -> 390 bytes sources/plugins/list/icons/numberedlist.png | Bin 0 -> 390 bytes sources/plugins/list/lang/af.js | 8 + sources/plugins/list/lang/ar.js | 8 + sources/plugins/list/lang/az.js | 8 + sources/plugins/list/lang/bg.js | 8 + sources/plugins/list/lang/bn.js | 8 + sources/plugins/list/lang/bs.js | 8 + sources/plugins/list/lang/ca.js | 8 + sources/plugins/list/lang/cs.js | 8 + sources/plugins/list/lang/cy.js | 8 + sources/plugins/list/lang/da.js | 8 + sources/plugins/list/lang/de-ch.js | 8 + sources/plugins/list/lang/de.js | 8 + sources/plugins/list/lang/el.js | 8 + sources/plugins/list/lang/en-au.js | 8 + sources/plugins/list/lang/en-ca.js | 8 + sources/plugins/list/lang/en-gb.js | 8 + sources/plugins/list/lang/en.js | 8 + sources/plugins/list/lang/eo.js | 8 + sources/plugins/list/lang/es.js | 8 + sources/plugins/list/lang/et.js | 8 + sources/plugins/list/lang/eu.js | 8 + sources/plugins/list/lang/fa.js | 8 + sources/plugins/list/lang/fi.js | 8 + sources/plugins/list/lang/fo.js | 8 + sources/plugins/list/lang/fr-ca.js | 8 + sources/plugins/list/lang/fr.js | 8 + sources/plugins/list/lang/gl.js | 8 + sources/plugins/list/lang/gu.js | 8 + sources/plugins/list/lang/he.js | 8 + sources/plugins/list/lang/hi.js | 8 + sources/plugins/list/lang/hr.js | 8 + sources/plugins/list/lang/hu.js | 8 + sources/plugins/list/lang/id.js | 8 + sources/plugins/list/lang/is.js | 8 + sources/plugins/list/lang/it.js | 8 + sources/plugins/list/lang/ja.js | 8 + sources/plugins/list/lang/ka.js | 8 + sources/plugins/list/lang/km.js | 8 + sources/plugins/list/lang/ko.js | 8 + sources/plugins/list/lang/ku.js | 8 + sources/plugins/list/lang/lt.js | 8 + sources/plugins/list/lang/lv.js | 8 + sources/plugins/list/lang/mk.js | 8 + sources/plugins/list/lang/mn.js | 8 + sources/plugins/list/lang/ms.js | 8 + sources/plugins/list/lang/nb.js | 8 + sources/plugins/list/lang/nl.js | 8 + sources/plugins/list/lang/no.js | 8 + sources/plugins/list/lang/oc.js | 8 + sources/plugins/list/lang/pl.js | 8 + sources/plugins/list/lang/pt-br.js | 8 + sources/plugins/list/lang/pt.js | 8 + sources/plugins/list/lang/ro.js | 8 + sources/plugins/list/lang/ru.js | 8 + sources/plugins/list/lang/si.js | 8 + sources/plugins/list/lang/sk.js | 8 + sources/plugins/list/lang/sl.js | 8 + sources/plugins/list/lang/sq.js | 8 + sources/plugins/list/lang/sr-latn.js | 8 + sources/plugins/list/lang/sr.js | 8 + sources/plugins/list/lang/sv.js | 8 + sources/plugins/list/lang/th.js | 8 + sources/plugins/list/lang/tr.js | 8 + sources/plugins/list/lang/tt.js | 8 + sources/plugins/list/lang/ug.js | 8 + sources/plugins/list/lang/uk.js | 8 + sources/plugins/list/lang/vi.js | 8 + sources/plugins/list/lang/zh-cn.js | 8 + sources/plugins/list/lang/zh.js | 8 + sources/plugins/list/plugin.js | 1111 +++ sources/plugins/listblock/plugin.js | 241 + .../plugins/liststyle/dialogs/liststyle.js | 189 + sources/plugins/liststyle/lang/af.js | 25 + sources/plugins/liststyle/lang/ar.js | 25 + sources/plugins/liststyle/lang/az.js | 25 + sources/plugins/liststyle/lang/bg.js | 25 + sources/plugins/liststyle/lang/bn.js | 25 + sources/plugins/liststyle/lang/bs.js | 25 + sources/plugins/liststyle/lang/ca.js | 25 + sources/plugins/liststyle/lang/cs.js | 25 + sources/plugins/liststyle/lang/cy.js | 25 + sources/plugins/liststyle/lang/da.js | 25 + sources/plugins/liststyle/lang/de-ch.js | 25 + sources/plugins/liststyle/lang/de.js | 25 + sources/plugins/liststyle/lang/el.js | 25 + sources/plugins/liststyle/lang/en-au.js | 25 + sources/plugins/liststyle/lang/en-ca.js | 25 + sources/plugins/liststyle/lang/en-gb.js | 25 + sources/plugins/liststyle/lang/en.js | 25 + sources/plugins/liststyle/lang/eo.js | 25 + sources/plugins/liststyle/lang/es.js | 25 + sources/plugins/liststyle/lang/et.js | 25 + sources/plugins/liststyle/lang/eu.js | 25 + sources/plugins/liststyle/lang/fa.js | 25 + sources/plugins/liststyle/lang/fi.js | 25 + sources/plugins/liststyle/lang/fo.js | 25 + sources/plugins/liststyle/lang/fr-ca.js | 25 + sources/plugins/liststyle/lang/fr.js | 25 + sources/plugins/liststyle/lang/gl.js | 25 + sources/plugins/liststyle/lang/gu.js | 25 + sources/plugins/liststyle/lang/he.js | 25 + sources/plugins/liststyle/lang/hi.js | 25 + sources/plugins/liststyle/lang/hr.js | 25 + sources/plugins/liststyle/lang/hu.js | 25 + sources/plugins/liststyle/lang/id.js | 25 + sources/plugins/liststyle/lang/is.js | 25 + sources/plugins/liststyle/lang/it.js | 25 + sources/plugins/liststyle/lang/ja.js | 25 + sources/plugins/liststyle/lang/ka.js | 25 + sources/plugins/liststyle/lang/km.js | 25 + sources/plugins/liststyle/lang/ko.js | 25 + sources/plugins/liststyle/lang/ku.js | 25 + sources/plugins/liststyle/lang/lt.js | 25 + sources/plugins/liststyle/lang/lv.js | 25 + sources/plugins/liststyle/lang/mk.js | 25 + sources/plugins/liststyle/lang/mn.js | 25 + sources/plugins/liststyle/lang/ms.js | 25 + sources/plugins/liststyle/lang/nb.js | 25 + sources/plugins/liststyle/lang/nl.js | 25 + sources/plugins/liststyle/lang/no.js | 25 + sources/plugins/liststyle/lang/oc.js | 25 + sources/plugins/liststyle/lang/pl.js | 25 + sources/plugins/liststyle/lang/pt-br.js | 25 + sources/plugins/liststyle/lang/pt.js | 25 + sources/plugins/liststyle/lang/ro.js | 25 + sources/plugins/liststyle/lang/ru.js | 25 + sources/plugins/liststyle/lang/si.js | 25 + sources/plugins/liststyle/lang/sk.js | 25 + sources/plugins/liststyle/lang/sl.js | 25 + sources/plugins/liststyle/lang/sq.js | 25 + sources/plugins/liststyle/lang/sr-latn.js | 25 + sources/plugins/liststyle/lang/sr.js | 25 + sources/plugins/liststyle/lang/sv.js | 25 + sources/plugins/liststyle/lang/th.js | 25 + sources/plugins/liststyle/lang/tr.js | 25 + sources/plugins/liststyle/lang/tt.js | 25 + sources/plugins/liststyle/lang/ug.js | 25 + sources/plugins/liststyle/lang/uk.js | 25 + sources/plugins/liststyle/lang/vi.js | 25 + sources/plugins/liststyle/lang/zh-cn.js | 25 + sources/plugins/liststyle/lang/zh.js | 25 + sources/plugins/liststyle/plugin.js | 75 + sources/plugins/magicline/dev/magicline.html | 594 ++ .../magicline/images/hidpi/icon-rtl.png | Bin 0 -> 176 bytes .../plugins/magicline/images/hidpi/icon.png | Bin 0 -> 199 bytes sources/plugins/magicline/images/icon-rtl.png | Bin 0 -> 138 bytes sources/plugins/magicline/images/icon.png | Bin 0 -> 133 bytes sources/plugins/magicline/lang/af.js | 8 + sources/plugins/magicline/lang/ar.js | 8 + sources/plugins/magicline/lang/az.js | 8 + sources/plugins/magicline/lang/bg.js | 8 + sources/plugins/magicline/lang/ca.js | 8 + sources/plugins/magicline/lang/cs.js | 8 + sources/plugins/magicline/lang/cy.js | 8 + sources/plugins/magicline/lang/da.js | 8 + sources/plugins/magicline/lang/de-ch.js | 8 + sources/plugins/magicline/lang/de.js | 8 + sources/plugins/magicline/lang/el.js | 8 + sources/plugins/magicline/lang/en-gb.js | 8 + sources/plugins/magicline/lang/en.js | 8 + sources/plugins/magicline/lang/eo.js | 8 + sources/plugins/magicline/lang/es.js | 8 + sources/plugins/magicline/lang/et.js | 8 + sources/plugins/magicline/lang/eu.js | 8 + sources/plugins/magicline/lang/fa.js | 8 + sources/plugins/magicline/lang/fi.js | 8 + sources/plugins/magicline/lang/fr-ca.js | 8 + sources/plugins/magicline/lang/fr.js | 8 + sources/plugins/magicline/lang/gl.js | 8 + sources/plugins/magicline/lang/he.js | 8 + sources/plugins/magicline/lang/hr.js | 8 + sources/plugins/magicline/lang/hu.js | 8 + sources/plugins/magicline/lang/id.js | 8 + sources/plugins/magicline/lang/it.js | 8 + sources/plugins/magicline/lang/ja.js | 8 + sources/plugins/magicline/lang/km.js | 8 + sources/plugins/magicline/lang/ko.js | 8 + sources/plugins/magicline/lang/ku.js | 8 + sources/plugins/magicline/lang/lv.js | 8 + sources/plugins/magicline/lang/nb.js | 8 + sources/plugins/magicline/lang/nl.js | 8 + sources/plugins/magicline/lang/no.js | 8 + sources/plugins/magicline/lang/oc.js | 8 + sources/plugins/magicline/lang/pl.js | 8 + sources/plugins/magicline/lang/pt-br.js | 8 + sources/plugins/magicline/lang/pt.js | 8 + sources/plugins/magicline/lang/ru.js | 8 + sources/plugins/magicline/lang/si.js | 8 + sources/plugins/magicline/lang/sk.js | 8 + sources/plugins/magicline/lang/sl.js | 8 + sources/plugins/magicline/lang/sq.js | 8 + sources/plugins/magicline/lang/sv.js | 8 + sources/plugins/magicline/lang/tr.js | 8 + sources/plugins/magicline/lang/tt.js | 8 + sources/plugins/magicline/lang/ug.js | 8 + sources/plugins/magicline/lang/uk.js | 8 + sources/plugins/magicline/lang/vi.js | 8 + sources/plugins/magicline/lang/zh-cn.js | 8 + sources/plugins/magicline/lang/zh.js | 8 + sources/plugins/magicline/plugin.js | 1874 ++++ .../plugins/magicline/samples/magicline.html | 209 + .../plugins/maximize/icons/hidpi/maximize.png | Bin 0 -> 1112 bytes sources/plugins/maximize/icons/maximize.png | Bin 0 -> 461 bytes sources/plugins/maximize/lang/af.js | 8 + sources/plugins/maximize/lang/ar.js | 8 + sources/plugins/maximize/lang/az.js | 8 + sources/plugins/maximize/lang/bg.js | 8 + sources/plugins/maximize/lang/bn.js | 8 + sources/plugins/maximize/lang/bs.js | 8 + sources/plugins/maximize/lang/ca.js | 8 + sources/plugins/maximize/lang/cs.js | 8 + sources/plugins/maximize/lang/cy.js | 8 + sources/plugins/maximize/lang/da.js | 8 + sources/plugins/maximize/lang/de-ch.js | 8 + sources/plugins/maximize/lang/de.js | 8 + sources/plugins/maximize/lang/el.js | 8 + sources/plugins/maximize/lang/en-au.js | 8 + sources/plugins/maximize/lang/en-ca.js | 8 + sources/plugins/maximize/lang/en-gb.js | 8 + sources/plugins/maximize/lang/en.js | 8 + sources/plugins/maximize/lang/eo.js | 8 + sources/plugins/maximize/lang/es.js | 8 + sources/plugins/maximize/lang/et.js | 8 + sources/plugins/maximize/lang/eu.js | 8 + sources/plugins/maximize/lang/fa.js | 8 + sources/plugins/maximize/lang/fi.js | 8 + sources/plugins/maximize/lang/fo.js | 8 + sources/plugins/maximize/lang/fr-ca.js | 8 + sources/plugins/maximize/lang/fr.js | 8 + sources/plugins/maximize/lang/gl.js | 8 + sources/plugins/maximize/lang/gu.js | 8 + sources/plugins/maximize/lang/he.js | 8 + sources/plugins/maximize/lang/hi.js | 8 + sources/plugins/maximize/lang/hr.js | 8 + sources/plugins/maximize/lang/hu.js | 8 + sources/plugins/maximize/lang/id.js | 8 + sources/plugins/maximize/lang/is.js | 8 + sources/plugins/maximize/lang/it.js | 8 + sources/plugins/maximize/lang/ja.js | 8 + sources/plugins/maximize/lang/ka.js | 8 + sources/plugins/maximize/lang/km.js | 8 + sources/plugins/maximize/lang/ko.js | 8 + sources/plugins/maximize/lang/ku.js | 8 + sources/plugins/maximize/lang/lt.js | 8 + sources/plugins/maximize/lang/lv.js | 8 + sources/plugins/maximize/lang/mk.js | 8 + sources/plugins/maximize/lang/mn.js | 8 + sources/plugins/maximize/lang/ms.js | 8 + sources/plugins/maximize/lang/nb.js | 8 + sources/plugins/maximize/lang/nl.js | 8 + sources/plugins/maximize/lang/no.js | 8 + sources/plugins/maximize/lang/oc.js | 8 + sources/plugins/maximize/lang/pl.js | 8 + sources/plugins/maximize/lang/pt-br.js | 8 + sources/plugins/maximize/lang/pt.js | 8 + sources/plugins/maximize/lang/ro.js | 8 + sources/plugins/maximize/lang/ru.js | 8 + sources/plugins/maximize/lang/si.js | 8 + sources/plugins/maximize/lang/sk.js | 8 + sources/plugins/maximize/lang/sl.js | 8 + sources/plugins/maximize/lang/sq.js | 8 + sources/plugins/maximize/lang/sr-latn.js | 8 + sources/plugins/maximize/lang/sr.js | 8 + sources/plugins/maximize/lang/sv.js | 8 + sources/plugins/maximize/lang/th.js | 8 + sources/plugins/maximize/lang/tr.js | 8 + sources/plugins/maximize/lang/tt.js | 8 + sources/plugins/maximize/lang/ug.js | 8 + sources/plugins/maximize/lang/uk.js | 8 + sources/plugins/maximize/lang/vi.js | 8 + sources/plugins/maximize/lang/zh-cn.js | 8 + sources/plugins/maximize/lang/zh.js | 8 + sources/plugins/maximize/plugin.js | 314 + sources/plugins/menu/plugin.js | 572 ++ sources/plugins/oembed/LICENSE.md | 21 + sources/plugins/oembed/README.md | 201 + sources/plugins/oembed/icons/hidpi/oembed.png | Bin 0 -> 1849 bytes sources/plugins/oembed/icons/oembed.png | Bin 0 -> 3143 bytes sources/plugins/oembed/lang/de.js | 23 + sources/plugins/oembed/lang/en.js | 23 + sources/plugins/oembed/lang/fr.js | 25 + sources/plugins/oembed/lang/nl.js | 23 + sources/plugins/oembed/lang/pl.js | 23 + sources/plugins/oembed/lang/pt-br.js | 23 + sources/plugins/oembed/lang/ru.js | 23 + sources/plugins/oembed/lang/tr.js | 23 + .../plugins/oembed/libs/jquery.oembed.min.js | 1 + sources/plugins/oembed/plugin.js | 446 + sources/plugins/panel/plugin.js | 403 + sources/plugins/popup/plugin.js | 65 + .../removeformat/icons/hidpi/removeformat.png | Bin 0 -> 1219 bytes .../removeformat/icons/removeformat.png | Bin 0 -> 637 bytes sources/plugins/removeformat/lang/af.js | 7 + sources/plugins/removeformat/lang/ar.js | 7 + sources/plugins/removeformat/lang/az.js | 7 + sources/plugins/removeformat/lang/bg.js | 7 + sources/plugins/removeformat/lang/bn.js | 7 + sources/plugins/removeformat/lang/bs.js | 7 + sources/plugins/removeformat/lang/ca.js | 7 + sources/plugins/removeformat/lang/cs.js | 7 + sources/plugins/removeformat/lang/cy.js | 7 + sources/plugins/removeformat/lang/da.js | 7 + sources/plugins/removeformat/lang/de-ch.js | 7 + sources/plugins/removeformat/lang/de.js | 7 + sources/plugins/removeformat/lang/el.js | 7 + sources/plugins/removeformat/lang/en-au.js | 7 + sources/plugins/removeformat/lang/en-ca.js | 7 + sources/plugins/removeformat/lang/en-gb.js | 7 + sources/plugins/removeformat/lang/en.js | 7 + sources/plugins/removeformat/lang/eo.js | 7 + sources/plugins/removeformat/lang/es.js | 7 + sources/plugins/removeformat/lang/et.js | 7 + sources/plugins/removeformat/lang/eu.js | 7 + sources/plugins/removeformat/lang/fa.js | 7 + sources/plugins/removeformat/lang/fi.js | 7 + sources/plugins/removeformat/lang/fo.js | 7 + sources/plugins/removeformat/lang/fr-ca.js | 7 + sources/plugins/removeformat/lang/fr.js | 7 + sources/plugins/removeformat/lang/gl.js | 7 + sources/plugins/removeformat/lang/gu.js | 7 + sources/plugins/removeformat/lang/he.js | 7 + sources/plugins/removeformat/lang/hi.js | 7 + sources/plugins/removeformat/lang/hr.js | 7 + sources/plugins/removeformat/lang/hu.js | 7 + sources/plugins/removeformat/lang/id.js | 7 + sources/plugins/removeformat/lang/is.js | 7 + sources/plugins/removeformat/lang/it.js | 7 + sources/plugins/removeformat/lang/ja.js | 7 + sources/plugins/removeformat/lang/ka.js | 7 + sources/plugins/removeformat/lang/km.js | 7 + sources/plugins/removeformat/lang/ko.js | 7 + sources/plugins/removeformat/lang/ku.js | 7 + sources/plugins/removeformat/lang/lt.js | 7 + sources/plugins/removeformat/lang/lv.js | 7 + sources/plugins/removeformat/lang/mk.js | 7 + sources/plugins/removeformat/lang/mn.js | 7 + sources/plugins/removeformat/lang/ms.js | 7 + sources/plugins/removeformat/lang/nb.js | 7 + sources/plugins/removeformat/lang/nl.js | 7 + sources/plugins/removeformat/lang/no.js | 7 + sources/plugins/removeformat/lang/oc.js | 7 + sources/plugins/removeformat/lang/pl.js | 7 + sources/plugins/removeformat/lang/pt-br.js | 7 + sources/plugins/removeformat/lang/pt.js | 7 + sources/plugins/removeformat/lang/ro.js | 7 + sources/plugins/removeformat/lang/ru.js | 7 + sources/plugins/removeformat/lang/si.js | 7 + sources/plugins/removeformat/lang/sk.js | 7 + sources/plugins/removeformat/lang/sl.js | 7 + sources/plugins/removeformat/lang/sq.js | 7 + sources/plugins/removeformat/lang/sr-latn.js | 7 + sources/plugins/removeformat/lang/sr.js | 7 + sources/plugins/removeformat/lang/sv.js | 7 + sources/plugins/removeformat/lang/th.js | 7 + sources/plugins/removeformat/lang/tr.js | 7 + sources/plugins/removeformat/lang/tt.js | 7 + sources/plugins/removeformat/lang/ug.js | 7 + sources/plugins/removeformat/lang/uk.js | 7 + sources/plugins/removeformat/lang/vi.js | 7 + sources/plugins/removeformat/lang/zh-cn.js | 7 + sources/plugins/removeformat/lang/zh.js | 7 + sources/plugins/removeformat/plugin.js | 193 + sources/plugins/resize/plugin.js | 187 + sources/plugins/richcombo/plugin.js | 434 + sources/plugins/showborders/plugin.js | 174 + .../sourcearea/icons/hidpi/source-rtl.png | Bin 0 -> 1018 bytes .../plugins/sourcearea/icons/hidpi/source.png | Bin 0 -> 1041 bytes .../plugins/sourcearea/icons/source-rtl.png | Bin 0 -> 565 bytes sources/plugins/sourcearea/icons/source.png | Bin 0 -> 571 bytes sources/plugins/sourcearea/lang/af.js | 7 + sources/plugins/sourcearea/lang/ar.js | 7 + sources/plugins/sourcearea/lang/az.js | 7 + sources/plugins/sourcearea/lang/bg.js | 7 + sources/plugins/sourcearea/lang/bn.js | 7 + sources/plugins/sourcearea/lang/bs.js | 7 + sources/plugins/sourcearea/lang/ca.js | 7 + sources/plugins/sourcearea/lang/cs.js | 7 + sources/plugins/sourcearea/lang/cy.js | 7 + sources/plugins/sourcearea/lang/da.js | 7 + sources/plugins/sourcearea/lang/de-ch.js | 7 + sources/plugins/sourcearea/lang/de.js | 7 + sources/plugins/sourcearea/lang/el.js | 7 + sources/plugins/sourcearea/lang/en-au.js | 7 + sources/plugins/sourcearea/lang/en-ca.js | 7 + sources/plugins/sourcearea/lang/en-gb.js | 7 + sources/plugins/sourcearea/lang/en.js | 7 + sources/plugins/sourcearea/lang/eo.js | 7 + sources/plugins/sourcearea/lang/es.js | 7 + sources/plugins/sourcearea/lang/et.js | 7 + sources/plugins/sourcearea/lang/eu.js | 7 + sources/plugins/sourcearea/lang/fa.js | 7 + sources/plugins/sourcearea/lang/fi.js | 7 + sources/plugins/sourcearea/lang/fo.js | 7 + sources/plugins/sourcearea/lang/fr-ca.js | 7 + sources/plugins/sourcearea/lang/fr.js | 7 + sources/plugins/sourcearea/lang/gl.js | 7 + sources/plugins/sourcearea/lang/gu.js | 7 + sources/plugins/sourcearea/lang/he.js | 7 + sources/plugins/sourcearea/lang/hi.js | 7 + sources/plugins/sourcearea/lang/hr.js | 7 + sources/plugins/sourcearea/lang/hu.js | 7 + sources/plugins/sourcearea/lang/id.js | 7 + sources/plugins/sourcearea/lang/is.js | 7 + sources/plugins/sourcearea/lang/it.js | 7 + sources/plugins/sourcearea/lang/ja.js | 7 + sources/plugins/sourcearea/lang/ka.js | 7 + sources/plugins/sourcearea/lang/km.js | 7 + sources/plugins/sourcearea/lang/ko.js | 7 + sources/plugins/sourcearea/lang/ku.js | 7 + sources/plugins/sourcearea/lang/lt.js | 7 + sources/plugins/sourcearea/lang/lv.js | 7 + sources/plugins/sourcearea/lang/mk.js | 7 + sources/plugins/sourcearea/lang/mn.js | 7 + sources/plugins/sourcearea/lang/ms.js | 7 + sources/plugins/sourcearea/lang/nb.js | 7 + sources/plugins/sourcearea/lang/nl.js | 7 + sources/plugins/sourcearea/lang/no.js | 7 + sources/plugins/sourcearea/lang/oc.js | 7 + sources/plugins/sourcearea/lang/pl.js | 7 + sources/plugins/sourcearea/lang/pt-br.js | 7 + sources/plugins/sourcearea/lang/pt.js | 7 + sources/plugins/sourcearea/lang/ro.js | 7 + sources/plugins/sourcearea/lang/ru.js | 7 + sources/plugins/sourcearea/lang/si.js | 7 + sources/plugins/sourcearea/lang/sk.js | 7 + sources/plugins/sourcearea/lang/sl.js | 7 + sources/plugins/sourcearea/lang/sq.js | 7 + sources/plugins/sourcearea/lang/sr-latn.js | 7 + sources/plugins/sourcearea/lang/sr.js | 7 + sources/plugins/sourcearea/lang/sv.js | 7 + sources/plugins/sourcearea/lang/th.js | 7 + sources/plugins/sourcearea/lang/tr.js | 7 + sources/plugins/sourcearea/lang/tt.js | 7 + sources/plugins/sourcearea/lang/ug.js | 7 + sources/plugins/sourcearea/lang/uk.js | 7 + sources/plugins/sourcearea/lang/vi.js | 7 + sources/plugins/sourcearea/lang/zh-cn.js | 7 + sources/plugins/sourcearea/lang/zh.js | 7 + sources/plugins/sourcearea/plugin.js | 168 + sources/plugins/tab/plugin.js | 302 + sources/plugins/toolbar/lang/af.js | 22 + sources/plugins/toolbar/lang/ar.js | 22 + sources/plugins/toolbar/lang/az.js | 22 + sources/plugins/toolbar/lang/bg.js | 22 + sources/plugins/toolbar/lang/bn.js | 22 + sources/plugins/toolbar/lang/bs.js | 22 + sources/plugins/toolbar/lang/ca.js | 22 + sources/plugins/toolbar/lang/cs.js | 22 + sources/plugins/toolbar/lang/cy.js | 22 + sources/plugins/toolbar/lang/da.js | 22 + sources/plugins/toolbar/lang/de-ch.js | 22 + sources/plugins/toolbar/lang/de.js | 22 + sources/plugins/toolbar/lang/el.js | 22 + sources/plugins/toolbar/lang/en-au.js | 22 + sources/plugins/toolbar/lang/en-ca.js | 22 + sources/plugins/toolbar/lang/en-gb.js | 22 + sources/plugins/toolbar/lang/en.js | 22 + sources/plugins/toolbar/lang/eo.js | 22 + sources/plugins/toolbar/lang/es.js | 22 + sources/plugins/toolbar/lang/et.js | 22 + sources/plugins/toolbar/lang/eu.js | 22 + sources/plugins/toolbar/lang/fa.js | 22 + sources/plugins/toolbar/lang/fi.js | 22 + sources/plugins/toolbar/lang/fo.js | 22 + sources/plugins/toolbar/lang/fr-ca.js | 22 + sources/plugins/toolbar/lang/fr.js | 22 + sources/plugins/toolbar/lang/gl.js | 22 + sources/plugins/toolbar/lang/gu.js | 22 + sources/plugins/toolbar/lang/he.js | 22 + sources/plugins/toolbar/lang/hi.js | 22 + sources/plugins/toolbar/lang/hr.js | 22 + sources/plugins/toolbar/lang/hu.js | 22 + sources/plugins/toolbar/lang/id.js | 22 + sources/plugins/toolbar/lang/is.js | 22 + sources/plugins/toolbar/lang/it.js | 22 + sources/plugins/toolbar/lang/ja.js | 22 + sources/plugins/toolbar/lang/ka.js | 22 + sources/plugins/toolbar/lang/km.js | 22 + sources/plugins/toolbar/lang/ko.js | 22 + sources/plugins/toolbar/lang/ku.js | 22 + sources/plugins/toolbar/lang/lt.js | 22 + sources/plugins/toolbar/lang/lv.js | 22 + sources/plugins/toolbar/lang/mk.js | 22 + sources/plugins/toolbar/lang/mn.js | 22 + sources/plugins/toolbar/lang/ms.js | 22 + sources/plugins/toolbar/lang/nb.js | 22 + sources/plugins/toolbar/lang/nl.js | 22 + sources/plugins/toolbar/lang/no.js | 22 + sources/plugins/toolbar/lang/oc.js | 22 + sources/plugins/toolbar/lang/pl.js | 22 + sources/plugins/toolbar/lang/pt-br.js | 22 + sources/plugins/toolbar/lang/pt.js | 22 + sources/plugins/toolbar/lang/ro.js | 22 + sources/plugins/toolbar/lang/ru.js | 22 + sources/plugins/toolbar/lang/si.js | 22 + sources/plugins/toolbar/lang/sk.js | 22 + sources/plugins/toolbar/lang/sl.js | 22 + sources/plugins/toolbar/lang/sq.js | 22 + sources/plugins/toolbar/lang/sr-latn.js | 22 + sources/plugins/toolbar/lang/sr.js | 22 + sources/plugins/toolbar/lang/sv.js | 22 + sources/plugins/toolbar/lang/th.js | 22 + sources/plugins/toolbar/lang/tr.js | 22 + sources/plugins/toolbar/lang/tt.js | 22 + sources/plugins/toolbar/lang/ug.js | 22 + sources/plugins/toolbar/lang/uk.js | 22 + sources/plugins/toolbar/lang/vi.js | 22 + sources/plugins/toolbar/lang/zh-cn.js | 22 + sources/plugins/toolbar/lang/zh.js | 22 + sources/plugins/toolbar/plugin.js | 806 ++ sources/plugins/toolbar/samples/toolbar.html | 235 + .../plugins/widget/dev/assets/contents.css | 23 + sources/plugins/widget/dev/assets/sample.jpg | Bin 0 -> 17932 bytes .../widget/dev/assets/simplebox/contents.css | 36 + .../dev/assets/simplebox/dialogs/simplebox.js | 51 + .../dev/assets/simplebox/icons/simplebox.png | Bin 0 -> 286 bytes .../widget/dev/assets/simplebox/plugin.js | 114 + sources/plugins/widget/dev/console.js | 131 + sources/plugins/widget/dev/nestedwidgets.html | 134 + sources/plugins/widget/dev/widgetstyles.html | 144 + sources/plugins/widget/images/handle.png | Bin 0 -> 220 bytes sources/plugins/widget/lang/af.js | 8 + sources/plugins/widget/lang/ar.js | 8 + sources/plugins/widget/lang/az.js | 8 + sources/plugins/widget/lang/bg.js | 8 + sources/plugins/widget/lang/ca.js | 8 + sources/plugins/widget/lang/cs.js | 8 + sources/plugins/widget/lang/cy.js | 8 + sources/plugins/widget/lang/da.js | 8 + sources/plugins/widget/lang/de-ch.js | 8 + sources/plugins/widget/lang/de.js | 8 + sources/plugins/widget/lang/el.js | 8 + sources/plugins/widget/lang/en-gb.js | 8 + sources/plugins/widget/lang/en.js | 8 + sources/plugins/widget/lang/eo.js | 8 + sources/plugins/widget/lang/es.js | 8 + sources/plugins/widget/lang/eu.js | 8 + sources/plugins/widget/lang/fa.js | 8 + sources/plugins/widget/lang/fi.js | 8 + sources/plugins/widget/lang/fr.js | 8 + sources/plugins/widget/lang/gl.js | 8 + sources/plugins/widget/lang/he.js | 8 + sources/plugins/widget/lang/hr.js | 8 + sources/plugins/widget/lang/hu.js | 8 + sources/plugins/widget/lang/id.js | 8 + sources/plugins/widget/lang/it.js | 8 + sources/plugins/widget/lang/ja.js | 8 + sources/plugins/widget/lang/km.js | 8 + sources/plugins/widget/lang/ko.js | 8 + sources/plugins/widget/lang/ku.js | 8 + sources/plugins/widget/lang/lv.js | 8 + sources/plugins/widget/lang/nb.js | 8 + sources/plugins/widget/lang/nl.js | 8 + sources/plugins/widget/lang/no.js | 8 + sources/plugins/widget/lang/oc.js | 8 + sources/plugins/widget/lang/pl.js | 8 + sources/plugins/widget/lang/pt-br.js | 8 + sources/plugins/widget/lang/pt.js | 8 + sources/plugins/widget/lang/ru.js | 8 + sources/plugins/widget/lang/sk.js | 8 + sources/plugins/widget/lang/sl.js | 8 + sources/plugins/widget/lang/sq.js | 8 + sources/plugins/widget/lang/sv.js | 8 + sources/plugins/widget/lang/tr.js | 8 + sources/plugins/widget/lang/tt.js | 8 + sources/plugins/widget/lang/ug.js | 8 + sources/plugins/widget/lang/uk.js | 8 + sources/plugins/widget/lang/vi.js | 8 + sources/plugins/widget/lang/zh-cn.js | 8 + sources/plugins/widget/lang/zh.js | 8 + sources/plugins/widget/plugin.js | 4126 ++++++++ sources/plugins/widgetselection/plugin.js | 366 + sources/plugins/wysiwygarea/plugin.js | 713 ++ .../plugins/wysiwygarea/samples/fullpage.html | 80 + sources/samples/css/samples.css | 1632 +++ sources/samples/img/github-top.png | Bin 0 -> 383 bytes sources/samples/img/header-bg.png | Bin 0 -> 13086 bytes sources/samples/img/header-separator.png | Bin 0 -> 123 bytes sources/samples/img/logo.png | Bin 0 -> 5891 bytes sources/samples/img/navigation-tip.png | Bin 0 -> 12029 bytes sources/samples/index.html | 128 + sources/samples/js/sample.js | 54 + sources/samples/js/sf.js | 673 ++ sources/samples/old/ajax.html | 85 + sources/samples/old/api.html | 210 + sources/samples/old/appendto.html | 59 + sources/samples/old/assets/inlineall/logo.png | Bin 0 -> 4283 bytes .../old/assets/outputxhtml/outputxhtml.css | 204 + sources/samples/old/assets/posteddata.php | 59 + sources/samples/old/assets/sample.jpg | Bin 0 -> 14449 bytes .../old/assets/uilanguages/languages.js | 92 + sources/samples/old/datafiltering.html | 508 + sources/samples/old/divreplace.html | 144 + sources/samples/old/index.html | 111 + sources/samples/old/inlineall.html | 314 + sources/samples/old/inlinebycode.html | 124 + sources/samples/old/inlinetextarea.html | 113 + sources/samples/old/jquery.html | 103 + sources/samples/old/readonly.html | 76 + sources/samples/old/replacebyclass.html | 60 + sources/samples/old/replacebycode.html | 59 + sources/samples/old/sample.css | 357 + sources/samples/old/sample.js | 51 + sources/samples/old/sample_posteddata.php | 16 + sources/samples/old/tabindex.html | 78 + sources/samples/old/uicolor.html | 72 + sources/samples/old/uilanguages.html | 122 + sources/samples/old/xhtmlstyle.html | 234 + sources/samples/toolbarconfigurator/bender.js | 52 + .../toolbarconfigurator/css/fontello.css | 55 + .../toolbarconfigurator/font/LICENSE.txt | 12 + .../toolbarconfigurator/font/config.json | 28 + .../toolbarconfigurator/font/fontello.eot | Bin 0 -> 4988 bytes .../toolbarconfigurator/font/fontello.svg | 14 + .../toolbarconfigurator/font/fontello.ttf | Bin 0 -> 4820 bytes .../toolbarconfigurator/font/fontello.woff | Bin 0 -> 2904 bytes .../samples/toolbarconfigurator/index.html | 446 + .../js/abstracttoolbarmodifier.js | 566 ++ .../js/fulltoolbareditor.js | 365 + .../toolbarconfigurator/js/toolbarmodifier.js | 1366 +++ .../js/toolbartextmodifier.js | 623 ++ .../toolbarconfigurator/less/base.less | 38 + .../less/toolbarmodifier.less | 508 + .../lib/codemirror/LICENSE | 19 + .../lib/codemirror/README.md | 12 + .../lib/codemirror/codemirror.css | 325 + .../lib/codemirror/codemirror.js | 8738 +++++++++++++++++ .../lib/codemirror/javascript.js | 701 ++ .../lib/codemirror/neo.css | 36 + .../lib/codemirror/show-hint.css | 38 + .../lib/codemirror/show-hint.js | 392 + .../samples/toolbarconfigurator/package.json | 12 + .../samples/toolbarconfigurator/tests/one.js | 9 + sources/skins/moono/colorpanel.css | 127 + sources/skins/moono/dev/icons16.png | Bin 0 -> 29947 bytes sources/skins/moono/dev/icons16.svg | 2374 +++++ sources/skins/moono/dev/icons32.png | Bin 0 -> 75488 bytes sources/skins/moono/dev/icons32.svg | 2722 +++++ sources/skins/moono/dev/locations.json | 145 + sources/skins/moono/dialog.css | 1060 ++ sources/skins/moono/dialog_ie.css | 62 + sources/skins/moono/dialog_ie7.css | 68 + sources/skins/moono/dialog_ie8.css | 24 + sources/skins/moono/dialog_iequirks.css | 21 + sources/skins/moono/editor.css | 69 + sources/skins/moono/editor_gecko.css | 25 + sources/skins/moono/editor_ie.css | 71 + sources/skins/moono/editor_ie7.css | 213 + sources/skins/moono/editor_ie8.css | 27 + sources/skins/moono/editor_iequirks.css | 79 + sources/skins/moono/elementspath.css | 76 + sources/skins/moono/icons/about.png | Bin 0 -> 1101 bytes sources/skins/moono/icons/anchor-rtl.png | Bin 0 -> 893 bytes sources/skins/moono/icons/anchor.png | Bin 0 -> 913 bytes sources/skins/moono/icons/bgcolor.png | Bin 0 -> 1005 bytes sources/skins/moono/icons/bidiltr.png | Bin 0 -> 954 bytes sources/skins/moono/icons/bidirtl.png | Bin 0 -> 986 bytes sources/skins/moono/icons/blockquote.png | Bin 0 -> 1126 bytes sources/skins/moono/icons/bold.png | Bin 0 -> 985 bytes .../skins/moono/icons/bulletedlist-rtl.png | Bin 0 -> 814 bytes sources/skins/moono/icons/bulletedlist.png | Bin 0 -> 811 bytes sources/skins/moono/icons/button.png | Bin 0 -> 637 bytes sources/skins/moono/icons/checkbox.png | Bin 0 -> 1005 bytes sources/skins/moono/icons/codesnippet.png | Bin 0 -> 827 bytes sources/skins/moono/icons/copy-rtl.png | Bin 0 -> 1011 bytes sources/skins/moono/icons/copy.png | Bin 0 -> 1011 bytes sources/skins/moono/icons/copyformatting.png | Bin 0 -> 1293 bytes sources/skins/moono/icons/creatediv.png | Bin 0 -> 1128 bytes sources/skins/moono/icons/cut-rtl.png | Bin 0 -> 1177 bytes sources/skins/moono/icons/cut.png | Bin 0 -> 1177 bytes sources/skins/moono/icons/docprops-rtl.png | Bin 0 -> 1093 bytes sources/skins/moono/icons/docprops.png | Bin 0 -> 1078 bytes sources/skins/moono/icons/find-rtl.png | Bin 0 -> 1132 bytes sources/skins/moono/icons/find.png | Bin 0 -> 1132 bytes sources/skins/moono/icons/flash.png | Bin 0 -> 1162 bytes sources/skins/moono/icons/form.png | Bin 0 -> 819 bytes sources/skins/moono/icons/hiddenfield.png | Bin 0 -> 1092 bytes sources/skins/moono/icons/hidpi/.DS_Store | Bin 0 -> 12292 bytes sources/skins/moono/icons/hidpi/about.png | Bin 0 -> 2197 bytes .../skins/moono/icons/hidpi/anchor-rtl.png | Bin 0 -> 1474 bytes sources/skins/moono/icons/hidpi/anchor.png | Bin 0 -> 1527 bytes sources/skins/moono/icons/hidpi/bgcolor.png | Bin 0 -> 2169 bytes sources/skins/moono/icons/hidpi/bidiltr.png | Bin 0 -> 1672 bytes sources/skins/moono/icons/hidpi/bidirtl.png | Bin 0 -> 1702 bytes .../skins/moono/icons/hidpi/blockquote.png | Bin 0 -> 2421 bytes sources/skins/moono/icons/hidpi/bold.png | Bin 0 -> 1987 bytes .../moono/icons/hidpi/bulletedlist-rtl.png | Bin 0 -> 1659 bytes .../skins/moono/icons/hidpi/bulletedlist.png | Bin 0 -> 1639 bytes sources/skins/moono/icons/hidpi/button.png | Bin 0 -> 988 bytes sources/skins/moono/icons/hidpi/checkbox.png | Bin 0 -> 1905 bytes .../skins/moono/icons/hidpi/codesnippet.png | Bin 0 -> 1893 bytes sources/skins/moono/icons/hidpi/copy-rtl.png | Bin 0 -> 1905 bytes sources/skins/moono/icons/hidpi/copy.png | Bin 0 -> 1905 bytes .../moono/icons/hidpi/copyformatting.png | Bin 0 -> 1642 bytes sources/skins/moono/icons/hidpi/creatediv.png | Bin 0 -> 3049 bytes sources/skins/moono/icons/hidpi/cut-rtl.png | Bin 0 -> 2855 bytes sources/skins/moono/icons/hidpi/cut.png | Bin 0 -> 2855 bytes .../skins/moono/icons/hidpi/docprops-rtl.png | Bin 0 -> 2179 bytes sources/skins/moono/icons/hidpi/docprops.png | Bin 0 -> 2228 bytes sources/skins/moono/icons/hidpi/find-rtl.png | Bin 0 -> 2407 bytes sources/skins/moono/icons/hidpi/find.png | Bin 0 -> 2407 bytes sources/skins/moono/icons/hidpi/flash.png | Bin 0 -> 2614 bytes sources/skins/moono/icons/hidpi/form.png | Bin 0 -> 1187 bytes .../skins/moono/icons/hidpi/hiddenfield.png | Bin 0 -> 2346 bytes .../moono/icons/hidpi/horizontalrule.png | Bin 0 -> 894 bytes sources/skins/moono/icons/hidpi/iframe.png | Bin 0 -> 3099 bytes sources/skins/moono/icons/hidpi/image.png | Bin 0 -> 1782 bytes .../skins/moono/icons/hidpi/imagebutton.png | Bin 0 -> 1462 bytes .../skins/moono/icons/hidpi/indent-rtl.png | Bin 0 -> 1988 bytes sources/skins/moono/icons/hidpi/indent.png | Bin 0 -> 2024 bytes sources/skins/moono/icons/hidpi/italic.png | Bin 0 -> 1687 bytes .../skins/moono/icons/hidpi/justifyblock.png | Bin 0 -> 830 bytes .../skins/moono/icons/hidpi/justifycenter.png | Bin 0 -> 1372 bytes .../skins/moono/icons/hidpi/justifyleft.png | Bin 0 -> 1092 bytes .../skins/moono/icons/hidpi/justifyright.png | Bin 0 -> 1094 bytes sources/skins/moono/icons/hidpi/language.png | Bin 0 -> 1874 bytes sources/skins/moono/icons/hidpi/link.png | Bin 0 -> 1627 bytes sources/skins/moono/icons/hidpi/maximize.png | Bin 0 -> 2395 bytes .../skins/moono/icons/hidpi/newpage-rtl.png | Bin 0 -> 1197 bytes sources/skins/moono/icons/hidpi/newpage.png | Bin 0 -> 1285 bytes .../moono/icons/hidpi/numberedlist-rtl.png | Bin 0 -> 1471 bytes .../skins/moono/icons/hidpi/numberedlist.png | Bin 0 -> 1523 bytes .../skins/moono/icons/hidpi/outdent-rtl.png | Bin 0 -> 1976 bytes sources/skins/moono/icons/hidpi/outdent.png | Bin 0 -> 1928 bytes .../skins/moono/icons/hidpi/pagebreak-rtl.png | Bin 0 -> 1379 bytes sources/skins/moono/icons/hidpi/pagebreak.png | Bin 0 -> 1351 bytes sources/skins/moono/icons/hidpi/paste-rtl.png | Bin 0 -> 1956 bytes sources/skins/moono/icons/hidpi/paste.png | Bin 0 -> 1956 bytes .../moono/icons/hidpi/pastefromword-rtl.png | Bin 0 -> 2071 bytes .../skins/moono/icons/hidpi/pastefromword.png | Bin 0 -> 2115 bytes .../skins/moono/icons/hidpi/pastetext-rtl.png | Bin 0 -> 1964 bytes sources/skins/moono/icons/hidpi/pastetext.png | Bin 0 -> 1963 bytes .../skins/moono/icons/hidpi/placeholder.png | Bin 0 -> 1812 bytes .../skins/moono/icons/hidpi/preview-rtl.png | Bin 0 -> 2336 bytes sources/skins/moono/icons/hidpi/preview.png | Bin 0 -> 2409 bytes sources/skins/moono/icons/hidpi/print.png | Bin 0 -> 1758 bytes sources/skins/moono/icons/hidpi/radio.png | Bin 0 -> 2676 bytes sources/skins/moono/icons/hidpi/redo-rtl.png | Bin 0 -> 1868 bytes sources/skins/moono/icons/hidpi/redo.png | Bin 0 -> 1885 bytes .../skins/moono/icons/hidpi/removeformat.png | Bin 0 -> 2358 bytes sources/skins/moono/icons/hidpi/replace.png | Bin 0 -> 2822 bytes sources/skins/moono/icons/hidpi/save.png | Bin 0 -> 1678 bytes sources/skins/moono/icons/hidpi/scayt.png | Bin 0 -> 2854 bytes .../skins/moono/icons/hidpi/select-rtl.png | Bin 0 -> 1601 bytes sources/skins/moono/icons/hidpi/select.png | Bin 0 -> 1608 bytes sources/skins/moono/icons/hidpi/selectall.png | Bin 0 -> 1149 bytes .../moono/icons/hidpi/showblocks-rtl.png | Bin 0 -> 2084 bytes .../skins/moono/icons/hidpi/showblocks.png | Bin 0 -> 2030 bytes sources/skins/moono/icons/hidpi/smiley.png | Bin 0 -> 3096 bytes .../skins/moono/icons/hidpi/source-rtl.png | Bin 0 -> 1955 bytes sources/skins/moono/icons/hidpi/source.png | Bin 0 -> 2035 bytes .../moono/icons/hidpi/sourcedialog-rtl.png | Bin 0 -> 1955 bytes .../skins/moono/icons/hidpi/sourcedialog.png | Bin 0 -> 2035 bytes .../skins/moono/icons/hidpi/specialchar.png | Bin 0 -> 2707 bytes .../skins/moono/icons/hidpi/spellchecker.png | Bin 0 -> 2854 bytes sources/skins/moono/icons/hidpi/strike.png | Bin 0 -> 2256 bytes sources/skins/moono/icons/hidpi/subscript.png | Bin 0 -> 2025 bytes .../skins/moono/icons/hidpi/superscript.png | Bin 0 -> 2029 bytes sources/skins/moono/icons/hidpi/table.png | Bin 0 -> 1201 bytes .../skins/moono/icons/hidpi/templates-rtl.png | Bin 0 -> 1515 bytes sources/skins/moono/icons/hidpi/templates.png | Bin 0 -> 1515 bytes .../skins/moono/icons/hidpi/textarea-rtl.png | Bin 0 -> 1988 bytes sources/skins/moono/icons/hidpi/textarea.png | Bin 0 -> 1857 bytes sources/skins/moono/icons/hidpi/textcolor.png | Bin 0 -> 1961 bytes .../skins/moono/icons/hidpi/textfield-rtl.png | Bin 0 -> 1501 bytes sources/skins/moono/icons/hidpi/textfield.png | Bin 0 -> 1501 bytes sources/skins/moono/icons/hidpi/uicolor.png | Bin 0 -> 2234 bytes sources/skins/moono/icons/hidpi/underline.png | Bin 0 -> 1739 bytes sources/skins/moono/icons/hidpi/undo-rtl.png | Bin 0 -> 1885 bytes sources/skins/moono/icons/hidpi/undo.png | Bin 0 -> 1868 bytes sources/skins/moono/icons/hidpi/unlink.png | Bin 0 -> 2293 bytes sources/skins/moono/icons/horizontalrule.png | Bin 0 -> 560 bytes sources/skins/moono/icons/iframe.png | Bin 0 -> 1227 bytes sources/skins/moono/icons/image.png | Bin 0 -> 973 bytes sources/skins/moono/icons/imagebutton.png | Bin 0 -> 813 bytes sources/skins/moono/icons/indent-rtl.png | Bin 0 -> 959 bytes sources/skins/moono/icons/indent.png | Bin 0 -> 967 bytes sources/skins/moono/icons/italic.png | Bin 0 -> 932 bytes sources/skins/moono/icons/justifyblock.png | Bin 0 -> 610 bytes sources/skins/moono/icons/justifycenter.png | Bin 0 -> 830 bytes sources/skins/moono/icons/justifyleft.png | Bin 0 -> 715 bytes sources/skins/moono/icons/justifyright.png | Bin 0 -> 751 bytes sources/skins/moono/icons/language.png | Bin 0 -> 885 bytes sources/skins/moono/icons/link.png | Bin 0 -> 811 bytes sources/skins/moono/icons/maximize.png | Bin 0 -> 1085 bytes sources/skins/moono/icons/newpage-rtl.png | Bin 0 -> 858 bytes sources/skins/moono/icons/newpage.png | Bin 0 -> 873 bytes .../skins/moono/icons/numberedlist-rtl.png | Bin 0 -> 821 bytes sources/skins/moono/icons/numberedlist.png | Bin 0 -> 849 bytes sources/skins/moono/icons/outdent-rtl.png | Bin 0 -> 959 bytes sources/skins/moono/icons/outdent.png | Bin 0 -> 924 bytes sources/skins/moono/icons/pagebreak-rtl.png | Bin 0 -> 804 bytes sources/skins/moono/icons/pagebreak.png | Bin 0 -> 783 bytes sources/skins/moono/icons/paste-rtl.png | Bin 0 -> 969 bytes sources/skins/moono/icons/paste.png | Bin 0 -> 969 bytes .../skins/moono/icons/pastefromword-rtl.png | Bin 0 -> 967 bytes sources/skins/moono/icons/pastefromword.png | Bin 0 -> 991 bytes sources/skins/moono/icons/pastetext-rtl.png | Bin 0 -> 969 bytes sources/skins/moono/icons/pastetext.png | Bin 0 -> 989 bytes sources/skins/moono/icons/placeholder.png | Bin 0 -> 865 bytes sources/skins/moono/icons/preview-rtl.png | Bin 0 -> 1077 bytes sources/skins/moono/icons/preview.png | Bin 0 -> 1077 bytes sources/skins/moono/icons/print.png | Bin 0 -> 920 bytes sources/skins/moono/icons/radio.png | Bin 0 -> 1092 bytes sources/skins/moono/icons/redo-rtl.png | Bin 0 -> 1012 bytes sources/skins/moono/icons/redo.png | Bin 0 -> 1000 bytes sources/skins/moono/icons/removeformat.png | Bin 0 -> 1079 bytes sources/skins/moono/icons/replace.png | Bin 0 -> 1143 bytes sources/skins/moono/icons/save.png | Bin 0 -> 896 bytes sources/skins/moono/icons/scayt.png | Bin 0 -> 1094 bytes sources/skins/moono/icons/select-rtl.png | Bin 0 -> 889 bytes sources/skins/moono/icons/select.png | Bin 0 -> 882 bytes sources/skins/moono/icons/selectall.png | Bin 0 -> 813 bytes sources/skins/moono/icons/showblocks-rtl.png | Bin 0 -> 1000 bytes sources/skins/moono/icons/showblocks.png | Bin 0 -> 1004 bytes sources/skins/moono/icons/smiley.png | Bin 0 -> 1130 bytes sources/skins/moono/icons/source-rtl.png | Bin 0 -> 1002 bytes sources/skins/moono/icons/source.png | Bin 0 -> 988 bytes .../skins/moono/icons/sourcedialog-rtl.png | Bin 0 -> 1002 bytes sources/skins/moono/icons/sourcedialog.png | Bin 0 -> 988 bytes sources/skins/moono/icons/specialchar.png | Bin 0 -> 1156 bytes sources/skins/moono/icons/spellchecker.png | Bin 0 -> 1094 bytes sources/skins/moono/icons/strike.png | Bin 0 -> 1016 bytes sources/skins/moono/icons/subscript.png | Bin 0 -> 978 bytes sources/skins/moono/icons/superscript.png | Bin 0 -> 1015 bytes sources/skins/moono/icons/table.png | Bin 0 -> 664 bytes sources/skins/moono/icons/templates-rtl.png | Bin 0 -> 857 bytes sources/skins/moono/icons/templates.png | Bin 0 -> 857 bytes sources/skins/moono/icons/textarea-rtl.png | Bin 0 -> 986 bytes sources/skins/moono/icons/textarea.png | Bin 0 -> 982 bytes sources/skins/moono/icons/textcolor.png | Bin 0 -> 944 bytes sources/skins/moono/icons/textfield-rtl.png | Bin 0 -> 859 bytes sources/skins/moono/icons/textfield.png | Bin 0 -> 859 bytes sources/skins/moono/icons/uicolor.png | Bin 0 -> 1090 bytes sources/skins/moono/icons/underline.png | Bin 0 -> 895 bytes sources/skins/moono/icons/undo-rtl.png | Bin 0 -> 1000 bytes sources/skins/moono/icons/undo.png | Bin 0 -> 1011 bytes sources/skins/moono/icons/unlink.png | Bin 0 -> 996 bytes sources/skins/moono/images/anchor.png | Bin 0 -> 929 bytes sources/skins/moono/images/arrow.png | Bin 0 -> 191 bytes sources/skins/moono/images/close.png | Bin 0 -> 869 bytes sources/skins/moono/images/hidpi/anchor.png | Bin 0 -> 1510 bytes sources/skins/moono/images/hidpi/close.png | Bin 0 -> 1732 bytes .../skins/moono/images/hidpi/lock-open.png | Bin 0 -> 1582 bytes sources/skins/moono/images/hidpi/lock.png | Bin 0 -> 1644 bytes sources/skins/moono/images/hidpi/refresh.png | Bin 0 -> 2311 bytes sources/skins/moono/images/lock-open.png | Bin 0 -> 801 bytes sources/skins/moono/images/lock.png | Bin 0 -> 849 bytes sources/skins/moono/images/refresh.png | Bin 0 -> 1050 bytes sources/skins/moono/images/spinner.gif | Bin 0 -> 2984 bytes sources/skins/moono/mainui.css | 214 + sources/skins/moono/menu.css | 207 + sources/skins/moono/notification.css | 168 + sources/skins/moono/panel.css | 237 + sources/skins/moono/presets.css | 41 + sources/skins/moono/readme.md | 49 + sources/skins/moono/reset.css | 115 + sources/skins/moono/richcombo.css | 210 + sources/skins/moono/skin.js | 316 + sources/skins/moono/toolbar.css | 387 + sources/styles.js | 138 + 2237 files changed, 152050 insertions(+) create mode 100644 README.md create mode 100644 build-config.js create mode 100644 component.json create mode 100644 composer.json create mode 100644 release/CHANGES.md create mode 100644 release/LICENSE.md create mode 100644 release/README.md create mode 100644 release/adapters/jquery.js create mode 100644 release/ckeditor.js create mode 100644 release/config.js create mode 100644 release/contents.css create mode 100644 release/lang/en.js create mode 100644 release/lang/fr.js create mode 100644 release/plugins/a11yhelp/dialogs/a11yhelp.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/_translationstatus.txt create mode 100644 release/plugins/a11yhelp/dialogs/lang/af.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ar.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/az.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/bg.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ca.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/cs.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/cy.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/da.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/de-ch.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/de.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/el.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/en-gb.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/en.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/eo.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/es.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/et.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/eu.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/fa.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/fi.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/fo.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/fr-ca.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/fr.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/gl.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/gu.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/he.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/hi.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/hr.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/hu.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/id.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/it.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ja.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/km.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ko.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ku.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/lt.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/lv.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/mk.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/mn.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/nb.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/nl.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/no.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/oc.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/pl.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/pt-br.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/pt.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ro.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ru.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/si.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/sk.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/sl.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/sq.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/sr-latn.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/sr.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/sv.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/th.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/tr.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/tt.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/ug.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/uk.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/vi.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/zh-cn.js create mode 100644 release/plugins/a11yhelp/dialogs/lang/zh.js create mode 100644 release/plugins/clipboard/dialogs/paste.js create mode 100644 release/plugins/dialog/dialogDefinition.js create mode 100644 release/plugins/icons.png create mode 100644 release/plugins/icons_hidpi.png create mode 100644 release/plugins/iframe/dialogs/iframe.js create mode 100644 release/plugins/iframe/images/placeholder.png create mode 100644 release/plugins/image/dialogs/image.js create mode 100644 release/plugins/image/images/noimage.png create mode 100644 release/plugins/link/dialogs/anchor.js create mode 100644 release/plugins/link/dialogs/link.js create mode 100644 release/plugins/link/images/anchor.png create mode 100644 release/plugins/link/images/hidpi/anchor.png create mode 100644 release/plugins/liststyle/dialogs/liststyle.js create mode 100644 release/plugins/magicline/images/hidpi/icon-rtl.png create mode 100644 release/plugins/magicline/images/hidpi/icon.png create mode 100644 release/plugins/magicline/images/icon-rtl.png create mode 100644 release/plugins/magicline/images/icon.png create mode 100644 release/plugins/oembed/LICENSE.md create mode 100644 release/plugins/oembed/README.md create mode 100644 release/plugins/oembed/libs/jquery.oembed.min.js create mode 100644 release/plugins/widget/images/handle.png create mode 100644 release/samples/css/samples.css create mode 100644 release/samples/img/github-top.png create mode 100644 release/samples/img/header-bg.png create mode 100644 release/samples/img/header-separator.png create mode 100644 release/samples/img/logo.png create mode 100644 release/samples/img/navigation-tip.png create mode 100644 release/samples/index.html create mode 100644 release/samples/js/sample.js create mode 100644 release/samples/js/sf.js create mode 100644 release/samples/old/ajax.html create mode 100644 release/samples/old/api.html create mode 100644 release/samples/old/appendto.html create mode 100644 release/samples/old/assets/inlineall/logo.png create mode 100644 release/samples/old/assets/outputxhtml/outputxhtml.css create mode 100644 release/samples/old/assets/posteddata.php create mode 100644 release/samples/old/assets/sample.jpg create mode 100644 release/samples/old/assets/uilanguages/languages.js create mode 100644 release/samples/old/datafiltering.html create mode 100644 release/samples/old/dialog/assets/my_dialog.js create mode 100644 release/samples/old/dialog/dialog.html create mode 100644 release/samples/old/divreplace.html create mode 100644 release/samples/old/enterkey/enterkey.html create mode 100644 release/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla create mode 100644 release/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf create mode 100644 release/samples/old/htmlwriter/assets/outputforflash/swfobject.js create mode 100644 release/samples/old/htmlwriter/outputforflash.html create mode 100644 release/samples/old/htmlwriter/outputhtml.html create mode 100644 release/samples/old/index.html create mode 100644 release/samples/old/inlineall.html create mode 100644 release/samples/old/inlinebycode.html create mode 100644 release/samples/old/inlinetextarea.html create mode 100644 release/samples/old/jquery.html create mode 100644 release/samples/old/magicline/magicline.html create mode 100644 release/samples/old/readonly.html create mode 100644 release/samples/old/replacebyclass.html create mode 100644 release/samples/old/replacebycode.html create mode 100644 release/samples/old/sample.css create mode 100644 release/samples/old/sample.js create mode 100644 release/samples/old/sample_posteddata.php create mode 100644 release/samples/old/tabindex.html create mode 100644 release/samples/old/toolbar/toolbar.html create mode 100644 release/samples/old/uicolor.html create mode 100644 release/samples/old/uilanguages.html create mode 100644 release/samples/old/wysiwygarea/fullpage.html create mode 100644 release/samples/old/xhtmlstyle.html create mode 100644 release/samples/toolbarconfigurator/css/fontello.css create mode 100644 release/samples/toolbarconfigurator/font/LICENSE.txt create mode 100644 release/samples/toolbarconfigurator/font/config.json create mode 100644 release/samples/toolbarconfigurator/font/fontello.eot create mode 100644 release/samples/toolbarconfigurator/font/fontello.svg create mode 100644 release/samples/toolbarconfigurator/font/fontello.ttf create mode 100644 release/samples/toolbarconfigurator/font/fontello.woff create mode 100644 release/samples/toolbarconfigurator/index.html create mode 100644 release/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js create mode 100644 release/samples/toolbarconfigurator/js/fulltoolbareditor.js create mode 100644 release/samples/toolbarconfigurator/js/toolbarmodifier.js create mode 100644 release/samples/toolbarconfigurator/js/toolbartextmodifier.js create mode 100644 release/samples/toolbarconfigurator/lib/codemirror/LICENSE create mode 100644 release/samples/toolbarconfigurator/lib/codemirror/codemirror.css create mode 100644 release/samples/toolbarconfigurator/lib/codemirror/codemirror.js create mode 100644 release/samples/toolbarconfigurator/lib/codemirror/javascript.js create mode 100644 release/samples/toolbarconfigurator/lib/codemirror/neo.css create mode 100644 release/samples/toolbarconfigurator/lib/codemirror/show-hint.css create mode 100644 release/samples/toolbarconfigurator/lib/codemirror/show-hint.js create mode 100644 release/skins/moono/dialog.css create mode 100644 release/skins/moono/dialog_ie.css create mode 100644 release/skins/moono/dialog_ie7.css create mode 100644 release/skins/moono/dialog_ie8.css create mode 100644 release/skins/moono/dialog_iequirks.css create mode 100644 release/skins/moono/editor.css create mode 100644 release/skins/moono/editor_gecko.css create mode 100644 release/skins/moono/editor_ie.css create mode 100644 release/skins/moono/editor_ie7.css create mode 100644 release/skins/moono/editor_ie8.css create mode 100644 release/skins/moono/editor_iequirks.css create mode 100644 release/skins/moono/icons.png create mode 100644 release/skins/moono/icons_hidpi.png create mode 100644 release/skins/moono/images/anchor.png create mode 100644 release/skins/moono/images/arrow.png create mode 100644 release/skins/moono/images/close.png create mode 100644 release/skins/moono/images/hidpi/anchor.png create mode 100644 release/skins/moono/images/hidpi/close.png create mode 100644 release/skins/moono/images/hidpi/lock-open.png create mode 100644 release/skins/moono/images/hidpi/lock.png create mode 100644 release/skins/moono/images/hidpi/refresh.png create mode 100644 release/skins/moono/images/lock-open.png create mode 100644 release/skins/moono/images/lock.png create mode 100644 release/skins/moono/images/refresh.png create mode 100644 release/skins/moono/images/spinner.gif create mode 100644 release/skins/moono/readme.md create mode 100644 release/styles.js create mode 100644 sources/CHANGES.md create mode 100644 sources/LICENSE.md create mode 100644 sources/README.md create mode 100644 sources/adapters/jquery.js create mode 100644 sources/ckeditor.js create mode 100644 sources/config.js create mode 100644 sources/contents.css create mode 100644 sources/core/_bootstrap.js create mode 100644 sources/core/ckeditor.js create mode 100644 sources/core/ckeditor_base.js create mode 100644 sources/core/ckeditor_basic.js create mode 100644 sources/core/command.js create mode 100644 sources/core/commanddefinition.js create mode 100644 sources/core/config.js create mode 100644 sources/core/creators/inline.js create mode 100644 sources/core/creators/themedui.js create mode 100644 sources/core/dataprocessor.js create mode 100644 sources/core/dom.js create mode 100644 sources/core/dom/comment.js create mode 100644 sources/core/dom/document.js create mode 100644 sources/core/dom/documentfragment.js create mode 100644 sources/core/dom/domobject.js create mode 100644 sources/core/dom/element.js create mode 100644 sources/core/dom/elementpath.js create mode 100644 sources/core/dom/event.js create mode 100644 sources/core/dom/iterator.js create mode 100644 sources/core/dom/node.js create mode 100644 sources/core/dom/nodelist.js create mode 100644 sources/core/dom/range.js create mode 100644 sources/core/dom/rangelist.js create mode 100644 sources/core/dom/text.js create mode 100644 sources/core/dom/walker.js create mode 100644 sources/core/dom/window.js create mode 100644 sources/core/dtd.js create mode 100644 sources/core/editable.js create mode 100644 sources/core/editor.js create mode 100644 sources/core/editor_basic.js create mode 100644 sources/core/env.js create mode 100644 sources/core/event.js create mode 100644 sources/core/eventInfo.js create mode 100644 sources/core/filter.js create mode 100644 sources/core/focusmanager.js create mode 100644 sources/core/htmldataprocessor.js create mode 100644 sources/core/htmlparser.js create mode 100644 sources/core/htmlparser/basicwriter.js create mode 100644 sources/core/htmlparser/cdata.js create mode 100644 sources/core/htmlparser/comment.js create mode 100644 sources/core/htmlparser/element.js create mode 100644 sources/core/htmlparser/filter.js create mode 100644 sources/core/htmlparser/fragment.js create mode 100644 sources/core/htmlparser/node.js create mode 100644 sources/core/htmlparser/text.js create mode 100644 sources/core/keystrokehandler.js create mode 100644 sources/core/lang.js create mode 100644 sources/core/loader.js create mode 100644 sources/core/log.js create mode 100644 sources/core/plugindefinition.js create mode 100644 sources/core/plugins.js create mode 100644 sources/core/resourcemanager.js create mode 100644 sources/core/scriptloader.js create mode 100644 sources/core/selection.js create mode 100644 sources/core/skin.js create mode 100644 sources/core/style.js create mode 100644 sources/core/template.js create mode 100644 sources/core/tools.js create mode 100644 sources/core/ui.js create mode 100644 sources/lang/_translationstatus.txt create mode 100644 sources/lang/af.js create mode 100644 sources/lang/ar.js create mode 100644 sources/lang/az.js create mode 100644 sources/lang/bg.js create mode 100644 sources/lang/bn.js create mode 100644 sources/lang/bs.js create mode 100644 sources/lang/ca.js create mode 100644 sources/lang/cs.js create mode 100644 sources/lang/cy.js create mode 100644 sources/lang/da.js create mode 100644 sources/lang/de-ch.js create mode 100644 sources/lang/de.js create mode 100644 sources/lang/el.js create mode 100644 sources/lang/en-au.js create mode 100644 sources/lang/en-ca.js create mode 100644 sources/lang/en-gb.js create mode 100644 sources/lang/en.js create mode 100644 sources/lang/eo.js create mode 100644 sources/lang/es.js create mode 100644 sources/lang/et.js create mode 100644 sources/lang/eu.js create mode 100644 sources/lang/fa.js create mode 100644 sources/lang/fi.js create mode 100644 sources/lang/fo.js create mode 100644 sources/lang/fr-ca.js create mode 100644 sources/lang/fr.js create mode 100644 sources/lang/gl.js create mode 100644 sources/lang/gu.js create mode 100644 sources/lang/he.js create mode 100644 sources/lang/hi.js create mode 100644 sources/lang/hr.js create mode 100644 sources/lang/hu.js create mode 100644 sources/lang/id.js create mode 100644 sources/lang/is.js create mode 100644 sources/lang/it.js create mode 100644 sources/lang/ja.js create mode 100644 sources/lang/ka.js create mode 100644 sources/lang/km.js create mode 100644 sources/lang/ko.js create mode 100644 sources/lang/ku.js create mode 100644 sources/lang/lt.js create mode 100644 sources/lang/lv.js create mode 100644 sources/lang/mk.js create mode 100644 sources/lang/mn.js create mode 100644 sources/lang/ms.js create mode 100644 sources/lang/nb.js create mode 100644 sources/lang/nl.js create mode 100644 sources/lang/no.js create mode 100644 sources/lang/oc.js create mode 100644 sources/lang/pl.js create mode 100644 sources/lang/pt-br.js create mode 100644 sources/lang/pt.js create mode 100644 sources/lang/ro.js create mode 100644 sources/lang/ru.js create mode 100644 sources/lang/si.js create mode 100644 sources/lang/sk.js create mode 100644 sources/lang/sl.js create mode 100644 sources/lang/sq.js create mode 100644 sources/lang/sr-latn.js create mode 100644 sources/lang/sr.js create mode 100644 sources/lang/sv.js create mode 100644 sources/lang/th.js create mode 100644 sources/lang/tr.js create mode 100644 sources/lang/tt.js create mode 100644 sources/lang/ug.js create mode 100644 sources/lang/uk.js create mode 100644 sources/lang/vi.js create mode 100644 sources/lang/zh-cn.js create mode 100644 sources/lang/zh.js create mode 100644 sources/plugins/a11yhelp/dialogs/a11yhelp.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/_translationstatus.txt create mode 100644 sources/plugins/a11yhelp/dialogs/lang/af.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ar.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/az.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/bg.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ca.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/cs.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/cy.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/da.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/de-ch.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/de.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/el.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/en-gb.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/en.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/eo.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/es.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/et.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/eu.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/fa.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/fi.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/fo.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/fr-ca.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/fr.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/gl.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/gu.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/he.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/hi.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/hr.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/hu.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/id.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/it.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ja.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/km.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ko.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ku.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/lt.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/lv.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/mk.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/mn.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/nb.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/nl.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/no.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/oc.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/pl.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/pt-br.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/pt.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ro.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ru.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/si.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/sk.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/sl.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/sq.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/sr-latn.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/sr.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/sv.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/th.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/tr.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/tt.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/ug.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/uk.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/vi.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/zh-cn.js create mode 100644 sources/plugins/a11yhelp/dialogs/lang/zh.js create mode 100644 sources/plugins/a11yhelp/plugin.js create mode 100644 sources/plugins/basicstyles/icons/bold.png create mode 100644 sources/plugins/basicstyles/icons/hidpi/bold.png create mode 100644 sources/plugins/basicstyles/icons/hidpi/italic.png create mode 100644 sources/plugins/basicstyles/icons/hidpi/strike.png create mode 100644 sources/plugins/basicstyles/icons/hidpi/subscript.png create mode 100644 sources/plugins/basicstyles/icons/hidpi/superscript.png create mode 100644 sources/plugins/basicstyles/icons/hidpi/underline.png create mode 100644 sources/plugins/basicstyles/icons/italic.png create mode 100644 sources/plugins/basicstyles/icons/strike.png create mode 100644 sources/plugins/basicstyles/icons/subscript.png create mode 100644 sources/plugins/basicstyles/icons/superscript.png create mode 100644 sources/plugins/basicstyles/icons/underline.png create mode 100644 sources/plugins/basicstyles/lang/af.js create mode 100644 sources/plugins/basicstyles/lang/ar.js create mode 100644 sources/plugins/basicstyles/lang/az.js create mode 100644 sources/plugins/basicstyles/lang/bg.js create mode 100644 sources/plugins/basicstyles/lang/bn.js create mode 100644 sources/plugins/basicstyles/lang/bs.js create mode 100644 sources/plugins/basicstyles/lang/ca.js create mode 100644 sources/plugins/basicstyles/lang/cs.js create mode 100644 sources/plugins/basicstyles/lang/cy.js create mode 100644 sources/plugins/basicstyles/lang/da.js create mode 100644 sources/plugins/basicstyles/lang/de-ch.js create mode 100644 sources/plugins/basicstyles/lang/de.js create mode 100644 sources/plugins/basicstyles/lang/el.js create mode 100644 sources/plugins/basicstyles/lang/en-au.js create mode 100644 sources/plugins/basicstyles/lang/en-ca.js create mode 100644 sources/plugins/basicstyles/lang/en-gb.js create mode 100644 sources/plugins/basicstyles/lang/en.js create mode 100644 sources/plugins/basicstyles/lang/eo.js create mode 100644 sources/plugins/basicstyles/lang/es.js create mode 100644 sources/plugins/basicstyles/lang/et.js create mode 100644 sources/plugins/basicstyles/lang/eu.js create mode 100644 sources/plugins/basicstyles/lang/fa.js create mode 100644 sources/plugins/basicstyles/lang/fi.js create mode 100644 sources/plugins/basicstyles/lang/fo.js create mode 100644 sources/plugins/basicstyles/lang/fr-ca.js create mode 100644 sources/plugins/basicstyles/lang/fr.js create mode 100644 sources/plugins/basicstyles/lang/gl.js create mode 100644 sources/plugins/basicstyles/lang/gu.js create mode 100644 sources/plugins/basicstyles/lang/he.js create mode 100644 sources/plugins/basicstyles/lang/hi.js create mode 100644 sources/plugins/basicstyles/lang/hr.js create mode 100644 sources/plugins/basicstyles/lang/hu.js create mode 100644 sources/plugins/basicstyles/lang/id.js create mode 100644 sources/plugins/basicstyles/lang/is.js create mode 100644 sources/plugins/basicstyles/lang/it.js create mode 100644 sources/plugins/basicstyles/lang/ja.js create mode 100644 sources/plugins/basicstyles/lang/ka.js create mode 100644 sources/plugins/basicstyles/lang/km.js create mode 100644 sources/plugins/basicstyles/lang/ko.js create mode 100644 sources/plugins/basicstyles/lang/ku.js create mode 100644 sources/plugins/basicstyles/lang/lt.js create mode 100644 sources/plugins/basicstyles/lang/lv.js create mode 100644 sources/plugins/basicstyles/lang/mk.js create mode 100644 sources/plugins/basicstyles/lang/mn.js create mode 100644 sources/plugins/basicstyles/lang/ms.js create mode 100644 sources/plugins/basicstyles/lang/nb.js create mode 100644 sources/plugins/basicstyles/lang/nl.js create mode 100644 sources/plugins/basicstyles/lang/no.js create mode 100644 sources/plugins/basicstyles/lang/oc.js create mode 100644 sources/plugins/basicstyles/lang/pl.js create mode 100644 sources/plugins/basicstyles/lang/pt-br.js create mode 100644 sources/plugins/basicstyles/lang/pt.js create mode 100644 sources/plugins/basicstyles/lang/ro.js create mode 100644 sources/plugins/basicstyles/lang/ru.js create mode 100644 sources/plugins/basicstyles/lang/si.js create mode 100644 sources/plugins/basicstyles/lang/sk.js create mode 100644 sources/plugins/basicstyles/lang/sl.js create mode 100644 sources/plugins/basicstyles/lang/sq.js create mode 100644 sources/plugins/basicstyles/lang/sr-latn.js create mode 100644 sources/plugins/basicstyles/lang/sr.js create mode 100644 sources/plugins/basicstyles/lang/sv.js create mode 100644 sources/plugins/basicstyles/lang/th.js create mode 100644 sources/plugins/basicstyles/lang/tr.js create mode 100644 sources/plugins/basicstyles/lang/tt.js create mode 100644 sources/plugins/basicstyles/lang/ug.js create mode 100644 sources/plugins/basicstyles/lang/uk.js create mode 100644 sources/plugins/basicstyles/lang/vi.js create mode 100644 sources/plugins/basicstyles/lang/zh-cn.js create mode 100644 sources/plugins/basicstyles/lang/zh.js create mode 100644 sources/plugins/basicstyles/plugin.js create mode 100644 sources/plugins/button/lang/af.js create mode 100644 sources/plugins/button/lang/ar.js create mode 100644 sources/plugins/button/lang/az.js create mode 100644 sources/plugins/button/lang/bg.js create mode 100644 sources/plugins/button/lang/ca.js create mode 100644 sources/plugins/button/lang/cs.js create mode 100644 sources/plugins/button/lang/da.js create mode 100644 sources/plugins/button/lang/de-ch.js create mode 100644 sources/plugins/button/lang/de.js create mode 100644 sources/plugins/button/lang/el.js create mode 100644 sources/plugins/button/lang/en-gb.js create mode 100644 sources/plugins/button/lang/en.js create mode 100644 sources/plugins/button/lang/eo.js create mode 100644 sources/plugins/button/lang/es.js create mode 100644 sources/plugins/button/lang/eu.js create mode 100644 sources/plugins/button/lang/fa.js create mode 100644 sources/plugins/button/lang/fi.js create mode 100644 sources/plugins/button/lang/fr.js create mode 100644 sources/plugins/button/lang/gl.js create mode 100644 sources/plugins/button/lang/he.js create mode 100644 sources/plugins/button/lang/hu.js create mode 100644 sources/plugins/button/lang/id.js create mode 100644 sources/plugins/button/lang/it.js create mode 100644 sources/plugins/button/lang/ja.js create mode 100644 sources/plugins/button/lang/km.js create mode 100644 sources/plugins/button/lang/ko.js create mode 100644 sources/plugins/button/lang/ku.js create mode 100644 sources/plugins/button/lang/lt.js create mode 100644 sources/plugins/button/lang/nb.js create mode 100644 sources/plugins/button/lang/nl.js create mode 100644 sources/plugins/button/lang/no.js create mode 100644 sources/plugins/button/lang/oc.js create mode 100644 sources/plugins/button/lang/pl.js create mode 100644 sources/plugins/button/lang/pt-br.js create mode 100644 sources/plugins/button/lang/pt.js create mode 100644 sources/plugins/button/lang/ro.js create mode 100644 sources/plugins/button/lang/ru.js create mode 100644 sources/plugins/button/lang/sk.js create mode 100644 sources/plugins/button/lang/sl.js create mode 100644 sources/plugins/button/lang/sq.js create mode 100644 sources/plugins/button/lang/sv.js create mode 100644 sources/plugins/button/lang/tr.js create mode 100644 sources/plugins/button/lang/tt.js create mode 100644 sources/plugins/button/lang/ug.js create mode 100644 sources/plugins/button/lang/uk.js create mode 100644 sources/plugins/button/lang/vi.js create mode 100644 sources/plugins/button/lang/zh-cn.js create mode 100644 sources/plugins/button/lang/zh.js create mode 100644 sources/plugins/button/plugin.js create mode 100644 sources/plugins/clipboard/dev/clipboard.html create mode 100644 sources/plugins/clipboard/dev/console.js create mode 100644 sources/plugins/clipboard/dev/dnd.html create mode 100644 sources/plugins/clipboard/dialogs/paste.js create mode 100644 sources/plugins/clipboard/icons/copy-rtl.png create mode 100644 sources/plugins/clipboard/icons/copy.png create mode 100644 sources/plugins/clipboard/icons/cut-rtl.png create mode 100644 sources/plugins/clipboard/icons/cut.png create mode 100644 sources/plugins/clipboard/icons/hidpi/copy-rtl.png create mode 100644 sources/plugins/clipboard/icons/hidpi/copy.png create mode 100644 sources/plugins/clipboard/icons/hidpi/cut-rtl.png create mode 100644 sources/plugins/clipboard/icons/hidpi/cut.png create mode 100644 sources/plugins/clipboard/icons/hidpi/paste-rtl.png create mode 100644 sources/plugins/clipboard/icons/hidpi/paste.png create mode 100644 sources/plugins/clipboard/icons/paste-rtl.png create mode 100644 sources/plugins/clipboard/icons/paste.png create mode 100644 sources/plugins/clipboard/lang/af.js create mode 100644 sources/plugins/clipboard/lang/ar.js create mode 100644 sources/plugins/clipboard/lang/az.js create mode 100644 sources/plugins/clipboard/lang/bg.js create mode 100644 sources/plugins/clipboard/lang/bn.js create mode 100644 sources/plugins/clipboard/lang/bs.js create mode 100644 sources/plugins/clipboard/lang/ca.js create mode 100644 sources/plugins/clipboard/lang/cs.js create mode 100644 sources/plugins/clipboard/lang/cy.js create mode 100644 sources/plugins/clipboard/lang/da.js create mode 100644 sources/plugins/clipboard/lang/de-ch.js create mode 100644 sources/plugins/clipboard/lang/de.js create mode 100644 sources/plugins/clipboard/lang/el.js create mode 100644 sources/plugins/clipboard/lang/en-au.js create mode 100644 sources/plugins/clipboard/lang/en-ca.js create mode 100644 sources/plugins/clipboard/lang/en-gb.js create mode 100644 sources/plugins/clipboard/lang/en.js create mode 100644 sources/plugins/clipboard/lang/eo.js create mode 100644 sources/plugins/clipboard/lang/es.js create mode 100644 sources/plugins/clipboard/lang/et.js create mode 100644 sources/plugins/clipboard/lang/eu.js create mode 100644 sources/plugins/clipboard/lang/fa.js create mode 100644 sources/plugins/clipboard/lang/fi.js create mode 100644 sources/plugins/clipboard/lang/fo.js create mode 100644 sources/plugins/clipboard/lang/fr-ca.js create mode 100644 sources/plugins/clipboard/lang/fr.js create mode 100644 sources/plugins/clipboard/lang/gl.js create mode 100644 sources/plugins/clipboard/lang/gu.js create mode 100644 sources/plugins/clipboard/lang/he.js create mode 100644 sources/plugins/clipboard/lang/hi.js create mode 100644 sources/plugins/clipboard/lang/hr.js create mode 100644 sources/plugins/clipboard/lang/hu.js create mode 100644 sources/plugins/clipboard/lang/id.js create mode 100644 sources/plugins/clipboard/lang/is.js create mode 100644 sources/plugins/clipboard/lang/it.js create mode 100644 sources/plugins/clipboard/lang/ja.js create mode 100644 sources/plugins/clipboard/lang/ka.js create mode 100644 sources/plugins/clipboard/lang/km.js create mode 100644 sources/plugins/clipboard/lang/ko.js create mode 100644 sources/plugins/clipboard/lang/ku.js create mode 100644 sources/plugins/clipboard/lang/lt.js create mode 100644 sources/plugins/clipboard/lang/lv.js create mode 100644 sources/plugins/clipboard/lang/mk.js create mode 100644 sources/plugins/clipboard/lang/mn.js create mode 100644 sources/plugins/clipboard/lang/ms.js create mode 100644 sources/plugins/clipboard/lang/nb.js create mode 100644 sources/plugins/clipboard/lang/nl.js create mode 100644 sources/plugins/clipboard/lang/no.js create mode 100644 sources/plugins/clipboard/lang/oc.js create mode 100644 sources/plugins/clipboard/lang/pl.js create mode 100644 sources/plugins/clipboard/lang/pt-br.js create mode 100644 sources/plugins/clipboard/lang/pt.js create mode 100644 sources/plugins/clipboard/lang/ro.js create mode 100644 sources/plugins/clipboard/lang/ru.js create mode 100644 sources/plugins/clipboard/lang/si.js create mode 100644 sources/plugins/clipboard/lang/sk.js create mode 100644 sources/plugins/clipboard/lang/sl.js create mode 100644 sources/plugins/clipboard/lang/sq.js create mode 100644 sources/plugins/clipboard/lang/sr-latn.js create mode 100644 sources/plugins/clipboard/lang/sr.js create mode 100644 sources/plugins/clipboard/lang/sv.js create mode 100644 sources/plugins/clipboard/lang/th.js create mode 100644 sources/plugins/clipboard/lang/tr.js create mode 100644 sources/plugins/clipboard/lang/tt.js create mode 100644 sources/plugins/clipboard/lang/ug.js create mode 100644 sources/plugins/clipboard/lang/uk.js create mode 100644 sources/plugins/clipboard/lang/vi.js create mode 100644 sources/plugins/clipboard/lang/zh-cn.js create mode 100644 sources/plugins/clipboard/lang/zh.js create mode 100644 sources/plugins/clipboard/plugin.js create mode 100644 sources/plugins/contextmenu/lang/af.js create mode 100644 sources/plugins/contextmenu/lang/ar.js create mode 100644 sources/plugins/contextmenu/lang/az.js create mode 100644 sources/plugins/contextmenu/lang/bg.js create mode 100644 sources/plugins/contextmenu/lang/bn.js create mode 100644 sources/plugins/contextmenu/lang/bs.js create mode 100644 sources/plugins/contextmenu/lang/ca.js create mode 100644 sources/plugins/contextmenu/lang/cs.js create mode 100644 sources/plugins/contextmenu/lang/cy.js create mode 100644 sources/plugins/contextmenu/lang/da.js create mode 100644 sources/plugins/contextmenu/lang/de-ch.js create mode 100644 sources/plugins/contextmenu/lang/de.js create mode 100644 sources/plugins/contextmenu/lang/el.js create mode 100644 sources/plugins/contextmenu/lang/en-au.js create mode 100644 sources/plugins/contextmenu/lang/en-ca.js create mode 100644 sources/plugins/contextmenu/lang/en-gb.js create mode 100644 sources/plugins/contextmenu/lang/en.js create mode 100644 sources/plugins/contextmenu/lang/eo.js create mode 100644 sources/plugins/contextmenu/lang/es.js create mode 100644 sources/plugins/contextmenu/lang/et.js create mode 100644 sources/plugins/contextmenu/lang/eu.js create mode 100644 sources/plugins/contextmenu/lang/fa.js create mode 100644 sources/plugins/contextmenu/lang/fi.js create mode 100644 sources/plugins/contextmenu/lang/fo.js create mode 100644 sources/plugins/contextmenu/lang/fr-ca.js create mode 100644 sources/plugins/contextmenu/lang/fr.js create mode 100644 sources/plugins/contextmenu/lang/gl.js create mode 100644 sources/plugins/contextmenu/lang/gu.js create mode 100644 sources/plugins/contextmenu/lang/he.js create mode 100644 sources/plugins/contextmenu/lang/hi.js create mode 100644 sources/plugins/contextmenu/lang/hr.js create mode 100644 sources/plugins/contextmenu/lang/hu.js create mode 100644 sources/plugins/contextmenu/lang/id.js create mode 100644 sources/plugins/contextmenu/lang/is.js create mode 100644 sources/plugins/contextmenu/lang/it.js create mode 100644 sources/plugins/contextmenu/lang/ja.js create mode 100644 sources/plugins/contextmenu/lang/ka.js create mode 100644 sources/plugins/contextmenu/lang/km.js create mode 100644 sources/plugins/contextmenu/lang/ko.js create mode 100644 sources/plugins/contextmenu/lang/ku.js create mode 100644 sources/plugins/contextmenu/lang/lt.js create mode 100644 sources/plugins/contextmenu/lang/lv.js create mode 100644 sources/plugins/contextmenu/lang/mk.js create mode 100644 sources/plugins/contextmenu/lang/mn.js create mode 100644 sources/plugins/contextmenu/lang/ms.js create mode 100644 sources/plugins/contextmenu/lang/nb.js create mode 100644 sources/plugins/contextmenu/lang/nl.js create mode 100644 sources/plugins/contextmenu/lang/no.js create mode 100644 sources/plugins/contextmenu/lang/oc.js create mode 100644 sources/plugins/contextmenu/lang/pl.js create mode 100644 sources/plugins/contextmenu/lang/pt-br.js create mode 100644 sources/plugins/contextmenu/lang/pt.js create mode 100644 sources/plugins/contextmenu/lang/ro.js create mode 100644 sources/plugins/contextmenu/lang/ru.js create mode 100644 sources/plugins/contextmenu/lang/si.js create mode 100644 sources/plugins/contextmenu/lang/sk.js create mode 100644 sources/plugins/contextmenu/lang/sl.js create mode 100644 sources/plugins/contextmenu/lang/sq.js create mode 100644 sources/plugins/contextmenu/lang/sr-latn.js create mode 100644 sources/plugins/contextmenu/lang/sr.js create mode 100644 sources/plugins/contextmenu/lang/sv.js create mode 100644 sources/plugins/contextmenu/lang/th.js create mode 100644 sources/plugins/contextmenu/lang/tr.js create mode 100644 sources/plugins/contextmenu/lang/tt.js create mode 100644 sources/plugins/contextmenu/lang/ug.js create mode 100644 sources/plugins/contextmenu/lang/uk.js create mode 100644 sources/plugins/contextmenu/lang/vi.js create mode 100644 sources/plugins/contextmenu/lang/zh-cn.js create mode 100644 sources/plugins/contextmenu/lang/zh.js create mode 100644 sources/plugins/contextmenu/plugin.js create mode 100644 sources/plugins/dialog/dialogDefinition.js create mode 100644 sources/plugins/dialog/plugin.js create mode 100644 sources/plugins/dialog/samples/assets/my_dialog.js create mode 100644 sources/plugins/dialog/samples/dialog.html create mode 100644 sources/plugins/dialogadvtab/plugin.js create mode 100644 sources/plugins/dialogui/plugin.js create mode 100644 sources/plugins/elementspath/lang/af.js create mode 100644 sources/plugins/elementspath/lang/ar.js create mode 100644 sources/plugins/elementspath/lang/az.js create mode 100644 sources/plugins/elementspath/lang/bg.js create mode 100644 sources/plugins/elementspath/lang/bn.js create mode 100644 sources/plugins/elementspath/lang/bs.js create mode 100644 sources/plugins/elementspath/lang/ca.js create mode 100644 sources/plugins/elementspath/lang/cs.js create mode 100644 sources/plugins/elementspath/lang/cy.js create mode 100644 sources/plugins/elementspath/lang/da.js create mode 100644 sources/plugins/elementspath/lang/de-ch.js create mode 100644 sources/plugins/elementspath/lang/de.js create mode 100644 sources/plugins/elementspath/lang/el.js create mode 100644 sources/plugins/elementspath/lang/en-au.js create mode 100644 sources/plugins/elementspath/lang/en-ca.js create mode 100644 sources/plugins/elementspath/lang/en-gb.js create mode 100644 sources/plugins/elementspath/lang/en.js create mode 100644 sources/plugins/elementspath/lang/eo.js create mode 100644 sources/plugins/elementspath/lang/es.js create mode 100644 sources/plugins/elementspath/lang/et.js create mode 100644 sources/plugins/elementspath/lang/eu.js create mode 100644 sources/plugins/elementspath/lang/fa.js create mode 100644 sources/plugins/elementspath/lang/fi.js create mode 100644 sources/plugins/elementspath/lang/fo.js create mode 100644 sources/plugins/elementspath/lang/fr-ca.js create mode 100644 sources/plugins/elementspath/lang/fr.js create mode 100644 sources/plugins/elementspath/lang/gl.js create mode 100644 sources/plugins/elementspath/lang/gu.js create mode 100644 sources/plugins/elementspath/lang/he.js create mode 100644 sources/plugins/elementspath/lang/hi.js create mode 100644 sources/plugins/elementspath/lang/hr.js create mode 100644 sources/plugins/elementspath/lang/hu.js create mode 100644 sources/plugins/elementspath/lang/is.js create mode 100644 sources/plugins/elementspath/lang/it.js create mode 100644 sources/plugins/elementspath/lang/ja.js create mode 100644 sources/plugins/elementspath/lang/ka.js create mode 100644 sources/plugins/elementspath/lang/km.js create mode 100644 sources/plugins/elementspath/lang/ko.js create mode 100644 sources/plugins/elementspath/lang/ku.js create mode 100644 sources/plugins/elementspath/lang/lt.js create mode 100644 sources/plugins/elementspath/lang/lv.js create mode 100644 sources/plugins/elementspath/lang/mk.js create mode 100644 sources/plugins/elementspath/lang/mn.js create mode 100644 sources/plugins/elementspath/lang/ms.js create mode 100644 sources/plugins/elementspath/lang/nb.js create mode 100644 sources/plugins/elementspath/lang/nl.js create mode 100644 sources/plugins/elementspath/lang/no.js create mode 100644 sources/plugins/elementspath/lang/oc.js create mode 100644 sources/plugins/elementspath/lang/pl.js create mode 100644 sources/plugins/elementspath/lang/pt-br.js create mode 100644 sources/plugins/elementspath/lang/pt.js create mode 100644 sources/plugins/elementspath/lang/ro.js create mode 100644 sources/plugins/elementspath/lang/ru.js create mode 100644 sources/plugins/elementspath/lang/si.js create mode 100644 sources/plugins/elementspath/lang/sk.js create mode 100644 sources/plugins/elementspath/lang/sl.js create mode 100644 sources/plugins/elementspath/lang/sq.js create mode 100644 sources/plugins/elementspath/lang/sr-latn.js create mode 100644 sources/plugins/elementspath/lang/sr.js create mode 100644 sources/plugins/elementspath/lang/sv.js create mode 100644 sources/plugins/elementspath/lang/th.js create mode 100644 sources/plugins/elementspath/lang/tr.js create mode 100644 sources/plugins/elementspath/lang/tt.js create mode 100644 sources/plugins/elementspath/lang/ug.js create mode 100644 sources/plugins/elementspath/lang/uk.js create mode 100644 sources/plugins/elementspath/lang/vi.js create mode 100644 sources/plugins/elementspath/lang/zh-cn.js create mode 100644 sources/plugins/elementspath/lang/zh.js create mode 100644 sources/plugins/elementspath/plugin.js create mode 100644 sources/plugins/enterkey/plugin.js create mode 100644 sources/plugins/enterkey/samples/enterkey.html create mode 100644 sources/plugins/entities/plugin.js create mode 100644 sources/plugins/fakeobjects/lang/af.js create mode 100644 sources/plugins/fakeobjects/lang/ar.js create mode 100644 sources/plugins/fakeobjects/lang/az.js create mode 100644 sources/plugins/fakeobjects/lang/bg.js create mode 100644 sources/plugins/fakeobjects/lang/bn.js create mode 100644 sources/plugins/fakeobjects/lang/bs.js create mode 100644 sources/plugins/fakeobjects/lang/ca.js create mode 100644 sources/plugins/fakeobjects/lang/cs.js create mode 100644 sources/plugins/fakeobjects/lang/cy.js create mode 100644 sources/plugins/fakeobjects/lang/da.js create mode 100644 sources/plugins/fakeobjects/lang/de-ch.js create mode 100644 sources/plugins/fakeobjects/lang/de.js create mode 100644 sources/plugins/fakeobjects/lang/el.js create mode 100644 sources/plugins/fakeobjects/lang/en-au.js create mode 100644 sources/plugins/fakeobjects/lang/en-ca.js create mode 100644 sources/plugins/fakeobjects/lang/en-gb.js create mode 100644 sources/plugins/fakeobjects/lang/en.js create mode 100644 sources/plugins/fakeobjects/lang/eo.js create mode 100644 sources/plugins/fakeobjects/lang/es.js create mode 100644 sources/plugins/fakeobjects/lang/et.js create mode 100644 sources/plugins/fakeobjects/lang/eu.js create mode 100644 sources/plugins/fakeobjects/lang/fa.js create mode 100644 sources/plugins/fakeobjects/lang/fi.js create mode 100644 sources/plugins/fakeobjects/lang/fo.js create mode 100644 sources/plugins/fakeobjects/lang/fr-ca.js create mode 100644 sources/plugins/fakeobjects/lang/fr.js create mode 100644 sources/plugins/fakeobjects/lang/gl.js create mode 100644 sources/plugins/fakeobjects/lang/gu.js create mode 100644 sources/plugins/fakeobjects/lang/he.js create mode 100644 sources/plugins/fakeobjects/lang/hi.js create mode 100644 sources/plugins/fakeobjects/lang/hr.js create mode 100644 sources/plugins/fakeobjects/lang/hu.js create mode 100644 sources/plugins/fakeobjects/lang/id.js create mode 100644 sources/plugins/fakeobjects/lang/is.js create mode 100644 sources/plugins/fakeobjects/lang/it.js create mode 100644 sources/plugins/fakeobjects/lang/ja.js create mode 100644 sources/plugins/fakeobjects/lang/ka.js create mode 100644 sources/plugins/fakeobjects/lang/km.js create mode 100644 sources/plugins/fakeobjects/lang/ko.js create mode 100644 sources/plugins/fakeobjects/lang/ku.js create mode 100644 sources/plugins/fakeobjects/lang/lt.js create mode 100644 sources/plugins/fakeobjects/lang/lv.js create mode 100644 sources/plugins/fakeobjects/lang/mk.js create mode 100644 sources/plugins/fakeobjects/lang/mn.js create mode 100644 sources/plugins/fakeobjects/lang/ms.js create mode 100644 sources/plugins/fakeobjects/lang/nb.js create mode 100644 sources/plugins/fakeobjects/lang/nl.js create mode 100644 sources/plugins/fakeobjects/lang/no.js create mode 100644 sources/plugins/fakeobjects/lang/oc.js create mode 100644 sources/plugins/fakeobjects/lang/pl.js create mode 100644 sources/plugins/fakeobjects/lang/pt-br.js create mode 100644 sources/plugins/fakeobjects/lang/pt.js create mode 100644 sources/plugins/fakeobjects/lang/ro.js create mode 100644 sources/plugins/fakeobjects/lang/ru.js create mode 100644 sources/plugins/fakeobjects/lang/si.js create mode 100644 sources/plugins/fakeobjects/lang/sk.js create mode 100644 sources/plugins/fakeobjects/lang/sl.js create mode 100644 sources/plugins/fakeobjects/lang/sq.js create mode 100644 sources/plugins/fakeobjects/lang/sr-latn.js create mode 100644 sources/plugins/fakeobjects/lang/sr.js create mode 100644 sources/plugins/fakeobjects/lang/sv.js create mode 100644 sources/plugins/fakeobjects/lang/th.js create mode 100644 sources/plugins/fakeobjects/lang/tr.js create mode 100644 sources/plugins/fakeobjects/lang/tt.js create mode 100644 sources/plugins/fakeobjects/lang/ug.js create mode 100644 sources/plugins/fakeobjects/lang/uk.js create mode 100644 sources/plugins/fakeobjects/lang/vi.js create mode 100644 sources/plugins/fakeobjects/lang/zh-cn.js create mode 100644 sources/plugins/fakeobjects/lang/zh.js create mode 100644 sources/plugins/fakeobjects/plugin.js create mode 100644 sources/plugins/filebrowser/plugin.js create mode 100644 sources/plugins/floatingspace/plugin.js create mode 100644 sources/plugins/floatpanel/plugin.js create mode 100644 sources/plugins/format/lang/af.js create mode 100644 sources/plugins/format/lang/ar.js create mode 100644 sources/plugins/format/lang/az.js create mode 100644 sources/plugins/format/lang/bg.js create mode 100644 sources/plugins/format/lang/bn.js create mode 100644 sources/plugins/format/lang/bs.js create mode 100644 sources/plugins/format/lang/ca.js create mode 100644 sources/plugins/format/lang/cs.js create mode 100644 sources/plugins/format/lang/cy.js create mode 100644 sources/plugins/format/lang/da.js create mode 100644 sources/plugins/format/lang/de-ch.js create mode 100644 sources/plugins/format/lang/de.js create mode 100644 sources/plugins/format/lang/el.js create mode 100644 sources/plugins/format/lang/en-au.js create mode 100644 sources/plugins/format/lang/en-ca.js create mode 100644 sources/plugins/format/lang/en-gb.js create mode 100644 sources/plugins/format/lang/en.js create mode 100644 sources/plugins/format/lang/eo.js create mode 100644 sources/plugins/format/lang/es.js create mode 100644 sources/plugins/format/lang/et.js create mode 100644 sources/plugins/format/lang/eu.js create mode 100644 sources/plugins/format/lang/fa.js create mode 100644 sources/plugins/format/lang/fi.js create mode 100644 sources/plugins/format/lang/fo.js create mode 100644 sources/plugins/format/lang/fr-ca.js create mode 100644 sources/plugins/format/lang/fr.js create mode 100644 sources/plugins/format/lang/gl.js create mode 100644 sources/plugins/format/lang/gu.js create mode 100644 sources/plugins/format/lang/he.js create mode 100644 sources/plugins/format/lang/hi.js create mode 100644 sources/plugins/format/lang/hr.js create mode 100644 sources/plugins/format/lang/hu.js create mode 100644 sources/plugins/format/lang/id.js create mode 100644 sources/plugins/format/lang/is.js create mode 100644 sources/plugins/format/lang/it.js create mode 100644 sources/plugins/format/lang/ja.js create mode 100644 sources/plugins/format/lang/ka.js create mode 100644 sources/plugins/format/lang/km.js create mode 100644 sources/plugins/format/lang/ko.js create mode 100644 sources/plugins/format/lang/ku.js create mode 100644 sources/plugins/format/lang/lt.js create mode 100644 sources/plugins/format/lang/lv.js create mode 100644 sources/plugins/format/lang/mk.js create mode 100644 sources/plugins/format/lang/mn.js create mode 100644 sources/plugins/format/lang/ms.js create mode 100644 sources/plugins/format/lang/nb.js create mode 100644 sources/plugins/format/lang/nl.js create mode 100644 sources/plugins/format/lang/no.js create mode 100644 sources/plugins/format/lang/oc.js create mode 100644 sources/plugins/format/lang/pl.js create mode 100644 sources/plugins/format/lang/pt-br.js create mode 100644 sources/plugins/format/lang/pt.js create mode 100644 sources/plugins/format/lang/ro.js create mode 100644 sources/plugins/format/lang/ru.js create mode 100644 sources/plugins/format/lang/si.js create mode 100644 sources/plugins/format/lang/sk.js create mode 100644 sources/plugins/format/lang/sl.js create mode 100644 sources/plugins/format/lang/sq.js create mode 100644 sources/plugins/format/lang/sr-latn.js create mode 100644 sources/plugins/format/lang/sr.js create mode 100644 sources/plugins/format/lang/sv.js create mode 100644 sources/plugins/format/lang/th.js create mode 100644 sources/plugins/format/lang/tr.js create mode 100644 sources/plugins/format/lang/tt.js create mode 100644 sources/plugins/format/lang/ug.js create mode 100644 sources/plugins/format/lang/uk.js create mode 100644 sources/plugins/format/lang/vi.js create mode 100644 sources/plugins/format/lang/zh-cn.js create mode 100644 sources/plugins/format/lang/zh.js create mode 100644 sources/plugins/format/plugin.js create mode 100644 sources/plugins/horizontalrule/icons/hidpi/horizontalrule.png create mode 100644 sources/plugins/horizontalrule/icons/horizontalrule.png create mode 100644 sources/plugins/horizontalrule/lang/af.js create mode 100644 sources/plugins/horizontalrule/lang/ar.js create mode 100644 sources/plugins/horizontalrule/lang/az.js create mode 100644 sources/plugins/horizontalrule/lang/bg.js create mode 100644 sources/plugins/horizontalrule/lang/bn.js create mode 100644 sources/plugins/horizontalrule/lang/bs.js create mode 100644 sources/plugins/horizontalrule/lang/ca.js create mode 100644 sources/plugins/horizontalrule/lang/cs.js create mode 100644 sources/plugins/horizontalrule/lang/cy.js create mode 100644 sources/plugins/horizontalrule/lang/da.js create mode 100644 sources/plugins/horizontalrule/lang/de-ch.js create mode 100644 sources/plugins/horizontalrule/lang/de.js create mode 100644 sources/plugins/horizontalrule/lang/el.js create mode 100644 sources/plugins/horizontalrule/lang/en-au.js create mode 100644 sources/plugins/horizontalrule/lang/en-ca.js create mode 100644 sources/plugins/horizontalrule/lang/en-gb.js create mode 100644 sources/plugins/horizontalrule/lang/en.js create mode 100644 sources/plugins/horizontalrule/lang/eo.js create mode 100644 sources/plugins/horizontalrule/lang/es.js create mode 100644 sources/plugins/horizontalrule/lang/et.js create mode 100644 sources/plugins/horizontalrule/lang/eu.js create mode 100644 sources/plugins/horizontalrule/lang/fa.js create mode 100644 sources/plugins/horizontalrule/lang/fi.js create mode 100644 sources/plugins/horizontalrule/lang/fo.js create mode 100644 sources/plugins/horizontalrule/lang/fr-ca.js create mode 100644 sources/plugins/horizontalrule/lang/fr.js create mode 100644 sources/plugins/horizontalrule/lang/gl.js create mode 100644 sources/plugins/horizontalrule/lang/gu.js create mode 100644 sources/plugins/horizontalrule/lang/he.js create mode 100644 sources/plugins/horizontalrule/lang/hi.js create mode 100644 sources/plugins/horizontalrule/lang/hr.js create mode 100644 sources/plugins/horizontalrule/lang/hu.js create mode 100644 sources/plugins/horizontalrule/lang/id.js create mode 100644 sources/plugins/horizontalrule/lang/is.js create mode 100644 sources/plugins/horizontalrule/lang/it.js create mode 100644 sources/plugins/horizontalrule/lang/ja.js create mode 100644 sources/plugins/horizontalrule/lang/ka.js create mode 100644 sources/plugins/horizontalrule/lang/km.js create mode 100644 sources/plugins/horizontalrule/lang/ko.js create mode 100644 sources/plugins/horizontalrule/lang/ku.js create mode 100644 sources/plugins/horizontalrule/lang/lt.js create mode 100644 sources/plugins/horizontalrule/lang/lv.js create mode 100644 sources/plugins/horizontalrule/lang/mk.js create mode 100644 sources/plugins/horizontalrule/lang/mn.js create mode 100644 sources/plugins/horizontalrule/lang/ms.js create mode 100644 sources/plugins/horizontalrule/lang/nb.js create mode 100644 sources/plugins/horizontalrule/lang/nl.js create mode 100644 sources/plugins/horizontalrule/lang/no.js create mode 100644 sources/plugins/horizontalrule/lang/oc.js create mode 100644 sources/plugins/horizontalrule/lang/pl.js create mode 100644 sources/plugins/horizontalrule/lang/pt-br.js create mode 100644 sources/plugins/horizontalrule/lang/pt.js create mode 100644 sources/plugins/horizontalrule/lang/ro.js create mode 100644 sources/plugins/horizontalrule/lang/ru.js create mode 100644 sources/plugins/horizontalrule/lang/si.js create mode 100644 sources/plugins/horizontalrule/lang/sk.js create mode 100644 sources/plugins/horizontalrule/lang/sl.js create mode 100644 sources/plugins/horizontalrule/lang/sq.js create mode 100644 sources/plugins/horizontalrule/lang/sr-latn.js create mode 100644 sources/plugins/horizontalrule/lang/sr.js create mode 100644 sources/plugins/horizontalrule/lang/sv.js create mode 100644 sources/plugins/horizontalrule/lang/th.js create mode 100644 sources/plugins/horizontalrule/lang/tr.js create mode 100644 sources/plugins/horizontalrule/lang/tt.js create mode 100644 sources/plugins/horizontalrule/lang/ug.js create mode 100644 sources/plugins/horizontalrule/lang/uk.js create mode 100644 sources/plugins/horizontalrule/lang/vi.js create mode 100644 sources/plugins/horizontalrule/lang/zh-cn.js create mode 100644 sources/plugins/horizontalrule/lang/zh.js create mode 100644 sources/plugins/horizontalrule/plugin.js create mode 100644 sources/plugins/htmlwriter/plugin.js create mode 100644 sources/plugins/htmlwriter/samples/assets/outputforflash/outputforflash.fla create mode 100644 sources/plugins/htmlwriter/samples/assets/outputforflash/outputforflash.swf create mode 100644 sources/plugins/htmlwriter/samples/assets/outputforflash/swfobject.js create mode 100644 sources/plugins/htmlwriter/samples/outputforflash.html create mode 100644 sources/plugins/htmlwriter/samples/outputhtml.html create mode 100644 sources/plugins/iframe/dialogs/iframe.js create mode 100644 sources/plugins/iframe/icons/hidpi/iframe.png create mode 100644 sources/plugins/iframe/icons/iframe.png create mode 100644 sources/plugins/iframe/images/placeholder.png create mode 100644 sources/plugins/iframe/lang/af.js create mode 100644 sources/plugins/iframe/lang/ar.js create mode 100644 sources/plugins/iframe/lang/az.js create mode 100644 sources/plugins/iframe/lang/bg.js create mode 100644 sources/plugins/iframe/lang/bn.js create mode 100644 sources/plugins/iframe/lang/bs.js create mode 100644 sources/plugins/iframe/lang/ca.js create mode 100644 sources/plugins/iframe/lang/cs.js create mode 100644 sources/plugins/iframe/lang/cy.js create mode 100644 sources/plugins/iframe/lang/da.js create mode 100644 sources/plugins/iframe/lang/de-ch.js create mode 100644 sources/plugins/iframe/lang/de.js create mode 100644 sources/plugins/iframe/lang/el.js create mode 100644 sources/plugins/iframe/lang/en-au.js create mode 100644 sources/plugins/iframe/lang/en-ca.js create mode 100644 sources/plugins/iframe/lang/en-gb.js create mode 100644 sources/plugins/iframe/lang/en.js create mode 100644 sources/plugins/iframe/lang/eo.js create mode 100644 sources/plugins/iframe/lang/es.js create mode 100644 sources/plugins/iframe/lang/et.js create mode 100644 sources/plugins/iframe/lang/eu.js create mode 100644 sources/plugins/iframe/lang/fa.js create mode 100644 sources/plugins/iframe/lang/fi.js create mode 100644 sources/plugins/iframe/lang/fo.js create mode 100644 sources/plugins/iframe/lang/fr-ca.js create mode 100644 sources/plugins/iframe/lang/fr.js create mode 100644 sources/plugins/iframe/lang/gl.js create mode 100644 sources/plugins/iframe/lang/gu.js create mode 100644 sources/plugins/iframe/lang/he.js create mode 100644 sources/plugins/iframe/lang/hi.js create mode 100644 sources/plugins/iframe/lang/hr.js create mode 100644 sources/plugins/iframe/lang/hu.js create mode 100644 sources/plugins/iframe/lang/id.js create mode 100644 sources/plugins/iframe/lang/is.js create mode 100644 sources/plugins/iframe/lang/it.js create mode 100644 sources/plugins/iframe/lang/ja.js create mode 100644 sources/plugins/iframe/lang/ka.js create mode 100644 sources/plugins/iframe/lang/km.js create mode 100644 sources/plugins/iframe/lang/ko.js create mode 100644 sources/plugins/iframe/lang/ku.js create mode 100644 sources/plugins/iframe/lang/lt.js create mode 100644 sources/plugins/iframe/lang/lv.js create mode 100644 sources/plugins/iframe/lang/mk.js create mode 100644 sources/plugins/iframe/lang/mn.js create mode 100644 sources/plugins/iframe/lang/ms.js create mode 100644 sources/plugins/iframe/lang/nb.js create mode 100644 sources/plugins/iframe/lang/nl.js create mode 100644 sources/plugins/iframe/lang/no.js create mode 100644 sources/plugins/iframe/lang/oc.js create mode 100644 sources/plugins/iframe/lang/pl.js create mode 100644 sources/plugins/iframe/lang/pt-br.js create mode 100644 sources/plugins/iframe/lang/pt.js create mode 100644 sources/plugins/iframe/lang/ro.js create mode 100644 sources/plugins/iframe/lang/ru.js create mode 100644 sources/plugins/iframe/lang/si.js create mode 100644 sources/plugins/iframe/lang/sk.js create mode 100644 sources/plugins/iframe/lang/sl.js create mode 100644 sources/plugins/iframe/lang/sq.js create mode 100644 sources/plugins/iframe/lang/sr-latn.js create mode 100644 sources/plugins/iframe/lang/sr.js create mode 100644 sources/plugins/iframe/lang/sv.js create mode 100644 sources/plugins/iframe/lang/th.js create mode 100644 sources/plugins/iframe/lang/tr.js create mode 100644 sources/plugins/iframe/lang/tt.js create mode 100644 sources/plugins/iframe/lang/ug.js create mode 100644 sources/plugins/iframe/lang/uk.js create mode 100644 sources/plugins/iframe/lang/vi.js create mode 100644 sources/plugins/iframe/lang/zh-cn.js create mode 100644 sources/plugins/iframe/lang/zh.js create mode 100644 sources/plugins/iframe/plugin.js create mode 100644 sources/plugins/image/dialogs/image.js create mode 100644 sources/plugins/image/icons/hidpi/image.png create mode 100644 sources/plugins/image/icons/image.png create mode 100644 sources/plugins/image/images/noimage.png create mode 100644 sources/plugins/image/lang/af.js create mode 100644 sources/plugins/image/lang/ar.js create mode 100644 sources/plugins/image/lang/az.js create mode 100644 sources/plugins/image/lang/bg.js create mode 100644 sources/plugins/image/lang/bn.js create mode 100644 sources/plugins/image/lang/bs.js create mode 100644 sources/plugins/image/lang/ca.js create mode 100644 sources/plugins/image/lang/cs.js create mode 100644 sources/plugins/image/lang/cy.js create mode 100644 sources/plugins/image/lang/da.js create mode 100644 sources/plugins/image/lang/de-ch.js create mode 100644 sources/plugins/image/lang/de.js create mode 100644 sources/plugins/image/lang/el.js create mode 100644 sources/plugins/image/lang/en-au.js create mode 100644 sources/plugins/image/lang/en-ca.js create mode 100644 sources/plugins/image/lang/en-gb.js create mode 100644 sources/plugins/image/lang/en.js create mode 100644 sources/plugins/image/lang/eo.js create mode 100644 sources/plugins/image/lang/es.js create mode 100644 sources/plugins/image/lang/et.js create mode 100644 sources/plugins/image/lang/eu.js create mode 100644 sources/plugins/image/lang/fa.js create mode 100644 sources/plugins/image/lang/fi.js create mode 100644 sources/plugins/image/lang/fo.js create mode 100644 sources/plugins/image/lang/fr-ca.js create mode 100644 sources/plugins/image/lang/fr.js create mode 100644 sources/plugins/image/lang/gl.js create mode 100644 sources/plugins/image/lang/gu.js create mode 100644 sources/plugins/image/lang/he.js create mode 100644 sources/plugins/image/lang/hi.js create mode 100644 sources/plugins/image/lang/hr.js create mode 100644 sources/plugins/image/lang/hu.js create mode 100644 sources/plugins/image/lang/id.js create mode 100644 sources/plugins/image/lang/is.js create mode 100644 sources/plugins/image/lang/it.js create mode 100644 sources/plugins/image/lang/ja.js create mode 100644 sources/plugins/image/lang/ka.js create mode 100644 sources/plugins/image/lang/km.js create mode 100644 sources/plugins/image/lang/ko.js create mode 100644 sources/plugins/image/lang/ku.js create mode 100644 sources/plugins/image/lang/lt.js create mode 100644 sources/plugins/image/lang/lv.js create mode 100644 sources/plugins/image/lang/mk.js create mode 100644 sources/plugins/image/lang/mn.js create mode 100644 sources/plugins/image/lang/ms.js create mode 100644 sources/plugins/image/lang/nb.js create mode 100644 sources/plugins/image/lang/nl.js create mode 100644 sources/plugins/image/lang/no.js create mode 100644 sources/plugins/image/lang/oc.js create mode 100644 sources/plugins/image/lang/pl.js create mode 100644 sources/plugins/image/lang/pt-br.js create mode 100644 sources/plugins/image/lang/pt.js create mode 100644 sources/plugins/image/lang/ro.js create mode 100644 sources/plugins/image/lang/ru.js create mode 100644 sources/plugins/image/lang/si.js create mode 100644 sources/plugins/image/lang/sk.js create mode 100644 sources/plugins/image/lang/sl.js create mode 100644 sources/plugins/image/lang/sq.js create mode 100644 sources/plugins/image/lang/sr-latn.js create mode 100644 sources/plugins/image/lang/sr.js create mode 100644 sources/plugins/image/lang/sv.js create mode 100644 sources/plugins/image/lang/th.js create mode 100644 sources/plugins/image/lang/tr.js create mode 100644 sources/plugins/image/lang/tt.js create mode 100644 sources/plugins/image/lang/ug.js create mode 100644 sources/plugins/image/lang/uk.js create mode 100644 sources/plugins/image/lang/vi.js create mode 100644 sources/plugins/image/lang/zh-cn.js create mode 100644 sources/plugins/image/lang/zh.js create mode 100644 sources/plugins/image/plugin.js create mode 100644 sources/plugins/indent/dev/indent.html create mode 100644 sources/plugins/indent/icons/hidpi/indent-rtl.png create mode 100644 sources/plugins/indent/icons/hidpi/indent.png create mode 100644 sources/plugins/indent/icons/hidpi/outdent-rtl.png create mode 100644 sources/plugins/indent/icons/hidpi/outdent.png create mode 100644 sources/plugins/indent/icons/indent-rtl.png create mode 100644 sources/plugins/indent/icons/indent.png create mode 100644 sources/plugins/indent/icons/outdent-rtl.png create mode 100644 sources/plugins/indent/icons/outdent.png create mode 100644 sources/plugins/indent/lang/af.js create mode 100644 sources/plugins/indent/lang/ar.js create mode 100644 sources/plugins/indent/lang/az.js create mode 100644 sources/plugins/indent/lang/bg.js create mode 100644 sources/plugins/indent/lang/bn.js create mode 100644 sources/plugins/indent/lang/bs.js create mode 100644 sources/plugins/indent/lang/ca.js create mode 100644 sources/plugins/indent/lang/cs.js create mode 100644 sources/plugins/indent/lang/cy.js create mode 100644 sources/plugins/indent/lang/da.js create mode 100644 sources/plugins/indent/lang/de-ch.js create mode 100644 sources/plugins/indent/lang/de.js create mode 100644 sources/plugins/indent/lang/el.js create mode 100644 sources/plugins/indent/lang/en-au.js create mode 100644 sources/plugins/indent/lang/en-ca.js create mode 100644 sources/plugins/indent/lang/en-gb.js create mode 100644 sources/plugins/indent/lang/en.js create mode 100644 sources/plugins/indent/lang/eo.js create mode 100644 sources/plugins/indent/lang/es.js create mode 100644 sources/plugins/indent/lang/et.js create mode 100644 sources/plugins/indent/lang/eu.js create mode 100644 sources/plugins/indent/lang/fa.js create mode 100644 sources/plugins/indent/lang/fi.js create mode 100644 sources/plugins/indent/lang/fo.js create mode 100644 sources/plugins/indent/lang/fr-ca.js create mode 100644 sources/plugins/indent/lang/fr.js create mode 100644 sources/plugins/indent/lang/gl.js create mode 100644 sources/plugins/indent/lang/gu.js create mode 100644 sources/plugins/indent/lang/he.js create mode 100644 sources/plugins/indent/lang/hi.js create mode 100644 sources/plugins/indent/lang/hr.js create mode 100644 sources/plugins/indent/lang/hu.js create mode 100644 sources/plugins/indent/lang/id.js create mode 100644 sources/plugins/indent/lang/is.js create mode 100644 sources/plugins/indent/lang/it.js create mode 100644 sources/plugins/indent/lang/ja.js create mode 100644 sources/plugins/indent/lang/ka.js create mode 100644 sources/plugins/indent/lang/km.js create mode 100644 sources/plugins/indent/lang/ko.js create mode 100644 sources/plugins/indent/lang/ku.js create mode 100644 sources/plugins/indent/lang/lt.js create mode 100644 sources/plugins/indent/lang/lv.js create mode 100644 sources/plugins/indent/lang/mk.js create mode 100644 sources/plugins/indent/lang/mn.js create mode 100644 sources/plugins/indent/lang/ms.js create mode 100644 sources/plugins/indent/lang/nb.js create mode 100644 sources/plugins/indent/lang/nl.js create mode 100644 sources/plugins/indent/lang/no.js create mode 100644 sources/plugins/indent/lang/oc.js create mode 100644 sources/plugins/indent/lang/pl.js create mode 100644 sources/plugins/indent/lang/pt-br.js create mode 100644 sources/plugins/indent/lang/pt.js create mode 100644 sources/plugins/indent/lang/ro.js create mode 100644 sources/plugins/indent/lang/ru.js create mode 100644 sources/plugins/indent/lang/si.js create mode 100644 sources/plugins/indent/lang/sk.js create mode 100644 sources/plugins/indent/lang/sl.js create mode 100644 sources/plugins/indent/lang/sq.js create mode 100644 sources/plugins/indent/lang/sr-latn.js create mode 100644 sources/plugins/indent/lang/sr.js create mode 100644 sources/plugins/indent/lang/sv.js create mode 100644 sources/plugins/indent/lang/th.js create mode 100644 sources/plugins/indent/lang/tr.js create mode 100644 sources/plugins/indent/lang/tt.js create mode 100644 sources/plugins/indent/lang/ug.js create mode 100644 sources/plugins/indent/lang/uk.js create mode 100644 sources/plugins/indent/lang/vi.js create mode 100644 sources/plugins/indent/lang/zh-cn.js create mode 100644 sources/plugins/indent/lang/zh.js create mode 100644 sources/plugins/indent/plugin.js create mode 100644 sources/plugins/indentblock/plugin.js create mode 100644 sources/plugins/indentlist/plugin.js create mode 100644 sources/plugins/justify/icons/hidpi/justifyblock.png create mode 100644 sources/plugins/justify/icons/hidpi/justifycenter.png create mode 100644 sources/plugins/justify/icons/hidpi/justifyleft.png create mode 100644 sources/plugins/justify/icons/hidpi/justifyright.png create mode 100644 sources/plugins/justify/icons/justifyblock.png create mode 100644 sources/plugins/justify/icons/justifycenter.png create mode 100644 sources/plugins/justify/icons/justifyleft.png create mode 100644 sources/plugins/justify/icons/justifyright.png create mode 100644 sources/plugins/justify/lang/af.js create mode 100644 sources/plugins/justify/lang/ar.js create mode 100644 sources/plugins/justify/lang/az.js create mode 100644 sources/plugins/justify/lang/bg.js create mode 100644 sources/plugins/justify/lang/bn.js create mode 100644 sources/plugins/justify/lang/bs.js create mode 100644 sources/plugins/justify/lang/ca.js create mode 100644 sources/plugins/justify/lang/cs.js create mode 100644 sources/plugins/justify/lang/cy.js create mode 100644 sources/plugins/justify/lang/da.js create mode 100644 sources/plugins/justify/lang/de-ch.js create mode 100644 sources/plugins/justify/lang/de.js create mode 100644 sources/plugins/justify/lang/el.js create mode 100644 sources/plugins/justify/lang/en-au.js create mode 100644 sources/plugins/justify/lang/en-ca.js create mode 100644 sources/plugins/justify/lang/en-gb.js create mode 100644 sources/plugins/justify/lang/en.js create mode 100644 sources/plugins/justify/lang/eo.js create mode 100644 sources/plugins/justify/lang/es.js create mode 100644 sources/plugins/justify/lang/et.js create mode 100644 sources/plugins/justify/lang/eu.js create mode 100644 sources/plugins/justify/lang/fa.js create mode 100644 sources/plugins/justify/lang/fi.js create mode 100644 sources/plugins/justify/lang/fo.js create mode 100644 sources/plugins/justify/lang/fr-ca.js create mode 100644 sources/plugins/justify/lang/fr.js create mode 100644 sources/plugins/justify/lang/gl.js create mode 100644 sources/plugins/justify/lang/gu.js create mode 100644 sources/plugins/justify/lang/he.js create mode 100644 sources/plugins/justify/lang/hi.js create mode 100644 sources/plugins/justify/lang/hr.js create mode 100644 sources/plugins/justify/lang/hu.js create mode 100644 sources/plugins/justify/lang/id.js create mode 100644 sources/plugins/justify/lang/is.js create mode 100644 sources/plugins/justify/lang/it.js create mode 100644 sources/plugins/justify/lang/ja.js create mode 100644 sources/plugins/justify/lang/ka.js create mode 100644 sources/plugins/justify/lang/km.js create mode 100644 sources/plugins/justify/lang/ko.js create mode 100644 sources/plugins/justify/lang/ku.js create mode 100644 sources/plugins/justify/lang/lt.js create mode 100644 sources/plugins/justify/lang/lv.js create mode 100644 sources/plugins/justify/lang/mk.js create mode 100644 sources/plugins/justify/lang/mn.js create mode 100644 sources/plugins/justify/lang/ms.js create mode 100644 sources/plugins/justify/lang/nb.js create mode 100644 sources/plugins/justify/lang/nl.js create mode 100644 sources/plugins/justify/lang/no.js create mode 100644 sources/plugins/justify/lang/oc.js create mode 100644 sources/plugins/justify/lang/pl.js create mode 100644 sources/plugins/justify/lang/pt-br.js create mode 100644 sources/plugins/justify/lang/pt.js create mode 100644 sources/plugins/justify/lang/ro.js create mode 100644 sources/plugins/justify/lang/ru.js create mode 100644 sources/plugins/justify/lang/si.js create mode 100644 sources/plugins/justify/lang/sk.js create mode 100644 sources/plugins/justify/lang/sl.js create mode 100644 sources/plugins/justify/lang/sq.js create mode 100644 sources/plugins/justify/lang/sr-latn.js create mode 100644 sources/plugins/justify/lang/sr.js create mode 100644 sources/plugins/justify/lang/sv.js create mode 100644 sources/plugins/justify/lang/th.js create mode 100644 sources/plugins/justify/lang/tr.js create mode 100644 sources/plugins/justify/lang/tt.js create mode 100644 sources/plugins/justify/lang/ug.js create mode 100644 sources/plugins/justify/lang/uk.js create mode 100644 sources/plugins/justify/lang/vi.js create mode 100644 sources/plugins/justify/lang/zh-cn.js create mode 100644 sources/plugins/justify/lang/zh.js create mode 100644 sources/plugins/justify/plugin.js create mode 100644 sources/plugins/lineutils/dev/dnd.html create mode 100644 sources/plugins/lineutils/dev/magicfinger.html create mode 100644 sources/plugins/lineutils/plugin.js create mode 100644 sources/plugins/link/dialogs/anchor.js create mode 100644 sources/plugins/link/dialogs/link.js create mode 100644 sources/plugins/link/icons/anchor-rtl.png create mode 100644 sources/plugins/link/icons/anchor.png create mode 100644 sources/plugins/link/icons/hidpi/anchor-rtl.png create mode 100644 sources/plugins/link/icons/hidpi/anchor.png create mode 100644 sources/plugins/link/icons/hidpi/link.png create mode 100644 sources/plugins/link/icons/hidpi/unlink.png create mode 100644 sources/plugins/link/icons/link.png create mode 100644 sources/plugins/link/icons/unlink.png create mode 100644 sources/plugins/link/images/anchor.png create mode 100644 sources/plugins/link/images/hidpi/anchor.png create mode 100644 sources/plugins/link/lang/af.js create mode 100644 sources/plugins/link/lang/ar.js create mode 100644 sources/plugins/link/lang/az.js create mode 100644 sources/plugins/link/lang/bg.js create mode 100644 sources/plugins/link/lang/bn.js create mode 100644 sources/plugins/link/lang/bs.js create mode 100644 sources/plugins/link/lang/ca.js create mode 100644 sources/plugins/link/lang/cs.js create mode 100644 sources/plugins/link/lang/cy.js create mode 100644 sources/plugins/link/lang/da.js create mode 100644 sources/plugins/link/lang/de-ch.js create mode 100644 sources/plugins/link/lang/de.js create mode 100644 sources/plugins/link/lang/el.js create mode 100644 sources/plugins/link/lang/en-au.js create mode 100644 sources/plugins/link/lang/en-ca.js create mode 100644 sources/plugins/link/lang/en-gb.js create mode 100644 sources/plugins/link/lang/en.js create mode 100644 sources/plugins/link/lang/eo.js create mode 100644 sources/plugins/link/lang/es.js create mode 100644 sources/plugins/link/lang/et.js create mode 100644 sources/plugins/link/lang/eu.js create mode 100644 sources/plugins/link/lang/fa.js create mode 100644 sources/plugins/link/lang/fi.js create mode 100644 sources/plugins/link/lang/fo.js create mode 100644 sources/plugins/link/lang/fr-ca.js create mode 100644 sources/plugins/link/lang/fr.js create mode 100644 sources/plugins/link/lang/gl.js create mode 100644 sources/plugins/link/lang/gu.js create mode 100644 sources/plugins/link/lang/he.js create mode 100644 sources/plugins/link/lang/hi.js create mode 100644 sources/plugins/link/lang/hr.js create mode 100644 sources/plugins/link/lang/hu.js create mode 100644 sources/plugins/link/lang/id.js create mode 100644 sources/plugins/link/lang/is.js create mode 100644 sources/plugins/link/lang/it.js create mode 100644 sources/plugins/link/lang/ja.js create mode 100644 sources/plugins/link/lang/ka.js create mode 100644 sources/plugins/link/lang/km.js create mode 100644 sources/plugins/link/lang/ko.js create mode 100644 sources/plugins/link/lang/ku.js create mode 100644 sources/plugins/link/lang/lt.js create mode 100644 sources/plugins/link/lang/lv.js create mode 100644 sources/plugins/link/lang/mk.js create mode 100644 sources/plugins/link/lang/mn.js create mode 100644 sources/plugins/link/lang/ms.js create mode 100644 sources/plugins/link/lang/nb.js create mode 100644 sources/plugins/link/lang/nl.js create mode 100644 sources/plugins/link/lang/no.js create mode 100644 sources/plugins/link/lang/oc.js create mode 100644 sources/plugins/link/lang/pl.js create mode 100644 sources/plugins/link/lang/pt-br.js create mode 100644 sources/plugins/link/lang/pt.js create mode 100644 sources/plugins/link/lang/ro.js create mode 100644 sources/plugins/link/lang/ru.js create mode 100644 sources/plugins/link/lang/si.js create mode 100644 sources/plugins/link/lang/sk.js create mode 100644 sources/plugins/link/lang/sl.js create mode 100644 sources/plugins/link/lang/sq.js create mode 100644 sources/plugins/link/lang/sr-latn.js create mode 100644 sources/plugins/link/lang/sr.js create mode 100644 sources/plugins/link/lang/sv.js create mode 100644 sources/plugins/link/lang/th.js create mode 100644 sources/plugins/link/lang/tr.js create mode 100644 sources/plugins/link/lang/tt.js create mode 100644 sources/plugins/link/lang/ug.js create mode 100644 sources/plugins/link/lang/uk.js create mode 100644 sources/plugins/link/lang/vi.js create mode 100644 sources/plugins/link/lang/zh-cn.js create mode 100644 sources/plugins/link/lang/zh.js create mode 100644 sources/plugins/link/plugin.js create mode 100644 sources/plugins/list/icons/bulletedlist-rtl.png create mode 100644 sources/plugins/list/icons/bulletedlist.png create mode 100644 sources/plugins/list/icons/hidpi/bulletedlist-rtl.png create mode 100644 sources/plugins/list/icons/hidpi/bulletedlist.png create mode 100644 sources/plugins/list/icons/hidpi/numberedlist-rtl.png create mode 100644 sources/plugins/list/icons/hidpi/numberedlist.png create mode 100644 sources/plugins/list/icons/numberedlist-rtl.png create mode 100644 sources/plugins/list/icons/numberedlist.png create mode 100644 sources/plugins/list/lang/af.js create mode 100644 sources/plugins/list/lang/ar.js create mode 100644 sources/plugins/list/lang/az.js create mode 100644 sources/plugins/list/lang/bg.js create mode 100644 sources/plugins/list/lang/bn.js create mode 100644 sources/plugins/list/lang/bs.js create mode 100644 sources/plugins/list/lang/ca.js create mode 100644 sources/plugins/list/lang/cs.js create mode 100644 sources/plugins/list/lang/cy.js create mode 100644 sources/plugins/list/lang/da.js create mode 100644 sources/plugins/list/lang/de-ch.js create mode 100644 sources/plugins/list/lang/de.js create mode 100644 sources/plugins/list/lang/el.js create mode 100644 sources/plugins/list/lang/en-au.js create mode 100644 sources/plugins/list/lang/en-ca.js create mode 100644 sources/plugins/list/lang/en-gb.js create mode 100644 sources/plugins/list/lang/en.js create mode 100644 sources/plugins/list/lang/eo.js create mode 100644 sources/plugins/list/lang/es.js create mode 100644 sources/plugins/list/lang/et.js create mode 100644 sources/plugins/list/lang/eu.js create mode 100644 sources/plugins/list/lang/fa.js create mode 100644 sources/plugins/list/lang/fi.js create mode 100644 sources/plugins/list/lang/fo.js create mode 100644 sources/plugins/list/lang/fr-ca.js create mode 100644 sources/plugins/list/lang/fr.js create mode 100644 sources/plugins/list/lang/gl.js create mode 100644 sources/plugins/list/lang/gu.js create mode 100644 sources/plugins/list/lang/he.js create mode 100644 sources/plugins/list/lang/hi.js create mode 100644 sources/plugins/list/lang/hr.js create mode 100644 sources/plugins/list/lang/hu.js create mode 100644 sources/plugins/list/lang/id.js create mode 100644 sources/plugins/list/lang/is.js create mode 100644 sources/plugins/list/lang/it.js create mode 100644 sources/plugins/list/lang/ja.js create mode 100644 sources/plugins/list/lang/ka.js create mode 100644 sources/plugins/list/lang/km.js create mode 100644 sources/plugins/list/lang/ko.js create mode 100644 sources/plugins/list/lang/ku.js create mode 100644 sources/plugins/list/lang/lt.js create mode 100644 sources/plugins/list/lang/lv.js create mode 100644 sources/plugins/list/lang/mk.js create mode 100644 sources/plugins/list/lang/mn.js create mode 100644 sources/plugins/list/lang/ms.js create mode 100644 sources/plugins/list/lang/nb.js create mode 100644 sources/plugins/list/lang/nl.js create mode 100644 sources/plugins/list/lang/no.js create mode 100644 sources/plugins/list/lang/oc.js create mode 100644 sources/plugins/list/lang/pl.js create mode 100644 sources/plugins/list/lang/pt-br.js create mode 100644 sources/plugins/list/lang/pt.js create mode 100644 sources/plugins/list/lang/ro.js create mode 100644 sources/plugins/list/lang/ru.js create mode 100644 sources/plugins/list/lang/si.js create mode 100644 sources/plugins/list/lang/sk.js create mode 100644 sources/plugins/list/lang/sl.js create mode 100644 sources/plugins/list/lang/sq.js create mode 100644 sources/plugins/list/lang/sr-latn.js create mode 100644 sources/plugins/list/lang/sr.js create mode 100644 sources/plugins/list/lang/sv.js create mode 100644 sources/plugins/list/lang/th.js create mode 100644 sources/plugins/list/lang/tr.js create mode 100644 sources/plugins/list/lang/tt.js create mode 100644 sources/plugins/list/lang/ug.js create mode 100644 sources/plugins/list/lang/uk.js create mode 100644 sources/plugins/list/lang/vi.js create mode 100644 sources/plugins/list/lang/zh-cn.js create mode 100644 sources/plugins/list/lang/zh.js create mode 100644 sources/plugins/list/plugin.js create mode 100644 sources/plugins/listblock/plugin.js create mode 100644 sources/plugins/liststyle/dialogs/liststyle.js create mode 100644 sources/plugins/liststyle/lang/af.js create mode 100644 sources/plugins/liststyle/lang/ar.js create mode 100644 sources/plugins/liststyle/lang/az.js create mode 100644 sources/plugins/liststyle/lang/bg.js create mode 100644 sources/plugins/liststyle/lang/bn.js create mode 100644 sources/plugins/liststyle/lang/bs.js create mode 100644 sources/plugins/liststyle/lang/ca.js create mode 100644 sources/plugins/liststyle/lang/cs.js create mode 100644 sources/plugins/liststyle/lang/cy.js create mode 100644 sources/plugins/liststyle/lang/da.js create mode 100644 sources/plugins/liststyle/lang/de-ch.js create mode 100644 sources/plugins/liststyle/lang/de.js create mode 100644 sources/plugins/liststyle/lang/el.js create mode 100644 sources/plugins/liststyle/lang/en-au.js create mode 100644 sources/plugins/liststyle/lang/en-ca.js create mode 100644 sources/plugins/liststyle/lang/en-gb.js create mode 100644 sources/plugins/liststyle/lang/en.js create mode 100644 sources/plugins/liststyle/lang/eo.js create mode 100644 sources/plugins/liststyle/lang/es.js create mode 100644 sources/plugins/liststyle/lang/et.js create mode 100644 sources/plugins/liststyle/lang/eu.js create mode 100644 sources/plugins/liststyle/lang/fa.js create mode 100644 sources/plugins/liststyle/lang/fi.js create mode 100644 sources/plugins/liststyle/lang/fo.js create mode 100644 sources/plugins/liststyle/lang/fr-ca.js create mode 100644 sources/plugins/liststyle/lang/fr.js create mode 100644 sources/plugins/liststyle/lang/gl.js create mode 100644 sources/plugins/liststyle/lang/gu.js create mode 100644 sources/plugins/liststyle/lang/he.js create mode 100644 sources/plugins/liststyle/lang/hi.js create mode 100644 sources/plugins/liststyle/lang/hr.js create mode 100644 sources/plugins/liststyle/lang/hu.js create mode 100644 sources/plugins/liststyle/lang/id.js create mode 100644 sources/plugins/liststyle/lang/is.js create mode 100644 sources/plugins/liststyle/lang/it.js create mode 100644 sources/plugins/liststyle/lang/ja.js create mode 100644 sources/plugins/liststyle/lang/ka.js create mode 100644 sources/plugins/liststyle/lang/km.js create mode 100644 sources/plugins/liststyle/lang/ko.js create mode 100644 sources/plugins/liststyle/lang/ku.js create mode 100644 sources/plugins/liststyle/lang/lt.js create mode 100644 sources/plugins/liststyle/lang/lv.js create mode 100644 sources/plugins/liststyle/lang/mk.js create mode 100644 sources/plugins/liststyle/lang/mn.js create mode 100644 sources/plugins/liststyle/lang/ms.js create mode 100644 sources/plugins/liststyle/lang/nb.js create mode 100644 sources/plugins/liststyle/lang/nl.js create mode 100644 sources/plugins/liststyle/lang/no.js create mode 100644 sources/plugins/liststyle/lang/oc.js create mode 100644 sources/plugins/liststyle/lang/pl.js create mode 100644 sources/plugins/liststyle/lang/pt-br.js create mode 100644 sources/plugins/liststyle/lang/pt.js create mode 100644 sources/plugins/liststyle/lang/ro.js create mode 100644 sources/plugins/liststyle/lang/ru.js create mode 100644 sources/plugins/liststyle/lang/si.js create mode 100644 sources/plugins/liststyle/lang/sk.js create mode 100644 sources/plugins/liststyle/lang/sl.js create mode 100644 sources/plugins/liststyle/lang/sq.js create mode 100644 sources/plugins/liststyle/lang/sr-latn.js create mode 100644 sources/plugins/liststyle/lang/sr.js create mode 100644 sources/plugins/liststyle/lang/sv.js create mode 100644 sources/plugins/liststyle/lang/th.js create mode 100644 sources/plugins/liststyle/lang/tr.js create mode 100644 sources/plugins/liststyle/lang/tt.js create mode 100644 sources/plugins/liststyle/lang/ug.js create mode 100644 sources/plugins/liststyle/lang/uk.js create mode 100644 sources/plugins/liststyle/lang/vi.js create mode 100644 sources/plugins/liststyle/lang/zh-cn.js create mode 100644 sources/plugins/liststyle/lang/zh.js create mode 100644 sources/plugins/liststyle/plugin.js create mode 100644 sources/plugins/magicline/dev/magicline.html create mode 100644 sources/plugins/magicline/images/hidpi/icon-rtl.png create mode 100644 sources/plugins/magicline/images/hidpi/icon.png create mode 100644 sources/plugins/magicline/images/icon-rtl.png create mode 100644 sources/plugins/magicline/images/icon.png create mode 100644 sources/plugins/magicline/lang/af.js create mode 100644 sources/plugins/magicline/lang/ar.js create mode 100644 sources/plugins/magicline/lang/az.js create mode 100644 sources/plugins/magicline/lang/bg.js create mode 100644 sources/plugins/magicline/lang/ca.js create mode 100644 sources/plugins/magicline/lang/cs.js create mode 100644 sources/plugins/magicline/lang/cy.js create mode 100644 sources/plugins/magicline/lang/da.js create mode 100644 sources/plugins/magicline/lang/de-ch.js create mode 100644 sources/plugins/magicline/lang/de.js create mode 100644 sources/plugins/magicline/lang/el.js create mode 100644 sources/plugins/magicline/lang/en-gb.js create mode 100644 sources/plugins/magicline/lang/en.js create mode 100644 sources/plugins/magicline/lang/eo.js create mode 100644 sources/plugins/magicline/lang/es.js create mode 100644 sources/plugins/magicline/lang/et.js create mode 100644 sources/plugins/magicline/lang/eu.js create mode 100644 sources/plugins/magicline/lang/fa.js create mode 100644 sources/plugins/magicline/lang/fi.js create mode 100644 sources/plugins/magicline/lang/fr-ca.js create mode 100644 sources/plugins/magicline/lang/fr.js create mode 100644 sources/plugins/magicline/lang/gl.js create mode 100644 sources/plugins/magicline/lang/he.js create mode 100644 sources/plugins/magicline/lang/hr.js create mode 100644 sources/plugins/magicline/lang/hu.js create mode 100644 sources/plugins/magicline/lang/id.js create mode 100644 sources/plugins/magicline/lang/it.js create mode 100644 sources/plugins/magicline/lang/ja.js create mode 100644 sources/plugins/magicline/lang/km.js create mode 100644 sources/plugins/magicline/lang/ko.js create mode 100644 sources/plugins/magicline/lang/ku.js create mode 100644 sources/plugins/magicline/lang/lv.js create mode 100644 sources/plugins/magicline/lang/nb.js create mode 100644 sources/plugins/magicline/lang/nl.js create mode 100644 sources/plugins/magicline/lang/no.js create mode 100644 sources/plugins/magicline/lang/oc.js create mode 100644 sources/plugins/magicline/lang/pl.js create mode 100644 sources/plugins/magicline/lang/pt-br.js create mode 100644 sources/plugins/magicline/lang/pt.js create mode 100644 sources/plugins/magicline/lang/ru.js create mode 100644 sources/plugins/magicline/lang/si.js create mode 100644 sources/plugins/magicline/lang/sk.js create mode 100644 sources/plugins/magicline/lang/sl.js create mode 100644 sources/plugins/magicline/lang/sq.js create mode 100644 sources/plugins/magicline/lang/sv.js create mode 100644 sources/plugins/magicline/lang/tr.js create mode 100644 sources/plugins/magicline/lang/tt.js create mode 100644 sources/plugins/magicline/lang/ug.js create mode 100644 sources/plugins/magicline/lang/uk.js create mode 100644 sources/plugins/magicline/lang/vi.js create mode 100644 sources/plugins/magicline/lang/zh-cn.js create mode 100644 sources/plugins/magicline/lang/zh.js create mode 100644 sources/plugins/magicline/plugin.js create mode 100644 sources/plugins/magicline/samples/magicline.html create mode 100644 sources/plugins/maximize/icons/hidpi/maximize.png create mode 100644 sources/plugins/maximize/icons/maximize.png create mode 100644 sources/plugins/maximize/lang/af.js create mode 100644 sources/plugins/maximize/lang/ar.js create mode 100644 sources/plugins/maximize/lang/az.js create mode 100644 sources/plugins/maximize/lang/bg.js create mode 100644 sources/plugins/maximize/lang/bn.js create mode 100644 sources/plugins/maximize/lang/bs.js create mode 100644 sources/plugins/maximize/lang/ca.js create mode 100644 sources/plugins/maximize/lang/cs.js create mode 100644 sources/plugins/maximize/lang/cy.js create mode 100644 sources/plugins/maximize/lang/da.js create mode 100644 sources/plugins/maximize/lang/de-ch.js create mode 100644 sources/plugins/maximize/lang/de.js create mode 100644 sources/plugins/maximize/lang/el.js create mode 100644 sources/plugins/maximize/lang/en-au.js create mode 100644 sources/plugins/maximize/lang/en-ca.js create mode 100644 sources/plugins/maximize/lang/en-gb.js create mode 100644 sources/plugins/maximize/lang/en.js create mode 100644 sources/plugins/maximize/lang/eo.js create mode 100644 sources/plugins/maximize/lang/es.js create mode 100644 sources/plugins/maximize/lang/et.js create mode 100644 sources/plugins/maximize/lang/eu.js create mode 100644 sources/plugins/maximize/lang/fa.js create mode 100644 sources/plugins/maximize/lang/fi.js create mode 100644 sources/plugins/maximize/lang/fo.js create mode 100644 sources/plugins/maximize/lang/fr-ca.js create mode 100644 sources/plugins/maximize/lang/fr.js create mode 100644 sources/plugins/maximize/lang/gl.js create mode 100644 sources/plugins/maximize/lang/gu.js create mode 100644 sources/plugins/maximize/lang/he.js create mode 100644 sources/plugins/maximize/lang/hi.js create mode 100644 sources/plugins/maximize/lang/hr.js create mode 100644 sources/plugins/maximize/lang/hu.js create mode 100644 sources/plugins/maximize/lang/id.js create mode 100644 sources/plugins/maximize/lang/is.js create mode 100644 sources/plugins/maximize/lang/it.js create mode 100644 sources/plugins/maximize/lang/ja.js create mode 100644 sources/plugins/maximize/lang/ka.js create mode 100644 sources/plugins/maximize/lang/km.js create mode 100644 sources/plugins/maximize/lang/ko.js create mode 100644 sources/plugins/maximize/lang/ku.js create mode 100644 sources/plugins/maximize/lang/lt.js create mode 100644 sources/plugins/maximize/lang/lv.js create mode 100644 sources/plugins/maximize/lang/mk.js create mode 100644 sources/plugins/maximize/lang/mn.js create mode 100644 sources/plugins/maximize/lang/ms.js create mode 100644 sources/plugins/maximize/lang/nb.js create mode 100644 sources/plugins/maximize/lang/nl.js create mode 100644 sources/plugins/maximize/lang/no.js create mode 100644 sources/plugins/maximize/lang/oc.js create mode 100644 sources/plugins/maximize/lang/pl.js create mode 100644 sources/plugins/maximize/lang/pt-br.js create mode 100644 sources/plugins/maximize/lang/pt.js create mode 100644 sources/plugins/maximize/lang/ro.js create mode 100644 sources/plugins/maximize/lang/ru.js create mode 100644 sources/plugins/maximize/lang/si.js create mode 100644 sources/plugins/maximize/lang/sk.js create mode 100644 sources/plugins/maximize/lang/sl.js create mode 100644 sources/plugins/maximize/lang/sq.js create mode 100644 sources/plugins/maximize/lang/sr-latn.js create mode 100644 sources/plugins/maximize/lang/sr.js create mode 100644 sources/plugins/maximize/lang/sv.js create mode 100644 sources/plugins/maximize/lang/th.js create mode 100644 sources/plugins/maximize/lang/tr.js create mode 100644 sources/plugins/maximize/lang/tt.js create mode 100644 sources/plugins/maximize/lang/ug.js create mode 100644 sources/plugins/maximize/lang/uk.js create mode 100644 sources/plugins/maximize/lang/vi.js create mode 100644 sources/plugins/maximize/lang/zh-cn.js create mode 100644 sources/plugins/maximize/lang/zh.js create mode 100644 sources/plugins/maximize/plugin.js create mode 100644 sources/plugins/menu/plugin.js create mode 100644 sources/plugins/oembed/LICENSE.md create mode 100644 sources/plugins/oembed/README.md create mode 100644 sources/plugins/oembed/icons/hidpi/oembed.png create mode 100644 sources/plugins/oembed/icons/oembed.png create mode 100644 sources/plugins/oembed/lang/de.js create mode 100644 sources/plugins/oembed/lang/en.js create mode 100644 sources/plugins/oembed/lang/fr.js create mode 100644 sources/plugins/oembed/lang/nl.js create mode 100644 sources/plugins/oembed/lang/pl.js create mode 100644 sources/plugins/oembed/lang/pt-br.js create mode 100644 sources/plugins/oembed/lang/ru.js create mode 100644 sources/plugins/oembed/lang/tr.js create mode 100644 sources/plugins/oembed/libs/jquery.oembed.min.js create mode 100644 sources/plugins/oembed/plugin.js create mode 100644 sources/plugins/panel/plugin.js create mode 100644 sources/plugins/popup/plugin.js create mode 100644 sources/plugins/removeformat/icons/hidpi/removeformat.png create mode 100644 sources/plugins/removeformat/icons/removeformat.png create mode 100644 sources/plugins/removeformat/lang/af.js create mode 100644 sources/plugins/removeformat/lang/ar.js create mode 100644 sources/plugins/removeformat/lang/az.js create mode 100644 sources/plugins/removeformat/lang/bg.js create mode 100644 sources/plugins/removeformat/lang/bn.js create mode 100644 sources/plugins/removeformat/lang/bs.js create mode 100644 sources/plugins/removeformat/lang/ca.js create mode 100644 sources/plugins/removeformat/lang/cs.js create mode 100644 sources/plugins/removeformat/lang/cy.js create mode 100644 sources/plugins/removeformat/lang/da.js create mode 100644 sources/plugins/removeformat/lang/de-ch.js create mode 100644 sources/plugins/removeformat/lang/de.js create mode 100644 sources/plugins/removeformat/lang/el.js create mode 100644 sources/plugins/removeformat/lang/en-au.js create mode 100644 sources/plugins/removeformat/lang/en-ca.js create mode 100644 sources/plugins/removeformat/lang/en-gb.js create mode 100644 sources/plugins/removeformat/lang/en.js create mode 100644 sources/plugins/removeformat/lang/eo.js create mode 100644 sources/plugins/removeformat/lang/es.js create mode 100644 sources/plugins/removeformat/lang/et.js create mode 100644 sources/plugins/removeformat/lang/eu.js create mode 100644 sources/plugins/removeformat/lang/fa.js create mode 100644 sources/plugins/removeformat/lang/fi.js create mode 100644 sources/plugins/removeformat/lang/fo.js create mode 100644 sources/plugins/removeformat/lang/fr-ca.js create mode 100644 sources/plugins/removeformat/lang/fr.js create mode 100644 sources/plugins/removeformat/lang/gl.js create mode 100644 sources/plugins/removeformat/lang/gu.js create mode 100644 sources/plugins/removeformat/lang/he.js create mode 100644 sources/plugins/removeformat/lang/hi.js create mode 100644 sources/plugins/removeformat/lang/hr.js create mode 100644 sources/plugins/removeformat/lang/hu.js create mode 100644 sources/plugins/removeformat/lang/id.js create mode 100644 sources/plugins/removeformat/lang/is.js create mode 100644 sources/plugins/removeformat/lang/it.js create mode 100644 sources/plugins/removeformat/lang/ja.js create mode 100644 sources/plugins/removeformat/lang/ka.js create mode 100644 sources/plugins/removeformat/lang/km.js create mode 100644 sources/plugins/removeformat/lang/ko.js create mode 100644 sources/plugins/removeformat/lang/ku.js create mode 100644 sources/plugins/removeformat/lang/lt.js create mode 100644 sources/plugins/removeformat/lang/lv.js create mode 100644 sources/plugins/removeformat/lang/mk.js create mode 100644 sources/plugins/removeformat/lang/mn.js create mode 100644 sources/plugins/removeformat/lang/ms.js create mode 100644 sources/plugins/removeformat/lang/nb.js create mode 100644 sources/plugins/removeformat/lang/nl.js create mode 100644 sources/plugins/removeformat/lang/no.js create mode 100644 sources/plugins/removeformat/lang/oc.js create mode 100644 sources/plugins/removeformat/lang/pl.js create mode 100644 sources/plugins/removeformat/lang/pt-br.js create mode 100644 sources/plugins/removeformat/lang/pt.js create mode 100644 sources/plugins/removeformat/lang/ro.js create mode 100644 sources/plugins/removeformat/lang/ru.js create mode 100644 sources/plugins/removeformat/lang/si.js create mode 100644 sources/plugins/removeformat/lang/sk.js create mode 100644 sources/plugins/removeformat/lang/sl.js create mode 100644 sources/plugins/removeformat/lang/sq.js create mode 100644 sources/plugins/removeformat/lang/sr-latn.js create mode 100644 sources/plugins/removeformat/lang/sr.js create mode 100644 sources/plugins/removeformat/lang/sv.js create mode 100644 sources/plugins/removeformat/lang/th.js create mode 100644 sources/plugins/removeformat/lang/tr.js create mode 100644 sources/plugins/removeformat/lang/tt.js create mode 100644 sources/plugins/removeformat/lang/ug.js create mode 100644 sources/plugins/removeformat/lang/uk.js create mode 100644 sources/plugins/removeformat/lang/vi.js create mode 100644 sources/plugins/removeformat/lang/zh-cn.js create mode 100644 sources/plugins/removeformat/lang/zh.js create mode 100644 sources/plugins/removeformat/plugin.js create mode 100644 sources/plugins/resize/plugin.js create mode 100644 sources/plugins/richcombo/plugin.js create mode 100644 sources/plugins/showborders/plugin.js create mode 100644 sources/plugins/sourcearea/icons/hidpi/source-rtl.png create mode 100644 sources/plugins/sourcearea/icons/hidpi/source.png create mode 100644 sources/plugins/sourcearea/icons/source-rtl.png create mode 100644 sources/plugins/sourcearea/icons/source.png create mode 100644 sources/plugins/sourcearea/lang/af.js create mode 100644 sources/plugins/sourcearea/lang/ar.js create mode 100644 sources/plugins/sourcearea/lang/az.js create mode 100644 sources/plugins/sourcearea/lang/bg.js create mode 100644 sources/plugins/sourcearea/lang/bn.js create mode 100644 sources/plugins/sourcearea/lang/bs.js create mode 100644 sources/plugins/sourcearea/lang/ca.js create mode 100644 sources/plugins/sourcearea/lang/cs.js create mode 100644 sources/plugins/sourcearea/lang/cy.js create mode 100644 sources/plugins/sourcearea/lang/da.js create mode 100644 sources/plugins/sourcearea/lang/de-ch.js create mode 100644 sources/plugins/sourcearea/lang/de.js create mode 100644 sources/plugins/sourcearea/lang/el.js create mode 100644 sources/plugins/sourcearea/lang/en-au.js create mode 100644 sources/plugins/sourcearea/lang/en-ca.js create mode 100644 sources/plugins/sourcearea/lang/en-gb.js create mode 100644 sources/plugins/sourcearea/lang/en.js create mode 100644 sources/plugins/sourcearea/lang/eo.js create mode 100644 sources/plugins/sourcearea/lang/es.js create mode 100644 sources/plugins/sourcearea/lang/et.js create mode 100644 sources/plugins/sourcearea/lang/eu.js create mode 100644 sources/plugins/sourcearea/lang/fa.js create mode 100644 sources/plugins/sourcearea/lang/fi.js create mode 100644 sources/plugins/sourcearea/lang/fo.js create mode 100644 sources/plugins/sourcearea/lang/fr-ca.js create mode 100644 sources/plugins/sourcearea/lang/fr.js create mode 100644 sources/plugins/sourcearea/lang/gl.js create mode 100644 sources/plugins/sourcearea/lang/gu.js create mode 100644 sources/plugins/sourcearea/lang/he.js create mode 100644 sources/plugins/sourcearea/lang/hi.js create mode 100644 sources/plugins/sourcearea/lang/hr.js create mode 100644 sources/plugins/sourcearea/lang/hu.js create mode 100644 sources/plugins/sourcearea/lang/id.js create mode 100644 sources/plugins/sourcearea/lang/is.js create mode 100644 sources/plugins/sourcearea/lang/it.js create mode 100644 sources/plugins/sourcearea/lang/ja.js create mode 100644 sources/plugins/sourcearea/lang/ka.js create mode 100644 sources/plugins/sourcearea/lang/km.js create mode 100644 sources/plugins/sourcearea/lang/ko.js create mode 100644 sources/plugins/sourcearea/lang/ku.js create mode 100644 sources/plugins/sourcearea/lang/lt.js create mode 100644 sources/plugins/sourcearea/lang/lv.js create mode 100644 sources/plugins/sourcearea/lang/mk.js create mode 100644 sources/plugins/sourcearea/lang/mn.js create mode 100644 sources/plugins/sourcearea/lang/ms.js create mode 100644 sources/plugins/sourcearea/lang/nb.js create mode 100644 sources/plugins/sourcearea/lang/nl.js create mode 100644 sources/plugins/sourcearea/lang/no.js create mode 100644 sources/plugins/sourcearea/lang/oc.js create mode 100644 sources/plugins/sourcearea/lang/pl.js create mode 100644 sources/plugins/sourcearea/lang/pt-br.js create mode 100644 sources/plugins/sourcearea/lang/pt.js create mode 100644 sources/plugins/sourcearea/lang/ro.js create mode 100644 sources/plugins/sourcearea/lang/ru.js create mode 100644 sources/plugins/sourcearea/lang/si.js create mode 100644 sources/plugins/sourcearea/lang/sk.js create mode 100644 sources/plugins/sourcearea/lang/sl.js create mode 100644 sources/plugins/sourcearea/lang/sq.js create mode 100644 sources/plugins/sourcearea/lang/sr-latn.js create mode 100644 sources/plugins/sourcearea/lang/sr.js create mode 100644 sources/plugins/sourcearea/lang/sv.js create mode 100644 sources/plugins/sourcearea/lang/th.js create mode 100644 sources/plugins/sourcearea/lang/tr.js create mode 100644 sources/plugins/sourcearea/lang/tt.js create mode 100644 sources/plugins/sourcearea/lang/ug.js create mode 100644 sources/plugins/sourcearea/lang/uk.js create mode 100644 sources/plugins/sourcearea/lang/vi.js create mode 100644 sources/plugins/sourcearea/lang/zh-cn.js create mode 100644 sources/plugins/sourcearea/lang/zh.js create mode 100644 sources/plugins/sourcearea/plugin.js create mode 100644 sources/plugins/tab/plugin.js create mode 100644 sources/plugins/toolbar/lang/af.js create mode 100644 sources/plugins/toolbar/lang/ar.js create mode 100644 sources/plugins/toolbar/lang/az.js create mode 100644 sources/plugins/toolbar/lang/bg.js create mode 100644 sources/plugins/toolbar/lang/bn.js create mode 100644 sources/plugins/toolbar/lang/bs.js create mode 100644 sources/plugins/toolbar/lang/ca.js create mode 100644 sources/plugins/toolbar/lang/cs.js create mode 100644 sources/plugins/toolbar/lang/cy.js create mode 100644 sources/plugins/toolbar/lang/da.js create mode 100644 sources/plugins/toolbar/lang/de-ch.js create mode 100644 sources/plugins/toolbar/lang/de.js create mode 100644 sources/plugins/toolbar/lang/el.js create mode 100644 sources/plugins/toolbar/lang/en-au.js create mode 100644 sources/plugins/toolbar/lang/en-ca.js create mode 100644 sources/plugins/toolbar/lang/en-gb.js create mode 100644 sources/plugins/toolbar/lang/en.js create mode 100644 sources/plugins/toolbar/lang/eo.js create mode 100644 sources/plugins/toolbar/lang/es.js create mode 100644 sources/plugins/toolbar/lang/et.js create mode 100644 sources/plugins/toolbar/lang/eu.js create mode 100644 sources/plugins/toolbar/lang/fa.js create mode 100644 sources/plugins/toolbar/lang/fi.js create mode 100644 sources/plugins/toolbar/lang/fo.js create mode 100644 sources/plugins/toolbar/lang/fr-ca.js create mode 100644 sources/plugins/toolbar/lang/fr.js create mode 100644 sources/plugins/toolbar/lang/gl.js create mode 100644 sources/plugins/toolbar/lang/gu.js create mode 100644 sources/plugins/toolbar/lang/he.js create mode 100644 sources/plugins/toolbar/lang/hi.js create mode 100644 sources/plugins/toolbar/lang/hr.js create mode 100644 sources/plugins/toolbar/lang/hu.js create mode 100644 sources/plugins/toolbar/lang/id.js create mode 100644 sources/plugins/toolbar/lang/is.js create mode 100644 sources/plugins/toolbar/lang/it.js create mode 100644 sources/plugins/toolbar/lang/ja.js create mode 100644 sources/plugins/toolbar/lang/ka.js create mode 100644 sources/plugins/toolbar/lang/km.js create mode 100644 sources/plugins/toolbar/lang/ko.js create mode 100644 sources/plugins/toolbar/lang/ku.js create mode 100644 sources/plugins/toolbar/lang/lt.js create mode 100644 sources/plugins/toolbar/lang/lv.js create mode 100644 sources/plugins/toolbar/lang/mk.js create mode 100644 sources/plugins/toolbar/lang/mn.js create mode 100644 sources/plugins/toolbar/lang/ms.js create mode 100644 sources/plugins/toolbar/lang/nb.js create mode 100644 sources/plugins/toolbar/lang/nl.js create mode 100644 sources/plugins/toolbar/lang/no.js create mode 100644 sources/plugins/toolbar/lang/oc.js create mode 100644 sources/plugins/toolbar/lang/pl.js create mode 100644 sources/plugins/toolbar/lang/pt-br.js create mode 100644 sources/plugins/toolbar/lang/pt.js create mode 100644 sources/plugins/toolbar/lang/ro.js create mode 100644 sources/plugins/toolbar/lang/ru.js create mode 100644 sources/plugins/toolbar/lang/si.js create mode 100644 sources/plugins/toolbar/lang/sk.js create mode 100644 sources/plugins/toolbar/lang/sl.js create mode 100644 sources/plugins/toolbar/lang/sq.js create mode 100644 sources/plugins/toolbar/lang/sr-latn.js create mode 100644 sources/plugins/toolbar/lang/sr.js create mode 100644 sources/plugins/toolbar/lang/sv.js create mode 100644 sources/plugins/toolbar/lang/th.js create mode 100644 sources/plugins/toolbar/lang/tr.js create mode 100644 sources/plugins/toolbar/lang/tt.js create mode 100644 sources/plugins/toolbar/lang/ug.js create mode 100644 sources/plugins/toolbar/lang/uk.js create mode 100644 sources/plugins/toolbar/lang/vi.js create mode 100644 sources/plugins/toolbar/lang/zh-cn.js create mode 100644 sources/plugins/toolbar/lang/zh.js create mode 100644 sources/plugins/toolbar/plugin.js create mode 100644 sources/plugins/toolbar/samples/toolbar.html create mode 100644 sources/plugins/widget/dev/assets/contents.css create mode 100644 sources/plugins/widget/dev/assets/sample.jpg create mode 100644 sources/plugins/widget/dev/assets/simplebox/contents.css create mode 100644 sources/plugins/widget/dev/assets/simplebox/dialogs/simplebox.js create mode 100644 sources/plugins/widget/dev/assets/simplebox/icons/simplebox.png create mode 100644 sources/plugins/widget/dev/assets/simplebox/plugin.js create mode 100644 sources/plugins/widget/dev/console.js create mode 100644 sources/plugins/widget/dev/nestedwidgets.html create mode 100644 sources/plugins/widget/dev/widgetstyles.html create mode 100644 sources/plugins/widget/images/handle.png create mode 100644 sources/plugins/widget/lang/af.js create mode 100644 sources/plugins/widget/lang/ar.js create mode 100644 sources/plugins/widget/lang/az.js create mode 100644 sources/plugins/widget/lang/bg.js create mode 100644 sources/plugins/widget/lang/ca.js create mode 100644 sources/plugins/widget/lang/cs.js create mode 100644 sources/plugins/widget/lang/cy.js create mode 100644 sources/plugins/widget/lang/da.js create mode 100644 sources/plugins/widget/lang/de-ch.js create mode 100644 sources/plugins/widget/lang/de.js create mode 100644 sources/plugins/widget/lang/el.js create mode 100644 sources/plugins/widget/lang/en-gb.js create mode 100644 sources/plugins/widget/lang/en.js create mode 100644 sources/plugins/widget/lang/eo.js create mode 100644 sources/plugins/widget/lang/es.js create mode 100644 sources/plugins/widget/lang/eu.js create mode 100644 sources/plugins/widget/lang/fa.js create mode 100644 sources/plugins/widget/lang/fi.js create mode 100644 sources/plugins/widget/lang/fr.js create mode 100644 sources/plugins/widget/lang/gl.js create mode 100644 sources/plugins/widget/lang/he.js create mode 100644 sources/plugins/widget/lang/hr.js create mode 100644 sources/plugins/widget/lang/hu.js create mode 100644 sources/plugins/widget/lang/id.js create mode 100644 sources/plugins/widget/lang/it.js create mode 100644 sources/plugins/widget/lang/ja.js create mode 100644 sources/plugins/widget/lang/km.js create mode 100644 sources/plugins/widget/lang/ko.js create mode 100644 sources/plugins/widget/lang/ku.js create mode 100644 sources/plugins/widget/lang/lv.js create mode 100644 sources/plugins/widget/lang/nb.js create mode 100644 sources/plugins/widget/lang/nl.js create mode 100644 sources/plugins/widget/lang/no.js create mode 100644 sources/plugins/widget/lang/oc.js create mode 100644 sources/plugins/widget/lang/pl.js create mode 100644 sources/plugins/widget/lang/pt-br.js create mode 100644 sources/plugins/widget/lang/pt.js create mode 100644 sources/plugins/widget/lang/ru.js create mode 100644 sources/plugins/widget/lang/sk.js create mode 100644 sources/plugins/widget/lang/sl.js create mode 100644 sources/plugins/widget/lang/sq.js create mode 100644 sources/plugins/widget/lang/sv.js create mode 100644 sources/plugins/widget/lang/tr.js create mode 100644 sources/plugins/widget/lang/tt.js create mode 100644 sources/plugins/widget/lang/ug.js create mode 100644 sources/plugins/widget/lang/uk.js create mode 100644 sources/plugins/widget/lang/vi.js create mode 100644 sources/plugins/widget/lang/zh-cn.js create mode 100644 sources/plugins/widget/lang/zh.js create mode 100644 sources/plugins/widget/plugin.js create mode 100644 sources/plugins/widgetselection/plugin.js create mode 100644 sources/plugins/wysiwygarea/plugin.js create mode 100644 sources/plugins/wysiwygarea/samples/fullpage.html create mode 100644 sources/samples/css/samples.css create mode 100644 sources/samples/img/github-top.png create mode 100644 sources/samples/img/header-bg.png create mode 100644 sources/samples/img/header-separator.png create mode 100644 sources/samples/img/logo.png create mode 100644 sources/samples/img/navigation-tip.png create mode 100644 sources/samples/index.html create mode 100644 sources/samples/js/sample.js create mode 100644 sources/samples/js/sf.js create mode 100644 sources/samples/old/ajax.html create mode 100644 sources/samples/old/api.html create mode 100644 sources/samples/old/appendto.html create mode 100644 sources/samples/old/assets/inlineall/logo.png create mode 100644 sources/samples/old/assets/outputxhtml/outputxhtml.css create mode 100644 sources/samples/old/assets/posteddata.php create mode 100644 sources/samples/old/assets/sample.jpg create mode 100644 sources/samples/old/assets/uilanguages/languages.js create mode 100644 sources/samples/old/datafiltering.html create mode 100644 sources/samples/old/divreplace.html create mode 100644 sources/samples/old/index.html create mode 100644 sources/samples/old/inlineall.html create mode 100644 sources/samples/old/inlinebycode.html create mode 100644 sources/samples/old/inlinetextarea.html create mode 100644 sources/samples/old/jquery.html create mode 100644 sources/samples/old/readonly.html create mode 100644 sources/samples/old/replacebyclass.html create mode 100644 sources/samples/old/replacebycode.html create mode 100644 sources/samples/old/sample.css create mode 100644 sources/samples/old/sample.js create mode 100644 sources/samples/old/sample_posteddata.php create mode 100644 sources/samples/old/tabindex.html create mode 100644 sources/samples/old/uicolor.html create mode 100644 sources/samples/old/uilanguages.html create mode 100644 sources/samples/old/xhtmlstyle.html create mode 100644 sources/samples/toolbarconfigurator/bender.js create mode 100644 sources/samples/toolbarconfigurator/css/fontello.css create mode 100644 sources/samples/toolbarconfigurator/font/LICENSE.txt create mode 100644 sources/samples/toolbarconfigurator/font/config.json create mode 100644 sources/samples/toolbarconfigurator/font/fontello.eot create mode 100644 sources/samples/toolbarconfigurator/font/fontello.svg create mode 100644 sources/samples/toolbarconfigurator/font/fontello.ttf create mode 100644 sources/samples/toolbarconfigurator/font/fontello.woff create mode 100644 sources/samples/toolbarconfigurator/index.html create mode 100644 sources/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js create mode 100644 sources/samples/toolbarconfigurator/js/fulltoolbareditor.js create mode 100644 sources/samples/toolbarconfigurator/js/toolbarmodifier.js create mode 100644 sources/samples/toolbarconfigurator/js/toolbartextmodifier.js create mode 100644 sources/samples/toolbarconfigurator/less/base.less create mode 100644 sources/samples/toolbarconfigurator/less/toolbarmodifier.less create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/LICENSE create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/README.md create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/codemirror.css create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/javascript.js create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/neo.css create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/show-hint.css create mode 100644 sources/samples/toolbarconfigurator/lib/codemirror/show-hint.js create mode 100644 sources/samples/toolbarconfigurator/package.json create mode 100644 sources/samples/toolbarconfigurator/tests/one.js create mode 100644 sources/skins/moono/colorpanel.css create mode 100644 sources/skins/moono/dev/icons16.png create mode 100644 sources/skins/moono/dev/icons16.svg create mode 100644 sources/skins/moono/dev/icons32.png create mode 100644 sources/skins/moono/dev/icons32.svg create mode 100644 sources/skins/moono/dev/locations.json create mode 100644 sources/skins/moono/dialog.css create mode 100644 sources/skins/moono/dialog_ie.css create mode 100644 sources/skins/moono/dialog_ie7.css create mode 100644 sources/skins/moono/dialog_ie8.css create mode 100644 sources/skins/moono/dialog_iequirks.css create mode 100644 sources/skins/moono/editor.css create mode 100644 sources/skins/moono/editor_gecko.css create mode 100644 sources/skins/moono/editor_ie.css create mode 100644 sources/skins/moono/editor_ie7.css create mode 100644 sources/skins/moono/editor_ie8.css create mode 100644 sources/skins/moono/editor_iequirks.css create mode 100644 sources/skins/moono/elementspath.css create mode 100644 sources/skins/moono/icons/about.png create mode 100644 sources/skins/moono/icons/anchor-rtl.png create mode 100644 sources/skins/moono/icons/anchor.png create mode 100644 sources/skins/moono/icons/bgcolor.png create mode 100644 sources/skins/moono/icons/bidiltr.png create mode 100644 sources/skins/moono/icons/bidirtl.png create mode 100644 sources/skins/moono/icons/blockquote.png create mode 100644 sources/skins/moono/icons/bold.png create mode 100644 sources/skins/moono/icons/bulletedlist-rtl.png create mode 100644 sources/skins/moono/icons/bulletedlist.png create mode 100644 sources/skins/moono/icons/button.png create mode 100644 sources/skins/moono/icons/checkbox.png create mode 100644 sources/skins/moono/icons/codesnippet.png create mode 100644 sources/skins/moono/icons/copy-rtl.png create mode 100644 sources/skins/moono/icons/copy.png create mode 100644 sources/skins/moono/icons/copyformatting.png create mode 100644 sources/skins/moono/icons/creatediv.png create mode 100644 sources/skins/moono/icons/cut-rtl.png create mode 100644 sources/skins/moono/icons/cut.png create mode 100644 sources/skins/moono/icons/docprops-rtl.png create mode 100644 sources/skins/moono/icons/docprops.png create mode 100644 sources/skins/moono/icons/find-rtl.png create mode 100644 sources/skins/moono/icons/find.png create mode 100644 sources/skins/moono/icons/flash.png create mode 100644 sources/skins/moono/icons/form.png create mode 100644 sources/skins/moono/icons/hiddenfield.png create mode 100644 sources/skins/moono/icons/hidpi/.DS_Store create mode 100644 sources/skins/moono/icons/hidpi/about.png create mode 100644 sources/skins/moono/icons/hidpi/anchor-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/anchor.png create mode 100644 sources/skins/moono/icons/hidpi/bgcolor.png create mode 100644 sources/skins/moono/icons/hidpi/bidiltr.png create mode 100644 sources/skins/moono/icons/hidpi/bidirtl.png create mode 100644 sources/skins/moono/icons/hidpi/blockquote.png create mode 100644 sources/skins/moono/icons/hidpi/bold.png create mode 100644 sources/skins/moono/icons/hidpi/bulletedlist-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/bulletedlist.png create mode 100644 sources/skins/moono/icons/hidpi/button.png create mode 100644 sources/skins/moono/icons/hidpi/checkbox.png create mode 100644 sources/skins/moono/icons/hidpi/codesnippet.png create mode 100644 sources/skins/moono/icons/hidpi/copy-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/copy.png create mode 100644 sources/skins/moono/icons/hidpi/copyformatting.png create mode 100644 sources/skins/moono/icons/hidpi/creatediv.png create mode 100644 sources/skins/moono/icons/hidpi/cut-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/cut.png create mode 100644 sources/skins/moono/icons/hidpi/docprops-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/docprops.png create mode 100644 sources/skins/moono/icons/hidpi/find-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/find.png create mode 100644 sources/skins/moono/icons/hidpi/flash.png create mode 100644 sources/skins/moono/icons/hidpi/form.png create mode 100644 sources/skins/moono/icons/hidpi/hiddenfield.png create mode 100644 sources/skins/moono/icons/hidpi/horizontalrule.png create mode 100644 sources/skins/moono/icons/hidpi/iframe.png create mode 100644 sources/skins/moono/icons/hidpi/image.png create mode 100644 sources/skins/moono/icons/hidpi/imagebutton.png create mode 100644 sources/skins/moono/icons/hidpi/indent-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/indent.png create mode 100644 sources/skins/moono/icons/hidpi/italic.png create mode 100644 sources/skins/moono/icons/hidpi/justifyblock.png create mode 100644 sources/skins/moono/icons/hidpi/justifycenter.png create mode 100644 sources/skins/moono/icons/hidpi/justifyleft.png create mode 100644 sources/skins/moono/icons/hidpi/justifyright.png create mode 100644 sources/skins/moono/icons/hidpi/language.png create mode 100644 sources/skins/moono/icons/hidpi/link.png create mode 100644 sources/skins/moono/icons/hidpi/maximize.png create mode 100644 sources/skins/moono/icons/hidpi/newpage-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/newpage.png create mode 100644 sources/skins/moono/icons/hidpi/numberedlist-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/numberedlist.png create mode 100644 sources/skins/moono/icons/hidpi/outdent-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/outdent.png create mode 100644 sources/skins/moono/icons/hidpi/pagebreak-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/pagebreak.png create mode 100644 sources/skins/moono/icons/hidpi/paste-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/paste.png create mode 100644 sources/skins/moono/icons/hidpi/pastefromword-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/pastefromword.png create mode 100644 sources/skins/moono/icons/hidpi/pastetext-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/pastetext.png create mode 100644 sources/skins/moono/icons/hidpi/placeholder.png create mode 100644 sources/skins/moono/icons/hidpi/preview-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/preview.png create mode 100644 sources/skins/moono/icons/hidpi/print.png create mode 100644 sources/skins/moono/icons/hidpi/radio.png create mode 100644 sources/skins/moono/icons/hidpi/redo-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/redo.png create mode 100644 sources/skins/moono/icons/hidpi/removeformat.png create mode 100644 sources/skins/moono/icons/hidpi/replace.png create mode 100644 sources/skins/moono/icons/hidpi/save.png create mode 100644 sources/skins/moono/icons/hidpi/scayt.png create mode 100644 sources/skins/moono/icons/hidpi/select-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/select.png create mode 100644 sources/skins/moono/icons/hidpi/selectall.png create mode 100644 sources/skins/moono/icons/hidpi/showblocks-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/showblocks.png create mode 100644 sources/skins/moono/icons/hidpi/smiley.png create mode 100644 sources/skins/moono/icons/hidpi/source-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/source.png create mode 100644 sources/skins/moono/icons/hidpi/sourcedialog-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/sourcedialog.png create mode 100644 sources/skins/moono/icons/hidpi/specialchar.png create mode 100644 sources/skins/moono/icons/hidpi/spellchecker.png create mode 100644 sources/skins/moono/icons/hidpi/strike.png create mode 100644 sources/skins/moono/icons/hidpi/subscript.png create mode 100644 sources/skins/moono/icons/hidpi/superscript.png create mode 100644 sources/skins/moono/icons/hidpi/table.png create mode 100644 sources/skins/moono/icons/hidpi/templates-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/templates.png create mode 100644 sources/skins/moono/icons/hidpi/textarea-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/textarea.png create mode 100644 sources/skins/moono/icons/hidpi/textcolor.png create mode 100644 sources/skins/moono/icons/hidpi/textfield-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/textfield.png create mode 100644 sources/skins/moono/icons/hidpi/uicolor.png create mode 100644 sources/skins/moono/icons/hidpi/underline.png create mode 100644 sources/skins/moono/icons/hidpi/undo-rtl.png create mode 100644 sources/skins/moono/icons/hidpi/undo.png create mode 100644 sources/skins/moono/icons/hidpi/unlink.png create mode 100644 sources/skins/moono/icons/horizontalrule.png create mode 100644 sources/skins/moono/icons/iframe.png create mode 100644 sources/skins/moono/icons/image.png create mode 100644 sources/skins/moono/icons/imagebutton.png create mode 100644 sources/skins/moono/icons/indent-rtl.png create mode 100644 sources/skins/moono/icons/indent.png create mode 100644 sources/skins/moono/icons/italic.png create mode 100644 sources/skins/moono/icons/justifyblock.png create mode 100644 sources/skins/moono/icons/justifycenter.png create mode 100644 sources/skins/moono/icons/justifyleft.png create mode 100644 sources/skins/moono/icons/justifyright.png create mode 100644 sources/skins/moono/icons/language.png create mode 100644 sources/skins/moono/icons/link.png create mode 100644 sources/skins/moono/icons/maximize.png create mode 100644 sources/skins/moono/icons/newpage-rtl.png create mode 100644 sources/skins/moono/icons/newpage.png create mode 100644 sources/skins/moono/icons/numberedlist-rtl.png create mode 100644 sources/skins/moono/icons/numberedlist.png create mode 100644 sources/skins/moono/icons/outdent-rtl.png create mode 100644 sources/skins/moono/icons/outdent.png create mode 100644 sources/skins/moono/icons/pagebreak-rtl.png create mode 100644 sources/skins/moono/icons/pagebreak.png create mode 100644 sources/skins/moono/icons/paste-rtl.png create mode 100644 sources/skins/moono/icons/paste.png create mode 100644 sources/skins/moono/icons/pastefromword-rtl.png create mode 100644 sources/skins/moono/icons/pastefromword.png create mode 100644 sources/skins/moono/icons/pastetext-rtl.png create mode 100644 sources/skins/moono/icons/pastetext.png create mode 100644 sources/skins/moono/icons/placeholder.png create mode 100644 sources/skins/moono/icons/preview-rtl.png create mode 100644 sources/skins/moono/icons/preview.png create mode 100644 sources/skins/moono/icons/print.png create mode 100644 sources/skins/moono/icons/radio.png create mode 100644 sources/skins/moono/icons/redo-rtl.png create mode 100644 sources/skins/moono/icons/redo.png create mode 100644 sources/skins/moono/icons/removeformat.png create mode 100644 sources/skins/moono/icons/replace.png create mode 100644 sources/skins/moono/icons/save.png create mode 100644 sources/skins/moono/icons/scayt.png create mode 100644 sources/skins/moono/icons/select-rtl.png create mode 100644 sources/skins/moono/icons/select.png create mode 100644 sources/skins/moono/icons/selectall.png create mode 100644 sources/skins/moono/icons/showblocks-rtl.png create mode 100644 sources/skins/moono/icons/showblocks.png create mode 100644 sources/skins/moono/icons/smiley.png create mode 100644 sources/skins/moono/icons/source-rtl.png create mode 100644 sources/skins/moono/icons/source.png create mode 100644 sources/skins/moono/icons/sourcedialog-rtl.png create mode 100644 sources/skins/moono/icons/sourcedialog.png create mode 100644 sources/skins/moono/icons/specialchar.png create mode 100644 sources/skins/moono/icons/spellchecker.png create mode 100644 sources/skins/moono/icons/strike.png create mode 100644 sources/skins/moono/icons/subscript.png create mode 100644 sources/skins/moono/icons/superscript.png create mode 100644 sources/skins/moono/icons/table.png create mode 100644 sources/skins/moono/icons/templates-rtl.png create mode 100644 sources/skins/moono/icons/templates.png create mode 100644 sources/skins/moono/icons/textarea-rtl.png create mode 100644 sources/skins/moono/icons/textarea.png create mode 100644 sources/skins/moono/icons/textcolor.png create mode 100644 sources/skins/moono/icons/textfield-rtl.png create mode 100644 sources/skins/moono/icons/textfield.png create mode 100644 sources/skins/moono/icons/uicolor.png create mode 100644 sources/skins/moono/icons/underline.png create mode 100644 sources/skins/moono/icons/undo-rtl.png create mode 100644 sources/skins/moono/icons/undo.png create mode 100644 sources/skins/moono/icons/unlink.png create mode 100644 sources/skins/moono/images/anchor.png create mode 100644 sources/skins/moono/images/arrow.png create mode 100644 sources/skins/moono/images/close.png create mode 100644 sources/skins/moono/images/hidpi/anchor.png create mode 100644 sources/skins/moono/images/hidpi/close.png create mode 100644 sources/skins/moono/images/hidpi/lock-open.png create mode 100644 sources/skins/moono/images/hidpi/lock.png create mode 100644 sources/skins/moono/images/hidpi/refresh.png create mode 100644 sources/skins/moono/images/lock-open.png create mode 100644 sources/skins/moono/images/lock.png create mode 100644 sources/skins/moono/images/refresh.png create mode 100644 sources/skins/moono/images/spinner.gif create mode 100644 sources/skins/moono/mainui.css create mode 100644 sources/skins/moono/menu.css create mode 100644 sources/skins/moono/notification.css create mode 100644 sources/skins/moono/panel.css create mode 100644 sources/skins/moono/presets.css create mode 100644 sources/skins/moono/readme.md create mode 100644 sources/skins/moono/reset.css create mode 100644 sources/skins/moono/richcombo.css create mode 100644 sources/skins/moono/skin.js create mode 100644 sources/skins/moono/toolbar.css create mode 100644 sources/styles.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..5726a86 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +CKeditor Component +================== + +Package Managers +---------------- + +* [Component](https://github.com/component/component): `immae/ckeditor` +* [Composer](http://packagist.org/packages/components/jquery): `immae/ckeditor` diff --git a/build-config.js b/build-config.js new file mode 100644 index 0000000..ae18bab --- /dev/null +++ b/build-config.js @@ -0,0 +1,88 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * This file was added automatically by CKEditor builder. + * You may re-use it at any time to build CKEditor again. + * + * If you would like to build CKEditor online again + * (for example to upgrade), visit one the following links: + * + * (1) http://ckeditor.com/builder + * Visit online builder to build CKEditor from scratch. + * + * (2) http://ckeditor.com/builder/1a00d11407d831ab5cdf8a93861cca45 + * Visit online builder to build CKEditor, starting with the same setup as before. + * + * (3) http://ckeditor.com/builder/download/1a00d11407d831ab5cdf8a93861cca45 + * Straight download link to the latest version of CKEditor (Optimized) with the same setup as before. + * + * NOTE: + * This file is not used by CKEditor, you may remove it. + * Changing this file will not change your CKEditor configuration. + */ + +var CKBUILDER_CONFIG = { + skin: 'moono', + preset: 'full', + ignore: [ + '.bender', + 'bender.js', + 'bender-err.log', + 'bender-out.log', + 'dev', + '.DS_Store', + '.editorconfig', + '.gitattributes', + '.gitignore', + 'gruntfile.js', + '.idea', + '.jscsrc', + '.jshintignore', + '.jshintrc', + 'less', + '.mailmap', + 'node_modules', + 'package.json', + 'README.md', + 'tests' + ], + plugins : { + 'a11yhelp' : 1, + 'basicstyles' : 1, + 'contextmenu' : 1, + 'dialogadvtab' : 1, + 'elementspath' : 1, + 'enterkey' : 1, + 'entities' : 1, + 'filebrowser' : 1, + 'floatingspace' : 1, + 'format' : 1, + 'horizontalrule' : 1, + 'htmlwriter' : 1, + 'iframe' : 1, + 'image' : 1, + 'indentblock' : 1, + 'indentlist' : 1, + 'justify' : 1, + 'link' : 1, + 'list' : 1, + 'liststyle' : 1, + 'magicline' : 1, + 'maximize' : 1, + 'oembed' : 1, + 'removeformat' : 1, + 'resize' : 1, + 'showborders' : 1, + 'sourcearea' : 1, + 'tab' : 1, + 'toolbar' : 1, + 'wysiwygarea' : 1 + }, + languages : { + 'en' : 1, + 'fr' : 1 + } +}; \ No newline at end of file diff --git a/component.json b/component.json new file mode 100644 index 0000000..f948599 --- /dev/null +++ b/component.json @@ -0,0 +1,24 @@ +{ + "name": "ckeditor", + "repo": "immae/ludivine-ckeditor-component", + "version": "4.6.2", + "description": "JavaScript WYSIWYG web text editor.", + "keywords": [ + "ckeditor", + "fckeditor", + "editor", + "wysiwyg", + "html", + "richtext", + "text", + "javascript" + ], + "main": "release/ckeditor.js", + "scripts": [ + "release/ckeditor.js" + ], + "dependencies": { + "component/jquery": "*" + }, + "license": [ "GPL-2.0+", "LGPL-2.1+", "MPL-1.1+" ] +} diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..add204d --- /dev/null +++ b/composer.json @@ -0,0 +1,35 @@ +{ + "name": "immae/ludivine-ckeditor-component", + "description": "CKEditor component.", + "type": "component", + "keywords": [ "ckeditor", "fckeditor", "editor", "wysiwyg", "html", "richtext", "text", "javascript" ], + "homepage": "http://ckeditor.com", + "license": [ "GPL-2.0+", "LGPL-2.1+", "MPL-1.1+" ], + "authors": [ + { + "name": "CKSource", + "homepage": "http://cksource.com" + } + ], + "require": { + "robloach/component-installer": "*", + "components/jquery": ">=1.11" + }, + "support": { + "issues": "http://dev.ckeditor.com", + "forum": "http://ckeditor.com/forums", + "wiki": "http://docs.ckeditor.com", + "source": "http://github.com/ckeditor/ckeditor-dev" + }, + "extra": { + "component": { + "scripts": [ + "release/ckeditor.js" + ], + "files": [ + "release/**", + "sources/**" + ] + } + } +} diff --git a/release/CHANGES.md b/release/CHANGES.md new file mode 100644 index 0000000..ff58654 --- /dev/null +++ b/release/CHANGES.md @@ -0,0 +1,1219 @@ +CKEditor 4 Changelog +==================== + +## CKEditor 4.6.2 + +New Features: + +* [#16733](http://dev.ckeditor.com/ticket/16733): Added a new pastel color palette for the [Color Button](http://ckeditor.com/addon/colorbutton) plugin and a new [`config.colorButton_colorsPerRow`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-colorButton_colorsPerRow) configuration option for setting the number of rows in the color selector. +* [#16752](http://dev.ckeditor.com/ticket/16752): Added a new Azerbaijani localization. Thanks to the [Azerbaijani language team](https://www.transifex.com/ckeditor/teams/11143/az/)! +* [#13818](http://dev.ckeditor.com/ticket/13818): It is now possible to group [Widget](http://ckeditor.com/addon/widget) [style definitions](http://docs.ckeditor.com/#!/guide/dev_styles-section-widget-styles), so applying one style disables the other. + +Fixed Issues: + +* [#13446](http://dev.ckeditor.com/ticket/13446): [Chrome] Fixed: It is possible to type in an unfocused inline editor. +* [#14856](http://dev.ckeditor.com/ticket/14856): Fixed: [Font size and font family](http://ckeditor.com/addon/font) reset each other when modified at certain positions. +* [#16745](http://dev.ckeditor.com/ticket/16745): [Edge] Fixed: List items are lost when [pasted from Word](http://ckeditor.com/addon/pastefromword). +* [#16682](http://dev.ckeditor.com/ticket/16682): [Edge] Fixed: A list gets [pasted from Word](http://ckeditor.com/addon/pastefromword) as a set of paragraphs. Added the [`config.pasteFromWord_heuristicsEdgeList`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWord_heuristicsEdgeList) configuration option. +* [#10373](http://dev.ckeditor.com/ticket/10373): Fixed: Context menu items can be dragged into the editor. +* [#16728](http://dev.ckeditor.com/ticket/16728): [IE] Fixed: [Copy Formatting](http://ckeditor.com/addon/copyformatting) breaks the editor in Quirks Mode. +* [#16795](http://dev.ckeditor.com/ticket/16795): [IE] Fixed: [Copy Formatting](http://ckeditor.com/addon/copyformatting) breaks the editor in Compatibility Mode. +* [#16675](http://dev.ckeditor.com/ticket/16675): Fixed: Styles applied with [Copy Formatting](http://ckeditor.com/addon/copyformatting) to a single table cell are applied to the whole table. +* [#16753](http://dev.ckeditor.com/ticket/16753): Fixed: [`element.setSize`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.element-method-setSize) sets incorrect editor dimensions if the border width is represented as a fraction of pixels. +* [#16705](http://dev.ckeditor.com/ticket/16705): [Firefox] Fixed: Unable to paste images as Base64 strings when using [Clipboard](http://ckeditor.com/addon/clipboard). +* [#14869](http://dev.ckeditor.com/ticket/14869): Fixed: JavaScript error is thrown when trying to use [Find](http://ckeditor.com/addon/find) in a [`
`-based editor](http://ckeditor.com/addon/divarea). + +## CKEditor 4.6.1 + +New Features: + +* [#16639](http://dev.ckeditor.com/ticket/16639): The `callback` parameter in the [CKEDITOR.ajax.post](http://docs.ckeditor.com/#!/api/CKEDITOR.ajax-method-post) method became optional. + +Fixed Issues: + +* [#11064](http://dev.ckeditor.com/ticket/11064): [Blink, WebKit] Fixed: Cannot select all editor content when a widget or a non-editable element is the first or last element of the content. Also fixes this issue in the [Select All](http://ckeditor.com/addon/selectall) plugin. +* [#14755](http://dev.ckeditor.com/ticket/14755): [Blink, WebKit, IE8] Fixed: Browser hangs when a table is inserted in the place of a selected list with an empty last item. +* [#16624](http://dev.ckeditor.com/ticket/16624): Fixed: Improved the [Color Button](http://ckeditor.com/addon/colorbutton) plugin which will now normalize the CSS `background` property if it only contains a color value. This fixes missing background colors when using [Paste from Word](http://ckeditor.com/addon/pastefromword). +* [#16600](http://dev.ckeditor.com/ticket/16600): [Blink, WebKit] Fixed: Error thrown occasionally by an uninitialized editable for multiple CKEditor instances on the same page. + +## CKEditor 4.6 + +New Features: + +* [#14569](http://dev.ckeditor.com/ticket/14569): Added a new, flat, default CKEditor skin called [Moono-Lisa](http://ckeditor.com/addon/moono-lisa). Refreshed default colors available in the [Color Button](http://ckeditor.com/addon/colorbutton) plugin ([Text Color and Background Color](http://docs.ckeditor.com/#!/guide/dev_colorbutton) feature). +* [#14707](http://dev.ckeditor.com/ticket/14707): Added a new [Copy Formatting](http://ckeditor.com/addon/copyformatting) feature to enable easy copying of styles between your document parts. +* Introduced the completely rewritten [Paste from Word](http://ckeditor.com/addon/pastefromword) plugin: + * Backward incompatibility: The [`config.pasteFromWordRemoveFontStyles`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles) option now defaults to `false`. This option will be deprecated in the future. Use [Advanced Content Filter](http://docs.ckeditor.com/#!/guide/dev_acf) to replicate the effect of setting it to `true`. + * Backward incompatibility: The [`config.pasteFromWordNumberedHeadingToList`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordNumberedHeadingToList) and [`config.pasteFromWordRemoveStyles`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveStyles) options were dropped and no longer have any effect on pasted content. + * Major improvements in preservation of list numbering, styling and indentation (nested lists with multiple levels). + * Major improvements in document structure parsing that fix plenty of issues with distorted or missing content after paste. +* Added new translation: Occitan. Thanks to [Cédric Valmary](https://totenoc.eu/)! +* [#10015](http://dev.ckeditor.com/ticket/10015): Keyboard shortcuts (relevant to the operating system in use) will now be displayed in tooltips and context menus. +* [#13794](http://dev.ckeditor.com/ticket/13794): The [Upload Image](http://ckeditor.com/addon/uploadimage) feature now uses `uploaded.width/height` if set. +* [#12541](http://dev.ckeditor.com/ticket/12541): Added the [Upload File](http://ckeditor.com/addon/uploadfile) plugin that lets you upload a file by drag&dropping it into the editor content. +* [#14449](http://dev.ckeditor.com/ticket/14449): Introduced the [Balloon Panel](http://ckeditor.com/addon/balloonpanel) plugin that lets you create stylish floating UI elements for the editor. +* [#12077](https://dev.ckeditor.com/ticket/12077): Added support for the HTML5 `download` attribute in link (``) elements. Selecting the "Force Download" checkbox in the [Link](http://ckeditor.com/addon/link) dialog will cause the linked file to be downloaded automatically. Thanks to [sbusse](https://github.com/sbusse)! +* [#13518](http://dev.ckeditor.com/ticket/13518): Introduced the [`additionalRequestParameters`](http://docs.ckeditor.com/#!/api/CKEDITOR.fileTools.uploadWidgetDefinition-property-additionalRequestParameters) property for file uploads to make it possible to send additional information about the uploaded file to the server. +* [#14889](http://dev.ckeditor.com/ticket/14889): Added the [`config.image2_altRequired`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-image2_altRequired) option for the [Enhanced Image](http://ckeditor.com/addon/image2) plugin to allow making alternative text a mandatory field. Thanks to [Andrey Fedoseev](https://github.com/andreyfedoseev)! + +Fixed Issues: + +* [#9991](http://dev.ckeditor.com/ticket/9991): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) should only normalize input data. +* [#7209](http://dev.ckeditor.com/ticket/7209): Fixed: Lists with 3 levels not [pasted from Word](http://ckeditor.com/addon/pastefromword) correctly. +* [#14335](http://dev.ckeditor.com/ticket/14335): Fixed: Pasting a numbered list starting with a value different from "1" from Microsoft Word does not work correctly. +* [#14542](http://dev.ckeditor.com/ticket/14542): Fixed: Copying a numbered list from Microsoft Word does not preserve list formatting. +* [#14544](http://dev.ckeditor.com/ticket/14544): Fixed: Copying a nested list from Microsoft Word results in an empty list. +* [#14660](http://dev.ckeditor.com/ticket/14660): Fixed: [Pasting text from Word](http://ckeditor.com/addon/pastefromword) breaks the styling in some cases. +* [#14867](http://dev.ckeditor.com/ticket/14867): [Firefox] Fixed: Text gets stripped when [pasting content from Word](http://ckeditor.com/addon/pastefromword). +* [#2507](http://dev.ckeditor.com/ticket/2507): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) does not detect pasting a part of a paragraph. +* [#3336](http://dev.ckeditor.com/ticket/3336): Fixed: Extra blank row added on top of the content [pasted from Word](http://ckeditor.com/addon/pastefromword). +* [#6115](http://dev.ckeditor.com/ticket/6115): Fixed: When Right-to-Left text direction is applied to a table [pasted from Word](http://ckeditor.com/addon/pastefromword), borders are missing on one side. +* [#6342](http://dev.ckeditor.com/ticket/6342): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) filters out a basic text style when it is [configured to use attributes](http://docs.ckeditor.com/#!/guide/dev_basicstyles-section-custom-basic-text-style-definition). +* [#6457](http://dev.ckeditor.com/ticket/6457): [IE] Fixed: [Pasting from Word](http://ckeditor.com/addon/pastefromword) is extremely slow. +* [#6789](http://dev.ckeditor.com/ticket/6789): Fixed: The `mso-list: ignore` style is not handled properly when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#7262](http://dev.ckeditor.com/ticket/7262): Fixed: Lists in preformatted body disappear when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#7662](http://dev.ckeditor.com/ticket/7662): [Opera] Fixed: Extra empty number/bullet shown in the editor body when editing a multi-level list [pasted from Word](http://ckeditor.com/addon/pastefromword). +* [#7807](http://dev.ckeditor.com/ticket/7807): Fixed: Last item in a list not converted to a `
  • ` element after [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#7950](http://dev.ckeditor.com/ticket/7950): [IE] Fixed: Content [from Word pasted](http://ckeditor.com/addon/pastefromword) differently than in other browsers. +* [#7982](http://dev.ckeditor.com/ticket/7982): Fixed: Multi-level lists get split into smaller ones when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#8231](http://dev.ckeditor.com/ticket/8231): [WebKit, Opera] Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) inserts empty paragraphs. +* [#8266](http://dev.ckeditor.com/ticket/8266): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) inserts a blank line at the top. +* [#8341](http://dev.ckeditor.com/ticket/8341), [#7646](http://dev.ckeditor.com/ticket/7646): Fixed: Faulty removal of empty `` elements in [Paste from Word](http://ckeditor.com/addon/pastefromword) content cleanup breaking content formatting. +* [#8754](http://dev.ckeditor.com/ticket/8754): [Firefox] Fixed: Incorrect pasting of multiple nested lists in [Paste from Word](http://ckeditor.com/addon/pastefromword). +* [#8983](http://dev.ckeditor.com/ticket/8983): Fixed: Alignment lost when [pasting from Word](http://ckeditor.com/addon/pastefromword) with [`config.enterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode) set to [`CKEDITOR.ENTER_BR`](http://docs.ckeditor.com/#!/api/CKEDITOR-property-ENTER_BR). +* [#9331](http://dev.ckeditor.com/ticket/9331): [IE] Fixed: [Pasting text from Word](http://ckeditor.com/addon/pastefromword) creates a simple Caesar cipher. +* [#9422](http://dev.ckeditor.com/ticket/9422): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) leaves an unwanted `color:windowtext` style. +* [#10011](http://dev.ckeditor.com/ticket/10011): [IE9-10] Fixed: [`config.pasteFromWordRemoveFontStyles`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles) is ignored under certain conditions. +* [#10643](http://dev.ckeditor.com/ticket/10643): Fixed: Differences between using Ctrl+V and pasting from the [Paste from Word](http://ckeditor.com/addon/pastefromword) dialog. +* [#10784](http://dev.ckeditor.com/ticket/10784): Fixed: Lines missing when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#11294](http://dev.ckeditor.com/ticket/11294): [IE10] Fixed: Font size is not preserved when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#11627](http://dev.ckeditor.com/ticket/11627): Fixed: Missing words when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#12784](http://dev.ckeditor.com/ticket/12784): Fixed: Bulleted list with custom bullets gets changed to a numbered list when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#13174](http://dev.ckeditor.com/ticket/13174): Fixed: Data loss after [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#13828](http://dev.ckeditor.com/ticket/13828): Fixed: Widget classes should be added to the wrapper rather than the widget element. +* [#13829](http://dev.ckeditor.com/ticket/13829): Fixed: No class in [Widget](http://ckeditor.com/addon/widget) wrapper to identify the widget type. +* [#13519](http://dev.ckeditor.com/ticket/13519): Server response received when uploading files should be more flexible. + +Other Changes: + +* Updated [SCAYT](http://ckeditor.com/addon/scayt) (Spell Check As You Type) and [WebSpellChecker](http://ckeditor.com/addon/wsc) plugins: + * Support for the new default Moono-Lisa skin. + * [#121](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/121): Fixed: [Basic Styles](http://ckeditor.com/addon/basicstyles) do not work when SCAYT is enabled. + * [#125](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/125): Fixed: Inline styles are not continued when writing multiple lines of styled text with SCAYT enabled. + * [#127](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/127): Fixed: Uncaught TypeError after enabling SCAYT in the CKEditor `
    ` element. + * [#128](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/128): Fixed: Error thrown after enabling SCAYT caused by conflicts with RequireJS. + +## CKEditor 4.5.11 + +**Security Updates:** + +* [Severity: minor] Fixed the `target="_blank"` vulnerability reported by James Gaskell. + + Issue summary: If a victim had access to a spoofed version of ckeditor.com via HTTP (e.g. due to DNS spoofing, using a hacked public network or mailicious hotspot), then when using a link to the ckeditor.com website it was possible for the attacker to change the current URL of the opening page, even if the opening page was protected with SSL. + + An upgrade is recommended. + +New Features: + +* [#14747](http://dev.ckeditor.com/ticket/14747): The [Enhanced Image](http://ckeditor.com/addon/image2) caption now supports the link `target` attribute. +* [#7154](http://dev.ckeditor.com/ticket/7154): Added support for the "Display Text" field to the [Link](http://ckeditor.com/addon/link) dialog. Thanks to [Ryan Guill](https://github.com/ryanguill)! + +Fixed Issues: + +* [#13362](http://dev.ckeditor.com/ticket/13362): [Blink, WebKit] Fixed: Active widget element is not cached when it is losing focus and it is inside an editable element. +* [#13755](http://dev.ckeditor.com/ticket/13755): [Edge] Fixed: Pasting images does not work. +* [#13548](http://dev.ckeditor.com/ticket/13548): [IE] Fixed: Clicking the [elements path](http://ckeditor.com/addon/elementspath) disables Cut and Copy icons. +* [#13812](http://dev.ckeditor.com/ticket/13812): Fixed: When aborting file upload the placeholder for image is left. +* [#14659](http://dev.ckeditor.com/ticket/14659): [Blink] Fixed: Content scrolled to the top after closing the dialog in a [`
    `-based editor](http://ckeditor.com/addon/divarea). +* [#14825](http://dev.ckeditor.com/ticket/14825): [Edge] Fixed: Focusing the editor causes unwanted scrolling due to dropped support for the `setActive` method. + +## CKEditor 4.5.10 + +Fixed Issues: + +* [#10750](http://dev.ckeditor.com/ticket/10750): Fixed: The editor does not escape the `font-style` family property correctly, removing quotes and whitespace from font names. +* [#14413](http://dev.ckeditor.com/ticket/14413): Fixed: The [Auto Grow](http://ckeditor.com/addon/autogrow) plugin with the [`config.autoGrow_onStartup`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-autoGrow_onStartup) option set to `true` does not work properly for an editor that is not visible. +* [#14451](http://dev.ckeditor.com/ticket/14451): Fixed: Numeric element ID not escaped properly. Thanks to [Jakub Chalupa](https://github.com/chaluja7)! +* [#14590](http://dev.ckeditor.com/ticket/14590): Fixed: Additional line break appearing after inline elements when switching modes. Thanks to [dpidcock](https://github.com/dpidcock)! +* [#14539](https://dev.ckeditor.com/ticket/14539): Fixed: JAWS reads "selected Blank" instead of "selected " when selecting a widget. +* [#14701](http://dev.ckeditor.com/ticket/14701): Fixed: More precise labels for [Enhanced Image](http://ckeditor.com/addon/image2) and [Placeholder](http://ckeditor.com/addon/placeholder) widgets. +* [#14667](http://dev.ckeditor.com/ticket/14667): [IE] Fixed: Removing background color from selected text removes background color from the whole paragraph. +* [#14252](http://dev.ckeditor.com/ticket/14252): [IE] Fixed: Styles drop-down list does not always reflect the current style of the text line. +* [#14275](http://dev.ckeditor.com/ticket/14275): [IE9+] Fixed: `onerror` and `onload` events are not used in browsers it could have been used when loading scripts dynamically. + +## CKEditor 4.5.9 + +Fixed Issues: + +* [#10685](http://dev.ckeditor.com/ticket/10685): Fixed: Unreadable toolbar icons after updating to the new editor version. Fixed with [6876179](https://github.com/ckeditor/ckeditor-dev/commit/6876179db4ee97e786b07b8fd72e6b4120732185) in [ckeditor-dev](https://github.com/ckeditor/ckeditor-dev) and [6c9189f4](https://github.com/ckeditor/ckeditor-presets/commit/6c9189f46392d2c126854fe8889b820b8c76d291) in [ckeditor-presets](https://github.com/ckeditor/ckeditor-presets). +* [#14573](https://dev.ckeditor.com/ticket/14573): Fixed: Missing [Widget](http://ckeditor.com/addon/widget) drag handler CSS when there are multiple editor instances. +* [#14620](https://dev.ckeditor.com/ticket/14620): Fixed: Setting both the `min-height` style for the `` element and the `height` style for the `` element breaks the [Auto Grow](http://ckeditor.com/addon/autogrow) plugin. +* [#14538](http://dev.ckeditor.com/ticket/14538): Fixed: Keyboard focus goes into an embedded `':!1}}}),new b.fn.oembed.OEmbedProvider("deviantart","photo",["deviantart.com/.+","fav.me/.+","deviantart.com/.+"],"http://backend.deviantart.com/oembed",{format:"jsonp"}),new b.fn.oembed.OEmbedProvider("skitch", +"photo",["skitch.com/.+"],null,{yql:{xpath:"json",from:"json",url:function(a){return"http://skitch.com/oembed/?format=json&url="+a},datareturn:function(a){return b.fn.oembed.getPhotoCode(a.json.url,a.json)}}}),new b.fn.oembed.OEmbedProvider("mobypicture","photo",["mobypicture.com/user/.+/view/.+","moby.to/.+"],"http://api.mobypicture.com/oEmbed"),new b.fn.oembed.OEmbedProvider("flickr","photo",["flickr\\.com/photos/.+"],"http://flickr.com/services/oembed",{callbackparameter:"jsoncallback"}),new b.fn.oembed.OEmbedProvider("photobucket", +"photo",["photobucket\\.com/(albums|groups)/.+"],m()+"photobucket.com/oembed/"),new b.fn.oembed.OEmbedProvider("instagram","photo",["instagr\\.?am(\\.com)?/.+"],m()+"api.instagram.com/oembed"),new b.fn.oembed.OEmbedProvider("SmugMug","photo",["smugmug.com/[-.\\w@]+/.+"],"http://api.smugmug.com/services/oembed/"),new b.fn.oembed.OEmbedProvider("dribbble","photo",["dribbble.com/shots/.+"],"http://api.dribbble.com/shots/$1?callback=?",{templateRegex:/.*shots\/([\d]+).*/,templateData:function(a){return a.image_teaser_url? +'':!1}}),new b.fn.oembed.OEmbedProvider("chart.ly","photo",["chart\\.ly/[a-z0-9]{6,8}"],"http://chart.ly/uploads/large_$1.png",{templateRegex:/.*ly\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new b.fn.oembed.OEmbedProvider("circuitlab","photo",["circuitlab.com/circuit/.+"],"https://www.circuitlab.com/circuit/$1/screenshot/540x405/",{templateRegex:/.*circuit\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new b.fn.oembed.OEmbedProvider("23hq","photo",["23hq.com/[-.\\w@]+/photo/.+"], +"http://www.23hq.com/23/oembed",{useYQL:"json"}),new b.fn.oembed.OEmbedProvider("img.ly","photo",["img\\.ly/.+"],"http://img.ly/show/thumb/$1",{templateRegex:/.*ly\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new b.fn.oembed.OEmbedProvider("twitgoo.com","photo",["twitgoo\\.com/.+"],"http://twitgoo.com/show/thumb/$1",{templateRegex:/.*com\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new b.fn.oembed.OEmbedProvider("imgur.com","photo",["imgur\\.com/gallery/.+"],m()+"imgur.com/$1l.jpg",{templateRegex:/.*gallery\/([^\/]+).*/, +embedtag:{tag:"img"},nocache:1}),new b.fn.oembed.OEmbedProvider("visual.ly","rich",["visual\\.ly/.+"],null,{yql:{xpath:"//a[@id=\\'gc_article_graphic_image\\']/img",from:"htmlstring"}}),new b.fn.oembed.OEmbedProvider("gravtar","photo",["mailto:.+"],null,{templateRegex:/mailto:([^\/]+).*/,template:function(a,b){return'on Gravtar'}}),new b.fn.oembed.OEmbedProvider("twitter","rich",["twitter.com/.+"],"https://api.twitter.com/1/statuses/oembed.json?id="), +new b.fn.oembed.OEmbedProvider("gmep","rich",["gmep.imeducate.com/.*","gmep.org/.*"],"http://gmep.org/oembed.json"),new b.fn.oembed.OEmbedProvider("urtak","rich",["urtak.com/(u|clr)/.+"],"http://oembed.urtak.com/1/oembed"),new b.fn.oembed.OEmbedProvider("cacoo","rich",["cacoo.com/.+"],"http://cacoo.com/oembed.json"),new b.fn.oembed.OEmbedProvider("dailymile","rich",["dailymile.com/people/.*/entries/.*"],"http://api.dailymile.com/oembed"),new b.fn.oembed.OEmbedProvider("dipity","rich",["dipity.com/timeline/.+"], +"http://www.dipity.com/oembed/timeline/",{useYQL:"json"}),new b.fn.oembed.OEmbedProvider("sketchfab","rich",["sketchfab.com/show/.+"],"http://sketchfab.com/oembed",{useYQL:"json"}),new b.fn.oembed.OEmbedProvider("speakerdeck","rich",["speakerdeck.com/.+"],"http://speakerdeck.com/oembed.json",{useYQL:"json"}),new b.fn.oembed.OEmbedProvider("popplet","rich",["popplet.com/app/.*"],"http://popplet.com/app/Popplet_Alpha.swf?page_id=$1&em=1",{templateRegex:/.*#\/([^\/]+).*/,embedtag:{width:460,height:460}}), +new b.fn.oembed.OEmbedProvider("pearltrees","rich",["pearltrees.com/.*"],"http://cdn.pearltrees.com/s/embed/getApp?",{templateRegex:/.*N-f=1_(\d+).*N-p=(\d+).*/,embedtag:{width:460,height:460,flashvars:"lang=en_US&embedId=pt-embed-$1-693&treeId=$1&pearlId=$2&treeTitle=Diagrams%2FVisualization&site=www.pearltrees.com%2FF"}}),new b.fn.oembed.OEmbedProvider("prezi","rich",["prezi.com/.*"],"http://prezi.com/bin/preziloader.swf?",{templateRegex:/.*com\/([^\/]+)\/.*/,embedtag:{width:550, +height:400,flashvars:"prezi_id=$1&lock_to_path=0&color=ffffff&autoplay=no&autohide_ctrls=0"}}),new b.fn.oembed.OEmbedProvider("tourwrist","rich",["tourwrist.com/tours/.+"],null,{templateRegex:/.*tours.([\d]+).*/,template:function(a,b){return setTimeout(function(){loadEmbeds&&loadEmbeds()},2E3),"
    + + + + + + +
    + +
    + +
    + +
    +
    +
    +
    +

    Congratulations!

    +

    + If you can see CKEditor below, it means that the installation succeeded. + You can now try out your new editor version, see its features, and when you are ready to move on, check some of the most useful resources recommended below. +

    +
    +
    +
    +
    +
    +
    +
    +

    Hello world!

    +

    I'm an instance of CKEditor.

    +
    +
    +
    +
    + +
    +
    +
    +

    Customize Your Editor

    +

    Modular build and numerous configuration options give you nearly endless possibilities to customize CKEditor. Replace the content of your config.js file with the following code and refresh this page (remember to clear the browser cache)!

    +
    CKEDITOR.editorConfig = function( config ) {
    +	config.language = 'es';
    +	config.uiColor = '#F7B42C';
    +	config.height = 300;
    +	config.toolbarCanCollapse = true;
    +};
    +
    + +
    +

    Toolbar Configuration

    +

    If you want to reorder toolbar buttons or remove some of them, check this handy tool!

    +
    + +
    +

    More Samples!

    +

    Visit the CKEditor SDK for a huge collection of samples showcasing editor features, with source code readily available to copy and use in your own implementation.

    +
    + +
    +

    Developer's Guide

    +

    The most important resource for all developers working with CKEditor, integrating it with their websites and applications, and customizing to their needs. You can start from here:

    +
      +
    • Getting Started – Explains most crucial editor concepts and practices as well as the installation process and integration with your website.
    • +
    • Advanced Installation Concepts – Describes how to upgrade, install additional components (plugins, skins), or create a custom build.
    • +
    +

    When you have the basics sorted out, feel free to browse some more advanced sections like:

    + +
    + +
    +

    CKEditor JavaScript API

    +

    CKEditor boasts a rich JavaScript API that you can use to adjust the editor to your needs and integrate it with your website or application.

    +
    +
    +
    +
    + +
    +
    +

    + CKEditor – The text editor for the Internet – http://ckeditor.com +

    +

    + Copyright © 2003-2017, CKSource – Frederico Knabben. All rights reserved. +

    +
    +
    + + + + diff --git a/release/samples/js/sample.js b/release/samples/js/sample.js new file mode 100644 index 0000000..f0cd939 --- /dev/null +++ b/release/samples/js/sample.js @@ -0,0 +1,53 @@ +/** + * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/* exported initSample */ + +if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) + CKEDITOR.tools.enableHtml5Elements( document ); + +// The trick to keep the editor in the sample quite small +// unless user specified own height. +CKEDITOR.config.height = 150; +CKEDITOR.config.width = 'auto'; + +var initSample = ( function() { + var wysiwygareaAvailable = isWysiwygareaAvailable(), + isBBCodeBuiltIn = !!CKEDITOR.plugins.get( 'bbcode' ); + + return function() { + var editorElement = CKEDITOR.document.getById( 'editor' ); + + // :((( + if ( isBBCodeBuiltIn ) { + editorElement.setHtml( + 'Hello world!\n\n' + + 'I\'m an instance of [url=http://ckeditor.com]CKEditor[/url].' + ); + } + + // Depending on the wysiwygare plugin availability initialize classic or inline editor. + if ( wysiwygareaAvailable ) { + CKEDITOR.replace( 'editor' ); + } else { + editorElement.setAttribute( 'contenteditable', 'true' ); + CKEDITOR.inline( 'editor' ); + + // TODO we can consider displaying some info box that + // without wysiwygarea the classic editor may not work. + } + }; + + function isWysiwygareaAvailable() { + // If in development mode, then the wysiwygarea must be available. + // Split REV into two strings so builder does not replace it :D. + if ( CKEDITOR.revision == ( '%RE' + 'V%' ) ) { + return true; + } + + return !!CKEDITOR.plugins.get( 'wysiwygarea' ); + } +} )(); + diff --git a/release/samples/js/sf.js b/release/samples/js/sf.js new file mode 100644 index 0000000..69dd77d --- /dev/null +++ b/release/samples/js/sf.js @@ -0,0 +1,17 @@ +/* + Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +var SF=function(){function d(a){return(a=a.attributes?a.attributes.getNamedItem("class"):null)?a.value.split(" "):[]}function c(a){var e=document.createAttribute("class");e.value=a.join(" ");return e}var b={attachListener:function(a,e,b){if(a.addEventListener)a.addEventListener(e,b,!1);else if(a.attachEvent)a.attachEvent("on"+e,function(){b.apply(a,arguments)});else throw Error("Could not attach event.");}};b.indexOf=function(){var a=Array.prototype.indexOf;return"function"===a?function(e,b){return a.call(e, +b)}:function(a,b){for(var c=a.length,d=0;d + + + + + Ajax — CKEditor Sample + + + + + +

    + CKEditor Samples » Create and Destroy Editor Instances for Ajax Applications +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to create and destroy CKEditor instances on the fly. After the removal of CKEditor the content created inside the editing + area will be displayed in a <div> element. +

    +

    + For details of how to create this setup check the source code of this sample page + for JavaScript code responsible for the creation and destruction of a CKEditor instance. +

    +
    +

    Click the buttons to create and remove a CKEditor instance.

    +

    + + +

    + +
    +
    + + + + diff --git a/release/samples/old/api.html b/release/samples/old/api.html new file mode 100644 index 0000000..88a4b06 --- /dev/null +++ b/release/samples/old/api.html @@ -0,0 +1,210 @@ + + + + + + API Usage — CKEditor Sample + + + + + + +

    + CKEditor Samples » Using CKEditor JavaScript API +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to use the + CKEditor JavaScript API + to interact with the editor at runtime. +

    +

    + For details on how to create this setup check the source code of this sample page. +

    +
    + + +
    + +
    +
    + + + + +

    +

    + + +
    + + + diff --git a/release/samples/old/appendto.html b/release/samples/old/appendto.html new file mode 100644 index 0000000..dbabf75 --- /dev/null +++ b/release/samples/old/appendto.html @@ -0,0 +1,59 @@ + + + + + + Append To Page Element Using JavaScript Code — CKEditor Sample + + + + +

    + CKEditor Samples » Append To Page Element Using JavaScript Code +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +
    +

    + The CKEDITOR.appendTo() method serves to to place editors inside existing DOM elements. Unlike CKEDITOR.replace(), + a target container to be replaced is no longer necessary. A new editor + instance is inserted directly wherever it is desired. +

    +
    CKEDITOR.appendTo( 'container_id',
    +	{ /* Configuration options to be used. */ }
    +	'Editor content to be used.'
    +);
    +
    + +
    +
    + + + diff --git a/release/samples/old/assets/inlineall/logo.png b/release/samples/old/assets/inlineall/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..b4d5979e3451d76d72e8b9337ee208d7275abb15 GIT binary patch literal 4283 zcmV;s5Jc~ZP)w9gs(u{NOIseln@4dWe ze(%rsefPUB8UWC6asArF|0i&9u(`N6*j!v3Y%Z=|2D>lD?0g|oo87SDhHOjXEYx*| zdcCjj!M{wdJ_lQCw1v;h6XI^mwItu1V=>%x#sW8HTi}M%^)Sm&57+%t2iIoRrE##i zLLTfzg+lbgLLo7>z?LyT-wJc{tS~3H0dCG|04;(&8^Ml7u&+m`XPzQp*TPjNEHNBx zu8;!z{?fKcozbpeS|X%9Tr3E2#RA-4D8PcVR)|5cZ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2b(KkuxFpK#HjUyJdtk|o1Dn~K{6YiVn4_NLv5G)gUA;U zNN%l~FfwjEkh*ohA5Uj!e)uJt-+qBBXum<@O+ScQ!szMNo(l-NEAOFG3kY=@LcKz& zgz)={a0M0Y>rU0B^)$n%THd28&XpDr$lV%~#f-r_a`c0CJ=K5`-O0@xi0GOJWe}NYw)HYgmvrD8KuJL{UvFmelqGu9Vm^~1aa^$lPf4-Uv;uJ z&YOM^jH?af4w@3XyP+fpn=7P#nK$Z0b+W?m#hB2klgIyTj*G~$g=;R-;9n+J(7+~R z(($_J$(c1VMBe;t9S581e*)}K8T`xS;$U-eu<7WB>W>M~pE}+anC&p$J!?Rgr!S^aCkimr(fGWO5jj2ug|Na9M&F#>C7+6%xil-Xx72Y%Z_B d=HmJ_=)X(C<$1VVe}Vu2002ovPDHLkV1n>sNh$yU literal 0 HcmV?d00001 diff --git a/release/samples/old/assets/outputxhtml/outputxhtml.css b/release/samples/old/assets/outputxhtml/outputxhtml.css new file mode 100644 index 0000000..fbcc767 --- /dev/null +++ b/release/samples/old/assets/outputxhtml/outputxhtml.css @@ -0,0 +1,204 @@ +/* + * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + * + * Styles used by the XHTML 1.1 sample page (xhtml.html). + */ + +/** + * Basic definitions for the editing area. + */ +body +{ + font-family: Arial, Verdana, sans-serif; + font-size: 80%; + color: #000000; + background-color: #ffffff; + padding: 5px; + margin: 0px; +} + +/** + * Core styles. + */ + +.Bold +{ + font-weight: bold; +} + +.Italic +{ + font-style: italic; +} + +.Underline +{ + text-decoration: underline; +} + +.StrikeThrough +{ + text-decoration: line-through; +} + +.Subscript +{ + vertical-align: sub; + font-size: smaller; +} + +.Superscript +{ + vertical-align: super; + font-size: smaller; +} + +/** + * Font faces. + */ + +.FontComic +{ + font-family: 'Comic Sans MS'; +} + +.FontCourier +{ + font-family: 'Courier New'; +} + +.FontTimes +{ + font-family: 'Times New Roman'; +} + +/** + * Font sizes. + */ + +.FontSmaller +{ + font-size: smaller; +} + +.FontLarger +{ + font-size: larger; +} + +.FontSmall +{ + font-size: 8pt; +} + +.FontBig +{ + font-size: 14pt; +} + +.FontDouble +{ + font-size: 200%; +} + +/** + * Font colors. + */ +.FontColor1 +{ + color: #ff9900; +} + +.FontColor2 +{ + color: #0066cc; +} + +.FontColor3 +{ + color: #ff0000; +} + +.FontColor1BG +{ + background-color: #ff9900; +} + +.FontColor2BG +{ + background-color: #0066cc; +} + +.FontColor3BG +{ + background-color: #ff0000; +} + +/** + * Indentation. + */ + +.Indent1 +{ + margin-left: 40px; +} + +.Indent2 +{ + margin-left: 80px; +} + +.Indent3 +{ + margin-left: 120px; +} + +/** + * Alignment. + */ + +.JustifyLeft +{ + text-align: left; +} + +.JustifyRight +{ + text-align: right; +} + +.JustifyCenter +{ + text-align: center; +} + +.JustifyFull +{ + text-align: justify; +} + +/** + * Other. + */ + +code +{ + font-family: courier, monospace; + background-color: #eeeeee; + padding-left: 1px; + padding-right: 1px; + border: #c0c0c0 1px solid; +} + +kbd +{ + padding: 0px 1px 0px 1px; + border-width: 1px 2px 2px 1px; + border-style: solid; +} + +blockquote +{ + color: #808080; +} diff --git a/release/samples/old/assets/posteddata.php b/release/samples/old/assets/posteddata.php new file mode 100644 index 0000000..bb4dd94 --- /dev/null +++ b/release/samples/old/assets/posteddata.php @@ -0,0 +1,59 @@ + + + + + + Sample — CKEditor + + + +

    + CKEditor — Posted Data +

    + + + + + + + + + $value ) + { + if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) + continue; + + if ( get_magic_quotes_gpc() ) + $value = htmlspecialchars( stripslashes((string)$value) ); + else + $value = htmlspecialchars( (string)$value ); +?> + + + + + +
    Field NameValue
    + + + diff --git a/release/samples/old/assets/sample.jpg b/release/samples/old/assets/sample.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9498271c6032eafda487c0428ad5b26eff35985a GIT binary patch literal 14449 zcmb8VV{oJa^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5vMI~@;C6P+@<1RTpWD)D2N%s|a5_J$Hs+%YuZ8(T1E zzXNKXKJ#C^#h13C_^hR{EXc(EPKm9mkp0X4OO&ILEG7lWpM3v@m_jZrw)!)zVxAp+ z4EnICyz9240qYyF*I7UrBgKaIH33mb+yQu%zUUx)>6XbciD^aX84Z(W_NGgCXcIcf zc(vAIOMeo38yq`B_yu(5*|W&~Tr+&hm~teZuuQigNZfEzy`=!}T?zSs;u!FydL`g? z&zhN?tMB6nv&T*#lJ){*N1B2Prq;ND!cCCJ*5ER!g+Cwy!Gz8X!NoOB-oJ3TFAFRG z9v)02QZ7FP7#8AR=MFJ7a|$ZX+bw!gBuCj-r6KIGC7HM9tsQT z@~?<;qe}7xz(%O+prbB8R*6e+@BkMA-(yZ3&Ie}5^|asqAuuEd-iHhQJ-f|7MHa&&=mPgn z2Lo|K0Ti$jl_T0r4$;femAc@m+{B;l@d88LwBcZTo$?*PnbDPtQkYgo~{-<%1ce>M(u1K{vqLtikMP7Thm zmW@P&!N(jMzH%>N^zmktV<FB+$aN_kei-v zp#nfw6p9UV-4A>XaM;NKC_mzRz7x1+3rDcVFt`GGFPG3b6+DVO=6T4Tau1+E@5kT> zLx{;_MD>YrA>gQHY_#^|SHyvFl)>UKRkgBU?gjMe!Ug`rVED3Os0<)J{~k#jB$dL+ i{?DJcwRs;7m5`Jp@uhhBy}MYI_#nJ#Z+o53<^Kl=6XBQu literal 0 HcmV?d00001 diff --git a/release/samples/old/assets/uilanguages/languages.js b/release/samples/old/assets/uilanguages/languages.js new file mode 100644 index 0000000..df904e1 --- /dev/null +++ b/release/samples/old/assets/uilanguages/languages.js @@ -0,0 +1,7 @@ +/* + Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German","de-ch":"German (Switzerland)",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",gu:"Gujarati",he:"Hebrew", +hi:"Hindi",hr:"Croatian",hu:"Hungarian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mk:"Macedonian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",oc:"Occitan",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",si:"Sinhala",sk:"Slovak",sq:"Albanian",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",sv:"Swedish",th:"Thai", +tr:"Turkish",tt:"Tatar",ug:"Uighur",uk:"Ukrainian",vi:"Vietnamese",zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a,name:c[a]||a});b.sort(function(a,b){return a.name + + + + + Data Filtering — CKEditor Sample + + + + + +

    + CKEditor Samples » Data Filtering and Features Activation +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample page demonstrates the idea of Advanced Content Filter + (ACF), a sophisticated + tool that takes control over what kind of data is accepted by the editor and what + kind of output is produced. +

    +

    When and what is being filtered?

    +

    + ACF controls + every single source of data that comes to the editor. + It process both HTML that is inserted manually (i.e. pasted by the user) + and programmatically like: +

    +
    +editor.setData( '<p>Hello world!</p>' );
    +
    +

    + ACF discards invalid, + useless HTML tags and attributes so the editor remains "clean" during + runtime. ACF behaviour + can be configured and adjusted for a particular case to prevent the + output HTML (i.e. in CMS systems) from being polluted. + + This kind of filtering is a first, client-side line of defense + against "tag soups", + the tool that precisely restricts which tags, attributes and styles + are allowed (desired). When properly configured, ACF + is an easy and fast way to produce a high-quality, intentionally filtered HTML. +

    + +

    How to configure or disable ACF?

    +

    + Advanced Content Filter is enabled by default, working in "automatic mode", yet + it provides a set of easy rules that allow adjusting filtering rules + and disabling the entire feature when necessary. The config property + responsible for this feature is config.allowedContent. +

    +

    + By "automatic mode" is meant that loaded plugins decide which kind + of content is enabled and which is not. For example, if the link + plugin is loaded it implies that <a> tag is + automatically allowed. Each plugin is given a set + of predefined ACF rules + that control the editor until + config.allowedContent + is defined manually. +

    +

    + Let's assume our intention is to restrict the editor to accept (produce) paragraphs + only: no attributes, no styles, no other tags. + With ACF + this is very simple. Basically set + config.allowedContent to 'p': +

    +
    +var editor = CKEDITOR.replace( textarea_id, {
    +	allowedContent: 'p'
    +} );
    +
    +

    + Now try to play with allowed content: +

    +
    +// Trying to insert disallowed tag and attribute.
    +editor.setData( '<p style="color: red">Hello <em>world</em>!</p>' );
    +alert( editor.getData() );
    +
    +// Filtered data is returned.
    +"<p>Hello world!</p>"
    +
    +

    + What happened? Since config.allowedContent: 'p' is set the editor assumes + that only plain <p> are accepted. Nothing more. This is why + style attribute and <em> tag are gone. The same + filtering would happen if we pasted disallowed HTML into this editor. +

    +

    + This is just a small sample of what ACF + can do. To know more, please refer to the sample section below and + the official Advanced Content Filter guide. +

    +

    + You may, of course, want CKEditor to avoid filtering of any kind. + To get rid of ACF, + basically set + config.allowedContent to true like this: +

    +
    +CKEDITOR.replace( textarea_id, {
    +	allowedContent: true
    +} );
    +
    + +

    Beyond data flow: Features activation

    +

    + ACF is far more than + I/O control: the entire + UI of the editor is adjusted to what + filters restrict. For example: if <a> tag is + disallowed + by ACF, + then accordingly link command, toolbar button and link dialog + are also disabled. Editor is smart: it knows which features must be + removed from the interface to match filtering rules. +

    +

    + CKEditor can be far more specific. If <a> tag is + allowed by filtering rules to be used but it is restricted + to have only one attribute (href) + config.allowedContent = 'a[!href]', then + "Target" tab of the link dialog is automatically disabled as target + attribute isn't included in ACF rules + for <a>. This behaviour applies to dialog fields, context + menus and toolbar buttons. +

    + +

    Sample configurations

    +

    + There are several editor instances below that present different + ACF setups. All of them, + except the inline instance, share the same HTML content to visualize + how different filtering rules affect the same input data. +

    +
    + +
    + +
    +

    + This editor is using default configuration ("automatic mode"). It means that + + config.allowedContent is defined by loaded plugins. + Each plugin extends filtering rules to make it's own associated content + available for the user. +

    +
    + + + +
    + +
    + +
    + +
    +

    + This editor is using a custom configuration for + ACF: +

    +
    +CKEDITOR.replace( 'editor2', {
    +	allowedContent:
    +		'h1 h2 h3 p blockquote strong em;' +
    +		'a[!href];' +
    +		'img(left,right)[!src,alt,width,height];' +
    +		'table tr th td caption;' +
    +		'span{!font-family};' +'
    +		'span{!color};' +
    +		'span(!marker);' +
    +		'del ins'
    +} );
    +
    +

    + The following rules may require additional explanation: +

    +
      +
    • + h1 h2 h3 p blockquote strong em - These tags + are accepted by the editor. Any tag attributes will be discarded. +
    • +
    • + a[!href] - href attribute is obligatory + for <a> tag. Tags without this attribute + are disarded. No other attribute will be accepted. +
    • +
    • + img(left,right)[!src,alt,width,height] - src + attribute is obligatory for <img> tag. + alt, width, height + and class attributes are accepted but + class must be either class="left" + or class="right" +
    • +
    • + table tr th td caption - These tags + are accepted by the editor. Any tag attributes will be discarded. +
    • +
    • + span{!font-family}, span{!color}, + span(!marker) - <span> tags + will be accepted if either font-family or + color style is set or class="marker" + is present. +
    • +
    • + del ins - These tags + are accepted by the editor. Any tag attributes will be discarded. +
    • +
    +

    + Please note that UI of the + editor is different. It's a response to what happened to the filters. + Since text-align isn't allowed, the align toolbar is gone. + The same thing happened to subscript/superscript, strike, underline + (<u>, <sub>, <sup> + are disallowed by + config.allowedContent) and many other buttons. +

    +
    + + +
    + +
    + +
    + +
    +

    + This editor is using a custom configuration for + ACF. + Note that filters can be configured as an object literal + as an alternative to a string-based definition. +

    +
    +CKEDITOR.replace( 'editor3', {
    +	allowedContent: {
    +		'b i ul ol big small': true,
    +		'h1 h2 h3 p blockquote li': {
    +			styles: 'text-align'
    +		},
    +		a: { attributes: '!href,target' },
    +		img: {
    +			attributes: '!src,alt',
    +			styles: 'width,height',
    +			classes: 'left,right'
    +		}
    +	}
    +} );
    +
    +
    + + +
    + +
    + +
    + +
    +

    + This editor is using a custom set of plugins and buttons. +

    +
    +CKEDITOR.replace( 'editor4', {
    +	removePlugins: 'bidi,font,forms,flash,horizontalrule,iframe,justify,table,tabletools,smiley',
    +	removeButtons: 'Anchor,Underline,Strike,Subscript,Superscript,Image',
    +	format_tags: 'p;h1;h2;h3;pre;address'
    +} );
    +
    +

    + As you can see, removing plugins and buttons implies filtering. + Several tags are not allowed in the editor because there's no + plugin/button that is responsible for creating and editing this + kind of content (for example: the image is missing because + of removeButtons: 'Image'). The conclusion is that + ACF works "backwards" + as well: modifying UI + elements is changing allowed content rules. +

    +
    + + +
    + +
    + +
    + +
    +

    + This editor is built on editable <h1> element. + ACF takes care of + what can be included in <h1>. Note that there + are no block styles in Styles combo. Also why lists, indentation, + blockquote, div, form and other buttons are missing. +

    +

    + ACF makes sure that + no disallowed tags will come to <h1> so the final + markup is valid. If the user tried to paste some invalid HTML + into this editor (let's say a list), it would be automatically + converted into plain text. +

    +
    +

    + Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. +

    +
    + +
    + +
    + +
    +

    + This editor is using a custom configuration for ACF. + It's using the + Disallowed Content property of the filter to eliminate all title attributes. +

    + +
    +CKEDITOR.replace( 'editor6', {
    +	allowedContent: {
    +		'b i ul ol big small': true,
    +		'h1 h2 h3 p blockquote li': {
    +			styles: 'text-align'
    +		},
    +		a: {attributes: '!href,target'},
    +		img: {
    +			attributes: '!src,alt',
    +			styles: 'width,height',
    +			classes: 'left,right'
    +		}
    +	},
    +	disallowedContent: '*{title*}'
    +} );
    +
    +
    + + +
    + +
    + +
    + +
    +

    + This editor is using a custom configuration for ACF. + It's using the + Disallowed Content property of the filter to eliminate all a and img tags, + while allowing all other tags. +

    +
    +CKEDITOR.replace( 'editor7', {
    +	allowedContent: {
    +		// Allow all content.
    +		$1: {
    +			elements: CKEDITOR.dtd,
    +			attributes: true,
    +			styles: true,
    +			classes: true
    +		}
    +	},
    +	disallowedContent: 'img a'
    +} );
    +
    +
    + + +
    + + + + diff --git a/release/samples/old/dialog/assets/my_dialog.js b/release/samples/old/dialog/assets/my_dialog.js new file mode 100644 index 0000000..fcd1a43 --- /dev/null +++ b/release/samples/old/dialog/assets/my_dialog.js @@ -0,0 +1,48 @@ +/** + * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +CKEDITOR.dialog.add( 'myDialog', function() { + return { + title: 'My Dialog', + minWidth: 400, + minHeight: 200, + contents: [ + { + id: 'tab1', + label: 'First Tab', + title: 'First Tab', + elements: [ + { + id: 'input1', + type: 'text', + label: 'Text Field' + }, + { + id: 'select1', + type: 'select', + label: 'Select Field', + items: [ + [ 'option1', 'value1' ], + [ 'option2', 'value2' ] + ] + } + ] + }, + { + id: 'tab2', + label: 'Second Tab', + title: 'Second Tab', + elements: [ + { + id: 'button1', + type: 'button', + label: 'Button Field' + } + ] + } + ] + }; +} ); + diff --git a/release/samples/old/dialog/dialog.html b/release/samples/old/dialog/dialog.html new file mode 100644 index 0000000..0f22a1a --- /dev/null +++ b/release/samples/old/dialog/dialog.html @@ -0,0 +1,190 @@ + + + + + + Using API to Customize Dialog Windows — CKEditor Sample + + + + + + + + + +

    + CKEditor Samples » Using CKEditor Dialog API +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +

    + This sample shows how to use the + CKEditor Dialog API + to customize CKEditor dialog windows without changing the original editor code. + The following customizations are being done in the example below: +

    +

    + For details on how to create this setup check the source code of this sample page. +

    +
    +

    A custom dialog is added to the editors using the pluginsLoaded event, from an external dialog definition file:

    +
      +
    1. Creating a custom dialog window – "My Dialog" dialog window opened with the "My Dialog" toolbar button.
    2. +
    3. Creating a custom button – Add button to open the dialog with "My Dialog" toolbar button.
    4. +
    + + +

    The below editor modify the dialog definition of the above added dialog using the dialogDefinition event:

    +
      +
    1. Adding dialog tab – Add new tab "My Tab" to dialog window.
    2. +
    3. Removing a dialog window tab – Remove "Second Tab" page from the dialog window.
    4. +
    5. Adding dialog window fields – Add "My Custom Field" to the dialog window.
    6. +
    7. Removing dialog window field – Remove "Select Field" selection field from the dialog window.
    8. +
    9. Setting default values for dialog window fields – Set default value of "Text Field" text field.
    10. +
    11. Setup initial focus for dialog window – Put initial focus on "My Custom Field" text field.
    12. +
    + + + + + diff --git a/release/samples/old/divreplace.html b/release/samples/old/divreplace.html new file mode 100644 index 0000000..c6724f0 --- /dev/null +++ b/release/samples/old/divreplace.html @@ -0,0 +1,144 @@ + + + + + + Replace DIV — CKEditor Sample + + + + + + +

    + CKEditor Samples » Replace DIV with CKEditor on the Fly +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +

    + This sample shows how to automatically replace <div> elements + with a CKEditor instance on the fly, following user's doubleclick. The content + that was previously placed inside the <div> element will now + be moved into CKEditor editing area. +

    +

    + For details on how to create this setup check the source code of this sample page. +

    +
    +

    + Double-click any of the following <div> elements to transform them into + editor instances. +

    +
    +

    + Part 1 +

    +

    + Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

    +
    +
    +

    + Part 2 +

    +

    + Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

    +

    + Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus + sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum + vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate. +

    +
    +
    +

    + Part 3 +

    +

    + Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

    +
    + + + diff --git a/release/samples/old/enterkey/enterkey.html b/release/samples/old/enterkey/enterkey.html new file mode 100644 index 0000000..79afee3 --- /dev/null +++ b/release/samples/old/enterkey/enterkey.html @@ -0,0 +1,106 @@ + + + + + + ENTER Key Configuration — CKEditor Sample + + + + + + + + +

    + CKEditor Samples » ENTER Key Configuration +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to configure the Enter and Shift+Enter keys + to perform actions specified in the + enterMode + and shiftEnterMode + parameters, respectively. + You can choose from the following options: +

    +
      +
    • ENTER_P – new <p> paragraphs are created;
    • +
    • ENTER_BR – lines are broken with <br> elements;
    • +
    • ENTER_DIV – new <div> blocks are created.
    • +
    +

    + The sample code below shows how to configure CKEditor to create a <div> block when Enter key is pressed. +

    +
    +CKEDITOR.replace( 'textarea_id', {
    +	enterMode: CKEDITOR.ENTER_DIV
    +});
    +

    + Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

    +
    +
    + When Enter is pressed:
    + +
    +
    + When Shift+Enter is pressed:
    + +
    +
    +
    +

    +
    + +

    +

    + +

    +
    + + + diff --git a/release/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla b/release/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla new file mode 100644 index 0000000000000000000000000000000000000000..27e68ccd1cb7192c8bda2418d198d90f1aff10a7 GIT binary patch literal 85504 zcmeHw2YggT*Z$pXLX+M*5u`~Agc2Y$>C%e=N(~_aDG4MXp+-@<6j3A)Kv5BuDu{@b zC|x6{DAId*Y0^6+|L2*xbNBAuWOu`>|IhFDWnpse%sF#r=FFKs_uOCh*OHPmYZ*-8K6tk2PRprjCG_WH{79A?ZYUi6>A(LS66mN!;9s=nuQk<%01ne) zSe0J?@@sxZeN#UozZlc)i(&h6O(@>6QKuF)<(E3G)v zXPdCYd7FMC&|c3g*>`eEzor(TRY&^#TT>Ev_{;Q}uKIZ(7wC%kJGq>s{5$KPGDxa% zbKTOT_7>lK^}{PogC`6Wsp$28{ln#zSpWVAjHS@<`@8BtE#)7EbZdu+|T||L>@O>OR{P^B}pp|7)&)rMFKIHwi8iqOv?0;poo{m<8?`xU6v5;IhNz zfWr`=<$@#K|BoNjsf6?@!&QL`fU62u4K5I_IviUqTTU&wAh_Cab>Qm41;f>Ys}I)z zt|1(Gz5v)5t_fUIICc%q;n;n(gnJRL6&z{X0Jeo|2iG3116)VAPH>&!UV?iWt_xgO zxNdN-z`Y9B9j*slPqkl^o?lm|zq(N|l;fBCP!2KO^ zZ)56zf*`e;qW7yM{vrvFKlDF_?o$UmMgRfzwVmGoc|-4shUu!GC)$4kuhJ&`C-{5f z`QM~(_nYqXv1k>VwuucKzwM|Xo6ScXY11-Y?U6Y;U(*BG-&#Fs^|hP{ewkWnvvc`Q zm^wXSp8t=r6S7qHpV7O0^Ir?iD|dQw(eb6G?@g{-v`q5j@S+`}Pgg7cUZoFx?9cb9 zSMgBW*qqsC1qbEKKXdQGYnT7L*I~fJ($`8iN`9`#g}lcuuKZ%8~xTmfH2ni2FaknOOYV^7l7H%xt-8)yzF#AI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R-Def6J{i%^X^REn2K-N{pxD@Tm3$7K21G8 zzPA6`WZ_nQq5{n)1}ER({I09KiOJyXX$~# zJHLBW^j&Dnxo#=nCOUfjqg}!0&+oo}eZRcs!Pc$YV}<^DbpA%xxixdfva;mo8*1Jy z*^n$#J+xn5^8Kdv)0-+b_DA*BBnL=s$qYQYXLmRBjW9`uMEp2GPI>)t5%%R zJ+yw|fk}oVU(UV>;io);DD>W0tJ~Q^RQu`aJ{$NR1OAJ!0Qy^r=3g#EEUEO{Zf2o9 z7ExbM=M~ONMSBGV=+I8~%VOD`!Z?Ny+Wd3&+?};qMITkDXc+$vK8*n%O@u6CSRql7 xtD_gGM1_UNt5{jikFomaTNEL*A~t>MCVV*k_sOSXZM{{fd;5vc$G literal 0 HcmV?d00001 diff --git a/release/samples/old/htmlwriter/assets/outputforflash/swfobject.js b/release/samples/old/htmlwriter/assets/outputforflash/swfobject.js new file mode 100644 index 0000000..0700921 --- /dev/null +++ b/release/samples/old/htmlwriter/assets/outputforflash/swfobject.js @@ -0,0 +1,19 @@ +var swfobject=function(){function w(){if(!u){try{var a=d.getElementsByTagName("body")[0].appendChild(d.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}u=!0;for(var a=z.length,c=0;cf){f++;setTimeout(arguments.callee,10);return}a.removeChild(b);c=null;E()})()}else E()} +function E(){var a=r.length;if(0e.wk)if(r[b].expressInstall&&F()){g={};g.data=r[b].expressInstall;g.width=d.getAttribute("width")||"0";g.height=d.getAttribute("height")||"0";d.getAttribute("class")&&(g.styleclass=d.getAttribute("class"));d.getAttribute("align")&&(g.align=d.getAttribute("align"));for(var h={},d=d.getElementsByTagName("param"),k=d.length,l=0;l< +k;l++)"movie"!=d[l].getAttribute("name").toLowerCase()&&(h[d[l].getAttribute("name")]=d[l].getAttribute("value"));G(g,h,c,f)}else W(d),f&&f(g);else v(c,!0),f&&(g.success=!0,g.ref=H(c),f(g))}else v(c,!0),f&&((c=H(c))&&"undefined"!=typeof c.SetVariable&&(g.success=!0,g.ref=c),f(g))}}function H(a){var b=null;(a=p(a))&&"OBJECT"==a.nodeName&&("undefined"!=typeof a.SetVariable?b=a:(a=a.getElementsByTagName("object")[0])&&(b=a));return b}function F(){return!B&&A("6.0.65")&&(e.win||e.mac)&&!(e.wk&&312>e.wk)} +function G(a,b,c,f){B=!0;I=f||null;O={success:!1,id:c};var g=p(c);if(g){"OBJECT"==g.nodeName?(y=J(g),C=null):(y=g,C=c);a.id="SWFObjectExprInst";if("undefined"==typeof a.width||!/%$/.test(a.width)&&310>parseInt(a.width,10))a.width="310";if("undefined"==typeof a.height||!/%$/.test(a.height)&&137>parseInt(a.height,10))a.height="137";d.title=d.title.slice(0,47)+" - Flash Player Installation";f=e.ie&&e.win?"ActiveX":"PlugIn";f="MMredirectURL\x3d"+n.location.toString().replace(/&/g,"%26")+"\x26MMplayerType\x3d"+ +f+"\x26MMdoctitle\x3d"+d.title;b.flashvars="undefined"!=typeof b.flashvars?b.flashvars+("\x26"+f):f;e.ie&&e.win&&4!=g.readyState&&(f=d.createElement("div"),c+="SWFObjectNew",f.setAttribute("id",c),g.parentNode.insertBefore(f,g),g.style.display="none",function(){4==g.readyState?g.parentNode.removeChild(g):setTimeout(arguments.callee,10)}());K(a,b,c)}}function W(a){if(e.ie&&e.win&&4!=a.readyState){var b=d.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(J(a),b);a.style.display= +"none";(function(){4==a.readyState?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(J(a),a)}function J(a){var b=d.createElement("div");if(e.win&&e.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName("object")[0])if(a=a.childNodes)for(var c=a.length,f=0;fe.wk)return f;if(g)if("undefined"==typeof a.id&& +(a.id=c),e.ie&&e.win){var q="",h;for(h in a)a[h]!=Object.prototype[h]&&("data"==h.toLowerCase()?b.movie=a[h]:"styleclass"==h.toLowerCase()?q+=' class\x3d"'+a[h]+'"':"classid"!=h.toLowerCase()&&(q+=" "+h+'\x3d"'+a[h]+'"'));h="";for(var k in b)b[k]!=Object.prototype[k]&&(h+='\x3cparam name\x3d"'+k+'" value\x3d"'+b[k]+'" /\x3e');g.outerHTML='\x3cobject classid\x3d"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+q+"\x3e"+h+"\x3c/object\x3e";D[D.length]=a.id;f=p(a.id)}else{k=d.createElement("object");k.setAttribute("type", +"application/x-shockwave-flash");for(var l in a)a[l]!=Object.prototype[l]&&("styleclass"==l.toLowerCase()?k.setAttribute("class",a[l]):"classid"!=l.toLowerCase()&&k.setAttribute(l,a[l]));for(q in b)b[q]!=Object.prototype[q]&&"movie"!=q.toLowerCase()&&(a=k,h=q,l=b[q],c=d.createElement("param"),c.setAttribute("name",h),c.setAttribute("value",l),a.appendChild(c));g.parentNode.replaceChild(k,g);f=k}return f}function P(a){var b=p(a);b&&"OBJECT"==b.nodeName&&(e.ie&&e.win?(b.style.display="none",function(){if(4== +b.readyState){var c=p(a);if(c){for(var f in c)"function"==typeof c[f]&&(c[f]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b))}function p(a){var b=null;try{b=d.getElementById(a)}catch(c){}return b}function U(a,b,c){a.attachEvent(b,c);x[x.length]=[a,b,c]}function A(a){var b=e.pv;a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0: +!1}function Q(a,b,c,f){if(!e.ie||!e.mac){var g=d.getElementsByTagName("head")[0];g&&(c=c&&"string"==typeof c?c:"screen",f&&(L=m=null),m&&L==c||(f=d.createElement("style"),f.setAttribute("type","text/css"),f.setAttribute("media",c),m=g.appendChild(f),e.ie&&e.win&&"undefined"!=typeof d.styleSheets&&0\.;]/.exec(a)&&"undefined"!=typeof encodeURIComponent?encodeURIComponent(a):a}var n=window,d=document,t=navigator,T=!1,z=[function(){T?V():E()}],r=[],D=[],x=[],y,C,I,O,u=!1,B=!1,m,L,R=!0,e=function(){var a="undefined"!=typeof d.getElementById&&"undefined"!=typeof d.getElementsByTagName&&"undefined"!=typeof d.createElement,b=t.userAgent.toLowerCase(), +c=t.platform.toLowerCase(),f=c?/win/.test(c):/win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\v1",e=[0,0,0],h=null;if("undefined"!=typeof t.plugins&&"object"==typeof t.plugins["Shockwave Flash"])!(h=t.plugins["Shockwave Flash"].description)||"undefined"!=typeof t.mimeTypes&&t.mimeTypes["application/x-shockwave-flash"]&&!t.mimeTypes["application/x-shockwave-flash"].enabledPlugin||(T=!0,g=!1,h=h.replace(/^.*\s+(\S+\s+\S+$)/, +"$1"),e[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10),e[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10),e[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if("undefined"!=typeof n.ActiveXObject)try{var k=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");k&&(h=k.GetVariable("$version"))&&(g=!0,h=h.split(" ")[1].split(","),e=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)])}catch(l){}return{w3:a,pv:e,wk:b,ie:g,win:f,mac:c}}();(function(){e.w3&&(("undefined"!=typeof d.readyState&& +"complete"==d.readyState||"undefined"==typeof d.readyState&&(d.getElementsByTagName("body")[0]||d.body))&&w(),u||("undefined"!=typeof d.addEventListener&&d.addEventListener("DOMContentLoaded",w,!1),e.ie&&e.win&&(d.attachEvent("onreadystatechange",function(){"complete"==d.readyState&&(d.detachEvent("onreadystatechange",arguments.callee),w())}),n==top&&function(){if(!u){try{d.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}w()}}()),e.wk&&function(){u||(/loaded|complete/.test(d.readyState)? +w():setTimeout(arguments.callee,0))}(),N(w)))})();(function(){e.ie&&e.win&&window.attachEvent("onunload",function(){for(var a=x.length,b=0;be.wk)&&a&&b&&c&&d&&g?(v(b,!1),M(function(){c+="";d+="";var e={};if(l&&"object"===typeof l)for(var m in l)e[m]=l[m];e.data=a;e.width=c;e.height=d;m={};if(k&&"object"===typeof k)for(var r in k)m[r]=k[r];if(h&&"object"===typeof h)for(var t in h)m.flashvars="undefined"!=typeof m.flashvars?m.flashvars+("\x26"+t+"\x3d"+h[t]):t+"\x3d"+h[t];if(A(g))r=K(e,m,b),e.id==b&&v(b,!0),p.success=!0,p.ref=r;else{if(q&&F()){e.data=q;G(e, +m,b,n);return}v(b,!0)}n&&n(p)})):n&&n(p)},switchOffAutoHideShow:function(){R=!1},ua:e,getFlashPlayerVersion:function(){return{major:e.pv[0],minor:e.pv[1],release:e.pv[2]}},hasFlashPlayerVersion:A,createSWF:function(a,b,c){if(e.w3)return K(a,b,c)},showExpressInstall:function(a,b,c,d){e.w3&&F()&&G(a,b,c,d)},removeSWF:function(a){e.w3&&P(a)},createCSS:function(a,b,c,d){e.w3&&Q(a,b,c,d)},addDomLoadEvent:M,addLoadEvent:N,getQueryParamValue:function(a){var b=d.location.search||d.location.hash;if(b){/\?/.test(b)&& +(b=b.split("?")[1]);if(null==a)return S(b);for(var b=b.split("\x26"),c=0;c + + + + + Output for Flash — CKEditor Sample + + + + + + + + + + + +

    + CKEditor Samples » Producing Flash Compliant HTML Output +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +

    + This sample shows how to configure CKEditor to output + HTML code that can be used with + + Adobe Flash. + The code will contain a subset of standard HTML elements like <b>, + <i>, and <p> as well as HTML attributes. +

    +

    + To add a CKEditor instance outputting Flash compliant HTML code, load the editor using a standard + JavaScript call, and define CKEditor features to use HTML elements and attributes. +

    +

    + For details on how to create this setup check the source code of this sample page. +

    +
    +

    + To see how it works, create some content in the editing area of CKEditor on the left + and send it to the Flash object on the right side of the page by using the + Send to Flash button. +

    + + + + + +
    + + +

    + +

    +
    +
    +
    + + + diff --git a/release/samples/old/htmlwriter/outputhtml.html b/release/samples/old/htmlwriter/outputhtml.html new file mode 100644 index 0000000..a433025 --- /dev/null +++ b/release/samples/old/htmlwriter/outputhtml.html @@ -0,0 +1,224 @@ + + + + + + HTML Compliant Output — CKEditor Sample + + + + + + + + + +

    + CKEditor Samples » Producing HTML Compliant Output +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +

    + This sample shows how to configure CKEditor to output valid + HTML 4.01 code. + Traditional HTML elements like <b>, + <i>, and <font> are used in place of + <strong>, <em>, and CSS styles. +

    +

    + To add a CKEditor instance outputting legacy HTML 4.01 code, load the editor using a standard + JavaScript call, and define CKEditor features to use the HTML compliant elements and attributes. +

    +

    + A snippet of the configuration code can be seen below; check the source of this page for + full definition: +

    +
    +CKEDITOR.replace( 'textarea_id', {
    +	coreStyles_bold: { element: 'b' },
    +	coreStyles_italic: { element: 'i' },
    +
    +	fontSize_style: {
    +		element: 'font',
    +		attributes: { 'size': '#(size)' }
    +	}
    +
    +	...
    +});
    +
    +
    +

    + + + +

    +

    + +

    +
    + + + diff --git a/release/samples/old/index.html b/release/samples/old/index.html new file mode 100644 index 0000000..f4f795b --- /dev/null +++ b/release/samples/old/index.html @@ -0,0 +1,131 @@ + + + + + + CKEditor Samples + + + +

    + CKEditor Samples +

    +
    + These samples are not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +
    +

    + Basic Samples +

    +
    +
    Replace textarea elements by class name
    +
    Automatic replacement of all textarea elements of a given class with a CKEditor instance.
    + +
    Replace textarea elements by code
    +
    Replacement of textarea elements with CKEditor instances by using a JavaScript call.
    + +
    Create editors with jQuery
    +
    Creating standard and inline CKEditor instances with jQuery adapter.
    +
    + +

    + Basic Customization +

    +
    +
    User Interface color
    +
    Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.
    + +
    User Interface languages
    +
    Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.
    +
    + + +

    Plugins

    +
    +
    Magicline plugin
    +
    Using the Magicline plugin to access difficult focus spaces.
    + +
    Full page support
    +
    CKEditor inserted with a JavaScript call and used to edit the whole page from <html> to </html>.
    +
    +
    +
    +

    + Inline Editing +

    +
    +
    Massive inline editor creation
    +
    Turn all elements with contentEditable = true attribute into inline editors.
    + +
    Convert element into an inline editor by code
    +
    Conversion of DOM elements into inline CKEditor instances by using a JavaScript call.
    + +
    Replace textarea with inline editor New!
    +
    A form with a textarea that is replaced by an inline editor at runtime.
    + + +
    + +

    + Advanced Samples +

    +
    +
    Data filtering and features activation New!
    +
    Data filtering and automatic features activation basing on configuration.
    + +
    Replace DIV elements on the fly
    +
    Transforming a div element into an instance of CKEditor with a mouse click.
    + +
    Append editor instances
    +
    Appending editor instances to existing DOM elements.
    + +
    Create and destroy editor instances for Ajax applications
    +
    Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.
    + +
    Basic usage of the API
    +
    Using the CKEditor JavaScript API to interact with the editor at runtime.
    + +
    XHTML-compliant style
    +
    Configuring CKEditor to produce XHTML 1.1 compliant attributes and styles.
    + +
    Read-only mode
    +
    Using the readOnly API to block introducing changes to the editor contents.
    + +
    "Tab" key-based navigation
    +
    Navigating among editor instances with tab key.
    + + + +
    Using the JavaScript API to customize dialog windows
    +
    Using the dialog windows API to customize dialog windows without changing the original editor code.
    + +
    Using the "Enter" key in CKEditor
    +
    Configuring the behavior of Enter and Shift+Enter keys.
    + +
    Output for Flash
    +
    Configuring CKEditor to produce HTML code that can be used with Adobe Flash.
    + +
    Output HTML
    +
    Configuring CKEditor to produce legacy HTML 4 code.
    + +
    Toolbar Configurations
    +
    Configuring CKEditor to display full or custom toolbar layout.
    + +
    +
    +
    + + + diff --git a/release/samples/old/inlineall.html b/release/samples/old/inlineall.html new file mode 100644 index 0000000..e0241e8 --- /dev/null +++ b/release/samples/old/inlineall.html @@ -0,0 +1,314 @@ + + + + + + Massive inline editing — CKEditor Sample + + + + + + +
    +

    CKEditor Samples » Massive inline editing

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    This sample page demonstrates the inline editing feature - CKEditor instances will be created automatically from page elements with contentEditable attribute set to value true:

    +
    <div contenteditable="true" > ... </div>
    +

    Click inside of any element below to start editing.

    +
    +
    +
    + +
    +
    +
    +

    + Fusce vitae porttitor +

    +

    + + Lorem ipsum dolor sit amet dolor. Duis blandit vestibulum faucibus a, tortor. + +

    +

    + Proin nunc justo felis mollis tincidunt, risus risus pede, posuere cubilia Curae, Nullam euismod, enim. Etiam nibh ultricies dolor ac dignissim erat volutpat. Vivamus fermentum nisl nulla sem in metus. Maecenas wisi. Donec nec erat volutpat. +

    +
    +

    + Fusce vitae porttitor a, euismod convallis nisl, blandit risus tortor, pretium. + Vehicula vitae, imperdiet vel, ornare enim vel sodales rutrum +

    +
    +
    +

    + Libero nunc, rhoncus ante ipsum non ipsum. Nunc eleifend pede turpis id sollicitudin fringilla. Phasellus ultrices, velit ac arcu. +

    +
    +

    Pellentesque nunc. Donec suscipit erat. Pellentesque habitant morbi tristique ullamcorper.

    +

    Mauris mattis feugiat lectus nec mauris. Nullam vitae ante.

    +
    +
    +
    +
    +

    + Integer condimentum sit amet +

    +

    + Aenean nonummy a, mattis varius. Cras aliquet. + Praesent magna non mattis ac, rhoncus nunc, rhoncus eget, cursus pulvinar mollis.

    +

    Proin id nibh. Sed eu libero posuere sed, lectus. Phasellus dui gravida gravida feugiat mattis ac, felis.

    +

    Integer condimentum sit amet, tempor elit odio, a dolor non ante at sapien. Sed ac lectus. Nulla ligula quis eleifend mi, id leo velit pede cursus arcu id nulla ac lectus. Phasellus vestibulum. Nunc viverra enim quis diam.

    +
    +
    +

    + Praesent wisi accumsan sit amet nibh +

    +

    Donec ullamcorper, risus tortor, pretium porttitor. Morbi quam quis lectus non leo.

    +

    Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce gravida, erat vitae augue. Fusce urna fringilla gravida.

    +

    In hac habitasse platea dictumst. Praesent wisi accumsan sit amet nibh. Maecenas orci luctus a, lacinia quam sem, posuere commodo, odio condimentum tempor, pede semper risus. Suspendisse pede. In hac habitasse platea dictumst. Nam sed laoreet sit amet erat. Integer.

    +
    +
    +
    +
    +

    + CKEditor logo +

    +

    Quisque justo neque, mattis sed, fermentum ultrices posuere cubilia Curae, Vestibulum elit metus, quis placerat ut, lectus. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi.

    +

    + Nullam laoreet vel consectetuer tellus suscipit +

    +
      +
    • Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis.
    • +
    • Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi.
    • +
    • Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.
    • +
    +

    Quisque justo neque, mattis sed, fermentum ultrices posuere cubilia Curae, Vestibulum elit metus, quis placerat ut, lectus.

    +

    Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis.

    +

    Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi. Sed in nonummy faucibus turpis. Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.

    +
    +
    +
    +
    + Tags of this article: +

    + inline, editing, floating, CKEditor +

    +
    +
    + + + diff --git a/release/samples/old/inlinebycode.html b/release/samples/old/inlinebycode.html new file mode 100644 index 0000000..339be0c --- /dev/null +++ b/release/samples/old/inlinebycode.html @@ -0,0 +1,124 @@ + + + + + + Inline Editing by Code — CKEditor Sample + + + + + +

    + CKEditor Samples » Inline Editing by Code +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to create an inline editor instance of CKEditor. It is created + with a JavaScript call using the following code: +

    +
    +// This property tells CKEditor to not activate every element with contenteditable=true element.
    +CKEDITOR.disableAutoInline = true;
    +
    +var editor = CKEDITOR.inline( document.getElementById( 'editable' ) );
    +
    +

    + Note that editable in the code above is the id + attribute of the <div> element to be converted into an inline instance. +

    +
    +
    +

    Saturn V carrying Apollo 11 Apollo 11

    + +

    Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

    + +

    Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.

    + +

    Broadcasting and quotes

    + +

    Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

    + +
    +

    One small step for [a] man, one giant leap for mankind.

    +
    + +

    Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

    + +
    +

    [...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

    +
    + +

    Technical details

    + + + + + + + + + + + + + + + + + + + + + + + +
    Mission crew
    PositionAstronaut
    CommanderNeil A. Armstrong
    Command Module PilotMichael Collins
    Lunar Module PilotEdwin "Buzz" E. Aldrin, Jr.
    + +

    Launched by a Saturn V rocket from Kennedy Space Center in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of NASA's Apollo program. The Apollo spacecraft had three parts:

    + +
      +
    1. Command Module with a cabin for the three astronauts which was the only part which landed back on Earth
    2. +
    3. Service Module which supported the Command Module with propulsion, electrical power, oxygen and water
    4. +
    5. Lunar Module for landing on the Moon.
    6. +
    + +

    After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the Sea of Tranquility. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the Pacific Ocean on July 24.

    + +
    +

    Source: Wikipedia.org

    +
    + + + + + diff --git a/release/samples/old/inlinetextarea.html b/release/samples/old/inlinetextarea.html new file mode 100644 index 0000000..504d181 --- /dev/null +++ b/release/samples/old/inlinetextarea.html @@ -0,0 +1,113 @@ + + + + + + Replace Textarea with Inline Editor — CKEditor Sample + + + + + +

    + CKEditor Samples » Replace Textarea with Inline Editor +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + You can also create an inline editor from a textarea + element. In this case the textarea will be replaced + by a div element with inline editing enabled. +

    +
    +// "article-body" is the name of a textarea element.
    +var editor = CKEDITOR.inline( 'article-body' );
    +
    +
    +
    +

    This is a sample form with some fields

    +

    + Title:
    +

    +

    + Article Body (Textarea converted to CKEditor):
    + +

    +

    + +

    +
    + + + + + diff --git a/release/samples/old/jquery.html b/release/samples/old/jquery.html new file mode 100644 index 0000000..95e43ea --- /dev/null +++ b/release/samples/old/jquery.html @@ -0,0 +1,103 @@ + + + + + + jQuery Adapter — CKEditor Sample + + + + + + + + +

    + CKEditor Samples » Create Editors with jQuery +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +
    +

    + This sample shows how to use the jQuery adapter. + Note that you have to include both CKEditor and jQuery scripts before including the adapter. +

    + +
    +<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    +<script src="/ckedit../../ckeditor.js"></script>
    +<script src="/ckeditor/adapters/jquery.js"></script>
    +
    + +

    Then you can replace HTML elements with a CKEditor instance using the ckeditor() method.

    + +
    +$( document ).ready( function() {
    +	$( 'textarea#editor1' ).ckeditor();
    +} );
    +
    +
    + +

    Inline Example

    + +
    +

    Saturn V carrying Apollo 11Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

    +

    Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth. +

    Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

    +

    One small step for [a] man, one giant leap for mankind.

    Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

    [...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

    +
    + +
    + +

    Classic (iframe-based) Example

    + + + +

    + + + + + +

    +
    + + + diff --git a/release/samples/old/magicline/magicline.html b/release/samples/old/magicline/magicline.html new file mode 100644 index 0000000..8fff40e --- /dev/null +++ b/release/samples/old/magicline/magicline.html @@ -0,0 +1,209 @@ + + + + + + Using Magicline plugin — CKEditor Sample + + + + + + + +

    + CKEditor Samples » Using Magicline plugin +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows the advantages of Magicline plugin + which is to enhance the editing process. Thanks to this plugin, + a number of difficult focus spaces which are inaccessible due to + browser issues can now be focused. +

    +

    + Magicline plugin shows a red line with a handler + which, when clicked, inserts a paragraph and allows typing. To see this, + focus an editor and move your mouse above the focus space you want + to access. The plugin is enabled by default so no additional + configuration is necessary. +

    +
    +
    + +
    +

    + This editor uses a default Magicline setup. +

    +
    + + +
    +
    +
    + +
    +

    + This editor is using a blue line. +

    +
    +CKEDITOR.replace( 'editor2', {
    +	magicline_color: 'blue'
    +});
    +
    + + +
    + + + diff --git a/release/samples/old/readonly.html b/release/samples/old/readonly.html new file mode 100644 index 0000000..edd1118 --- /dev/null +++ b/release/samples/old/readonly.html @@ -0,0 +1,76 @@ + + + + + + Using the CKEditor Read-Only API — CKEditor Sample + + + + + +

    + CKEditor Samples » Using the CKEditor Read-Only API +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to use the + setReadOnly + API to put editor into the read-only state that makes it impossible for users to change the editor contents. +

    +

    + For details on how to create this setup check the source code of this sample page. +

    +
    +
    +

    + +

    +

    + + +

    +
    + + + diff --git a/release/samples/old/replacebyclass.html b/release/samples/old/replacebyclass.html new file mode 100644 index 0000000..2edbf49 --- /dev/null +++ b/release/samples/old/replacebyclass.html @@ -0,0 +1,60 @@ + + + + + + Replace Textareas by Class Name — CKEditor Sample + + + + +

    + CKEditor Samples » Replace Textarea Elements by Class Name +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +

    + This sample shows how to automatically replace all <textarea> elements + of a given class with a CKEditor instance. +

    +

    + To replace a <textarea> element, simply assign it the ckeditor + class, as in the code below: +

    +
    +<textarea class="ckeditor" name="editor1"></textarea>
    +
    +

    + Note that other <textarea> attributes (like id or name) need to be adjusted to your document. +

    +
    +
    +

    + + +

    +

    + +

    +
    + + + diff --git a/release/samples/old/replacebycode.html b/release/samples/old/replacebycode.html new file mode 100644 index 0000000..36ace8b --- /dev/null +++ b/release/samples/old/replacebycode.html @@ -0,0 +1,59 @@ + + + + + + Replace Textarea by Code — CKEditor Sample + + + + +

    + CKEditor Samples » Replace Textarea Elements Using JavaScript Code +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +
    +

    + This editor is using an <iframe> element-based editing area, provided by the Wysiwygarea plugin. +

    +
    +CKEDITOR.replace( 'textarea_id' )
    +
    +
    + + +

    + +

    +
    + + + diff --git a/release/samples/old/sample.css b/release/samples/old/sample.css new file mode 100644 index 0000000..af866fe --- /dev/null +++ b/release/samples/old/sample.css @@ -0,0 +1,357 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre +{ + line-height: 1.5; +} + +body +{ + padding: 10px 30px; +} + +input, textarea, select, option, optgroup, button, td, th +{ + font-size: 100%; +} + +pre +{ + -moz-tab-size: 4; + tab-size: 4; +} + +pre, code, kbd, samp, tt +{ + font-family: monospace,monospace; + font-size: 1em; +} + +body { + width: 960px; + margin: 0 auto; +} + +code +{ + background: #f3f3f3; + border: 1px solid #ddd; + padding: 1px 4px; + border-radius: 3px; +} + +abbr +{ + border-bottom: 1px dotted #555; + cursor: pointer; +} + +.new, .beta +{ + text-transform: uppercase; + font-size: 10px; + font-weight: bold; + padding: 1px 4px; + margin: 0 0 0 5px; + color: #fff; + float: right; + border-radius: 3px; +} + +.new +{ + background: #FF7E00; + border: 1px solid #DA8028; + text-shadow: 0 1px 0 #C97626; + + box-shadow: 0 2px 3px 0 #FFA54E inset; +} + +.beta +{ + background: #18C0DF; + border: 1px solid #19AAD8; + text-shadow: 0 1px 0 #048CAD; + font-style: italic; + + box-shadow: 0 2px 3px 0 #50D4FD inset; +} + +h1.samples +{ + color: #0782C1; + font-size: 200%; + font-weight: normal; + margin: 0; + padding: 0; +} + +h1.samples a +{ + color: #0782C1; + text-decoration: none; + border-bottom: 1px dotted #0782C1; +} + +.samples a:hover +{ + border-bottom: 1px dotted #0782C1; +} + +h2.samples +{ + color: #000000; + font-size: 130%; + margin: 15px 0 0 0; + padding: 0; +} + +p, blockquote, address, form, pre, dl, h1.samples, h2.samples +{ + margin-bottom: 15px; +} + +ul.samples +{ + margin-bottom: 15px; +} + +.clear +{ + clear: both; +} + +fieldset +{ + margin: 0; + padding: 10px; +} + +body, input, textarea +{ + color: #333333; + font-family: Arial, Helvetica, sans-serif; +} + +body +{ + font-size: 75%; +} + +a.samples +{ + color: #189DE1; + text-decoration: none; +} + +form +{ + margin: 0; + padding: 0; +} + +pre.samples +{ + background-color: #F7F7F7; + border: 1px solid #D7D7D7; + overflow: auto; + padding: 0.25em; + white-space: pre-wrap; /* CSS 2.1 */ + word-wrap: break-word; /* IE7 */ +} + +#footer +{ + clear: both; + padding-top: 10px; +} + +#footer hr +{ + margin: 10px 0 15px 0; + height: 1px; + border: solid 1px gray; + border-bottom: none; +} + +#footer p +{ + margin: 0 10px 10px 10px; + float: left; +} + +#footer #copy +{ + float: right; +} + +#outputSample +{ + width: 100%; + table-layout: fixed; +} + +#outputSample thead th +{ + color: #dddddd; + background-color: #999999; + padding: 4px; + white-space: nowrap; +} + +#outputSample tbody th +{ + vertical-align: top; + text-align: left; +} + +#outputSample pre +{ + margin: 0; + padding: 0; +} + +.description +{ + border: 1px dotted #B7B7B7; + margin-bottom: 10px; + padding: 10px 10px 0; + overflow: hidden; +} + +label +{ + display: block; + margin-bottom: 6px; +} + +/** + * CKEditor editables are automatically set with the "cke_editable" class + * plus cke_editable_(inline|themed) depending on the editor type. + */ + +/* Style a bit the inline editables. */ +.cke_editable.cke_editable_inline +{ + cursor: pointer; +} + +/* Once an editable element gets focused, the "cke_focus" class is + added to it, so we can style it differently. */ +.cke_editable.cke_editable_inline.cke_focus +{ + box-shadow: inset 0px 0px 20px 3px #ddd, inset 0 0 1px #000; + outline: none; + background: #eee; + cursor: text; +} + +/* Avoid pre-formatted overflows inline editable. */ +.cke_editable_inline pre +{ + white-space: pre-wrap; + word-wrap: break-word; +} + +/** + * Samples index styles. + */ + +.twoColumns, +.twoColumnsLeft, +.twoColumnsRight +{ + overflow: hidden; +} + +.twoColumnsLeft, +.twoColumnsRight +{ + width: 45%; +} + +.twoColumnsLeft +{ + float: left; +} + +.twoColumnsRight +{ + float: right; +} + +dl.samples +{ + padding: 0 0 0 40px; +} +dl.samples > dt +{ + display: list-item; + list-style-type: disc; + list-style-position: outside; + margin: 0 0 3px; +} +dl.samples > dd +{ + margin: 0 0 3px; +} +.warning +{ + color: #ff0000; + background-color: #FFCCBA; + border: 2px dotted #ff0000; + padding: 15px 10px; + margin: 10px 0; +} + +.warning.deprecated { + font-size: 1.3em; +} + +/* Used on inline samples */ + +blockquote +{ + font-style: italic; + font-family: Georgia, Times, "Times New Roman", serif; + padding: 2px 0; + border-style: solid; + border-color: #ccc; + border-width: 0; +} + +.cke_contents_ltr blockquote +{ + padding-left: 20px; + padding-right: 8px; + border-left-width: 5px; +} + +.cke_contents_rtl blockquote +{ + padding-left: 8px; + padding-right: 20px; + border-right-width: 5px; +} + +img.right { + border: 1px solid #ccc; + float: right; + margin-left: 15px; + padding: 5px; +} + +img.left { + border: 1px solid #ccc; + float: left; + margin-right: 15px; + padding: 5px; +} + +.marker +{ + background-color: Yellow; +} diff --git a/release/samples/old/sample.js b/release/samples/old/sample.js new file mode 100644 index 0000000..59b64ee --- /dev/null +++ b/release/samples/old/sample.js @@ -0,0 +1,50 @@ +/** + * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +// Tool scripts for the sample pages. +// This file can be ignored and is not required to make use of CKEditor. + +( function() { + CKEDITOR.on( 'instanceReady', function( ev ) { + // Check for sample compliance. + var editor = ev.editor, + meta = CKEDITOR.document.$.getElementsByName( 'ckeditor-sample-required-plugins' ), + requires = meta.length ? CKEDITOR.dom.element.get( meta[ 0 ] ).getAttribute( 'content' ).split( ',' ) : [], + missing = [], + i; + + if ( requires.length ) { + for ( i = 0; i < requires.length; i++ ) { + if ( !editor.plugins[ requires[ i ] ] ) + missing.push( '' + requires[ i ] + '' ); + } + + if ( missing.length ) { + var warn = CKEDITOR.dom.element.createFromHtml( + '
    ' + + 'To fully experience this demo, the ' + missing.join( ', ' ) + ' plugin' + ( missing.length > 1 ? 's are' : ' is' ) + ' required.' + + '
    ' + ); + warn.insertBefore( editor.container ); + } + } + + // Set icons. + var doc = new CKEDITOR.dom.document( document ), + icons = doc.find( '.button_icon' ); + + for ( i = 0; i < icons.count(); i++ ) { + var icon = icons.getItem( i ), + name = icon.getAttribute( 'data-icon' ), + style = CKEDITOR.skin.getIconStyle( name, ( CKEDITOR.lang.dir == 'rtl' ) ); + + icon.addClass( 'cke_button_icon' ); + icon.addClass( 'cke_button__' + name + '_icon' ); + icon.setAttribute( 'style', style ); + icon.setStyle( 'float', 'none' ); + + } + } ); +} )(); diff --git a/release/samples/old/sample_posteddata.php b/release/samples/old/sample_posteddata.php new file mode 100644 index 0000000..866867e --- /dev/null +++ b/release/samples/old/sample_posteddata.php @@ -0,0 +1,16 @@ +
    +
    +-------------------------------------------------------------------------------------------
    +  CKEditor - Posted Data
    +
    +  We are sorry, but your Web server does not support the PHP language used in this script.
    +
    +  Please note that CKEditor can be used with any other server-side language than just PHP.
    +  To save the content created with CKEditor you need to read the POST data on the server
    +  side and write it to a file or the database.
    +
    +  Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
    +  For licensing, see LICENSE.md or http://ckeditor.com/license
    +-------------------------------------------------------------------------------------------
    +
    +
    */ include "assets/posteddata.php"; ?> diff --git a/release/samples/old/tabindex.html b/release/samples/old/tabindex.html new file mode 100644 index 0000000..82ed647 --- /dev/null +++ b/release/samples/old/tabindex.html @@ -0,0 +1,78 @@ + + + + + + TAB Key-Based Navigation — CKEditor Sample + + + + + + +

    + CKEditor Samples » TAB Key-Based Navigation +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how tab key navigation among editor instances is + affected by the tabIndex attribute from + the original page element. Use TAB key to move between the editors. +

    +
    +

    + +

    +
    +

    + +

    +

    + +

    + + + diff --git a/release/samples/old/toolbar/toolbar.html b/release/samples/old/toolbar/toolbar.html new file mode 100644 index 0000000..e40d2a1 --- /dev/null +++ b/release/samples/old/toolbar/toolbar.html @@ -0,0 +1,235 @@ + + + + + + Toolbar Configuration — CKEditor Sample + + + + + + + +

    + CKEditor Samples » Toolbar Configuration +

    +
    + This sample is not maintained anymore. Check out the brand new CKEditor Toolbar Configurator. +
    +
    +

    + This sample page demonstrates editor with loaded full toolbar (all registered buttons) and, if + current editor's configuration modifies default settings, also editor with modified toolbar. +

    + +

    Since CKEditor 4 there are two ways to configure toolbar buttons.

    + +

    By config.toolbar

    + +

    + You can explicitly define which buttons are displayed in which groups and in which order. + This is the more precise setting, but less flexible. If newly added plugin adds its + own button you'll have to add it manually to your config.toolbar setting as well. +

    + +

    To add a CKEditor instance with custom toolbar setting, insert the following JavaScript call to your code:

    + +
    +CKEDITOR.replace( 'textarea_id', {
    +	toolbar: [
    +		{ name: 'document', items: [ 'Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] },	// Defines toolbar group with name (used to create voice label) and items in 3 subgroups.
    +		[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ],			// Defines toolbar group without name.
    +		'/',																					// Line break - next group will be placed in new line.
    +		{ name: 'basicstyles', items: [ 'Bold', 'Italic' ] }
    +	]
    +});
    + +

    By config.toolbarGroups

    + +

    + You can define which groups of buttons (like e.g. basicstyles, clipboard + and forms) are displayed and in which order. Registered buttons are associated + with toolbar groups by toolbar property in their definition. + This setting's advantage is that you don't have to modify toolbar configuration + when adding/removing plugins which register their own buttons. +

    + +

    To add a CKEditor instance with custom toolbar groups setting, insert the following JavaScript call to your code:

    + +
    +CKEDITOR.replace( 'textarea_id', {
    +	toolbarGroups: [
    +		{ name: 'document',	   groups: [ 'mode', 'document' ] },			// Displays document group with its two subgroups.
    + 		{ name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },			// Group's name will be used to create voice label.
    + 		'/',																// Line break - next group will be placed in new line.
    + 		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
    + 		{ name: 'links' }
    +	]
    +
    +	// NOTE: Remember to leave 'toolbar' property with the default value (null).
    +});
    +
    + + + +
    +

    Full toolbar configuration

    +

    Below you can see editor with full toolbar, generated automatically by the editor.

    +

    + Note: To create editor instance with full toolbar you don't have to set anything. + Just leave toolbar and toolbarGroups with the default, null values. +

    + +
    
    +	
    + + + + + + diff --git a/release/samples/old/uicolor.html b/release/samples/old/uicolor.html new file mode 100644 index 0000000..bff1b96 --- /dev/null +++ b/release/samples/old/uicolor.html @@ -0,0 +1,72 @@ + + + + + + UI Color Picker — CKEditor Sample + + + + +

    + CKEditor Samples » UI Color +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to automatically replace <textarea> elements + with a CKEditor instance with an option to change the color of its user interface.
    + Note:The UI skin color feature depends on the CKEditor skin + compatibility. The Moono and Kama skins are examples of skins that work with it. +

    +
    +
    +

    + This editor instance has a UI color value defined in configuration to change the skin color, + To specify the color of the user interface, set the uiColor property: +

    +
    +CKEDITOR.replace( 'textarea_id', {
    +	uiColor: '#14B8C4'
    +});
    +

    + Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

    +

    + + +

    +

    + +

    +
    + + + diff --git a/release/samples/old/uilanguages.html b/release/samples/old/uilanguages.html new file mode 100644 index 0000000..9c1d0b8 --- /dev/null +++ b/release/samples/old/uilanguages.html @@ -0,0 +1,122 @@ + + + + + + User Interface Globalization — CKEditor Sample + + + + + +

    + CKEditor Samples » User Interface Languages +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to automatically replace <textarea> elements + with a CKEditor instance with an option to change the language of its user interface. +

    +

    + It pulls the language list from CKEditor _languages.js file that contains the list of supported languages and creates + a drop-down list that lets the user change the UI language. +

    +

    + By default, CKEditor automatically localizes the editor to the language of the user. + The UI language can be controlled with two configuration options: + language and + + defaultLanguage. The defaultLanguage setting specifies the + default CKEditor language to be used when a localization suitable for user's settings is not available. +

    +

    + To specify the user interface language that will be used no matter what language is + specified in user's browser or operating system, set the language property: +

    +
    +CKEDITOR.replace( 'textarea_id', {
    +	// Load the German interface.
    +	language: 'de'
    +});
    +

    + Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

    +
    +
    +

    + Available languages ( languages!):
    + +
    + + (You may see strange characters if your system does not support the selected language) + +

    +

    + + +

    +
    + + + diff --git a/release/samples/old/wysiwygarea/fullpage.html b/release/samples/old/wysiwygarea/fullpage.html new file mode 100644 index 0000000..bb3193a --- /dev/null +++ b/release/samples/old/wysiwygarea/fullpage.html @@ -0,0 +1,80 @@ + + + + + + Full Page Editing — CKEditor Sample + + + + + + + + + +

    + CKEditor Samples » Full Page Editing +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to configure CKEditor to edit entire HTML pages, from the + <html> tag to the </html> tag. +

    +

    + The CKEditor instance below is inserted with a JavaScript call using the following code: +

    +
    +CKEDITOR.replace( 'textarea_id', {
    +	fullPage: true,
    +	allowedContent: true
    +});
    +
    +

    + Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

    +

    + The allowedContent in the code above is set to true to disable content filtering. + Setting this option is not obligatory, but in full page mode there is a strong chance that one may want be able to freely enter any HTML content in source mode without any limitations. +

    +
    +
    + + + +

    + +

    +
    + + + diff --git a/release/samples/old/xhtmlstyle.html b/release/samples/old/xhtmlstyle.html new file mode 100644 index 0000000..daf5879 --- /dev/null +++ b/release/samples/old/xhtmlstyle.html @@ -0,0 +1,234 @@ + + + + + + XHTML Compliant Output — CKEditor Sample + + + + + + +

    + CKEditor Samples » Producing XHTML Compliant Output +

    +
    + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
    +
    +

    + This sample shows how to configure CKEditor to output valid + XHTML 1.1 code. + Deprecated elements (<font>, <u>) or attributes + (size, face) will be replaced with XHTML compliant code. +

    +

    + To add a CKEditor instance outputting valid XHTML code, load the editor using a standard + JavaScript call and define CKEditor features to use the XHTML compliant elements and styles. +

    +

    + A snippet of the configuration code can be seen below; check the source of this page for + full definition: +

    +
    +CKEDITOR.replace( 'textarea_id', {
    +	contentsCss: 'assets/outputxhtml.css',
    +
    +	coreStyles_bold: {
    +		element: 'span',
    +		attributes: { 'class': 'Bold' }
    +	},
    +	coreStyles_italic: {
    +		element: 'span',
    +		attributes: { 'class': 'Italic' }
    +	},
    +
    +	...
    +});
    +
    +
    +

    + + + +

    +

    + +

    +
    + + + diff --git a/release/samples/toolbarconfigurator/css/fontello.css b/release/samples/toolbarconfigurator/css/fontello.css new file mode 100644 index 0000000..d983707 --- /dev/null +++ b/release/samples/toolbarconfigurator/css/fontello.css @@ -0,0 +1,55 @@ +@font-face { + font-family: 'fontello'; + src: url('../font/fontello.eot?89024372'); + src: url('../font/fontello.eot?89024372#iefix') format('embedded-opentype'), + url('../font/fontello.woff?89024372') format('woff'), + url('../font/fontello.ttf?89024372') format('truetype'), + url('../font/fontello.svg?89024372#fontello') format('svg'); + font-weight: normal; + font-style: normal; +} +/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ +/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ +/* +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'fontello'; + src: url('../font/fontello.svg?89024372#fontello') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "fontello"; + font-style: normal; + font-weight: normal; + speak: none; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} + +.icon-trash:before { content: '\e802'; } /* '' */ +.icon-down-big:before { content: '\e800'; } /* '' */ +.icon-up-big:before { content: '\e801'; } /* '' */ diff --git a/release/samples/toolbarconfigurator/font/LICENSE.txt b/release/samples/toolbarconfigurator/font/LICENSE.txt new file mode 100644 index 0000000..4a73f6c --- /dev/null +++ b/release/samples/toolbarconfigurator/font/LICENSE.txt @@ -0,0 +1,10 @@ +Font license info + + +## Font Awesome + + Copyright (C) 2012 by Dave Gandy + + Author: Dave Gandy + License: SIL () + Homepage: http://fortawesome.github.com/Font-Awesome/ diff --git a/release/samples/toolbarconfigurator/font/config.json b/release/samples/toolbarconfigurator/font/config.json new file mode 100644 index 0000000..94809d7 --- /dev/null +++ b/release/samples/toolbarconfigurator/font/config.json @@ -0,0 +1,28 @@ +{ + "name": "", + "css_prefix_text": "icon-", + "css_use_suffix": false, + "hinting": true, + "units_per_em": 1000, + "ascent": 850, + "glyphs": [ + { + "uid": "f48ae54adfb27d8ada53d0fd9e34ee10", + "css": "trash-empty", + "code": 59392, + "src": "fontawesome" + }, + { + "uid": "1c4068ed75209e21af36017df8871802", + "css": "down-big", + "code": 59393, + "src": "fontawesome" + }, + { + "uid": "95376bf082bfec6ce06ea1cda7bd7ead", + "css": "up-big", + "code": 59394, + "src": "fontawesome" + } + ] +} \ No newline at end of file diff --git a/release/samples/toolbarconfigurator/font/fontello.eot b/release/samples/toolbarconfigurator/font/fontello.eot new file mode 100644 index 0000000000000000000000000000000000000000..2732fad4b99afccc74c27aa672ccd40f913b80ca GIT binary patch literal 4988 zcmd^CT}&L;6+U-n|5z{>v%7Y(7~l1;TJ;11yDg zVpn;H>a>bi`B(Z@Bfv`Q*fYSi|jl~N@SeW+BaYM*MUmGV&aB~qZ@nVp6B zCrbO=ftmB2bH97fx#ymHXZEEwqCXxW5~LAd8o6~F!19)0bYZfl?>%iZ)KhQvZ0=d> zXg@7biPor0MOwjM2@TCO1#OY8L$_!HmJrRrvO$})Y_laDrzG{E#*;K{#!`j;>yj1rq};0G5fc0e|M>9%?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$A za}uXyM(M`-mg`tUb}F;w*SxW+M`Ws<;?+wzHTG(*>d`Z(Gidl;U=?2mxIPd&-%+mD Kt8V<(q5l8`HZgPn literal 0 HcmV?d00001 diff --git a/release/samples/toolbarconfigurator/font/fontello.svg b/release/samples/toolbarconfigurator/font/fontello.svg new file mode 100644 index 0000000..33d14ac --- /dev/null +++ b/release/samples/toolbarconfigurator/font/fontello.svg @@ -0,0 +1,14 @@ + + + +Copyright (C) 2014 by original authors @ fontello.com + + + + + + + + + + \ No newline at end of file diff --git a/release/samples/toolbarconfigurator/font/fontello.ttf b/release/samples/toolbarconfigurator/font/fontello.ttf new file mode 100644 index 0000000000000000000000000000000000000000..fbcbf06af5fe25519880166886f3af289acfd960 GIT binary patch literal 4820 zcmd^CTWlNG5uLlsm#CLzk+c)a@}*alWO7N#vLq{(?8tmbah%k$*OY% z_ATvKu-vOj@mD$}GC06gp=A4p<(R2=va9=8AAKd9Q?2l^dUxRbiZBS%{`5+bDwY>*~s3H8xt zNYnh32@V|zxZ2|);1!+|J)(Q?Q87GlT(k`ipE*4c3bvhLEu`NG?tVXX7N217B; zZhv%84Dsxr_B5EGosjA4`I*lz-r4;%8^s0wehJ>4*V;b)xGCWG2ei@!w-D|bMEvyQ zWG0o=+U-o94t9vnz|(#{gnWAOZk>GX?6a+7|E5MAcO20NnNO-U`I~Rnx&u3c3y06P z{a}uBM}WV#r{6g^;SR&ap7b9%Z<}MCpnD<>%yC`l^V)5ok)#Bz!FH|T4TpJ{{<80L z$eF?Od^F_P(ExPL!8+_22fKiuaIl*i>8gW0us`cyKgH2koCSf=PH*x}=4ya;gMQ** zL5D=EgEeXq#~rN0o^Y@W_?&~?6cSH5*aLgf!G4+*TMlldZt;io`o`_e<;A74>`kAP z1O2B4<=kz#4%70QwIZ#X<)!t_Ejcb1*4N6Vm6i2maecLpr%Q`BSFFvtT9>n>&8_A2 zHF+x8UpGyb)=HaJxirt-x1L`dD3=%H!shy_oN)Zgjm`BNrD8d`R4#9v?dz-0$E|)X_J;wswFC8lX_u22{}OhbczOn=D?6()>zBfM2l8nvFIjdEZHMl(8uvEKwE>g z1jY(*l8X4QK46~)V-fRL;AQiH(fhs3g1t#w$dbKFI!TCSfiRm8zdXKQrE&%E<*; zsaT*)862vt z+um$esVV(buG-X;M);KS$McHPN{gnd4gB%rqeKWr(4$kisz7D16{!m9im(l_h=FN! z9IlP?6fJ6x=CO=PBtKa|{SHcoUxRi7OHV60zaxaO%iV%p+}W!+QcXrm7U1_6&CLS$ zX)0AIRGZy#wHgnfz~Wm$Y>6k-A+su2wwYCpp_!EqBrWTXILYKtUQ&w--sPf zsNVg0ijeAwDG}_q%Xjj#%l-UN%#=fRHgS`bUh8k1l6pLb6#BV+Wn|79Bh{D)A}bSX zKn8VI0S#o0Bviso9vMrh+S zU;t72O~gj;;h#-Wo@~5SNg7g)Rp9H?!LUr$d?*)R6xp~`1wKdPS8{J_QkUVkwQl|4 ze2P!D4>ttjA)+yX#!jP4af&EjyQZ{sVct-B+M37V)zVfNxRA$50L?;RT!+SlH4--9 zX9C$n*uLPR<_ZyTAwWS*;>wLZb@N=zvp|X3-tood7d9gK1CQ9f0bY+p40pG)9%Bs4 zJZ+nm4<|&*2?KSDqX`mf&|W?=)12zi)m&1J;hN^W93z~4rhHLo7cqoJ%NC7V#cMa3 z;ZzklCDf1;F)+x>+-iiHJhCuRqK zNCgA!NoC@IjDLy!0`373XjchvQl{#INONtnsGgj_HD0eq1{VWPOd7?@nma^e022U$ z!KAq(Y|CQ+w&fyo&SB_r<}kR#90pG?hryG~c?95V%wceuISi(l!{7>YMggXo!(fIv z46ZVV!BfmR4=~Fd2480mgB)`h|4`kalJ zx?&@yu9|V>D=EEe>K0$$3EaGw-lgA9*g(a<1ypGw3sD`2PZ{_@4oucg5a!mFtzN8-MH2e*ji^AMF4D literal 0 HcmV?d00001 diff --git a/release/samples/toolbarconfigurator/font/fontello.woff b/release/samples/toolbarconfigurator/font/fontello.woff new file mode 100644 index 0000000000000000000000000000000000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2eYV#<{{M h)|m=pL{N{>SsfEVryv3YMICr>r-JDom6<*r{|}rP@vZ;> literal 0 HcmV?d00001 diff --git a/release/samples/toolbarconfigurator/index.html b/release/samples/toolbarconfigurator/index.html new file mode 100644 index 0000000..1dac0b4 --- /dev/null +++ b/release/samples/toolbarconfigurator/index.html @@ -0,0 +1,446 @@ + + + + + + + + Toolbar Configurator + + + + + + + + + + + + +
    +
    +

    + CKEditor Logo +

    + +
    +
    + +
    +
    +
    +
    +
    +

    + Toolbar Configurator + Help +

    + +
    +
    + Select configurator type + + + + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +

    What Am I Doing Here?

    + +
    +
    +
    +

    Arrange toolbar groups, toggle button visibility according to your needs and get your toolbar configuration.

    +

    You can replace the content of the config.js file with the generated configuration. If you already set some configuration options you will need to merge both configurations.

    +
    +
    +

    Read more about different ways of setting configuration and do not forget about clearing browser cache.

    +

    Arranging toolbar groups is the recommended way of configuring the toolbar, but if you need more freedom you can use the advanced configurator.

    +
    +
    + +
    + +

    + +

    +
    +
    +
    +
    + +
    +

    + CKEditor – The text editor for the Internet – http://ckeditor.com +

    +

    + Copyright © 2003-2017, CKSource – Frederico Knabben. All rights reserved. +

    +
    + + + + + + + + + + + + + + diff --git a/release/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js b/release/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js new file mode 100644 index 0000000..65f0b87 --- /dev/null +++ b/release/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js @@ -0,0 +1,13 @@ +"function"!=typeof Object.create&&function(){var a=function(){};Object.create=function(b){if(1 and others + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/release/samples/toolbarconfigurator/lib/codemirror/codemirror.css b/release/samples/toolbarconfigurator/lib/codemirror/codemirror.css new file mode 100644 index 0000000..2fe9d0f --- /dev/null +++ b/release/samples/toolbarconfigurator/lib/codemirror/codemirror.css @@ -0,0 +1,325 @@ +/* BASICS */ + +.CodeMirror { + /* Set height, width, borders, and global font properties here */ + font-family: monospace; + height: 300px; + color: black; +} + +/* PADDING */ + +.CodeMirror-lines { + padding: 4px 0; /* Vertical padding around content */ +} +.CodeMirror pre { + padding: 0 4px; /* Horizontal padding of content */ +} + +.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { + background-color: white; /* The little square between H and V scrollbars */ +} + +/* GUTTER */ + +.CodeMirror-gutters { + border-right: 1px solid #ddd; + background-color: #f7f7f7; + white-space: nowrap; +} +.CodeMirror-linenumbers {} +.CodeMirror-linenumber { + padding: 0 3px 0 5px; + min-width: 20px; + text-align: right; + color: #999; + white-space: nowrap; +} + +.CodeMirror-guttermarker { color: black; } +.CodeMirror-guttermarker-subtle { color: #999; } + +/* CURSOR */ + +.CodeMirror div.CodeMirror-cursor { + border-left: 1px solid black; +} +/* Shown when moving in bi-directional text */ +.CodeMirror div.CodeMirror-secondarycursor { + border-left: 1px solid silver; +} +.CodeMirror.cm-fat-cursor div.CodeMirror-cursor { + width: auto; + border: 0; + background: #7e7; +} +.CodeMirror.cm-fat-cursor div.CodeMirror-cursors { + z-index: 1; +} + +.cm-animate-fat-cursor { + width: auto; + border: 0; + -webkit-animation: blink 1.06s steps(1) infinite; + -moz-animation: blink 1.06s steps(1) infinite; + animation: blink 1.06s steps(1) infinite; +} +@-moz-keyframes blink { + 0% { background: #7e7; } + 50% { background: none; } + 100% { background: #7e7; } +} +@-webkit-keyframes blink { + 0% { background: #7e7; } + 50% { background: none; } + 100% { background: #7e7; } +} +@keyframes blink { + 0% { background: #7e7; } + 50% { background: none; } + 100% { background: #7e7; } +} + +/* Can style cursor different in overwrite (non-insert) mode */ +div.CodeMirror-overwrite div.CodeMirror-cursor {} + +.cm-tab { display: inline-block; text-decoration: inherit; } + +.CodeMirror-ruler { + border-left: 1px solid #ccc; + position: absolute; +} + +/* DEFAULT THEME */ + +.cm-s-default .cm-keyword {color: #708;} +.cm-s-default .cm-atom {color: #219;} +.cm-s-default .cm-number {color: #164;} +.cm-s-default .cm-def {color: #00f;} +.cm-s-default .cm-variable, +.cm-s-default .cm-punctuation, +.cm-s-default .cm-property, +.cm-s-default .cm-operator {} +.cm-s-default .cm-variable-2 {color: #05a;} +.cm-s-default .cm-variable-3 {color: #085;} +.cm-s-default .cm-comment {color: #a50;} +.cm-s-default .cm-string {color: #a11;} +.cm-s-default .cm-string-2 {color: #f50;} +.cm-s-default .cm-meta {color: #555;} +.cm-s-default .cm-qualifier {color: #555;} +.cm-s-default .cm-builtin {color: #30a;} +.cm-s-default .cm-bracket {color: #997;} +.cm-s-default .cm-tag {color: #170;} +.cm-s-default .cm-attribute {color: #00c;} +.cm-s-default .cm-header {color: blue;} +.cm-s-default .cm-quote {color: #090;} +.cm-s-default .cm-hr {color: #999;} +.cm-s-default .cm-link {color: #00c;} + +.cm-negative {color: #d44;} +.cm-positive {color: #292;} +.cm-header, .cm-strong {font-weight: bold;} +.cm-em {font-style: italic;} +.cm-link {text-decoration: underline;} +.cm-strikethrough {text-decoration: line-through;} + +.cm-s-default .cm-error {color: #f00;} +.cm-invalidchar {color: #f00;} + +.CodeMirror-composing { border-bottom: 2px solid; } + +/* Default styles for common addons */ + +div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} +div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} +.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); } +.CodeMirror-activeline-background {background: #e8f2ff;} + +/* STOP */ + +/* The rest of this file contains styles related to the mechanics of + the editor. You probably shouldn't touch them. */ + +.CodeMirror { + position: relative; + overflow: hidden; + background: white; +} + +.CodeMirror-scroll { + overflow: scroll !important; /* Things will break if this is overridden */ + /* 30px is the magic margin used to hide the element's real scrollbars */ + /* See overflow: hidden in .CodeMirror */ + margin-bottom: -30px; margin-right: -30px; + padding-bottom: 30px; + height: 100%; + outline: none; /* Prevent dragging from highlighting the element */ + position: relative; +} +.CodeMirror-sizer { + position: relative; + border-right: 30px solid transparent; +} + +/* The fake, visible scrollbars. Used to force redraw during scrolling + before actuall scrolling happens, thus preventing shaking and + flickering artifacts. */ +.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { + position: absolute; + z-index: 6; + display: none; +} +.CodeMirror-vscrollbar { + right: 0; top: 0; + overflow-x: hidden; + overflow-y: scroll; +} +.CodeMirror-hscrollbar { + bottom: 0; left: 0; + overflow-y: hidden; + overflow-x: scroll; +} +.CodeMirror-scrollbar-filler { + right: 0; bottom: 0; +} +.CodeMirror-gutter-filler { + left: 0; bottom: 0; +} + +.CodeMirror-gutters { + position: absolute; left: 0; top: 0; + z-index: 3; +} +.CodeMirror-gutter { + white-space: normal; + height: 100%; + display: inline-block; + margin-bottom: -30px; + /* Hack to make IE7 behave */ + *zoom:1; + *display:inline; +} +.CodeMirror-gutter-wrapper { + position: absolute; + z-index: 4; + height: 100%; +} +.CodeMirror-gutter-elt { + position: absolute; + cursor: default; + z-index: 4; +} +.CodeMirror-gutter-wrapper { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +.CodeMirror-lines { + cursor: text; + min-height: 1px; /* prevents collapsing before first draw */ +} +.CodeMirror pre { + /* Reset some styles that the rest of the page might have set */ + -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; + border-width: 0; + background: transparent; + font-family: inherit; + font-size: inherit; + margin: 0; + white-space: pre; + word-wrap: normal; + line-height: inherit; + color: inherit; + z-index: 2; + position: relative; + overflow: visible; + -webkit-tap-highlight-color: transparent; +} +.CodeMirror-wrap pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: normal; +} + +.CodeMirror-linebackground { + position: absolute; + left: 0; right: 0; top: 0; bottom: 0; + z-index: 0; +} + +.CodeMirror-linewidget { + position: relative; + z-index: 2; + overflow: auto; +} + +.CodeMirror-widget {} + +.CodeMirror-code { + outline: none; +} + +/* Force content-box sizing for the elements where we expect it */ +.CodeMirror-scroll, +.CodeMirror-sizer, +.CodeMirror-gutter, +.CodeMirror-gutters, +.CodeMirror-linenumber { + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +.CodeMirror-measure { + position: absolute; + width: 100%; + height: 0; + overflow: hidden; + visibility: hidden; +} +.CodeMirror-measure pre { position: static; } + +.CodeMirror div.CodeMirror-cursor { + position: absolute; + border-right: none; + width: 0; +} + +div.CodeMirror-cursors { + visibility: hidden; + position: relative; + z-index: 3; +} +.CodeMirror-focused div.CodeMirror-cursors { + visibility: visible; +} + +.CodeMirror-selected { background: #d9d9d9; } +.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; } +.CodeMirror-crosshair { cursor: crosshair; } +.CodeMirror ::selection { background: #d7d4f0; } +.CodeMirror ::-moz-selection { background: #d7d4f0; } + +.cm-searching { + background: #ffa; + background: rgba(255, 255, 0, .4); +} + +/* IE7 hack to prevent it from returning funny offsetTops on the spans */ +.CodeMirror span { *vertical-align: text-bottom; } + +/* Used to force a border model for a node */ +.cm-force-border { padding-right: .1px; } + +@media print { + /* Hide the cursor when printing */ + .CodeMirror div.CodeMirror-cursors { + visibility: hidden; + } +} + +/* See issue #2901 */ +.cm-tab-wrap-hack:after { content: ''; } + +/* Help users use markselection to safely style text background */ +span.CodeMirror-selectedtext { background: none; } diff --git a/release/samples/toolbarconfigurator/lib/codemirror/codemirror.js b/release/samples/toolbarconfigurator/lib/codemirror/codemirror.js new file mode 100644 index 0000000..538493f --- /dev/null +++ b/release/samples/toolbarconfigurator/lib/codemirror/codemirror.js @@ -0,0 +1,288 @@ +(function(q){if("object"==typeof exports&&"object"==typeof module)module.exports=q();else{if("function"==typeof define&&define.amd)return define([],q);this.CodeMirror=q()}})(function(){function q(a,b){if(!(this instanceof q))return new q(a,b);this.options=b=b?V(b):{};V(qf,b,!1);wc(b);var c=b.value;"string"==typeof c&&(c=new P(c,b.mode));this.doc=c;var d=new q.inputStyles[b.inputStyle](this),d=this.display=new rf(a,c,d);d.wrapper.CodeMirror=this;Ad(this);Bd(this);b.lineWrapping&&(this.display.wrapper.className+= +" CodeMirror-wrap");b.autofocus&&!ab&&d.input.focus();Cd(this);this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,draggingText:!1,highlight:new bb,keySeq:null,specialChars:null};var e=this;B&&11>C&&setTimeout(function(){e.display.input.reset(!0)},20);sf(this);Dd||(tf(),Dd=!0);Ja(this);this.curOp.forceUpdate=!0;Ed(this,c);b.autofocus&&!ab||e.hasFocus()?setTimeout(cb(xc,this),20):db(this);for(var f in Ka)if(Ka.hasOwnProperty(f))Ka[f](this, +b[f],Fd);Gd(this);b.finishInit&&b.finishInit(this);for(c=0;cC&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight= +0);J||wa&&ab||(this.scroller.draggable=!0);a&&(a.appendChild?a.appendChild(this.wrapper):a(this.wrapper));this.reportedViewFrom=this.reportedViewTo=this.viewFrom=this.viewTo=b.first;this.view=[];this.externalMeasured=this.renderedView=null;this.lastWrapHeight=this.lastWrapWidth=this.viewOffset=0;this.updateLineNumbers=null;this.nativeBarWidth=this.barHeight=this.barWidth=0;this.scrollbarsClipped=!1;this.lineNumWidth=this.lineNumInnerWidth=this.lineNumChars=null;this.alignWidgets=!1;this.maxLine=this.cachedCharWidth= +this.cachedTextHeight=this.cachedPaddingH=null;this.maxLineLength=0;this.maxLineChanged=!1;this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null;this.shift=!1;this.activeTouch=this.selForContextMenu=null;c.init(this)}function zc(a){a.doc.mode=q.getMode(a.options,a.doc.modeOption);eb(a)}function eb(a){a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null);a.styles&&(a.styles=null)});a.doc.frontier=a.doc.first;fb(a,100);a.state.modeGen++;a.curOp&&Q(a)}function Id(a){var b=xa(a.display), +c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/gb(a.display)-3);return function(e){if(ya(a.doc,e))return 0;var f=0;if(e.widgets)for(var g=0;gb.maxLineLength&&(b.maxLineLength=d,b.maxLine=a)})}function wc(a){var b=D(a.gutters,"CodeMirror-linenumbers");-1==b&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]): +-1C&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function Gc(){}function Cd(a){a.display.scrollbars&&(a.display.scrollbars.clear(), +a.display.scrollbars.addClass&&kb(a.display.wrapper,a.display.scrollbars.addClass));a.display.scrollbars=new q.scrollbarModel[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller);v(b,"mousedown",function(){a.state.focused&&setTimeout(function(){a.display.input.focus()},0)});b.setAttribute("cm-not-content","true")},function(b,c){"horizontal"==c?Ma(a,b):lb(a,b)},a);a.display.scrollbars.addClass&&mb(a.display.wrapper,a.display.scrollbars.addClass)}function Na(a, +b){b||(b=jb(a));var c=a.display.barWidth,d=a.display.barHeight;Jd(a,b);for(var e=0;4>e&&c!=a.display.barWidth||d!=a.display.barHeight;e++)c!=a.display.barWidth&&a.options.lineWrapping&&Lb(a),Jd(a,jb(a)),c=a.display.barWidth,d=a.display.barHeight}function Jd(a,b){var c=a.display,d=c.scrollbars.update(b);c.sizer.style.paddingRight=(c.barWidth=d.right)+"px";c.sizer.style.paddingBottom=(c.barHeight=d.bottom)+"px";d.right&&d.bottom?(c.scrollbarFiller.style.display="block",c.scrollbarFiller.style.height= +d.bottom+"px",c.scrollbarFiller.style.width=d.right+"px"):c.scrollbarFiller.style.display="";d.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(c.gutterFiller.style.display="block",c.gutterFiller.style.height=d.bottom+"px",c.gutterFiller.style.width=b.gutterWidth+"px"):c.gutterFiller.style.display=""}function Hc(a,b,c){var d=c&&null!=c.top?Math.max(0,c.top):a.scroller.scrollTop,d=Math.floor(d-a.lineSpace.offsetTop),e=c&&null!=c.bottom?c.bottom:d+a.wrapper.clientHeight,d=Ba(b,d), +e=Ba(b,e);if(c&&c.ensure){var f=c.ensure.from.line;c=c.ensure.to.line;f=e&&(d=Ba(b,ea(u(b,c))-a.wrapper.clientHeight),e=c)}return{from:d,to:Math.max(e,d+1)}}function Bc(a){var b=a.display,c=b.view;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var d=Ic(b)-b.scroller.scrollLeft+a.doc.scrollLeft,e=b.gutters.offsetWidth,f=d+"px",g=0;g=c.viewFrom&&b.visible.to<=c.viewTo&&(null==c.updateLineNumbers||c.updateLineNumbers>=c.viewTo)&&c.renderedView==c.view&&0==Kd(a))return!1;Gd(a)&&(qa(a),b.dims=Kc(a));var e=d.first+d.size,f=Math.max(b.visible.from-a.options.viewportMargin,d.first),g=Math.min(e,b.visible.to+a.options.viewportMargin);c.viewFromf-c.viewFrom&& +(f=Math.max(d.first,c.viewFrom));c.viewTo>g&&20>c.viewTo-g&&(g=Math.min(e,c.viewTo));ra&&(f=Mc(a.doc,f),g=Ld(a.doc,g));d=f!=c.viewFrom||g!=c.viewTo||c.lastWrapHeight!=b.wrapperHeight||c.lastWrapWidth!=b.wrapperWidth;e=a.display;0==e.view.length||f>=e.viewTo||g<=e.viewFrom?(e.view=Nb(a,f,g),e.viewFrom=f):(e.viewFrom>f?e.view=Nb(a,f,e.viewFrom).concat(e.view):e.viewFromg&&(e.view=e.view.slice(0, +Ca(a,g))));e.viewTo=g;c.viewOffset=ea(u(a.doc,c.viewFrom));a.display.mover.style.top=c.viewOffset+"px";g=Kd(a);if(!d&&0==g&&!b.force&&c.renderedView==c.view&&(null==c.updateLineNumbers||c.updateLineNumbers>=c.viewTo))return!1;f=fa();4=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break;if(!Lc(a,b))break;Lb(a);d=jb(a);nb(a);Oc(a,d);Na(a,d)}b.signal(a,"update",a);if(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)b.signal(a, +"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo}function Pc(a,b){var c=new Mb(a,b);if(Lc(a,c)){Lb(a);Md(a,c);var d=jb(a);nb(a);Oc(a,d);Na(a,d);c.finish()}}function Oc(a,b){a.display.sizer.style.minHeight=b.docHeight+"px";var c=b.docHeight+a.display.barHeight;a.display.heightForcer.style.top=c+"px";a.display.gutters.style.height=Math.max(c+da(a),b.clientHeight)+"px"}function Lb(a){a=a.display;for(var b= +a.lineDiv.offsetTop,c=0;cC){var f=d.node.offsetTop+d.node.offsetHeight;e=f-b;b=f}else e=d.node.getBoundingClientRect(),e=e.bottom-e.top;f=d.line.height-e;2>e&&(e=xa(a));if(.001f)if(ca(d.line,e),Nd(d.line),d.rest)for(e=0;eC&&(a.node.style.zIndex=2));return a.node}function Pd(a,b){var c=a.display.externalMeasured;return c&&c.line==b.line?(a.display.externalMeasured=null,b.measure=c.measure,c.built):Sd(a,b)}function Qc(a){var b=a.bgClass?a.bgClass+" "+(a.line.bgClass||""):a.line.bgClass;b&&(b+=" CodeMirror-linebackground");if(a.background)b?a.background.className=b:(a.background.parentNode.removeChild(a.background), +a.background=null);else if(b){var c=Ob(a);a.background=c.insertBefore(t("div",null,b),c.firstChild)}a.line.wrapClass?Ob(a).className=a.line.wrapClass:a.node!=a.text&&(a.node.className="");a.text.className=(a.textClass?a.textClass+" "+(a.line.textClass||""):a.line.textClass)||""}function Qd(a,b,c,d){b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null);var e=b.line.gutterMarkers;if(a.options.lineNumbers||e){var f=Ob(b),g=b.gutter=t("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter? +d.fixedPos:-d.gutterTotalWidth)+"px; width: "+d.gutterTotalWidth+"px");a.display.input.setUneditable(g);f.insertBefore(g,b.text);b.line.gutterClass&&(g.className+=" "+b.line.gutterClass);!a.options.lineNumbers||e&&e["CodeMirror-linenumbers"]||(b.lineNumber=g.appendChild(t("div",Jc(a.options,c),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+d.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px")));if(e)for(b=0;by(a,b)?b:a}function Qb(a,b){return 0>y(a,b)?a:b}function Ud(a){a.state.focused||(a.display.input.focus(),xc(a))}function Rb(a){return a.options.readOnly||a.doc.cantEdit}function Sc(a,b,c,d,e){var f=a.doc;a.display.shift=!1;d||(d=f.sel);var g=sa(b),h=null;a.state.pasteIncoming&&1l.head.ch&&(!k||d.ranges[k-1].head.line!=l.head.line)){l=a.getModeAt(l.head);m=ta(m);p=!1;if(l.electricChars)for(var E=0;Ee?k.map:l[e],g=0;ge?a.line:a.rest[e]);e=f[g]+d;if(0>d||h!=b)e=f[g+(d?1:0)];return r(c,e)}}}var e=a.text.firstChild,f=!1;if(!b||!Wc(e,b))return Ra(r(F(a.line),0),!0);if(b==e&&(f=!0,b=e.childNodes[c],c=0,!b))return c=a.rest?A(a.rest):a.line,Ra(r(F(c),c.text.length),f);var g=3==b.nodeType?b:null,h=b;g||1!=b.childNodes.length||3!=b.firstChild.nodeType||(g=b.firstChild,c&&(c=g.nodeValue.length));for(;h.parentNode!=e;)h=h.parentNode; +var k=a.measure,l=k.maps;if(b=d(g,h,c))return Ra(b,f);e=h.nextSibling;for(g=g?g.nodeValue.length-c:0;e;e=e.nextSibling){if(b=d(e,e.firstChild,0))return Ra(r(b.line,b.ch-g),f);g+=e.textContent.length}h=h.previousSibling;for(g=c;h;h=h.previousSibling){if(b=d(h,h.firstChild,-1))return Ra(r(b.line,b.ch+g),f);g+=e.textContent.length}}function xf(a,b,c,d,e){function f(a){return function(b){return b.id==a}}function g(b){if(1==b.nodeType){var c=b.getAttribute("cm-text");if(null!=c)""==c&&(c=b.textContent.replace(/\u200b/g, +"")),h+=c;else{var c=b.getAttribute("cm-marker"),p;if(c)b=a.findMarks(r(d,0),r(e+1,0),f(+c)),b.length&&(p=b[0].find())&&(h+=Da(a.doc,p.from,p.to).join("\n"));else if("false"!=b.getAttribute("contenteditable")){for(p=0;pc)return r(c,u(a,c).text.length);var c= +u(a,b.line).text.length,d=b.ch,c=null==d||d>c?r(b.line,c):0>d?r(b.line,0):b;return c}function qb(a,b){return b>=a.first&&by(c,a),b!=0>y(d,a)?(a=c,c=d):b!=0>y(c,d)&&(c=d)),new z(a,c)):new z(d||c,c)}function Ub(a,b,c,d){H(a,new la([rb(a,a.sel.primary(),b,c)],0),d)}function ae(a,b,c){for(var d=[],e=0;ey(b.primary().head,a.sel.primary().head)?-1:1);de(a,ee(a,b,d,!0));c&&!1===c.scroll||!a.cm||Pa(a.cm)}function de(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=!0,fe(a.cm)),L(a,"cursorActivity",a))}function ge(a){de(a,ee(a,a.sel,null,!1),ha)}function ee(a,b,c,d){for(var e,f=0;f=f.ch:l.to>f.ch))){if(d&&(K(m,"beforeCursorEnter"),m.explicitlyCleared))if(h.markedSpans){--k;continue}else break;if(m.atomic){k= +m.find(0>g?-1:1);if(0==y(k,f)&&(k.ch+=g,0>k.ch?k=k.line>a.first?w(a,r(k.line-1)):null:k.ch>h.text.length&&(k=k.lineb&&(b=0);b=Math.round(b);d=Math.round(d);h.appendChild(t("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px; top: "+b+"px; width: "+(null==c?m-a:c)+"px; height: "+(d-b)+"px"))}function e(b,c,e){var f=u(g,b),h=f.text.length,k,p;Af(Y(f),c||0,null==e?h:e,function(g,q,t){var u=Yb(a,r(b,g),"div",f,"left"),v,w;g==q?(v=u,t=w=u.left):(v=Yb(a,r(b,q-1),"div",f,"right"), +"rtl"==t&&(t=u,u=v,v=t),t=u.left,w=v.right);null==c&&0==g&&(t=l);3p.bottom||v.bottom==p.bottom&&v.right>p.right)p=v;ta.options.cursorBlinkRate&&(b.cursorDiv.style.visibility="hidden")}}function fb(a,b){a.doc.mode.startState&&a.doc.frontier=a.display.viewTo)){var c=+new Date+a.options.workTime,d=Sa(b.mode,sb(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.viewTo+ +500),function(f){if(b.frontier>=a.display.viewFrom){var g=f.styles,h=je(a,f,d,!0);f.styles=h.styles;var k=f.styleClasses;(h=h.classes)?f.styleClasses=h:k&&(f.styleClasses=null);k=!g||g.length!=f.styles.length||k!=h&&(!k||!h||k.bgClass!=h.bgClass||k.textClass!=h.textClass);for(h=0;!k&&hc)return fb(a,a.options.workDelay),!0}); +e.length&&T(a,function(){for(var b=0;bg;--b){if(b<=f.first)return f.first;var h=u(f,b-1);if(h.stateAfter&&(!c||b<=f.frontier))return b;h=aa(h.text,null,a.options.tabSize);if(null==e||d>h)e=b-1,d=h}return e}function sb(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=Cf(a,b,c),g=f>d.first&&u(d,f-1).stateAfter,g=g?Sa(d.mode,g):Df(d.mode);d.iter(f,b,function(c){Zc(a, +c.text,g);c.stateAfter=f==b-1||0==f%5||f>=e.viewFrom&&fc)return{map:a.measure.maps[d],cache:a.measure.caches[d],before:!0}}function Vc(a,b){if(b>=a.display.viewFrom&&b=c.lineN&&bm;m++){for(;h&&tb(b.line.text.charAt(k.coverStart+h));)--h;for(;k.coverStart+lC&&0==h&&l==k.coverEnd-k.coverStart)n=d.parentNode.getBoundingClientRect();else if(B&&a.options.lineWrapping){var E=Ea(d,h,l).getClientRects();n=E.length?E["right"==g?E.length-1:0]:ad}else n=Ea(d,h,l).getBoundingClientRect()||ad;if(n.left||n.right||0==h)break;l=h;--h;c="right"}B&&11>C&&((E=!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI)|| +(null!=bd?E=bd:(m=U(a.display.measure,t("span","x")),E=m.getBoundingClientRect(),m=Ea(m,0,1).getBoundingClientRect(),E=bd=1C)||h||n&&(n.left||n.right)||(n=(n=d.parentNode.getClientRects()[0])? +{left:n.left,right:n.left+gb(a.display),top:n.top,bottom:n.bottom}:ad);E=n.top-b.rect.top;d=n.bottom-b.rect.top;h=(E+d)/2;g=b.view.measure.heights;for(m=0;mb)f=l-k,e=f-1,b>=l&&(g="right");if(null!=e){d=a[h+2];k==l&&c==(d.insertLeft?"left":"right")&&(g=c);if("left"==c&&0==e)for(;h&&a[h-2]==a[h-3]&&a[h-1].insertLeft;)d=a[(h-=3)+2],g="left";if("right"==c&&e==l-k)for(;hc.from?g(a-1):g(a,d)}d=d||u(a.doc,b.line);e||(e=Zb(a,d));var k=Y(d);b=b.ch;if(!k)return g(b);var l=Sb(k,b),l=h(b,l);null!=vb&&(l.other=h(b,vb));return l}function oe(a, +b){var c=0;b=w(a.doc,b);a.options.lineWrapping||(c=gb(a.display)*b.ch);var d=u(a.doc,b.line),e=ea(d)+a.display.lineSpace.offsetTop;return{left:c,right:c,top:e,bottom:e+d.height}}function $b(a,b,c,d){a=r(a,b);a.xRel=d;c&&(a.outside=!0);return a}function fd(a,b,c){var d=a.doc;c+=a.display.viewOffset;if(0>c)return $b(d.first,0,!0,-1);var e=Ba(d,c),f=d.first+d.size-1;if(e>f)return $b(d.first+d.size-1,u(d,f).text.length,!0,1);0>b&&(b=0);for(d=u(d,e);;)if(e=Ef(a,d,e,b,c),f=(d=Aa(d,!1))&&d.find(0,!0),d&& +(e.ch>f.from.ch||e.ch==f.from.ch&&0d.bottom)return d.left-k;if(gt)return $b(c,n,u,1);for(;;){if(m?n==e||n==gd(b,e,1):1>=n-e){m=d +d?-1:1d){n=w;t=x;if(u=h)t+=1E3;p=v}else e=w,E=x,q=h,p-=v}}function xa(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==Fa){Fa=t("pre");for(var b=0;49>b;++b)Fa.appendChild(document.createTextNode("x")),Fa.appendChild(t("br"));Fa.appendChild(document.createTextNode("x"))}U(a.measure,Fa);b=Fa.offsetHeight/50;3=d.viewTo)||d.maxLineChanged&&c.options.lineWrapping;e.update=e.mustUpdate&&new Mb(c,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}for(b= +0;bl;l++){var m=!1,p=ma(c,h),n=g&&g!=h?ma(c,g):p,n=cc(c,Math.min(p.left, +n.left),Math.min(p.top,n.top)-k,Math.max(p.left,n.left),Math.max(p.bottom,n.bottom)+k),q=c.doc.scrollTop,r=c.doc.scrollLeft;null!=n.scrollTop&&(lb(c,n.scrollTop),1g.top+l.top?h=!0:g.bottom+l.top>(window.innerHeight||document.documentElement.clientHeight)&& +(h=!1),null==h||Gf||(g=t("div","​",null,"position: absolute; top: "+(g.top-k.viewOffset-c.display.lineSpace.offsetTop)+"px; height: "+(g.bottom-g.top+da(c)+k.barHeight)+"px; left: "+g.left+"px; width: 2px;"),c.display.lineSpace.appendChild(g),g.scrollIntoView(h),c.display.lineSpace.removeChild(g))))}h=e.maybeHiddenMarkers;g=e.maybeUnhiddenMarkers;if(h)for(k=0;kb)&&(e.updateLineNumbers=b);a.curOp.viewChanged=!0;if(b>=e.viewTo)ra&&Mc(a.doc,b)e.viewFrom?qa(a):(e.viewFrom+=d,e.viewTo+=d);else if(b<=e.viewFrom&&c>=e.viewTo)qa(a);else if(b<=e.viewFrom){var f=dc(a,c,c+d,1);f?(e.view=e.view.slice(f.index),e.viewFrom=f.lineN,e.viewTo+=d):qa(a)}else if(c>=e.viewTo)(f=dc(a,b,b,-1))?(e.view=e.view.slice(0,f.index),e.viewTo=f.lineN):qa(a);else{var f=dc(a,b,b,-1),g=dc(a,c,c+d,1);f&&g?(e.view= +e.view.slice(0,f.index).concat(Nb(a,f.lineN,g.lineN)).concat(e.view.slice(g.index)),e.viewTo+=d):qa(a)}if(a=e.externalMeasured)c=e.lineN&&b=d.viewTo||(a=d.view[Ca(a,b)],null!=a.node&&(a=a.changes||(a.changes=[]),-1==D(a,c)&&a.push(c)))}function qa(a){a.display.viewFrom=a.display.viewTo= +a.doc.first;a.display.view=[];a.display.viewOffset=0}function Ca(a,b){if(b>=a.display.viewTo)return null;b-=a.display.viewFrom;if(0>b)return null;for(var c=a.display.view,d=0;db)return d}function dc(a,b,c,d){var e=Ca(a,b),f=a.display.view;if(!ra||c==a.doc.first+a.doc.size)return{index:e,lineN:c};for(var g=0,h=a.display.viewFrom;gd?0:f.length- +1))return null;c+=d*f[e-(0>d?1:0)].size;e+=d}return{index:e,lineN:c}}function Kd(a){a=a.display.view;for(var b=0,c=0;cC?v(d.scroller,"dblclick",G(a,function(b){if(!ja(a, +b)){var c=Ua(a,b);!c||hd(a,b,"gutterClick",!0,L)||oa(a.display,b)||(O(b),b=a.findWordAt(c),Ub(a.doc,b.anchor,b.head))}})):v(d.scroller,"dblclick",function(b){ja(a,b)||O(b)});id||v(d.scroller,"contextmenu",function(b){qe(a,b)});var e,f={end:0};v(d.scroller,"touchstart",function(a){var b;1!=a.touches.length?b=!1:(b=a.touches[0],b=1>=b.radiusX&&1>=b.radiusY);b||(clearTimeout(e),b=+new Date,d.activeTouch={start:b,moved:!1,prev:300>=b-f.end?f:null},1==a.touches.length&&(d.activeTouch.left=a.touches[0].pageX, +d.activeTouch.top=a.touches[0].pageY))});v(d.scroller,"touchmove",function(){d.activeTouch&&(d.activeTouch.moved=!0)});v(d.scroller,"touchend",function(e){var f=d.activeTouch;if(f&&!oa(d,e)&&null!=f.left&&!f.moved&&300>new Date-f.start){var g=a.coordsChar(d.activeTouch,"page"),f=!f.prev||c(f,f.prev)?new z(g,g):!f.prev.prev||c(f,f.prev.prev)?a.findWordAt(g):new z(r(g.line,0),w(a.doc,r(g.line+1,0)));a.setSelection(f.anchor,f.head);a.focus();O(e)}b()});v(d.scroller,"touchcancel",b);v(d.scroller,"scroll", +function(){d.scroller.clientHeight&&(lb(a,d.scroller.scrollTop),Ma(a,d.scroller.scrollLeft,!0),K(a,"scroll",a))});v(d.scroller,"mousewheel",function(b){re(a,b)});v(d.scroller,"DOMMouseScroll",function(b){re(a,b)});v(d.wrapper,"scroll",function(){d.wrapper.scrollTop=d.wrapper.scrollLeft=0});d.dragFunctions={simple:function(b){ja(a,b)||jd(b)},start:function(b){if(B&&(!a.state.draggingText||100>+new Date-se))jd(b);else if(!ja(a,b)&&!oa(a.display,b)&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.setDragImage&& +!te)){var c=t("img",null,null,"position: fixed; left: 0; top: 0;");c.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw\x3d\x3d";ba&&(c.width=c.height=1,a.display.wrapper.appendChild(c),c._top=c.offsetTop);b.dataTransfer.setDragImage(c,0,0);ba&&c.parentNode.removeChild(c)}},drop:G(a,Hf)};var g=d.input.getField();v(g,"keyup",function(b){ue.call(a,b)});v(g,"keydown",G(a,ve));v(g,"keypress",G(a,we));v(g,"focus",cb(xc,a));v(g,"blur",cb(db,a))}function If(a){var b=a.display; +if(b.lastWrapHeight!=b.wrapper.clientHeight||b.lastWrapWidth!=b.wrapper.clientWidth)b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize()}function oa(a,b){for(var c=b.target||b.srcElement;c!=a.wrapper;c=c.parentNode)if(!c||1==c.nodeType&&"true"==c.getAttribute("cm-ignore-events")||c.parentNode==a.sizer&&c!=a.mover)return!0}function Ua(a,b,c,d){var e=a.display;if(!c&&"true"==(b.target||b.srcElement).getAttribute("cm-not-content"))return null;var f,g;c=e.lineSpace.getBoundingClientRect(); +try{f=b.clientX-c.left,g=b.clientY-c.top}catch(h){return null}b=fd(a,f,g);var k;d&&1==b.xRel&&(k=u(a.doc,b.line).text).length==b.ch&&(d=aa(k,k.length,a.options.tabSize)-k.length,b=r(b.line,Math.max(0,Math.round((f-ie(a.display).left)/gb(a.display))-d)));return b}function pe(a){var b=this.display;if(!(b.activeTouch&&b.input.supportsTouch()||ja(this,a)))if(b.shift=a.shiftKey,oa(b,a))J||(b.scroller.draggable=!1,setTimeout(function(){b.scroller.draggable=!0},100));else if(!hd(this,a,"gutterClick",!0, +L)){var c=Ua(this,a);window.focus();switch(xe(a)){case 1:c?Jf(this,a,c):(a.target||a.srcElement)==b.scroller&&O(a);break;case 2:J&&(this.state.lastMiddleDown=+new Date);c&&Ub(this.doc,c);setTimeout(function(){b.input.focus()},20);O(a);break;case 3:id?qe(this,a):Kf(this)}}}function Jf(a,b,c){B?setTimeout(cb(Ud,a),0):a.curOp.focus=fa();var d=+new Date,e;ec&&ec.time>d-400&&0==y(ec.pos,c)?e="triple":fc&&fc.time>d-400&&0==y(fc.pos,c)?(e="double",ec={time:d,pos:c}):(e="single",fc={time:d,pos:c});var d= +a.doc.sel,f=W?b.metaKey:b.ctrlKey,g;a.options.dragDrop&&Lf&&!Rb(a)&&"single"==e&&-1<(g=d.contains(c))&&!d.ranges[g].empty()?Mf(a,b,c,f):Nf(a,b,c,e,f)}function Mf(a,b,c,d){var e=a.display,f=+new Date,g=G(a,function(h){J&&(e.scroller.draggable=!1);a.state.draggingText=!1;ka(document,"mouseup",g);ka(e.scroller,"drop",g);10>Math.abs(b.clientX-h.clientX)+Math.abs(b.clientY-h.clientY)&&(O(h),!d&&+new Date-200t&&e.push(new z(r(h, +t),r(h,ye(E,g,f))))}e.length||e.push(new z(c,c));H(l,Z(n.ranges.slice(0,p).concat(e),p),{origin:"*mouse",scroll:!1});a.scrollIntoView(b)}else e=m,f=e.anchor,k=b,"single"!=d&&(b="double"==d?a.findWordAt(b):new z(r(b.line,0),w(l,r(b.line+1,0))),0=h.to|| +e.lineB.bottom?20:0;m&&setTimeout(G(a,function(){A==c&&(k.scroller.scrollTop+=m,g(b))}),50)}}function h(a){A=Infinity;O(a);k.input.focus();ka(document,"mousemove",F);ka(document,"mouseup",C);l.history.lastSelOrigin=null}var k=a.display,l=a.doc;O(b);var m,p,n=l.sel,q=n.ranges;e&&!b.shiftKey?(p=l.sel.contains(c),m=-1=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;d&&O(b);d=a.display;var k=d.lineDiv.getBoundingClientRect();if(g>k.bottom||!S(a,c))return ld(b);g-=k.top-d.viewOffset;for(k=0;k=f)return f=Ba(a.doc,g),e(a, +c,a,f,a.options.gutters[k],b),ld(b)}}function Hf(a){var b=this;if(!ja(b,a)&&!oa(b.display,a)){O(a);B&&(se=+new Date);var c=Ua(b,a,!0),d=a.dataTransfer.files;if(c&&!Rb(b))if(d&&d.length&&window.FileReader&&window.File){var e=d.length,f=Array(e),g=0;a=function(a,d){var h=new FileReader;h.onload=G(b,function(){f[d]=h.result;if(++g==e){c=w(b.doc,c);var a={from:c,to:c,text:sa(f.join("\n")),origin:"paste"};Oa(b.doc,a);be(b.doc,ga(c,ta(a)))}});h.readAsText(a)};for(var h=0;hMath.abs(a.doc.scrollTop-b)||(a.doc.scrollTop=b,wa||Pc(a,{top:b}),a.display.scroller.scrollTop!=b&& +(a.display.scroller.scrollTop=b),a.display.scrollbars.setScrollTop(b),wa&&Pc(a),fb(a,100))}function Ma(a,b,c){(c?b==a.doc.scrollLeft:2>Math.abs(a.doc.scrollLeft-b))||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,Bc(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function re(a,b){var c=ze(b),d=c.x,c=c.y,e=a.display,f=e.scroller;if(d&&f.scrollWidth>f.clientWidth||c&&f.scrollHeight>f.clientHeight){if(c&& +W&&J){var g=b.target,h=e.view;a:for(;g!=f;g=g.parentNode)for(var k=0;kg?h=Math.max(0,h+g-50):k=Math.min(a.doc.height,k+g+50),Pc(a,{top:h,bottom:k})),20>gc&&(null==e.wheelStartX?(e.wheelStartX=f.scrollLeft,e.wheelStartY=f.scrollTop,e.wheelDX=d,e.wheelDY=c,setTimeout(function(){if(null!=e.wheelStartX){var a=f.scrollLeft-e.wheelStartX,b=f.scrollTop- +e.wheelStartY,a=b&&e.wheelDY&&b/e.wheelDY||a&&e.wheelDX&&a/e.wheelDX;e.wheelStartX=e.wheelStartY=null;a&&(R=(R*gc+a)/(gc+1),++gc)}},200)):(e.wheelDX+=d,e.wheelDY+=c))):(c&&lb(a,Math.max(0,Math.min(f.scrollTop+c*R,f.scrollHeight-f.clientHeight))),Ma(a,Math.max(0,Math.min(f.scrollLeft+d*R,f.scrollWidth-f.clientWidth))),O(b),e.wheelStartX=null)}}function hc(a,b,c){if("string"==typeof b&&(b=ic[b],!b))return!1;a.display.input.ensurePolled();var d=a.display.shift,e=!1;try{Rb(a)&&(a.state.suppressEdits= +!0),c&&(a.display.shift=!1),e=b(a)!=Ae}finally{a.display.shift=d,a.state.suppressEdits=!1}return e}function Of(a,b,c){for(var d=0;dC&&27==a.keyCode&&(a.returnValue=!1);var b=a.keyCode;this.display.shift=16==b||a.shiftKey;var c=Be(this,a);ba&&(md=c?b:null,!c&&88==b&&!Ce&&(W?a.metaKey:a.ctrlKey)&&this.replaceSelection("",null,"cut"));18!=b||/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)||Tf(this)}}function Tf(a){function b(a){18!=a.keyCode&&a.altKey||(kb(c,"CodeMirror-crosshair"),ka(document,"keyup",b),ka(document,"mouseover",b))}var c=a.display.lineDiv;mb(c,"CodeMirror-crosshair");v(document,"keyup",b);v(document, +"mouseover",b)}function ue(a){16==a.keyCode&&(this.doc.sel.shift=!1);ja(this,a)}function we(a){if(!(oa(this.display,a)||ja(this,a)||a.ctrlKey&&!a.altKey||W&&a.metaKey)){var b=a.keyCode,c=a.charCode;if(ba&&b==md)md=null,O(a);else if(!ba||a.which&&!(10>a.which)||!Be(this,a))if(b=String.fromCharCode(null==c?b:c),!Sf(this,a,b))this.display.input.onKeyPress(a)}}function Kf(a){a.state.delayingBlurEvent=!0;setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,db(a))},100)}function xc(a){a.state.delayingBlurEvent&& +(a.state.delayingBlurEvent=!1);"nocursor"!=a.options.readOnly&&(a.state.focused||(K(a,"focus",a),a.state.focused=!0,mb(a.display.wrapper,"CodeMirror-focused"),a.curOp||a.display.selForContextMenu==a.doc.sel||(a.display.input.reset(),J&&setTimeout(function(){a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Yc(a))}function db(a){a.state.delayingBlurEvent||(a.state.focused&&(K(a,"blur",a),a.state.focused=!1,kb(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker), +setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function qe(a,b){var c;(c=oa(a.display,b))||(c=S(a,"gutterContextMenu")?hd(a,b,"gutterContextMenu",!1,K):!1);if(!c)a.display.input.onContextMenu(b)}function De(a,b){if(0>y(a,b.from))return a;if(0>=y(a,b.to))return ta(b);var c=a.line+b.text.length-(b.to.line-b.from.line)-1,d=a.ch;a.line==b.to.line&&(d+=ta(b).ch-b.to.ch);return r(c,d)}function nd(a,b){for(var c=[],d=0;da.lastLine())){if(b.from.linee&&(b= +{from:b.from,to:r(e,u(a,e).text.length),text:[b.text[0]],origin:b.origin});b.removed=Da(a,b.from,b.to);c||(c=nd(a,b));a.cm?Vf(a.cm,b,d):qd(a,b,d);Vb(a,c,ha)}}function Vf(a,b,c){var d=a.doc,e=a.display,f=b.from,g=b.to,h=!1,k=f.line;a.options.lineWrapping||(k=F(ia(u(d,f.line))),d.iter(k,g.line+1,function(a){if(a==e.maxLine)return h=!0}));-1e.maxLineLength&&(e.maxLine= +a,e.maxLineLength=b,e.maxLineChanged=!0,h=!1)}),h&&(a.curOp.updateMaxLine=!0));d.frontier=Math.min(d.frontier,f.line);fb(a,400);c=b.text.length-(g.line-f.line)-1;b.full?Q(a):f.line!=g.line||1!=b.text.length||Me(a.doc,b)?Q(a,f.line,g.line+1,c):na(a,f.line,"text");c=S(a,"changes");if((d=S(a,"change"))||c)b={from:f,to:g,text:b.text,removed:b.removed,origin:b.origin},d&&L(a,"change",a,b),c&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(b);a.display.selForContextMenu=null}function wb(a,b,c,d,e){d|| +(d=c);if(0>y(d,c)){var f=d;d=c;c=f}"string"==typeof b&&(b=sa(b));Oa(a,{from:c,to:d,text:b,origin:e})}function cc(a,b,c,d,e){var f=a.display,g=xa(a.display);0>c&&(c=0);var h=a.curOp&&null!=a.curOp.scrollTop?a.curOp.scrollTop:f.scroller.scrollTop,k=Nc(a),l={};e-c>k&&(e=c+k);var m=a.doc.height+Ec(f),p=cm-g;ch+k&&(c=Math.min(c,(g?m:e)-k),c!=h&&(l.scrollTop=c));h=a.curOp&&null!=a.curOp.scrollLeft?a.curOp.scrollLeft:f.scroller.scrollLeft;a=pa(a)-(a.options.fixedGutter?f.gutters.offsetWidth: +0);(f=d-b>a)&&(d=b+a);10>b?l.scrollLeft=0:ba+h-3&&(l.scrollLeft=d+(f?0:10)-a);return l}function lc(a,b,c){null==b&&null==c||mc(a);null!=b&&(a.curOp.scrollLeft=(null==a.curOp.scrollLeft?a.doc.scrollLeft:a.curOp.scrollLeft)+b);null!=c&&(a.curOp.scrollTop=(null==a.curOp.scrollTop?a.doc.scrollTop:a.curOp.scrollTop)+c)}function Pa(a){mc(a);var b=a.getCursor(),c=b,d=b;a.options.lineWrapping||(c=b.ch?r(b.line,b.ch-1):b,d=r(b.line,b.ch+1));a.curOp.scrollToPos={from:c, +to:d,margin:a.options.cursorScrollMargin,isCursor:!0}}function mc(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var c=oe(a,b.from),d=oe(a,b.to),b=cc(a,Math.min(c.left,d.left),Math.min(c.top,d.top)-b.margin,Math.max(c.right,d.right),Math.max(c.bottom,d.bottom)+b.margin);a.scrollTo(b.scrollLeft,b.scrollTop)}}function pb(a,b,c,d){var e=a.doc,f;null==c&&(c="add");"smart"==c&&(e.mode.indent?f=sb(a,b):c="prev");var g=a.options.tabSize,h=u(e,b),k=aa(h.text,null,g);h.stateAfter&&(h.stateAfter= +null);var l=h.text.match(/^\s*/)[0],m;if(!d&&!/\S/.test(h.text))m=0,c="not";else if("smart"==c&&(m=e.mode.indent(f,h.text.slice(l.length),h.text),m==Ae||150e.first?aa(u(e,b-1).text,null,g):0:"add"==c?m=k+a.options.indentUnit:"subtract"==c?m=k-a.options.indentUnit:"number"==typeof c&&(m=k+c);m=Math.max(0,m);c="";d=0;if(a.options.indentWithTabs)for(a=Math.floor(m/g);a;--a)d+=g,c+="\t";d=y(f.from,A(d).to);){var g=d.pop();if(0>y(g.from,f.from)){f.from=g.from;break}}d.push(f)}T(a, +function(){for(var b=d.length-1;0<=b;b--)wb(a.doc,"",d[b].from,d[b].to,"+delete");Pa(a)})}function rd(a,b,c,d,e){function f(b){var d=(e?gd:Oe)(l,h,c,!0);if(null==d){if(b=!b)b=g+c,b=a.first+a.size?b=m=!1:(g=b,b=l=u(a,b));if(b)h=e?(0>c?bc:ac)(l):0>c?l.text.length:0;else return m=!1}else h=d;return!0}var g=b.line,h=b.ch,k=c,l=u(a,g),m=!0;if("char"==d)f();else if("column"==d)f(!0);else if("word"==d||"group"==d){var p=null;d="group"==d;b=a.cm&&a.cm.getHelper(b,"wordChars");for(var n=!0;!(0> +c)||f(!n);n=!1){var q=l.text.charAt(h)||"\n",q=oc(q,b)?"w":d&&"\n"==q?"n":!d||/\s/.test(q)?null:"p";!d||n||q||(q="s");if(p&&p!=q){0>c&&(c=1,f());break}q&&(p=q);if(0c?1.5:.5)*xa(a.display))):"line"==d&&(g=0c?0>=g:g>=e.height){b.hitSide=!0;break}g+=5*c}return b}function x(a,b,c,d){q.defaults[a]=b;c&&(Ka[a]=d?function(a,b,d){d!=Fd&&c(a,b,d)}:c)}function Wf(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var c,d,e,f,g=0;g=e:l.to>e);(k||(k=[])).push(new qc(m,l.from,p?null:l.to))}}c=k;if(d)for(var h=0,n;h=f:k.to>f)||k.from==f&&"bookmark"==l.type&&(!g||k.marker.insertLeft))m=null==k.from||(l.inclusiveLeft?k.from<=f:k.fromy(g.to,e.from)||0k||!c.inclusiveLeft&&!k)&&h.push({from:g.from,to:e.from});(0Ve(d,e.marker))&&(d=e.marker);return d}function Qe(a,b,c,d,e){a=u(a,b);if(a=ra&&a.markedSpans)for(b=0;b=k||0>=h&&0<=k)&&(0>=h&&(0y(g.from,d)||f.marker.inclusiveLeft&& +e.inclusiveRight)))return!0}}}function ia(a){for(var b;b=Aa(a,!0);)a=b.find(-1,!0).line;return a}function Mc(a,b){var c=u(a,b),d=ia(c);return c==d?b:F(d)}function Ld(a,b){if(b>a.lastLine())return b;var c=u(a,b),d;if(!ya(a,c))return b;for(;d=Aa(c,!1);)c=d.find(1,!0).line;return F(c)+1}function ya(a,b){var c=ra&&b.markedSpans;if(c)for(var d,e=0;ee;e++){d&&(d[0]=q.innerMode(a,c).mode);var f=a.token(b,c);if(b.pos>b.start)return f}throw Error("Mode "+a.name+" failed to advance stream.");}function Ye(a,b,c,d){function e(a){return{start:m.start,end:m.pos,string:m.current(),type:h||null,state:a?Sa(f.mode,l):l}}var f=a.doc,g=f.mode,h;b=w(f,b);var k=u(f,b.line),l=sb(a,b.line,c),m=new tc(k.text,a.options.tabSize),p;for(d&&(p=[]);(d||m.posa.options.maxHighlightLength?(h=!1,g&&Zc(a,b,d,m.pos),m.pos=b.length,p=null):p=We(ud(c,m,d,n),f);if(n){var q=n[0].name;q&&(p="m-"+(p?q+" "+p:q))}if(!h||l!=p){for(;ka&&e.splice(h,1,a,e[h+1],d);h+=2;k=Math.min(a,d)}if(b)if(g.opaque)e.splice(c,h-c,a,"cm-overlay "+b),h=c+2;else for(;cEa(g,1,2).getBoundingClientRect().right-h.right:!1}g&&(f=Y(e))&&(c.addToken=dg(c.addToken,f));c.map=[];h=b!= +a.display.externalMeasured&&F(e);a:{g=c;var h=$e(a,e,h),k=e.markedSpans,l=e.text,m=0;if(k)for(var p=l.length,n=0,q=1,r="",u=void 0,v=void 0,w=0,x=void 0,y=void 0,A=void 0,C=void 0,z=void 0;;){if(w==n){for(var x=y=A=C=v="",z=null,w=Infinity,G=[],H=0;Hn||D.collapsed&&I.to==n&&I.from==n)?(null!=I.to&&I.to!=n&&w>I.to&&(w=I.to,y=""),D.className&&(x+=" "+D.className),D.css&&(v=D.css), +D.startStyle&&I.from==n&&(A+=" "+D.startStyle),D.endStyle&&I.to==w&&(y+=" "+D.endStyle),D.title&&!C&&(C=D.title),D.collapsed&&(!z||0>Ve(z.marker,D))&&(z=I)):I.from>n&&w>I.from&&(w=I.from)}if(z&&(z.from||0)==n){bf(g,(null==z.to?p+1:z.to)-n,z.marker,null==z.from);if(null==z.to)break a;z.to==n&&(z=!1)}if(!z&&G.length)for(H=0;H=p)break;for(G=Math.min(p,w);;){if(r){H=n+r.length;z||(I=H>G?r.slice(0,G-n):r,g.addToken(g,I,u?u+x:x,A,n+I.length==w?y:"",C,v));if(H>=G){r=r.slice(G- +n);n=G;break}n=H;A=""}r=l.slice(m,m=h[q++]);u=af(h[q++],g.cm.options)}}else for(var q=1;qC?m.appendChild(t("span",[r])):m.appendChild(r);a.map.push(a.pos,a.pos+q,r);a.col+=q;a.pos+=q}if(!n)break;p+=q+1;"\t"==n[0]?(r=a.cm.options.tabSize,n=r-a.col%r,r=m.appendChild(t("span",Ne(n),"cm-tab")),r.setAttribute("role","presentation"),r.setAttribute("cm-text","\t"),a.col+=n):(r=a.cm.options.specialCharPlaceholder(n[0]),r.setAttribute("cm-text",n[0]),B&&9>C?m.appendChild(t("span",[r])):m.appendChild(r),a.col+=1);a.map.push(a.pos,a.pos+1,r);a.pos++}else{a.col+=b.length;var m=document.createTextNode(h); +a.map.push(a.pos,a.pos+b.length,m);B&&9>C&&(l=!0);a.pos+=b.length}if(c||d||e||l||g)return b=c||"",d&&(b+=d),e&&(b+=e),d=t("span",[m],b,g),f&&(d.title=f),a.content.appendChild(d);a.content.appendChild(m)}}function fg(a){for(var b=" ",c=0;cl&&n.from<=l)break}if(n.to>=m)return a(c,d,e,f,g, +h,k);a(c,d.slice(0,n.to-l),e,f,null,h,k);f=null;d=d.slice(n.to-l);l=n.to}}}function bf(a,b,c,d){var e=!d&&c.widgetNode;e&&a.map.push(a.pos,a.pos+b,e);!d&&a.cm.display.input.needsContentAttribute&&(e||(e=a.content.appendChild(document.createElement("span"))),e.setAttribute("cm-marker",c.id));e&&(a.cm.display.input.setUneditable(e),a.content.appendChild(e));a.pos+=b}function Me(a,b){return 0==b.from.ch&&0==b.to.ch&&""==A(b.text)&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function qd(a,b,c,d){function e(a, +c,e){a.text=c;a.stateAfter&&(a.stateAfter=null);a.styles&&(a.styles=null);null!=a.order&&(a.order=null);Te(a);Ue(a,e);c=d?d(a):1;c!=a.height&&ca(a,c);L(a,"change",a,b)}function f(a,b){for(var e=a,f=[];eb||b>=a.size)throw Error("There is no line "+(b+a.first)+" in the document.");for(var c=a;!c.lines;)for(var d=0;;++d){var e=c.children[d],f=e.chunkSize();if(bf-a.cm.options.historyEventDelay|| +"*"==b.origin.charAt(0)))e.lastOp==d?(ce(e.done),g=A(e.done)):e.done.length&&!A(e.done).ranges?g=A(e.done):1e.undoDepth;)e.done.shift(),e.done[0].ranges||e.done.shift();e.done.push(c);e.generation= +++e.maxGeneration;e.lastModTime=e.lastSelTime=f;e.lastOp=e.lastSelOp=d;e.lastOrigin=e.lastSelOrigin=b.origin;k||K(a,"historyAdded")}function Wb(a,b){var c=A(b);c&&c.ranges&&c.equals(a)||b.push(a)}function cf(a,b,c,d){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,c),Math.min(a.first+a.size,d),function(c){c.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=c.markedSpans);++f})}function Zf(a){if(!a)return null;for(var b=0,c;b=b)return d+Math.min(g,b-e);e+=f-d;e+=c-e%c;d=f+1;if(e>=b)return d}}function Ne(a){for(;vc.length<=a;)vc.push(A(vc)+" ");return vc[a]}function A(a){return a[a.length-1]}function D(a,b){for(var c=0;c=b.offsetWidth&&2C))}a=yd?t("span", +"​"):t("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");a.setAttribute("cm-text","");return a}function Af(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=!1,f=0;fb||b==c&&g.to==b)d(Math.max(g.from,b),Math.min(g.to,c),1==g.level?"rtl":"ltr"),e=!0}e||d(b,c,"ltr")}function dd(a){return a.level%2?a.to:a.from}function ed(a){return a.level%2?a.from:a.to}function ac(a){return(a=Y(a))?dd(a[0]):0}function bc(a){var b=Y(a);return b?ed(A(b)):a.text.length} +function kf(a,b){var c=u(a.doc,b),d=ia(c);d!=c&&(b=F(d));d=(c=Y(d))?c[0].level%2?bc(d):ac(d):0;return r(b,d)}function lf(a,b){var c=kf(a,b.line),d=u(a.doc,c.line),e=Y(d);return e&&0!=e[0].level?c:(d=Math.max(0,d.text.search(/\S/)),r(c.line,b.line==c.line&&b.ch<=d&&b.ch?0:d))}function Sb(a,b){vb=null;for(var c=0,d;cb)return c;if(e.from==b||e.to==b)if(null==d)d=c;else{var f;f=e.level;var g=a[d].level,h=a[0].level;f=f==h?!0:g==h?!1:fg.from&&bb||b>a.text.length?null:b}var wa=/gecko\/\d/i.test(navigator.userAgent),mf=/MSIE \d/.test(navigator.userAgent),nf=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),B=mf||nf,C=B&&(mf?document.documentMode||6:nf[1]),J=/WebKit\//.test(navigator.userAgent),jg=J&&/Qt\/\d+\.\d+/.test(navigator.userAgent),kg=/Chrome\//.test(navigator.userAgent),ba=/Opera\//.test(navigator.userAgent),te=/Apple Computer/.test(navigator.vendor),lg=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent), +Gf=/PhantomJS/.test(navigator.userAgent),Qa=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),ab=Qa||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),W=Qa||/Mac/.test(navigator.platform),mg=/win/i.test(navigator.platform),Ia=ba&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);Ia&&(Ia=Number(Ia[1]));Ia&&15<=Ia&&(ba=!1,J=!0);var of=W&&(jg||ba&&(null==Ia||12.11>Ia)),id=wa||B&&9<=C,Ge=!1,ra=!1;Fc.prototype=V({update:function(a){var b= +a.scrollWidth>a.clientWidth+1,c=a.scrollHeight>a.clientHeight+1,d=a.nativeBarWidth;c?(this.vert.style.display="block",this.vert.style.bottom=b?d+"px":"0",this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+(a.viewHeight-(b?d:0)))+"px"):(this.vert.style.display="",this.vert.firstChild.style.height="0");b?(this.horiz.style.display="block",this.horiz.style.right=c?d+"px":"0",this.horiz.style.left=a.barLeft+"px",this.horiz.firstChild.style.width=a.scrollWidth-a.clientWidth+(a.viewWidth- +a.barLeft-(c?d:0))+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0");!this.checkedOverlay&&0new Date-d.state.lastMiddleDown)){var a=f.selectionStart,b=f.selectionEnd;f.value+="$";f.selectionEnd=b;f.selectionStart= +a;d.state.fakedLastChar=!0}d.state.pasteIncoming=!0;c.fastPoll()});v(f,"cut",b);v(f,"copy",b);v(a.scroller,"paste",function(b){oa(a,b)||(d.state.pasteIncoming=!0,c.focus())});v(a.lineSpace,"selectstart",function(b){oa(a,b)||O(b)});v(f,"compositionstart",function(){var a=d.getCursor("from");c.composing={start:a,range:d.markText(a,d.getCursor("to"),{className:"CodeMirror-composing"})}});v(f,"compositionend",function(){c.composing&&(c.poll(),c.composing.range.clear(),c.composing=null)})},prepareSelection:function(){var a= +this.cm,b=a.display,c=a.doc,d=he(a);if(a.options.moveInputWithCursor){var a=ma(a,c.sel.primary().head,"div"),c=b.wrapper.getBoundingClientRect(),e=b.lineDiv.getBoundingClientRect();d.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,a.top+e.top-c.top));d.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,a.left+e.left-c.left))}return d},showSelection:function(a){var b=this.cm.display;U(b.cursorDiv,a.cursors);U(b.selectionDiv,a.selection);null!=a.teTop&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left= +a.teLeft+"px")},reset:function(a){if(!this.contextMenuPending){var b,c,d=this.cm,e=d.doc;d.somethingSelected()?(this.prevInput="",b=e.sel.primary(),c=(b=Ce&&(100C&&f.scrollbars.setScrollTop(f.scroller.scrollTop= +k);if(null!=g.selectionStart){(!B||B&&9>C)&&b();var a=0,c=function(){f.selForContextMenu==e.doc.sel&&0==g.selectionStart&&0a++?f.detectingSelectAll=setTimeout(c,500):f.input.reset()};f.detectingSelectAll=setTimeout(c,200)}}var d=this,e=d.cm,f=e.display,g=d.textarea,h=Ua(e,a),k=f.scroller.scrollTop;if(h&&!ba){e.options.resetSelectionOnContextMenu&&-1==e.doc.sel.contains(h)&&G(e,H)(e.doc,ga(h),ha);var l=g.style.cssText;d.wrapper.style.position= +"absolute";g.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(a.clientY-5)+"px; left: "+(a.clientX-5)+"px; z-index: 1000; background: "+(B?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity\x3d5);";if(J)var m=window.scrollY;f.input.focus();J&&window.scrollTo(null,m);f.input.reset();e.somethingSelected()||(g.value=d.prevInput=" ");d.contextMenuPending=!0;f.selForContextMenu=e.doc.sel;clearTimeout(f.detectingSelectAll); +B&&9<=C&&b();if(id){jd(a);var p=function(){ka(window,"mouseup",p);setTimeout(c,20)};v(window,"mouseup",p)}else setTimeout(c,50)}},setUneditable:Eb,needsContentAttribute:!1},Tc.prototype);Uc.prototype=V({init:function(a){function b(a){if(d.somethingSelected())X=d.getSelections(),"cut"==a.type&&d.replaceSelection("",null,"cut");else if(d.options.lineWiseCopyCut){var b=Vd(d);X=b.text;"cut"==a.type&&d.operation(function(){d.setSelections(b.ranges,0,ha);d.replaceSelection("",null,"cut")})}else return; +if(a.clipboardData&&!Qa)a.preventDefault(),a.clipboardData.clearData(),a.clipboardData.setData("text/plain",X.join("\n"));else{var c=Xd();a=c.firstChild;d.display.lineSpace.insertBefore(c,d.display.lineSpace.firstChild);a.value=X.join("\n");var h=document.activeElement;Za(a);setTimeout(function(){d.display.lineSpace.removeChild(c);h.focus()},50)}}var c=this,d=c.cm;a=c.div=a.lineDiv;a.contentEditable="true";Wd(a);v(a,"paste",function(a){var b=a.clipboardData&&a.clipboardData.getData("text/plain"); +b&&(a.preventDefault(),d.replaceSelection(b,null,"paste"))});v(a,"compositionstart",function(a){a=a.data;c.composing={sel:d.doc.sel,data:a,startData:a};if(a){var b=d.doc.sel.primary(),g=d.getLine(b.head.line).indexOf(a,Math.max(0,b.head.ch-a.length));-1b.viewTo-1)return!1;var e;d.line==b.viewFrom||0==(e=Ca(a,d.line))?(d=F(b.view[0].line),e=b.view[0].node):(d=F(b.view[e].line),e=b.view[e-1].node.nextSibling);var f= +Ca(a,c.line);f==b.view.length-1?(c=b.viewTo-1,b=b.view[f].node):(c=F(b.view[f+1].line)-1,b=b.view[f+1].node.previousSibling);b=sa(xf(a,e,b,d,c));for(e=Da(a.doc,r(d,0),r(c,u(a.doc,c).text.length));1=y(a,d.to()))return c}return-1}};z.prototype={from:function(){return Qb(this.anchor,this.head)},to:function(){return Pb(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var ad={left:0,right:0,top:0,bottom:0},Fa,Ta=null,Ff=0,fc,ec,se=0,gc=0,R=null;B?R=-.53:wa?R=15:kg?R=-.7:te&&(R=-1/3);var ze=function(a){var b=a.wheelDeltaX,c=a.wheelDeltaY;null==b&&a.detail&& +a.axis==a.HORIZONTAL_AXIS&&(b=a.detail);null==c&&a.detail&&a.axis==a.VERTICAL_AXIS?c=a.detail:null==c&&(c=a.wheelDelta);return{x:b,y:c}};q.wheelEventPixels=function(a){a=ze(a);a.x*=R;a.y*=R;return a};var Qf=new bb,md=null,ta=q.changeEnd=function(a){return a.text?r(a.from.line+a.text.length-1,A(a.text).length+(1==a.text.length?a.from.ch:0)):a.to};q.prototype={constructor:q,focus:function(){window.focus();this.display.input.focus()},setOption:function(a,b){var c=this.options,d=c[a];if(c[a]!=b||"mode"== +a)c[a]=b,Ka.hasOwnProperty(a)&&G(this,Ka[a])(this,b,d)},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](pc(a))},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;cc&&(pb(this,e.head.line,a,!0),c=e.head.line,d==this.doc.sel.primIndex&&Pa(this));else{for(var f=e.from(),e=e.to(),g=Math.max(c,f.line),c=Math.min(this.lastLine(),e.line-(e.ch?0:1))+1,e=g;e>1;if((e?b[2*e-1]:0)>=a)d=e;else if(b[2*e+1]c?b:0==c?null:b.slice(0,c-1)},getModeAt:function(a){var b=this.doc.mode;return b.innerMode?q.innerMode(b,this.getTokenAt(a).state).mode:b},getHelper:function(a,b){return this.getHelpers(a,b)[0]},getHelpers:function(a,b){var c=[];if(!$a.hasOwnProperty(b))return c;var d=$a[b],e=this.getModeAt(a);if("string"== +typeof e[b])d[e[b]]&&c.push(d[e[b]]);else if(e[b])for(var f=0;fd&&(a=d,c=!0),d=u(this.doc, +a)):d=a;return cd(this,d,{top:0,left:0},b||"page").top+(c?this.doc.height-ea(d):0)},defaultTextHeight:function(){return xa(this.display)},defaultCharWidth:function(){return gb(this.display)},setGutterMarker:M(function(a,b,c){return nc(this.doc,a,"gutter",function(a){var e=a.gutterMarkers||(a.gutterMarkers={});e[b]=c;!c&&hf(e)&&(a.gutterMarkers=null);return!0})}),clearGutter:M(function(a){var b=this,c=b.doc,d=c.first;c.iter(function(c){c.gutterMarkers&&c.gutterMarkers[a]&&(c.gutterMarkers[a]=null, +na(b,d,"gutter"),hf(c.gutterMarkers)&&(c.gutterMarkers=null));++d})}),lineInfo:function(a){if("number"==typeof a){if(!qb(this.doc,a))return null;var b=a;a=u(this.doc,a);if(!a)return null}else if(b=F(a),null==b)return null;return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,b,c,d,e){var f=this.display;a= +ma(this,w(this.doc,a));var g=a.bottom,h=a.left;b.style.position="absolute";b.setAttribute("cm-ignore-events","true");this.display.input.setUneditable(b);f.sizer.appendChild(b);if("over"==d)g=a.top;else if("above"==d||"near"==d){var k=Math.max(f.wrapper.clientHeight,this.doc.height),l=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);("above"==d||a.bottom+b.offsetHeight>k)&&a.top>b.offsetHeight?g=a.top-b.offsetHeight:a.bottom+b.offsetHeight<=k&&(g=a.bottom);h+b.offsetWidth>l&&(h=l-b.offsetWidth)}b.style.top= +g+"px";b.style.left=b.style.right="";"right"==e?(h=f.sizer.clientWidth-b.offsetWidth,b.style.right="0px"):("left"==e?h=0:"middle"==e&&(h=(f.sizer.clientWidth-b.offsetWidth)/2),b.style.left=h+"px");c&&(a=cc(this,h,g,h+b.offsetWidth,g+b.offsetHeight),null!=a.scrollTop&&lb(this,a.scrollTop),null!=a.scrollLeft&&Ma(this,a.scrollLeft))},triggerOnKeyDown:M(ve),triggerOnKeyPress:M(we),triggerOnKeyUp:ue,execCommand:function(a){if(ic.hasOwnProperty(a))return ic[a](this)},findPosH:function(a,b,c,d){var e=1; +0>b&&(e=-1,b=-b);var f=0;for(a=w(this.doc,a);fa?d.from():d.to()},Gb)}),deleteH:M(function(a,b){var c=this.doc;this.doc.sel.somethingSelected()?c.replaceSelection("",null,"+delete"):Va(this,function(d){var e=rd(c,d.head,a,b,!1);return 0>a?{from:e,to:d.head}:{from:d.head,to:e}})}),findPosV:function(a, +b,c,d){var e=1;0>b&&(e=-1,b=-b);var f=0;for(a=w(this.doc,a);fa?g.from():g.to();var k=ma(c,g.head,"div");null!=g.goalColumn&&(k.left=g.goalColumn);e.push(k.left);var l=Pe(c,k,a,b);"page"==b&&g==d.sel.primary()&&lc(c,null,Yb(c,l,"div").top-k.top);return l}, +Gb);if(e.length)for(var g=0;ga.xRel||d==b.length)&&c?--c:++d;for(var f=b.charAt(c),f=oc(f,e)?function(a){return oc(a,e)}:/\s/.test(f)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!oc(a)};0a.doc.first){var g=u(a.doc,e.line-1).text;g&&a.replaceRange(f.charAt(0)+"\n"+g.charAt(g.length-1),r(e.line-1,g.length-1),r(e.line,1),"+transpose")}c.push(new z(e, +e))}a.setSelections(c)})},newlineAndIndent:function(a){T(a,function(){for(var b=a.listSelections().length,c=0;c=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pos +b},eatSpace:function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){a=this.string.indexOf(a,this.pos);if(-1a.display.maxLineLength&&(a.display.maxLine=f,a.display.maxLineLength=g,a.display.maxLineChanged=!0);null!=c&&a&&this.collapsed&&Q(a,c,d+1);this.lines.length=0;this.explicitlyCleared= +!0;this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&ge(a.doc));a&&L(a,"markerCleared",a,this);b&&La(a);this.parent&&this.parent.clear()}};Ha.prototype.find=function(a,b){null==a&&"bookmark"==this.type&&(a=1);for(var c,d,e=0;ethis.size-b&&(1=this.children.length)){var a=this;do{var b=a.children.splice(a.children.length-5,5),b=new Cb(b);if(a.parent){a.size-=b.size;a.height-=b.height;var c=D(a.parent.children,a);a.parent.children.splice(c+1,0,b)}else c=new Cb(a.children), +c.parent=a,a.children=[c,b],a=c;b.parent=a.parent}while(10y(h.head,h.anchor),f[e]=new z(h?k:g,h?g:k)):f[e]=new z(g,g)}f=new la(f,this.sel.primIndex)}b=f;for(f=d.length-1;0<=f;f--)Oa(this,d[f]);b?be(this,b):this.cm&&Pa(this.cm)}),undo:N(function(){kc(this,"undo")}),redo:N(function(){kc(this,"redo")}),undoSelection:N(function(){kc(this,"undo",!0)}),redoSelection:N(function(){kc(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a= +this.history,b=0,c=0,d=0;d=a.ch)&&b.push(e.marker.parent||e.marker)}return b},findMarks:function(a,b,c){a=w(this,a); +b=w(this,b);var d=[],e=a.line;this.iter(a.line,b.line+1,function(f){if(f=f.markedSpans)for(var g=0;gh.to||null==h.from&&e!=a.line||e==b.line&&h.from>b.ch||c&&!c(h.marker)||d.push(h.marker.parent||h.marker)}++e});return d},getAllMarks:function(){var a=[];this.iter(function(b){if(b=b.markedSpans)for(var c=0;c +a)return b=a,!0;a-=d;++c});return w(this,r(c,b))},indexFromPos:function(a){a=w(this,a);var b=a.ch;if(a.linea.ch)return 0;this.iter(this.first,a.line,function(a){b+=a.text.length+1});return b},copy:function(a){var b=new P(xd(this,this.first,this.first+this.size),this.modeOption,this.first);b.scrollTop=this.scrollTop;b.scrollLeft=this.scrollLeft;b.sel=this.sel;b.extend=!1;a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory()));return b},linkedDoc:function(a){a|| +(a={});var b=this.first,c=this.first+this.size;null!=a.from&&a.from>b&&(b=a.from);null!=a.to&&a.toD(pg,Jb)&&(q.prototype[Jb]=function(a){return function(){return a.apply(this.doc,arguments)}}(P.prototype[Jb]));Ya(P);var O=q.e_preventDefault=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1},qg=q.e_stopPropagation=function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0},jd=q.e_stop=function(a){O(a);qg(a)},v=q.on=function(a,b,c){a.addEventListener? +a.addEventListener(b,c,!1):a.attachEvent?a.attachEvent("on"+b,c):(a=a._handlers||(a._handlers={}),(a[b]||(a[b]=[])).push(c))},ka=q.off=function(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else if(a=a._handlers&&a._handlers[b])for(b=0;bf||f>=b)return e+(b-d);e+=f-d;e+=c-e%c;d=f+1}},vc=[""],Za=function(a){a.select()};Qa?Za=function(a){a.selectionStart=0;a.selectionEnd=a.value.length}:B&& +(Za=function(a){try{a.select()}catch(b){}});var rg=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,gf=q.isWordChar=function(a){return/\w/.test(a)||"€"C&&(fa=function(){try{return document.activeElement}catch(a){return document.body}}); +var kb=q.rmClass=function(a,b){var c=a.className,d=Fb(b).exec(c);if(d){var e=c.slice(d.index+d[0].length);a.className=c.slice(0,d.index)+(e?d[1]+e:"")}},mb=q.addClass=function(a,b){var c=a.className;Fb(b).test(c)||(a.className+=(c?" ":"")+b)},Dd=!1,Lf=function(){if(B&&9>C)return!1;var a=t("div");return"draggable"in a||"dragDrop"in a}(),yd,vd,sa=q.splitLines=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;b<=d;){var e=a.indexOf("\n",b);-1==e&&(e=a.length);var f=a.slice(b,"\r"== +a.charAt(e-1)?e-1:e),g=f.indexOf("\r");-1!=g?(c.push(f.slice(0,g)),b+=g+1):(c.push(f),b=e+1)}return c}:function(a){return a.split(/\r\n?|\n/)},ng=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){try{var b=a.ownerDocument.selection.createRange()}catch(c){}return b&&b.parentElement()==a?0!=b.compareEndPoints("StartToEnd",b):!1},Ce=function(){var a=t("div");if("oncopy"in a)return!0;a.setAttribute("oncopy","return;");return"function"==typeof a.oncopy}(), +bd=null,va={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"\x3d",91:"Mod",92:"Mod",93:"Mod",107:"\x3d",109:"-",127:"Delete",173:"-",186:";",187:"\x3d",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home", +63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};q.keyNames=va;(function(){for(var a=0;10>a;a++)va[a+48]=va[a+96]=String(a);for(a=65;90>=a;a++)va[a]=String.fromCharCode(a);for(a=1;12>=a;a++)va[a+111]=va[a+63235]="F"+a})();var vb,gg=function(){function a(a){return 247>=a?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(a): +1424<=a&&1524>=a?"R":1536<=a&&1773>=a?"rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm".charAt(a-1536):1774<=a&&2220>=a?"r":8192<=a&&8203>=a?"w":8204==a?"b":"L"}function b(a,b,c){this.level=a;this.from=b;this.to=c}var c=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,d=/[stwN]/,e=/[LRr]/,f=/[Lb1n]/,g=/[1n]/;return function(h){if(!c.test(h))return!1; +for(var k=h.length,l=[],m=0,p;me)){for(var d=0,b=!1,e=e-1;0<=e;--e){var f=a.string.charAt(e),g="([{}])".indexOf(f);if(0<=g&&3>g){if(!d){++e;break}if(0==--d)break}else if(3<=g&&6>g)++d;else if(R.test(f))b=!0;else{if(/["'\/]/.test(f))return;if(b&&!d){++e;break}}}b&&!d&&(c.fatArrowAt=e)}}function ca(a,c,b,d,f,h){this.indented=a;this.column=c;this.type=b;this.prev=f;this.info=h;null!=d&&(this.align=d)}function g(){for(var a=arguments.length-1;0<=a;a--)f.cc.push(arguments[a])} +function b(){g.apply(null,arguments);return!0}function x(a){function c(c){for(;c;c=c.next)if(c.name==a)return!0;return!1}var b=f.state;b.context?(f.marked="def",c(b.localVars)||(b.localVars={name:a,next:b.localVars})):!c(b.globalVars)&&t.globalVars&&(b.globalVars={name:a,next:b.globalVars})}function y(){f.state.context={prev:f.state.context,vars:f.state.localVars};f.state.localVars=ra}function z(){f.state.localVars=f.state.context.vars;f.state.context=f.state.context.prev}function l(a,c){var b=function(){var b= +f.state,e=b.indented;if("stat"==b.lexical.type)e=b.lexical.indented;else for(var h=b.lexical;h&&")"==h.type&&h.align;h=h.prev)e=h.indented;b.lexical=new ca(e,f.stream.column(),a,null,b.lexical,c)};b.lex=!0;return b}function k(){var a=f.state;a.lexical.prev&&(")"==a.lexical.type&&(a.indented=a.lexical.indented),a.lexical=a.lexical.prev)}function m(a){function c(e){return e==a?b():";"==a?g():b(c)}return c}function r(a,c){return"var"==a?b(l("vardef",c.length),T,m(";"),k):"keyword a"==a?b(l("form"),n, +r,k):"keyword b"==a?b(l("form"),r,k):"{"==a?b(l("}"),U,k):";"==a?b():"if"==a?("else"==f.state.lexical.info&&f.state.cc[f.state.cc.length-1]==k&&f.state.cc.pop()(),b(l("form"),n,r,k,da)):"function"==a?b(v):"for"==a?b(l("form"),ea,r,k):"variable"==a?b(l("stat"),sa):"switch"==a?b(l("form"),n,l("}","switch"),m("{"),U,k,k):"case"==a?b(n,m(":")):"default"==a?b(m(":")):"catch"==a?b(l("form"),y,m("("),V,m(")"),r,k,z):"module"==a?b(l("form"),y,ta,z,k):"class"==a?b(l("form"),ua,k):"export"==a?b(l("form"),va, +k):"import"==a?b(l("form"),wa,k):g(l("stat"),n,m(";"),k)}function n(a){return fa(a,!1)}function u(a){return fa(a,!0)}function fa(a,c){if(f.state.fatArrowAt==f.stream.start){var e=c?ga:ha;if("("==a)return b(y,l(")"),F(A,")"),k,m("\x3d\x3e"),e,z);if("variable"==a)return g(y,A,m("\x3d\x3e"),e,z)}e=c?W:M;return xa.hasOwnProperty(a)?b(e):"function"==a?b(v,e):"keyword c"==a?b(c?ia:X):"("==a?b(l(")"),X,N,m(")"),k,e):"operator"==a||"spread"==a?b(c?u:n):"["==a?b(l("]"),ya,k,e):"{"==a?G(za,"}",null,e):"quasi"== +a?g(O,e):b()}function X(a){return a.match(/[;\}\)\],]/)?g():g(n)}function ia(a){return a.match(/[;\}\)\],]/)?g():g(u)}function M(a,c){return","==a?b(n):W(a,c,!1)}function W(a,c,e){var d=0==e?M:W,f=0==e?n:u;if("\x3d\x3e"==a)return b(y,e?ga:ha,z);if("operator"==a)return/\+\+|--/.test(c)?b(d):"?"==c?b(n,m(":"),f):b(f);if("quasi"==a)return g(O,d);if(";"!=a){if("("==a)return G(u,")","call",d);if("."==a)return b(Aa,d);if("["==a)return b(l("]"),X,m("]"),k,d)}}function O(a,c){return"quasi"!=a?g():"${"!=c.slice(c.length- +2)?b(O):b(n,Ba)}function Ba(a){if("}"==a)return f.marked="string-2",f.state.tokenize=Q,b(O)}function ha(a){S(f.stream,f.state);return g("{"==a?r:n)}function ga(a){S(f.stream,f.state);return g("{"==a?r:u)}function sa(a){return":"==a?b(k,r):g(M,m(";"),k)}function Aa(a){if("variable"==a)return f.marked="property",b()}function za(a,c){if("variable"==a||"keyword"==f.style)return f.marked="property","get"==c||"set"==c?b(Ca):b(H);if("number"==a||"string"==a)return f.marked=L?"property":f.style+" property", +b(H);if("jsonld-keyword"==a)return b(H);if("["==a)return b(n,m("]"),H)}function Ca(a){if("variable"!=a)return g(H);f.marked="property";return b(v)}function H(a){if(":"==a)return b(u);if("("==a)return g(v)}function F(a,c){function e(d){return","==d?(d=f.state.lexical,"call"==d.info&&(d.pos=(d.pos||0)+1),b(a,e)):d==c?b():b(m(c))}return function(d){return d==c?b():g(a,e)}}function G(a,c,e){for(var d=3;d!?|~^]/,qa=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,E,I,xa={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},f={state:null,column:null,marked:null,cc:null},ra={name:"this", +next:{name:"arguments"}};k.lex=!0;return{startState:function(a){a={tokenize:w,lastType:"sof",cc:[],lexical:new ca((a||0)-C,0,"block",!1),localVars:t.localVars,context:t.localVars&&{vars:t.localVars},indented:0};t.globalVars&&"object"==typeof t.globalVars&&(a.globalVars=t.globalVars);return a},token:function(a,b){a.sol()&&(b.lexical.hasOwnProperty("align")||(b.lexical.align=!1),b.indented=a.indentation(),S(a,b));if(b.tokenize!=J&&a.eatSpace())return null;var e=b.tokenize(a,b);if("comment"==E)return e; +b.lastType="operator"!=E||"++"!=I&&"--"!=I?E:"incdec";a:{var d=E,g=I,h=b.cc;f.state=b;f.stream=a;f.marked=null;f.cc=h;f.style=e;b.lexical.hasOwnProperty("align")||(b.lexical.align=!0);for(;;)if((h.length?h.pop():D?n:r)(d,g)){for(;h.length&&h[h.length-1].lex;)h.pop()();if(f.marked){e=f.marked;break a}if(d="variable"==d)b:{for(d=b.localVars;d;d=d.next)if(d.name==g){d=!0;break b}for(h=b.context;h;h=h.prev)for(d=h.vars;d;d=d.next)if(d.name==g){d=!0;break b}d=void 0}if(d){e="variable-2";break a}break a}}return e}, +indent:function(a,b){if(a.tokenize==J)return p.Pass;if(a.tokenize!=w)return 0;var e=b&&b.charAt(0),d=a.lexical;if(!/^\s*else\b/.test(b))for(var f=a.cc.length-1;0<=f;--f){var g=a.cc[f];if(g==k)d=d.prev;else if(g!=da)break}"stat"==d.type&&"}"==e&&(d=d.prev);na&&")"==d.type&&"stat"==d.prev.type&&(d=d.prev);f=d.type;g=e==f;return"vardef"==f?d.indented+("operator"==a.lastType||","==a.lastType?d.info+1:0):"form"==f&&"{"==e?d.indented:"form"==f?d.indented+C:"stat"==f?(e=d.indented,d="operator"==a.lastType|| +","==a.lastType||K.test(b.charAt(0))||/[,.]/.test(b.charAt(0)),e+(d?na||C:0)):"switch"!=d.info||g||0==t.doubleIndentSwitch?d.align?d.column+(g?0:1):d.indented+(g?0:C):d.indented+(/^(?:case|default)\b/.test(b)?C:2*C)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:D?null:"/*",blockCommentEnd:D?null:"*/",lineComment:D?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:D?"json":"javascript",jsonldMode:L,jsonMode:D}});p.registerHelper("wordChars","javascript",/[\w$]/); +p.defineMIME("text/javascript","javascript");p.defineMIME("text/ecmascript","javascript");p.defineMIME("application/javascript","javascript");p.defineMIME("application/x-javascript","javascript");p.defineMIME("application/ecmascript","javascript");p.defineMIME("application/json",{name:"javascript",json:!0});p.defineMIME("application/x-json",{name:"javascript",json:!0});p.defineMIME("application/ld+json",{name:"javascript",jsonld:!0});p.defineMIME("text/typescript",{name:"javascript",typescript:!0}); +p.defineMIME("application/typescript",{name:"javascript",typescript:!0})}); \ No newline at end of file diff --git a/release/samples/toolbarconfigurator/lib/codemirror/neo.css b/release/samples/toolbarconfigurator/lib/codemirror/neo.css new file mode 100644 index 0000000..f932db0 --- /dev/null +++ b/release/samples/toolbarconfigurator/lib/codemirror/neo.css @@ -0,0 +1,36 @@ +/* neo theme for codemirror */ + +/* Color scheme */ + +.cm-s-neo.CodeMirror { + background-color:#ffffff; + color:#2e383c; + line-height:1.4375; +} +.cm-s-neo .cm-comment {color:#75787b} +.cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3} +.cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a} +.cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328} +.cm-s-neo .cm-string {color:#b35e14} +.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65} + + +/* Editor styling */ + +.cm-s-neo pre { + padding:0; +} + +.cm-s-neo .CodeMirror-gutters { + border:none; + border-right:10px solid transparent; + background-color:transparent; +} + +.cm-s-neo .CodeMirror-linenumber { + padding:0; + color:#e0e2e5; +} + +.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } +.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } diff --git a/release/samples/toolbarconfigurator/lib/codemirror/show-hint.css b/release/samples/toolbarconfigurator/lib/codemirror/show-hint.css new file mode 100644 index 0000000..e38bfb6 --- /dev/null +++ b/release/samples/toolbarconfigurator/lib/codemirror/show-hint.css @@ -0,0 +1,38 @@ +.CodeMirror-hints { + position: absolute; + z-index: 10; + overflow: hidden; + list-style: none; + + margin: 0; + padding: 2px; + + -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); + -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); + box-shadow: 2px 3px 5px rgba(0,0,0,.2); + border-radius: 3px; + border: 1px solid silver; + + background: white; + font-size: 90%; + font-family: monospace; + + max-height: 20em; + overflow-y: auto; +} + +.CodeMirror-hint { + margin: 0; + padding: 0 4px; + border-radius: 2px; + max-width: 19em; + overflow: hidden; + white-space: pre; + color: black; + cursor: pointer; +} + +li.CodeMirror-hint-active { + background: #08f; + color: white; +} diff --git a/release/samples/toolbarconfigurator/lib/codemirror/show-hint.js b/release/samples/toolbarconfigurator/lib/codemirror/show-hint.js new file mode 100644 index 0000000..072359c --- /dev/null +++ b/release/samples/toolbarconfigurator/lib/codemirror/show-hint.js @@ -0,0 +1,16 @@ +(function(f){"object"==typeof exports&&"object"==typeof module?f(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],f):f(CodeMirror)})(function(f){function p(a,b){this.cm=a;this.options=this.buildOptions(b);this.widget=null;this.tick=this.debounce=0;this.startPos=this.cm.getCursor();this.startLen=this.cm.getLine(this.startPos.line).length;var c=this;a.on("cursorActivity",this.activityFunc=function(){c.cursorActivity()})}function w(a,b){function c(a, +c){var d;d="string"!=typeof c?function(a){return c(a,b)}:e.hasOwnProperty(c)?e[c]:c;f[a]=d}var e={Up:function(){b.moveFocus(-1)},Down:function(){b.moveFocus(1)},PageUp:function(){b.moveFocus(-b.menuSize()+1,!0)},PageDown:function(){b.moveFocus(b.menuSize()-1,!0)},Home:function(){b.setFocus(0)},End:function(){b.setFocus(b.length-1)},Enter:b.pick,Tab:b.pick,Esc:b.close},d=a.options.customKeys,f=d?{}:e;if(d)for(var g in d)d.hasOwnProperty(g)&&c(g,d[g]);if(d=a.options.extraKeys)for(g in d)d.hasOwnProperty(g)&& +c(g,d[g]);return f}function v(a,b){for(;b&&b!=a;){if("LI"===b.nodeName.toUpperCase()&&b.parentNode==a)return b;b=b.parentNode}}function n(a,b){this.completion=a;this.data=b;this.picked=!1;var c=this,e=a.cm,d=this.hints=document.createElement("ul");d.className="CodeMirror-hints";this.selectedHint=b.selectedHint||0;for(var m=b.list,g=0;gk&&(d.style.height=k-5+"px",d.style.top=(t=g.bottom-h.top)+"px",k=e.getCursor(),b.from.ch!=k.ch&&(g=e.cursorCoords(k),d.style.left=(r=g.left)+"px",h=d.getBoundingClientRect()))}k=h.right-l;0l&&(d.style.width=l-5+"px",k-=h.right-h.left-l),d.style.left=(r=g.left-k)+"px");e.addKeyMap(this.keyMap=w(a,{moveFocus:function(a,b){c.changeActive(c.selectedHint+ +a,b)},setFocus:function(a){c.changeActive(a)},menuSize:function(){return c.screenAmount()},length:m.length,close:function(){a.close()},pick:function(){c.pick()},data:b}));if(a.options.closeOnUnfocus){var p;e.on("blur",this.onBlur=function(){p=setTimeout(function(){a.close()},100)});e.on("focus",this.onFocus=function(){clearTimeout(p)})}var q=e.getScrollInfo();e.on("scroll",this.onScroll=function(){var c=e.getScrollInfo(),b=e.getWrapperElement().getBoundingClientRect(),f=t+q.top-c.top,g=f-(window.pageYOffset|| +(document.documentElement||document.body).scrollTop);n||(g+=d.offsetHeight);if(g<=b.top||g>=b.bottom)return a.close();d.style.top=f+"px";d.style.left=r+q.left-c.left+"px"});f.on(d,"dblclick",function(a){(a=v(d,a.target||a.srcElement))&&null!=a.hintId&&(c.changeActive(a.hintId),c.pick())});f.on(d,"click",function(b){(b=v(d,b.target||b.srcElement))&&null!=b.hintId&&(c.changeActive(b.hintId),a.options.completeOnSingleClick&&c.pick())});f.on(d,"mousedown",function(){setTimeout(function(){e.focus()},20)}); +f.signal(b,"select",m[0],d.firstChild);return!0}f.showHint=function(a,b,c){if(!b)return a.showHint(c);c&&c.async&&(b.async=!0);b={hint:b};if(c)for(var e in c)b[e]=c[e];return a.showHint(b)};f.defineExtension("showHint",function(a){1=this.data.list.length?a=b?this.data.list.length-1:0:0>a&&(a=b?0:this.data.list.length-1); +if(this.selectedHint!=a){var c=this.hints.childNodes[this.selectedHint];c.className=c.className.replace(" CodeMirror-hint-active","");c=this.hints.childNodes[this.selectedHint=a];c.className+=" CodeMirror-hint-active";c.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=c.offsetTop+c.offsetHeight-this.hints.clientHeight+3);f.signal(this.data,"select",this.data.list[this.selectedHint],c)}}, +screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}};f.registerHelper("hint","auto",function(a,b){var c=a.getHelpers(a.getCursor(),"hint");if(c.length)for(var e=0;e,]/,closeOnUnfocus:!0,completeOnSingleClick:!1,container:null,customKeys:null,extraKeys:null};f.defineOption("hintOptions",null)}); \ No newline at end of file diff --git a/release/skins/moono/dialog.css b/release/skins/moono/dialog.css new file mode 100644 index 0000000..e17ab78 --- /dev/null +++ b/release/skins/moono/dialog.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_spinner{border-radius:50%;width:12px;height:12px;overflow:hidden;text-indent:-9999em;border-top:2px solid rgba(102,102,102,0.2);border-right:2px solid rgba(102,102,102,0.2);border-bottom:2px solid rgba(102,102,102,0.2);border-left:2px solid rgba(102,102,102,1);-webkit-animation:dialog_spinner 1s infinite linear;animation:dialog_spinner 1s infinite linear}.cke_browser_ie8 .cke_dialog_spinner,.cke_browser_ie9 .cke_dialog_spinner{background:url(images/spinner.gif) center top no-repeat;width:16px;height:16px;border:0}@-webkit-keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_rtl .cke_dialog_footer{text-align:left}.cke_hc .cke_dialog_footer{outline:0;border-top:1px solid #fff}.cke_dialog .cke_resizer{margin-top:22px}.cke_dialog .cke_resizer_rtl{margin-left:5px}.cke_dialog .cke_resizer_ltr{margin-right:5px}.cke_dialog_tabs{height:24px;display:inline-block;margin:5px 0 0;position:absolute;z-index:2;left:10px}.cke_rtl .cke_dialog_tabs{right:10px}a.cke_dialog_tab{height:16px;padding:4px 8px;margin-right:3px;display:inline-block;cursor:pointer;line-height:16px;outline:0;color:#595959;border:1px solid #bfbfbf;border-radius:3px 3px 0 0;background:#d4d4d4;background-image:linear-gradient(to bottom,#fafafa,#ededed);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed')}.cke_rtl a.cke_dialog_tab{margin-right:0;margin-left:3px}a.cke_dialog_tab:hover,a.cke_dialog_tab:focus{background:#ebebeb;background:linear-gradient(to bottom,#ebebeb 0,#dfdfdf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0)}a.cke_dialog_tab_selected{background:#fff;color:#383838;border-bottom-color:#fff;cursor:default;filter:none}a.cke_dialog_tab_selected:hover,a.cke_dialog_tab_selected:focus{background:#ededed;background:linear-gradient(to bottom,#ededed 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0)}.cke_hc a.cke_dialog_tab:hover,.cke_hc a.cke_dialog_tab:focus,.cke_hc a.cke_dialog_tab_selected{border:3px solid;padding:2px 6px}a.cke_dialog_tab_disabled{color:#bababa;cursor:default}.cke_single_page .cke_dialog_tabs{display:none}.cke_single_page .cke_dialog_contents{padding-top:5px;margin-top:0;border-top:0}a.cke_dialog_close_button{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:4px;z-index:5;opacity:.8;filter:alpha(opacity = 80)}.cke_dialog_close_button:hover{opacity:1;filter:alpha(opacity = 100)}.cke_hidpi .cke_dialog_close_button{background-image:url(images/hidpi/close.png);background-size:16px}.cke_dialog_close_button span{display:none}.cke_hc .cke_dialog_close_button span{display:inline;cursor:pointer;font-weight:bold;position:relative;top:3px}.cke_ltr .cke_dialog_close_button{right:5px}.cke_rtl .cke_dialog_close_button{left:6px}.cke_dialog_close_button{top:4px}div.cke_disabled .cke_dialog_ui_labeled_content div *{background-color:#ddd;cursor:default}.cke_dialog_ui_vbox table,.cke_dialog_ui_hbox table{margin:auto}.cke_dialog_ui_vbox_child{padding:5px 0}.cke_dialog_ui_hbox{width:100%}.cke_dialog_ui_hbox_first,.cke_dialog_ui_hbox_child,.cke_dialog_ui_hbox_last{vertical-align:top}.cke_ltr .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_ui_hbox_child{padding-right:10px}.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_child{padding-left:10px}.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-right:5px}.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-left:5px;padding-right:0}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:1px solid}textarea.cke_dialog_ui_input_textarea{overflow:auto;resize:none}input.cke_dialog_ui_input_text,input.cke_dialog_ui_input_password,textarea.cke_dialog_ui_input_textarea{background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:4px 6px;outline:0;width:100%;*width:95%;box-sizing:border-box;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}input.cke_dialog_ui_input_text:hover,input.cke_dialog_ui_input_password:hover,textarea.cke_dialog_ui_input_textarea:hover{border:1px solid #aeb3b9;border-top-color:#a0a6ad}input.cke_dialog_ui_input_text:focus,input.cke_dialog_ui_input_password:focus,textarea.cke_dialog_ui_input_textarea:focus,select.cke_dialog_ui_input_select:focus{outline:0;border:1px solid #139ff7;border-top-color:#1392e9}a.cke_dialog_ui_button{display:inline-block;*display:inline;*zoom:1;padding:4px 0;margin:0;text-align:center;color:#333;vertical-align:middle;cursor:pointer;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}span.cke_dialog_ui_button{padding:0 10px}a.cke_dialog_ui_button:hover{border-color:#9e9e9e;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}a.cke_dialog_ui_button:focus,a.cke_dialog_ui_button:active{border-color:#969696;outline:0;box-shadow:0 0 6px rgba(0,0,0,.4) inset}.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button:focus,.cke_hc a.cke_dialog_ui_button:active{border:3px solid;padding-top:1px;padding-bottom:1px}.cke_hc a.cke_dialog_ui_button:hover span,.cke_hc a.cke_dialog_ui_button:focus span,.cke_hc a.cke_dialog_ui_button:active span{padding-left:10px;padding-right:10px}.cke_dialog_footer_buttons a.cke_dialog_ui_button span{color:inherit;font-size:12px;font-weight:bold;line-height:18px;padding:0 12px}a.cke_dialog_ui_button_ok{color:#fff;text-shadow:0 -1px 0 #55830c;border-color:#62a60a #62a60a #4d9200;background:#69b10b;background-image:linear-gradient(to bottom,#9ad717,#69b10b);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b')}a.cke_dialog_ui_button_ok:hover{border-color:#5b9909 #5b9909 #478500;background:#88be14;background:linear-gradient(to bottom,#88be14 0,#5d9c0a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0)}a.cke_dialog_ui_button_ok.cke_disabled{border-color:#7d9f51;background:#8dad62;background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3d271),to(#8dad62));background-image:-webkit-linear-gradient(top,#b3d271,#8dad62);background-image:-o-linear-gradient(top,#b3d271,#8dad62);background-image:linear-gradient(to bottom,#b3d271,#8dad62);background-image:-moz-linear-gradient(top,#b3d271,#8dad62);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#B3D271',endColorstr='#8DAD62')}a.cke_dialog_ui_button_ok.cke_disabled span{color:#e0e8d1}a.cke_dialog_ui_button span{text-shadow:0 1px 0 #fff}a.cke_dialog_ui_button_ok span{text-shadow:0 -1px 0 #55830c}span.cke_dialog_ui_button{cursor:pointer}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active,a.cke_dialog_ui_button_cancel:focus,a.cke_dialog_ui_button_cancel:active{border-width:2px;padding:3px 0}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active{border-color:#568c0a}a.cke_dialog_ui_button_ok.cke_disabled:focus,a.cke_dialog_ui_button_ok.cke_disabled:active{border-color:#6f8c49}a.cke_dialog_ui_button_ok:focus span,a.cke_dialog_ui_button_ok:active span,a.cke_dialog_ui_button_cancel:focus span,a.cke_dialog_ui_button_cancel:active span{padding:0 11px}.cke_dialog_footer_buttons{display:inline-table;margin:5px;width:auto;position:relative;vertical-align:middle}div.cke_dialog_ui_input_select{display:table}select.cke_dialog_ui_input_select{height:25px;line-height:25px;background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:3px 3px 3px 6px;outline:0;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}.cke_dialog_ui_input_file{width:100%;height:25px}.cke_hc .cke_dialog_ui_labeled_content input:focus,.cke_hc .cke_dialog_ui_labeled_content select:focus,.cke_hc .cke_dialog_ui_labeled_content textarea:focus{outline:1px dotted}.cke_dialog .cke_dark_background{background-color:#dedede}.cke_dialog .cke_light_background{background-color:#ebebeb}.cke_dialog .cke_centered{text-align:center}.cke_dialog a.cke_btn_reset{float:right;background:url(images/refresh.png) top left no-repeat;width:16px;height:16px;border:1px none;font-size:1px}.cke_hidpi .cke_dialog a.cke_btn_reset{background-size:16px;background-image:url(images/hidpi/refresh.png)}.cke_rtl .cke_dialog a.cke_btn_reset{float:left}.cke_dialog a.cke_btn_locked,.cke_dialog a.cke_btn_unlocked{float:left;width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.cke_dialog a.cke_btn_locked .cke_icon{display:none}.cke_rtl .cke_dialog a.cke_btn_locked,.cke_rtl .cke_dialog a.cke_btn_unlocked{float:right}.cke_dialog a.cke_btn_locked{background-image:url(images/lock.png)}.cke_dialog a.cke_btn_unlocked{background-image:url(images/lock-open.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked,.cke_hidpi .cke_dialog a.cke_btn_locked{background-size:16px}.cke_hidpi .cke_dialog a.cke_btn_locked{background-image:url(images/hidpi/lock.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked{background-image:url(images/hidpi/lock-open.png)}.cke_dialog .cke_btn_over{border:outset 1px;cursor:pointer}.cke_dialog .ImagePreviewBox{border:2px ridge black;overflow:scroll;height:200px;width:300px;padding:2px;background-color:white}.cke_dialog .ImagePreviewBox table td{white-space:normal}.cke_dialog .ImagePreviewLoader{position:absolute;white-space:normal;overflow:hidden;height:160px;width:230px;margin:2px;padding:2px;opacity:.9;filter:alpha(opacity = 90);background-color:#e4e4e4}.cke_dialog .FlashPreviewBox{white-space:normal;border:2px ridge black;overflow:auto;height:160px;width:390px;padding:2px;background-color:white}.cke_dialog .cke_pastetext{width:346px;height:170px}.cke_dialog .cke_pastetext textarea{width:340px;height:170px;resize:none}.cke_dialog iframe.cke_pasteframe{width:346px;height:130px;background-color:white;border:1px solid #aeb3b9;border-radius:3px}.cke_dialog .cke_hand{cursor:pointer}.cke_disabled{color:#a0a0a0}.cke_dialog_body .cke_label{display:none}.cke_dialog_body label{display:inline;margin-bottom:auto;cursor:default}.cke_dialog_body label.cke_required{font-weight:bold}a.cke_smile{overflow:hidden;display:block;text-align:center;padding:.3em 0}a.cke_smile img{vertical-align:middle}a.cke_specialchar{cursor:inherit;display:block;height:1.25em;padding:.2em .3em;text-align:center}a.cke_smile,a.cke_specialchar{border:1px solid transparent}a.cke_smile:hover,a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:hover,a.cke_specialchar:focus,a.cke_specialchar:active{background:#fff;outline:0}a.cke_smile:hover,a.cke_specialchar:hover{border-color:#888}a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:focus,a.cke_specialchar:active{border-color:#139ff7}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox_input:focus,.cke_dialog_ui_radio_input:focus,.cke_btn_over{outline:1px dotted #696969}.cke_iframe_shim{display:block;position:absolute;top:0;left:0;z-index:-1;filter:alpha(opacity = 0);width:100%;height:100%} \ No newline at end of file diff --git a/release/skins/moono/dialog_ie.css b/release/skins/moono/dialog_ie.css new file mode 100644 index 0000000..41a8200 --- /dev/null +++ b/release/skins/moono/dialog_ie.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_spinner{border-radius:50%;width:12px;height:12px;overflow:hidden;text-indent:-9999em;border-top:2px solid rgba(102,102,102,0.2);border-right:2px solid rgba(102,102,102,0.2);border-bottom:2px solid rgba(102,102,102,0.2);border-left:2px solid rgba(102,102,102,1);-webkit-animation:dialog_spinner 1s infinite linear;animation:dialog_spinner 1s infinite linear}.cke_browser_ie8 .cke_dialog_spinner,.cke_browser_ie9 .cke_dialog_spinner{background:url(images/spinner.gif) center top no-repeat;width:16px;height:16px;border:0}@-webkit-keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_rtl .cke_dialog_footer{text-align:left}.cke_hc .cke_dialog_footer{outline:0;border-top:1px solid #fff}.cke_dialog .cke_resizer{margin-top:22px}.cke_dialog .cke_resizer_rtl{margin-left:5px}.cke_dialog .cke_resizer_ltr{margin-right:5px}.cke_dialog_tabs{height:24px;display:inline-block;margin:5px 0 0;position:absolute;z-index:2;left:10px}.cke_rtl .cke_dialog_tabs{right:10px}a.cke_dialog_tab{height:16px;padding:4px 8px;margin-right:3px;display:inline-block;cursor:pointer;line-height:16px;outline:0;color:#595959;border:1px solid #bfbfbf;border-radius:3px 3px 0 0;background:#d4d4d4;background-image:linear-gradient(to bottom,#fafafa,#ededed);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed')}.cke_rtl a.cke_dialog_tab{margin-right:0;margin-left:3px}a.cke_dialog_tab:hover,a.cke_dialog_tab:focus{background:#ebebeb;background:linear-gradient(to bottom,#ebebeb 0,#dfdfdf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0)}a.cke_dialog_tab_selected{background:#fff;color:#383838;border-bottom-color:#fff;cursor:default;filter:none}a.cke_dialog_tab_selected:hover,a.cke_dialog_tab_selected:focus{background:#ededed;background:linear-gradient(to bottom,#ededed 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0)}.cke_hc a.cke_dialog_tab:hover,.cke_hc a.cke_dialog_tab:focus,.cke_hc a.cke_dialog_tab_selected{border:3px solid;padding:2px 6px}a.cke_dialog_tab_disabled{color:#bababa;cursor:default}.cke_single_page .cke_dialog_tabs{display:none}.cke_single_page .cke_dialog_contents{padding-top:5px;margin-top:0;border-top:0}a.cke_dialog_close_button{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:4px;z-index:5;opacity:.8;filter:alpha(opacity = 80)}.cke_dialog_close_button:hover{opacity:1;filter:alpha(opacity = 100)}.cke_hidpi .cke_dialog_close_button{background-image:url(images/hidpi/close.png);background-size:16px}.cke_dialog_close_button span{display:none}.cke_hc .cke_dialog_close_button span{display:inline;cursor:pointer;font-weight:bold;position:relative;top:3px}.cke_ltr .cke_dialog_close_button{right:5px}.cke_rtl .cke_dialog_close_button{left:6px}.cke_dialog_close_button{top:4px}div.cke_disabled .cke_dialog_ui_labeled_content div *{background-color:#ddd;cursor:default}.cke_dialog_ui_vbox table,.cke_dialog_ui_hbox table{margin:auto}.cke_dialog_ui_vbox_child{padding:5px 0}.cke_dialog_ui_hbox{width:100%}.cke_dialog_ui_hbox_first,.cke_dialog_ui_hbox_child,.cke_dialog_ui_hbox_last{vertical-align:top}.cke_ltr .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_ui_hbox_child{padding-right:10px}.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_child{padding-left:10px}.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-right:5px}.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-left:5px;padding-right:0}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:1px solid}textarea.cke_dialog_ui_input_textarea{overflow:auto;resize:none}input.cke_dialog_ui_input_text,input.cke_dialog_ui_input_password,textarea.cke_dialog_ui_input_textarea{background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:4px 6px;outline:0;width:100%;*width:95%;box-sizing:border-box;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}input.cke_dialog_ui_input_text:hover,input.cke_dialog_ui_input_password:hover,textarea.cke_dialog_ui_input_textarea:hover{border:1px solid #aeb3b9;border-top-color:#a0a6ad}input.cke_dialog_ui_input_text:focus,input.cke_dialog_ui_input_password:focus,textarea.cke_dialog_ui_input_textarea:focus,select.cke_dialog_ui_input_select:focus{outline:0;border:1px solid #139ff7;border-top-color:#1392e9}a.cke_dialog_ui_button{display:inline-block;*display:inline;*zoom:1;padding:4px 0;margin:0;text-align:center;color:#333;vertical-align:middle;cursor:pointer;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}span.cke_dialog_ui_button{padding:0 10px}a.cke_dialog_ui_button:hover{border-color:#9e9e9e;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}a.cke_dialog_ui_button:focus,a.cke_dialog_ui_button:active{border-color:#969696;outline:0;box-shadow:0 0 6px rgba(0,0,0,.4) inset}.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button:focus,.cke_hc a.cke_dialog_ui_button:active{border:3px solid;padding-top:1px;padding-bottom:1px}.cke_hc a.cke_dialog_ui_button:hover span,.cke_hc a.cke_dialog_ui_button:focus span,.cke_hc a.cke_dialog_ui_button:active span{padding-left:10px;padding-right:10px}.cke_dialog_footer_buttons a.cke_dialog_ui_button span{color:inherit;font-size:12px;font-weight:bold;line-height:18px;padding:0 12px}a.cke_dialog_ui_button_ok{color:#fff;text-shadow:0 -1px 0 #55830c;border-color:#62a60a #62a60a #4d9200;background:#69b10b;background-image:linear-gradient(to bottom,#9ad717,#69b10b);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b')}a.cke_dialog_ui_button_ok:hover{border-color:#5b9909 #5b9909 #478500;background:#88be14;background:linear-gradient(to bottom,#88be14 0,#5d9c0a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0)}a.cke_dialog_ui_button_ok.cke_disabled{border-color:#7d9f51;background:#8dad62;background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3d271),to(#8dad62));background-image:-webkit-linear-gradient(top,#b3d271,#8dad62);background-image:-o-linear-gradient(top,#b3d271,#8dad62);background-image:linear-gradient(to bottom,#b3d271,#8dad62);background-image:-moz-linear-gradient(top,#b3d271,#8dad62);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#B3D271',endColorstr='#8DAD62')}a.cke_dialog_ui_button_ok.cke_disabled span{color:#e0e8d1}a.cke_dialog_ui_button span{text-shadow:0 1px 0 #fff}a.cke_dialog_ui_button_ok span{text-shadow:0 -1px 0 #55830c}span.cke_dialog_ui_button{cursor:pointer}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active,a.cke_dialog_ui_button_cancel:focus,a.cke_dialog_ui_button_cancel:active{border-width:2px;padding:3px 0}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active{border-color:#568c0a}a.cke_dialog_ui_button_ok.cke_disabled:focus,a.cke_dialog_ui_button_ok.cke_disabled:active{border-color:#6f8c49}a.cke_dialog_ui_button_ok:focus span,a.cke_dialog_ui_button_ok:active span,a.cke_dialog_ui_button_cancel:focus span,a.cke_dialog_ui_button_cancel:active span{padding:0 11px}.cke_dialog_footer_buttons{display:inline-table;margin:5px;width:auto;position:relative;vertical-align:middle}div.cke_dialog_ui_input_select{display:table}select.cke_dialog_ui_input_select{height:25px;line-height:25px;background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:3px 3px 3px 6px;outline:0;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}.cke_dialog_ui_input_file{width:100%;height:25px}.cke_hc .cke_dialog_ui_labeled_content input:focus,.cke_hc .cke_dialog_ui_labeled_content select:focus,.cke_hc .cke_dialog_ui_labeled_content textarea:focus{outline:1px dotted}.cke_dialog .cke_dark_background{background-color:#dedede}.cke_dialog .cke_light_background{background-color:#ebebeb}.cke_dialog .cke_centered{text-align:center}.cke_dialog a.cke_btn_reset{float:right;background:url(images/refresh.png) top left no-repeat;width:16px;height:16px;border:1px none;font-size:1px}.cke_hidpi .cke_dialog a.cke_btn_reset{background-size:16px;background-image:url(images/hidpi/refresh.png)}.cke_rtl .cke_dialog a.cke_btn_reset{float:left}.cke_dialog a.cke_btn_locked,.cke_dialog a.cke_btn_unlocked{float:left;width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.cke_dialog a.cke_btn_locked .cke_icon{display:none}.cke_rtl .cke_dialog a.cke_btn_locked,.cke_rtl .cke_dialog a.cke_btn_unlocked{float:right}.cke_dialog a.cke_btn_locked{background-image:url(images/lock.png)}.cke_dialog a.cke_btn_unlocked{background-image:url(images/lock-open.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked,.cke_hidpi .cke_dialog a.cke_btn_locked{background-size:16px}.cke_hidpi .cke_dialog a.cke_btn_locked{background-image:url(images/hidpi/lock.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked{background-image:url(images/hidpi/lock-open.png)}.cke_dialog .cke_btn_over{border:outset 1px;cursor:pointer}.cke_dialog .ImagePreviewBox{border:2px ridge black;overflow:scroll;height:200px;width:300px;padding:2px;background-color:white}.cke_dialog .ImagePreviewBox table td{white-space:normal}.cke_dialog .ImagePreviewLoader{position:absolute;white-space:normal;overflow:hidden;height:160px;width:230px;margin:2px;padding:2px;opacity:.9;filter:alpha(opacity = 90);background-color:#e4e4e4}.cke_dialog .FlashPreviewBox{white-space:normal;border:2px ridge black;overflow:auto;height:160px;width:390px;padding:2px;background-color:white}.cke_dialog .cke_pastetext{width:346px;height:170px}.cke_dialog .cke_pastetext textarea{width:340px;height:170px;resize:none}.cke_dialog iframe.cke_pasteframe{width:346px;height:130px;background-color:white;border:1px solid #aeb3b9;border-radius:3px}.cke_dialog .cke_hand{cursor:pointer}.cke_disabled{color:#a0a0a0}.cke_dialog_body .cke_label{display:none}.cke_dialog_body label{display:inline;margin-bottom:auto;cursor:default}.cke_dialog_body label.cke_required{font-weight:bold}a.cke_smile{overflow:hidden;display:block;text-align:center;padding:.3em 0}a.cke_smile img{vertical-align:middle}a.cke_specialchar{cursor:inherit;display:block;height:1.25em;padding:.2em .3em;text-align:center}a.cke_smile,a.cke_specialchar{border:1px solid transparent}a.cke_smile:hover,a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:hover,a.cke_specialchar:focus,a.cke_specialchar:active{background:#fff;outline:0}a.cke_smile:hover,a.cke_specialchar:hover{border-color:#888}a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:focus,a.cke_specialchar:active{border-color:#139ff7}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox_input:focus,.cke_dialog_ui_radio_input:focus,.cke_btn_over{outline:1px dotted #696969}.cke_iframe_shim{display:block;position:absolute;top:0;left:0;z-index:-1;filter:alpha(opacity = 0);width:100%;height:100%}.cke_rtl input.cke_dialog_ui_input_text,.cke_rtl input.cke_dialog_ui_input_password{padding-right:2px}.cke_rtl div.cke_dialog_ui_input_text,.cke_rtl div.cke_dialog_ui_input_password{padding-left:2px}.cke_rtl div.cke_dialog_ui_input_text{padding-right:1px}.cke_rtl .cke_dialog_ui_vbox_child,.cke_rtl .cke_dialog_ui_hbox_child,.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_last{padding-right:2px!important}.cke_hc .cke_dialog_title,.cke_hc .cke_dialog_footer,.cke_hc a.cke_dialog_tab,.cke_hc a.cke_dialog_ui_button,.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button_ok,.cke_hc a.cke_dialog_ui_button_ok:hover{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:0} \ No newline at end of file diff --git a/release/skins/moono/dialog_ie7.css b/release/skins/moono/dialog_ie7.css new file mode 100644 index 0000000..fdfe1d5 --- /dev/null +++ b/release/skins/moono/dialog_ie7.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_spinner{border-radius:50%;width:12px;height:12px;overflow:hidden;text-indent:-9999em;border-top:2px solid rgba(102,102,102,0.2);border-right:2px solid rgba(102,102,102,0.2);border-bottom:2px solid rgba(102,102,102,0.2);border-left:2px solid rgba(102,102,102,1);-webkit-animation:dialog_spinner 1s infinite linear;animation:dialog_spinner 1s infinite linear}.cke_browser_ie8 .cke_dialog_spinner,.cke_browser_ie9 .cke_dialog_spinner{background:url(images/spinner.gif) center top no-repeat;width:16px;height:16px;border:0}@-webkit-keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_rtl .cke_dialog_footer{text-align:left}.cke_hc .cke_dialog_footer{outline:0;border-top:1px solid #fff}.cke_dialog .cke_resizer{margin-top:22px}.cke_dialog .cke_resizer_rtl{margin-left:5px}.cke_dialog .cke_resizer_ltr{margin-right:5px}.cke_dialog_tabs{height:24px;display:inline-block;margin:5px 0 0;position:absolute;z-index:2;left:10px}.cke_rtl .cke_dialog_tabs{right:10px}a.cke_dialog_tab{height:16px;padding:4px 8px;margin-right:3px;display:inline-block;cursor:pointer;line-height:16px;outline:0;color:#595959;border:1px solid #bfbfbf;border-radius:3px 3px 0 0;background:#d4d4d4;background-image:linear-gradient(to bottom,#fafafa,#ededed);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed')}.cke_rtl a.cke_dialog_tab{margin-right:0;margin-left:3px}a.cke_dialog_tab:hover,a.cke_dialog_tab:focus{background:#ebebeb;background:linear-gradient(to bottom,#ebebeb 0,#dfdfdf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0)}a.cke_dialog_tab_selected{background:#fff;color:#383838;border-bottom-color:#fff;cursor:default;filter:none}a.cke_dialog_tab_selected:hover,a.cke_dialog_tab_selected:focus{background:#ededed;background:linear-gradient(to bottom,#ededed 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0)}.cke_hc a.cke_dialog_tab:hover,.cke_hc a.cke_dialog_tab:focus,.cke_hc a.cke_dialog_tab_selected{border:3px solid;padding:2px 6px}a.cke_dialog_tab_disabled{color:#bababa;cursor:default}.cke_single_page .cke_dialog_tabs{display:none}.cke_single_page .cke_dialog_contents{padding-top:5px;margin-top:0;border-top:0}a.cke_dialog_close_button{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:4px;z-index:5;opacity:.8;filter:alpha(opacity = 80)}.cke_dialog_close_button:hover{opacity:1;filter:alpha(opacity = 100)}.cke_hidpi .cke_dialog_close_button{background-image:url(images/hidpi/close.png);background-size:16px}.cke_dialog_close_button span{display:none}.cke_hc .cke_dialog_close_button span{display:inline;cursor:pointer;font-weight:bold;position:relative;top:3px}.cke_ltr .cke_dialog_close_button{right:5px}.cke_rtl .cke_dialog_close_button{left:6px}.cke_dialog_close_button{top:4px}div.cke_disabled .cke_dialog_ui_labeled_content div *{background-color:#ddd;cursor:default}.cke_dialog_ui_vbox table,.cke_dialog_ui_hbox table{margin:auto}.cke_dialog_ui_vbox_child{padding:5px 0}.cke_dialog_ui_hbox{width:100%}.cke_dialog_ui_hbox_first,.cke_dialog_ui_hbox_child,.cke_dialog_ui_hbox_last{vertical-align:top}.cke_ltr .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_ui_hbox_child{padding-right:10px}.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_child{padding-left:10px}.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-right:5px}.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-left:5px;padding-right:0}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:1px solid}textarea.cke_dialog_ui_input_textarea{overflow:auto;resize:none}input.cke_dialog_ui_input_text,input.cke_dialog_ui_input_password,textarea.cke_dialog_ui_input_textarea{background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:4px 6px;outline:0;width:100%;*width:95%;box-sizing:border-box;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}input.cke_dialog_ui_input_text:hover,input.cke_dialog_ui_input_password:hover,textarea.cke_dialog_ui_input_textarea:hover{border:1px solid #aeb3b9;border-top-color:#a0a6ad}input.cke_dialog_ui_input_text:focus,input.cke_dialog_ui_input_password:focus,textarea.cke_dialog_ui_input_textarea:focus,select.cke_dialog_ui_input_select:focus{outline:0;border:1px solid #139ff7;border-top-color:#1392e9}a.cke_dialog_ui_button{display:inline-block;*display:inline;*zoom:1;padding:4px 0;margin:0;text-align:center;color:#333;vertical-align:middle;cursor:pointer;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}span.cke_dialog_ui_button{padding:0 10px}a.cke_dialog_ui_button:hover{border-color:#9e9e9e;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}a.cke_dialog_ui_button:focus,a.cke_dialog_ui_button:active{border-color:#969696;outline:0;box-shadow:0 0 6px rgba(0,0,0,.4) inset}.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button:focus,.cke_hc a.cke_dialog_ui_button:active{border:3px solid;padding-top:1px;padding-bottom:1px}.cke_hc a.cke_dialog_ui_button:hover span,.cke_hc a.cke_dialog_ui_button:focus span,.cke_hc a.cke_dialog_ui_button:active span{padding-left:10px;padding-right:10px}.cke_dialog_footer_buttons a.cke_dialog_ui_button span{color:inherit;font-size:12px;font-weight:bold;line-height:18px;padding:0 12px}a.cke_dialog_ui_button_ok{color:#fff;text-shadow:0 -1px 0 #55830c;border-color:#62a60a #62a60a #4d9200;background:#69b10b;background-image:linear-gradient(to bottom,#9ad717,#69b10b);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b')}a.cke_dialog_ui_button_ok:hover{border-color:#5b9909 #5b9909 #478500;background:#88be14;background:linear-gradient(to bottom,#88be14 0,#5d9c0a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0)}a.cke_dialog_ui_button_ok.cke_disabled{border-color:#7d9f51;background:#8dad62;background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3d271),to(#8dad62));background-image:-webkit-linear-gradient(top,#b3d271,#8dad62);background-image:-o-linear-gradient(top,#b3d271,#8dad62);background-image:linear-gradient(to bottom,#b3d271,#8dad62);background-image:-moz-linear-gradient(top,#b3d271,#8dad62);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#B3D271',endColorstr='#8DAD62')}a.cke_dialog_ui_button_ok.cke_disabled span{color:#e0e8d1}a.cke_dialog_ui_button span{text-shadow:0 1px 0 #fff}a.cke_dialog_ui_button_ok span{text-shadow:0 -1px 0 #55830c}span.cke_dialog_ui_button{cursor:pointer}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active,a.cke_dialog_ui_button_cancel:focus,a.cke_dialog_ui_button_cancel:active{border-width:2px;padding:3px 0}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active{border-color:#568c0a}a.cke_dialog_ui_button_ok.cke_disabled:focus,a.cke_dialog_ui_button_ok.cke_disabled:active{border-color:#6f8c49}a.cke_dialog_ui_button_ok:focus span,a.cke_dialog_ui_button_ok:active span,a.cke_dialog_ui_button_cancel:focus span,a.cke_dialog_ui_button_cancel:active span{padding:0 11px}.cke_dialog_footer_buttons{display:inline-table;margin:5px;width:auto;position:relative;vertical-align:middle}div.cke_dialog_ui_input_select{display:table}select.cke_dialog_ui_input_select{height:25px;line-height:25px;background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:3px 3px 3px 6px;outline:0;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}.cke_dialog_ui_input_file{width:100%;height:25px}.cke_hc .cke_dialog_ui_labeled_content input:focus,.cke_hc .cke_dialog_ui_labeled_content select:focus,.cke_hc .cke_dialog_ui_labeled_content textarea:focus{outline:1px dotted}.cke_dialog .cke_dark_background{background-color:#dedede}.cke_dialog .cke_light_background{background-color:#ebebeb}.cke_dialog .cke_centered{text-align:center}.cke_dialog a.cke_btn_reset{float:right;background:url(images/refresh.png) top left no-repeat;width:16px;height:16px;border:1px none;font-size:1px}.cke_hidpi .cke_dialog a.cke_btn_reset{background-size:16px;background-image:url(images/hidpi/refresh.png)}.cke_rtl .cke_dialog a.cke_btn_reset{float:left}.cke_dialog a.cke_btn_locked,.cke_dialog a.cke_btn_unlocked{float:left;width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.cke_dialog a.cke_btn_locked .cke_icon{display:none}.cke_rtl .cke_dialog a.cke_btn_locked,.cke_rtl .cke_dialog a.cke_btn_unlocked{float:right}.cke_dialog a.cke_btn_locked{background-image:url(images/lock.png)}.cke_dialog a.cke_btn_unlocked{background-image:url(images/lock-open.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked,.cke_hidpi .cke_dialog a.cke_btn_locked{background-size:16px}.cke_hidpi .cke_dialog a.cke_btn_locked{background-image:url(images/hidpi/lock.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked{background-image:url(images/hidpi/lock-open.png)}.cke_dialog .cke_btn_over{border:outset 1px;cursor:pointer}.cke_dialog .ImagePreviewBox{border:2px ridge black;overflow:scroll;height:200px;width:300px;padding:2px;background-color:white}.cke_dialog .ImagePreviewBox table td{white-space:normal}.cke_dialog .ImagePreviewLoader{position:absolute;white-space:normal;overflow:hidden;height:160px;width:230px;margin:2px;padding:2px;opacity:.9;filter:alpha(opacity = 90);background-color:#e4e4e4}.cke_dialog .FlashPreviewBox{white-space:normal;border:2px ridge black;overflow:auto;height:160px;width:390px;padding:2px;background-color:white}.cke_dialog .cke_pastetext{width:346px;height:170px}.cke_dialog .cke_pastetext textarea{width:340px;height:170px;resize:none}.cke_dialog iframe.cke_pasteframe{width:346px;height:130px;background-color:white;border:1px solid #aeb3b9;border-radius:3px}.cke_dialog .cke_hand{cursor:pointer}.cke_disabled{color:#a0a0a0}.cke_dialog_body .cke_label{display:none}.cke_dialog_body label{display:inline;margin-bottom:auto;cursor:default}.cke_dialog_body label.cke_required{font-weight:bold}a.cke_smile{overflow:hidden;display:block;text-align:center;padding:.3em 0}a.cke_smile img{vertical-align:middle}a.cke_specialchar{cursor:inherit;display:block;height:1.25em;padding:.2em .3em;text-align:center}a.cke_smile,a.cke_specialchar{border:1px solid transparent}a.cke_smile:hover,a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:hover,a.cke_specialchar:focus,a.cke_specialchar:active{background:#fff;outline:0}a.cke_smile:hover,a.cke_specialchar:hover{border-color:#888}a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:focus,a.cke_specialchar:active{border-color:#139ff7}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox_input:focus,.cke_dialog_ui_radio_input:focus,.cke_btn_over{outline:1px dotted #696969}.cke_iframe_shim{display:block;position:absolute;top:0;left:0;z-index:-1;filter:alpha(opacity = 0);width:100%;height:100%}.cke_rtl input.cke_dialog_ui_input_text,.cke_rtl input.cke_dialog_ui_input_password{padding-right:2px}.cke_rtl div.cke_dialog_ui_input_text,.cke_rtl div.cke_dialog_ui_input_password{padding-left:2px}.cke_rtl div.cke_dialog_ui_input_text{padding-right:1px}.cke_rtl .cke_dialog_ui_vbox_child,.cke_rtl .cke_dialog_ui_hbox_child,.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_last{padding-right:2px!important}.cke_hc .cke_dialog_title,.cke_hc .cke_dialog_footer,.cke_hc a.cke_dialog_tab,.cke_hc a.cke_dialog_ui_button,.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button_ok,.cke_hc a.cke_dialog_ui_button_ok:hover{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:0}.cke_dialog_title{zoom:1}.cke_dialog_footer{border-top:1px solid #bfbfbf}.cke_dialog_footer_buttons{position:static}.cke_dialog_footer_buttons a.cke_dialog_ui_button{vertical-align:top}.cke_dialog .cke_resizer_ltr{padding-left:4px}.cke_dialog .cke_resizer_rtl{padding-right:4px}.cke_dialog_ui_input_text,.cke_dialog_ui_input_password,.cke_dialog_ui_input_textarea,.cke_dialog_ui_input_select{padding:0!important}.cke_dialog_ui_checkbox_input,.cke_dialog_ui_ratio_input,.cke_btn_reset,.cke_btn_locked,.cke_btn_unlocked{border:1px solid transparent!important} \ No newline at end of file diff --git a/release/skins/moono/dialog_ie8.css b/release/skins/moono/dialog_ie8.css new file mode 100644 index 0000000..9cf4b57 --- /dev/null +++ b/release/skins/moono/dialog_ie8.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_spinner{border-radius:50%;width:12px;height:12px;overflow:hidden;text-indent:-9999em;border-top:2px solid rgba(102,102,102,0.2);border-right:2px solid rgba(102,102,102,0.2);border-bottom:2px solid rgba(102,102,102,0.2);border-left:2px solid rgba(102,102,102,1);-webkit-animation:dialog_spinner 1s infinite linear;animation:dialog_spinner 1s infinite linear}.cke_browser_ie8 .cke_dialog_spinner,.cke_browser_ie9 .cke_dialog_spinner{background:url(images/spinner.gif) center top no-repeat;width:16px;height:16px;border:0}@-webkit-keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_rtl .cke_dialog_footer{text-align:left}.cke_hc .cke_dialog_footer{outline:0;border-top:1px solid #fff}.cke_dialog .cke_resizer{margin-top:22px}.cke_dialog .cke_resizer_rtl{margin-left:5px}.cke_dialog .cke_resizer_ltr{margin-right:5px}.cke_dialog_tabs{height:24px;display:inline-block;margin:5px 0 0;position:absolute;z-index:2;left:10px}.cke_rtl .cke_dialog_tabs{right:10px}a.cke_dialog_tab{height:16px;padding:4px 8px;margin-right:3px;display:inline-block;cursor:pointer;line-height:16px;outline:0;color:#595959;border:1px solid #bfbfbf;border-radius:3px 3px 0 0;background:#d4d4d4;background-image:linear-gradient(to bottom,#fafafa,#ededed);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed')}.cke_rtl a.cke_dialog_tab{margin-right:0;margin-left:3px}a.cke_dialog_tab:hover,a.cke_dialog_tab:focus{background:#ebebeb;background:linear-gradient(to bottom,#ebebeb 0,#dfdfdf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0)}a.cke_dialog_tab_selected{background:#fff;color:#383838;border-bottom-color:#fff;cursor:default;filter:none}a.cke_dialog_tab_selected:hover,a.cke_dialog_tab_selected:focus{background:#ededed;background:linear-gradient(to bottom,#ededed 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0)}.cke_hc a.cke_dialog_tab:hover,.cke_hc a.cke_dialog_tab:focus,.cke_hc a.cke_dialog_tab_selected{border:3px solid;padding:2px 6px}a.cke_dialog_tab_disabled{color:#bababa;cursor:default}.cke_single_page .cke_dialog_tabs{display:none}.cke_single_page .cke_dialog_contents{padding-top:5px;margin-top:0;border-top:0}a.cke_dialog_close_button{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:4px;z-index:5;opacity:.8;filter:alpha(opacity = 80)}.cke_dialog_close_button:hover{opacity:1;filter:alpha(opacity = 100)}.cke_hidpi .cke_dialog_close_button{background-image:url(images/hidpi/close.png);background-size:16px}.cke_dialog_close_button span{display:none}.cke_hc .cke_dialog_close_button span{display:inline;cursor:pointer;font-weight:bold;position:relative;top:3px}.cke_ltr .cke_dialog_close_button{right:5px}.cke_rtl .cke_dialog_close_button{left:6px}.cke_dialog_close_button{top:4px}div.cke_disabled .cke_dialog_ui_labeled_content div *{background-color:#ddd;cursor:default}.cke_dialog_ui_vbox table,.cke_dialog_ui_hbox table{margin:auto}.cke_dialog_ui_vbox_child{padding:5px 0}.cke_dialog_ui_hbox{width:100%}.cke_dialog_ui_hbox_first,.cke_dialog_ui_hbox_child,.cke_dialog_ui_hbox_last{vertical-align:top}.cke_ltr .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_ui_hbox_child{padding-right:10px}.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_child{padding-left:10px}.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-right:5px}.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-left:5px;padding-right:0}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:1px solid}textarea.cke_dialog_ui_input_textarea{overflow:auto;resize:none}input.cke_dialog_ui_input_text,input.cke_dialog_ui_input_password,textarea.cke_dialog_ui_input_textarea{background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:4px 6px;outline:0;width:100%;*width:95%;box-sizing:border-box;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}input.cke_dialog_ui_input_text:hover,input.cke_dialog_ui_input_password:hover,textarea.cke_dialog_ui_input_textarea:hover{border:1px solid #aeb3b9;border-top-color:#a0a6ad}input.cke_dialog_ui_input_text:focus,input.cke_dialog_ui_input_password:focus,textarea.cke_dialog_ui_input_textarea:focus,select.cke_dialog_ui_input_select:focus{outline:0;border:1px solid #139ff7;border-top-color:#1392e9}a.cke_dialog_ui_button{display:inline-block;*display:inline;*zoom:1;padding:4px 0;margin:0;text-align:center;color:#333;vertical-align:middle;cursor:pointer;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}span.cke_dialog_ui_button{padding:0 10px}a.cke_dialog_ui_button:hover{border-color:#9e9e9e;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}a.cke_dialog_ui_button:focus,a.cke_dialog_ui_button:active{border-color:#969696;outline:0;box-shadow:0 0 6px rgba(0,0,0,.4) inset}.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button:focus,.cke_hc a.cke_dialog_ui_button:active{border:3px solid;padding-top:1px;padding-bottom:1px}.cke_hc a.cke_dialog_ui_button:hover span,.cke_hc a.cke_dialog_ui_button:focus span,.cke_hc a.cke_dialog_ui_button:active span{padding-left:10px;padding-right:10px}.cke_dialog_footer_buttons a.cke_dialog_ui_button span{color:inherit;font-size:12px;font-weight:bold;line-height:18px;padding:0 12px}a.cke_dialog_ui_button_ok{color:#fff;text-shadow:0 -1px 0 #55830c;border-color:#62a60a #62a60a #4d9200;background:#69b10b;background-image:linear-gradient(to bottom,#9ad717,#69b10b);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b')}a.cke_dialog_ui_button_ok:hover{border-color:#5b9909 #5b9909 #478500;background:#88be14;background:linear-gradient(to bottom,#88be14 0,#5d9c0a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0)}a.cke_dialog_ui_button_ok.cke_disabled{border-color:#7d9f51;background:#8dad62;background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3d271),to(#8dad62));background-image:-webkit-linear-gradient(top,#b3d271,#8dad62);background-image:-o-linear-gradient(top,#b3d271,#8dad62);background-image:linear-gradient(to bottom,#b3d271,#8dad62);background-image:-moz-linear-gradient(top,#b3d271,#8dad62);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#B3D271',endColorstr='#8DAD62')}a.cke_dialog_ui_button_ok.cke_disabled span{color:#e0e8d1}a.cke_dialog_ui_button span{text-shadow:0 1px 0 #fff}a.cke_dialog_ui_button_ok span{text-shadow:0 -1px 0 #55830c}span.cke_dialog_ui_button{cursor:pointer}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active,a.cke_dialog_ui_button_cancel:focus,a.cke_dialog_ui_button_cancel:active{border-width:2px;padding:3px 0}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active{border-color:#568c0a}a.cke_dialog_ui_button_ok.cke_disabled:focus,a.cke_dialog_ui_button_ok.cke_disabled:active{border-color:#6f8c49}a.cke_dialog_ui_button_ok:focus span,a.cke_dialog_ui_button_ok:active span,a.cke_dialog_ui_button_cancel:focus span,a.cke_dialog_ui_button_cancel:active span{padding:0 11px}.cke_dialog_footer_buttons{display:inline-table;margin:5px;width:auto;position:relative;vertical-align:middle}div.cke_dialog_ui_input_select{display:table}select.cke_dialog_ui_input_select{height:25px;line-height:25px;background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:3px 3px 3px 6px;outline:0;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}.cke_dialog_ui_input_file{width:100%;height:25px}.cke_hc .cke_dialog_ui_labeled_content input:focus,.cke_hc .cke_dialog_ui_labeled_content select:focus,.cke_hc .cke_dialog_ui_labeled_content textarea:focus{outline:1px dotted}.cke_dialog .cke_dark_background{background-color:#dedede}.cke_dialog .cke_light_background{background-color:#ebebeb}.cke_dialog .cke_centered{text-align:center}.cke_dialog a.cke_btn_reset{float:right;background:url(images/refresh.png) top left no-repeat;width:16px;height:16px;border:1px none;font-size:1px}.cke_hidpi .cke_dialog a.cke_btn_reset{background-size:16px;background-image:url(images/hidpi/refresh.png)}.cke_rtl .cke_dialog a.cke_btn_reset{float:left}.cke_dialog a.cke_btn_locked,.cke_dialog a.cke_btn_unlocked{float:left;width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.cke_dialog a.cke_btn_locked .cke_icon{display:none}.cke_rtl .cke_dialog a.cke_btn_locked,.cke_rtl .cke_dialog a.cke_btn_unlocked{float:right}.cke_dialog a.cke_btn_locked{background-image:url(images/lock.png)}.cke_dialog a.cke_btn_unlocked{background-image:url(images/lock-open.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked,.cke_hidpi .cke_dialog a.cke_btn_locked{background-size:16px}.cke_hidpi .cke_dialog a.cke_btn_locked{background-image:url(images/hidpi/lock.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked{background-image:url(images/hidpi/lock-open.png)}.cke_dialog .cke_btn_over{border:outset 1px;cursor:pointer}.cke_dialog .ImagePreviewBox{border:2px ridge black;overflow:scroll;height:200px;width:300px;padding:2px;background-color:white}.cke_dialog .ImagePreviewBox table td{white-space:normal}.cke_dialog .ImagePreviewLoader{position:absolute;white-space:normal;overflow:hidden;height:160px;width:230px;margin:2px;padding:2px;opacity:.9;filter:alpha(opacity = 90);background-color:#e4e4e4}.cke_dialog .FlashPreviewBox{white-space:normal;border:2px ridge black;overflow:auto;height:160px;width:390px;padding:2px;background-color:white}.cke_dialog .cke_pastetext{width:346px;height:170px}.cke_dialog .cke_pastetext textarea{width:340px;height:170px;resize:none}.cke_dialog iframe.cke_pasteframe{width:346px;height:130px;background-color:white;border:1px solid #aeb3b9;border-radius:3px}.cke_dialog .cke_hand{cursor:pointer}.cke_disabled{color:#a0a0a0}.cke_dialog_body .cke_label{display:none}.cke_dialog_body label{display:inline;margin-bottom:auto;cursor:default}.cke_dialog_body label.cke_required{font-weight:bold}a.cke_smile{overflow:hidden;display:block;text-align:center;padding:.3em 0}a.cke_smile img{vertical-align:middle}a.cke_specialchar{cursor:inherit;display:block;height:1.25em;padding:.2em .3em;text-align:center}a.cke_smile,a.cke_specialchar{border:1px solid transparent}a.cke_smile:hover,a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:hover,a.cke_specialchar:focus,a.cke_specialchar:active{background:#fff;outline:0}a.cke_smile:hover,a.cke_specialchar:hover{border-color:#888}a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:focus,a.cke_specialchar:active{border-color:#139ff7}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox_input:focus,.cke_dialog_ui_radio_input:focus,.cke_btn_over{outline:1px dotted #696969}.cke_iframe_shim{display:block;position:absolute;top:0;left:0;z-index:-1;filter:alpha(opacity = 0);width:100%;height:100%}.cke_rtl input.cke_dialog_ui_input_text,.cke_rtl input.cke_dialog_ui_input_password{padding-right:2px}.cke_rtl div.cke_dialog_ui_input_text,.cke_rtl div.cke_dialog_ui_input_password{padding-left:2px}.cke_rtl div.cke_dialog_ui_input_text{padding-right:1px}.cke_rtl .cke_dialog_ui_vbox_child,.cke_rtl .cke_dialog_ui_hbox_child,.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_last{padding-right:2px!important}.cke_hc .cke_dialog_title,.cke_hc .cke_dialog_footer,.cke_hc a.cke_dialog_tab,.cke_hc a.cke_dialog_ui_button,.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button_ok,.cke_hc a.cke_dialog_ui_button_ok:hover{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:0}a.cke_dialog_ui_button_ok:focus span,a.cke_dialog_ui_button_ok:active span,a.cke_dialog_ui_button_cancel:focus span,a.cke_dialog_ui_button_cancel:active span{display:block} \ No newline at end of file diff --git a/release/skins/moono/dialog_iequirks.css b/release/skins/moono/dialog_iequirks.css new file mode 100644 index 0000000..661e8eb --- /dev/null +++ b/release/skins/moono/dialog_iequirks.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_spinner{border-radius:50%;width:12px;height:12px;overflow:hidden;text-indent:-9999em;border-top:2px solid rgba(102,102,102,0.2);border-right:2px solid rgba(102,102,102,0.2);border-bottom:2px solid rgba(102,102,102,0.2);border-left:2px solid rgba(102,102,102,1);-webkit-animation:dialog_spinner 1s infinite linear;animation:dialog_spinner 1s infinite linear}.cke_browser_ie8 .cke_dialog_spinner,.cke_browser_ie9 .cke_dialog_spinner{background:url(images/spinner.gif) center top no-repeat;width:16px;height:16px;border:0}@-webkit-keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_rtl .cke_dialog_footer{text-align:left}.cke_hc .cke_dialog_footer{outline:0;border-top:1px solid #fff}.cke_dialog .cke_resizer{margin-top:22px}.cke_dialog .cke_resizer_rtl{margin-left:5px}.cke_dialog .cke_resizer_ltr{margin-right:5px}.cke_dialog_tabs{height:24px;display:inline-block;margin:5px 0 0;position:absolute;z-index:2;left:10px}.cke_rtl .cke_dialog_tabs{right:10px}a.cke_dialog_tab{height:16px;padding:4px 8px;margin-right:3px;display:inline-block;cursor:pointer;line-height:16px;outline:0;color:#595959;border:1px solid #bfbfbf;border-radius:3px 3px 0 0;background:#d4d4d4;background-image:linear-gradient(to bottom,#fafafa,#ededed);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed')}.cke_rtl a.cke_dialog_tab{margin-right:0;margin-left:3px}a.cke_dialog_tab:hover,a.cke_dialog_tab:focus{background:#ebebeb;background:linear-gradient(to bottom,#ebebeb 0,#dfdfdf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0)}a.cke_dialog_tab_selected{background:#fff;color:#383838;border-bottom-color:#fff;cursor:default;filter:none}a.cke_dialog_tab_selected:hover,a.cke_dialog_tab_selected:focus{background:#ededed;background:linear-gradient(to bottom,#ededed 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0)}.cke_hc a.cke_dialog_tab:hover,.cke_hc a.cke_dialog_tab:focus,.cke_hc a.cke_dialog_tab_selected{border:3px solid;padding:2px 6px}a.cke_dialog_tab_disabled{color:#bababa;cursor:default}.cke_single_page .cke_dialog_tabs{display:none}.cke_single_page .cke_dialog_contents{padding-top:5px;margin-top:0;border-top:0}a.cke_dialog_close_button{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:4px;z-index:5;opacity:.8;filter:alpha(opacity = 80)}.cke_dialog_close_button:hover{opacity:1;filter:alpha(opacity = 100)}.cke_hidpi .cke_dialog_close_button{background-image:url(images/hidpi/close.png);background-size:16px}.cke_dialog_close_button span{display:none}.cke_hc .cke_dialog_close_button span{display:inline;cursor:pointer;font-weight:bold;position:relative;top:3px}.cke_ltr .cke_dialog_close_button{right:5px}.cke_rtl .cke_dialog_close_button{left:6px}.cke_dialog_close_button{top:4px}div.cke_disabled .cke_dialog_ui_labeled_content div *{background-color:#ddd;cursor:default}.cke_dialog_ui_vbox table,.cke_dialog_ui_hbox table{margin:auto}.cke_dialog_ui_vbox_child{padding:5px 0}.cke_dialog_ui_hbox{width:100%}.cke_dialog_ui_hbox_first,.cke_dialog_ui_hbox_child,.cke_dialog_ui_hbox_last{vertical-align:top}.cke_ltr .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_ui_hbox_child{padding-right:10px}.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_child{padding-left:10px}.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-right:5px}.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-left:5px;padding-right:0}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:1px solid}textarea.cke_dialog_ui_input_textarea{overflow:auto;resize:none}input.cke_dialog_ui_input_text,input.cke_dialog_ui_input_password,textarea.cke_dialog_ui_input_textarea{background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:4px 6px;outline:0;width:100%;*width:95%;box-sizing:border-box;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}input.cke_dialog_ui_input_text:hover,input.cke_dialog_ui_input_password:hover,textarea.cke_dialog_ui_input_textarea:hover{border:1px solid #aeb3b9;border-top-color:#a0a6ad}input.cke_dialog_ui_input_text:focus,input.cke_dialog_ui_input_password:focus,textarea.cke_dialog_ui_input_textarea:focus,select.cke_dialog_ui_input_select:focus{outline:0;border:1px solid #139ff7;border-top-color:#1392e9}a.cke_dialog_ui_button{display:inline-block;*display:inline;*zoom:1;padding:4px 0;margin:0;text-align:center;color:#333;vertical-align:middle;cursor:pointer;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}span.cke_dialog_ui_button{padding:0 10px}a.cke_dialog_ui_button:hover{border-color:#9e9e9e;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}a.cke_dialog_ui_button:focus,a.cke_dialog_ui_button:active{border-color:#969696;outline:0;box-shadow:0 0 6px rgba(0,0,0,.4) inset}.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button:focus,.cke_hc a.cke_dialog_ui_button:active{border:3px solid;padding-top:1px;padding-bottom:1px}.cke_hc a.cke_dialog_ui_button:hover span,.cke_hc a.cke_dialog_ui_button:focus span,.cke_hc a.cke_dialog_ui_button:active span{padding-left:10px;padding-right:10px}.cke_dialog_footer_buttons a.cke_dialog_ui_button span{color:inherit;font-size:12px;font-weight:bold;line-height:18px;padding:0 12px}a.cke_dialog_ui_button_ok{color:#fff;text-shadow:0 -1px 0 #55830c;border-color:#62a60a #62a60a #4d9200;background:#69b10b;background-image:linear-gradient(to bottom,#9ad717,#69b10b);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b')}a.cke_dialog_ui_button_ok:hover{border-color:#5b9909 #5b9909 #478500;background:#88be14;background:linear-gradient(to bottom,#88be14 0,#5d9c0a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0)}a.cke_dialog_ui_button_ok.cke_disabled{border-color:#7d9f51;background:#8dad62;background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3d271),to(#8dad62));background-image:-webkit-linear-gradient(top,#b3d271,#8dad62);background-image:-o-linear-gradient(top,#b3d271,#8dad62);background-image:linear-gradient(to bottom,#b3d271,#8dad62);background-image:-moz-linear-gradient(top,#b3d271,#8dad62);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#B3D271',endColorstr='#8DAD62')}a.cke_dialog_ui_button_ok.cke_disabled span{color:#e0e8d1}a.cke_dialog_ui_button span{text-shadow:0 1px 0 #fff}a.cke_dialog_ui_button_ok span{text-shadow:0 -1px 0 #55830c}span.cke_dialog_ui_button{cursor:pointer}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active,a.cke_dialog_ui_button_cancel:focus,a.cke_dialog_ui_button_cancel:active{border-width:2px;padding:3px 0}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active{border-color:#568c0a}a.cke_dialog_ui_button_ok.cke_disabled:focus,a.cke_dialog_ui_button_ok.cke_disabled:active{border-color:#6f8c49}a.cke_dialog_ui_button_ok:focus span,a.cke_dialog_ui_button_ok:active span,a.cke_dialog_ui_button_cancel:focus span,a.cke_dialog_ui_button_cancel:active span{padding:0 11px}.cke_dialog_footer_buttons{display:inline-table;margin:5px;width:auto;position:relative;vertical-align:middle}div.cke_dialog_ui_input_select{display:table}select.cke_dialog_ui_input_select{height:25px;line-height:25px;background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:3px 3px 3px 6px;outline:0;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}.cke_dialog_ui_input_file{width:100%;height:25px}.cke_hc .cke_dialog_ui_labeled_content input:focus,.cke_hc .cke_dialog_ui_labeled_content select:focus,.cke_hc .cke_dialog_ui_labeled_content textarea:focus{outline:1px dotted}.cke_dialog .cke_dark_background{background-color:#dedede}.cke_dialog .cke_light_background{background-color:#ebebeb}.cke_dialog .cke_centered{text-align:center}.cke_dialog a.cke_btn_reset{float:right;background:url(images/refresh.png) top left no-repeat;width:16px;height:16px;border:1px none;font-size:1px}.cke_hidpi .cke_dialog a.cke_btn_reset{background-size:16px;background-image:url(images/hidpi/refresh.png)}.cke_rtl .cke_dialog a.cke_btn_reset{float:left}.cke_dialog a.cke_btn_locked,.cke_dialog a.cke_btn_unlocked{float:left;width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.cke_dialog a.cke_btn_locked .cke_icon{display:none}.cke_rtl .cke_dialog a.cke_btn_locked,.cke_rtl .cke_dialog a.cke_btn_unlocked{float:right}.cke_dialog a.cke_btn_locked{background-image:url(images/lock.png)}.cke_dialog a.cke_btn_unlocked{background-image:url(images/lock-open.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked,.cke_hidpi .cke_dialog a.cke_btn_locked{background-size:16px}.cke_hidpi .cke_dialog a.cke_btn_locked{background-image:url(images/hidpi/lock.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked{background-image:url(images/hidpi/lock-open.png)}.cke_dialog .cke_btn_over{border:outset 1px;cursor:pointer}.cke_dialog .ImagePreviewBox{border:2px ridge black;overflow:scroll;height:200px;width:300px;padding:2px;background-color:white}.cke_dialog .ImagePreviewBox table td{white-space:normal}.cke_dialog .ImagePreviewLoader{position:absolute;white-space:normal;overflow:hidden;height:160px;width:230px;margin:2px;padding:2px;opacity:.9;filter:alpha(opacity = 90);background-color:#e4e4e4}.cke_dialog .FlashPreviewBox{white-space:normal;border:2px ridge black;overflow:auto;height:160px;width:390px;padding:2px;background-color:white}.cke_dialog .cke_pastetext{width:346px;height:170px}.cke_dialog .cke_pastetext textarea{width:340px;height:170px;resize:none}.cke_dialog iframe.cke_pasteframe{width:346px;height:130px;background-color:white;border:1px solid #aeb3b9;border-radius:3px}.cke_dialog .cke_hand{cursor:pointer}.cke_disabled{color:#a0a0a0}.cke_dialog_body .cke_label{display:none}.cke_dialog_body label{display:inline;margin-bottom:auto;cursor:default}.cke_dialog_body label.cke_required{font-weight:bold}a.cke_smile{overflow:hidden;display:block;text-align:center;padding:.3em 0}a.cke_smile img{vertical-align:middle}a.cke_specialchar{cursor:inherit;display:block;height:1.25em;padding:.2em .3em;text-align:center}a.cke_smile,a.cke_specialchar{border:1px solid transparent}a.cke_smile:hover,a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:hover,a.cke_specialchar:focus,a.cke_specialchar:active{background:#fff;outline:0}a.cke_smile:hover,a.cke_specialchar:hover{border-color:#888}a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:focus,a.cke_specialchar:active{border-color:#139ff7}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox_input:focus,.cke_dialog_ui_radio_input:focus,.cke_btn_over{outline:1px dotted #696969}.cke_iframe_shim{display:block;position:absolute;top:0;left:0;z-index:-1;filter:alpha(opacity = 0);width:100%;height:100%}.cke_rtl input.cke_dialog_ui_input_text,.cke_rtl input.cke_dialog_ui_input_password{padding-right:2px}.cke_rtl div.cke_dialog_ui_input_text,.cke_rtl div.cke_dialog_ui_input_password{padding-left:2px}.cke_rtl div.cke_dialog_ui_input_text{padding-right:1px}.cke_rtl .cke_dialog_ui_vbox_child,.cke_rtl .cke_dialog_ui_hbox_child,.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_last{padding-right:2px!important}.cke_hc .cke_dialog_title,.cke_hc .cke_dialog_footer,.cke_hc a.cke_dialog_tab,.cke_hc a.cke_dialog_ui_button,.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button_ok,.cke_hc a.cke_dialog_ui_button_ok:hover{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:0}.cke_dialog_footer{filter:""} \ No newline at end of file diff --git a/release/skins/moono/editor.css b/release/skins/moono/editor.css new file mode 100644 index 0000000..8fe1935 --- /dev/null +++ b/release/skins/moono/editor.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;border-radius:2px}* html .cke_panel_listItem a{width:100%;color:#000}*:first-child+html .cke_panel_listItem a{color:#000}.cke_panel_listItem.cke_selected a{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{border-color:#dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_hc .cke_panel_listItem a{border-style:none}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:1px 2px}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:4px 6px;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #b6b6b6;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_colorblock{padding:3px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}span.cke_colorbox{width:10px;height:10px;border:#808080 1px solid;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorbox{border:#fff 1px solid;padding:2px;float:left;width:12px;height:12px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#b6b6b6 1px solid;background-color:#e5e5e5}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{border:#b6b6b6 1px solid;background-color:#e5e5e5}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_hc .cke_toolgroup{border:0;margin-right:10px;margin-bottom:10px}.cke_rtl .cke_toolgroup{float:right;margin-left:6px;margin-right:0}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0}.cke_ltr .cke_button:last-child,.cke_rtl .cke_button:first-child{border-radius:0 2px 2px 0}.cke_ltr .cke_button:first-child,.cke_rtl .cke_button:last-child{border-radius:2px 0 0 2px}.cke_rtl .cke_button{float:right}.cke_hc .cke_button{border:1px solid black;padding:3px 5px;margin:-2px 4px 0 -2px}a.cke_button_on{box-shadow:0 1px 5px rgba(0,0,0,.6) inset,0 1px 0 rgba(0,0,0,.2);background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border-width:3px;padding:1px 3px}.cke_button_disabled .cke_button_icon{opacity:.3}.cke_hc .cke_button_disabled{opacity:.5}a.cke_button_on:hover,a.cke_button_on:focus,a.cke_button_on:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{box-shadow:0 0 1px rgba(0,0,0,.3) inset;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 1px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px -2px 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#c0c0c0;background-color:rgba(0,0,0,.2);margin:5px 2px 0;height:18px;width:1px;box-shadow:1px 0 1px rgba(255,255,255,.5)}.cke_rtl .cke_toolbar_separator{float:right;box-shadow:-1px 0 1px rgba(255,255,255,.1)}.cke_hc .cke_toolbar_separator{width:0;border-left:1px solid;margin:1px 5px 0 0}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_toolbox_collapser:hover{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid #474747;border-top:3px solid transparent}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#474747}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0;margin-right:2px}.cke_menubutton{display:block}.cke_menuitem span{cursor:default}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#d3d3d3;display:block}.cke_hc .cke_menubutton{padding:2px}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#d7d8d7;opacity:.70;filter:alpha(opacity=70);padding:4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#d0d2d0}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_on{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#eff0ef}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d3d3d3;height:1px;filter:alpha(opacity=70);opacity:.70}.cke_menuarrow{background-image:url(images/arrow.png);background-position:0 10px;background-repeat:no-repeat;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:-2px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');outline:0}.cke_combo_off a.cke_combo_button:active,.cke_combo_on a.cke_combo_button{border:1px solid #777;box-shadow:0 1px 0 rgba(255,255,255,.5),0 1px 5px rgba(0,0,0,.6) inset;background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_combo_on a.cke_combo_button:hover,.cke_combo_on a.cke_combo_button:focus,.cke_combo_on a.cke_combo_button:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}.cke_rtl .cke_combo_button{float:right;margin-left:5px;margin-right:0}.cke_hc a.cke_combo_button{padding:3px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border-width:3px;padding:1px}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5);width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 7px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#4c4c4c;text-shadow:0 1px 0 #fff;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#bfbfbf;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.5);border-radius:2px;box-shadow:0 0 4px rgba(0,0,0,.5) inset,0 1px 0 rgba(255,255,255,.5)}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combo__fontsize .cke_combo_text{width:30px}.cke_combopanel__fontsize{width:120px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;border-radius:3px;text-align:center;opacity:.95;filter:alpha(opacity = 95);box-shadow:2px 2px 3px 0 rgba(50,50,50,0.3);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__bold_icon {background: url(icons.png?t=20af917) no-repeat 0 -0px !important;}.cke_button__italic_icon {background: url(icons.png?t=20af917) no-repeat 0 -24px !important;}.cke_button__strike_icon {background: url(icons.png?t=20af917) no-repeat 0 -48px !important;}.cke_button__subscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -72px !important;}.cke_button__superscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -96px !important;}.cke_button__underline_icon {background: url(icons.png?t=20af917) no-repeat 0 -120px !important;}.cke_button__horizontalrule_icon {background: url(icons.png?t=20af917) no-repeat 0 -144px !important;}.cke_button__iframe_icon {background: url(icons.png?t=20af917) no-repeat 0 -168px !important;}.cke_button__image_icon {background: url(icons.png?t=20af917) no-repeat 0 -192px !important;}.cke_rtl .cke_button__indent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -216px !important;}.cke_ltr .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -240px !important;}.cke_rtl .cke_button__outdent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -264px !important;}.cke_ltr .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -288px !important;}.cke_button__justifyblock_icon {background: url(icons.png?t=20af917) no-repeat 0 -312px !important;}.cke_button__justifycenter_icon {background: url(icons.png?t=20af917) no-repeat 0 -336px !important;}.cke_button__justifyleft_icon {background: url(icons.png?t=20af917) no-repeat 0 -360px !important;}.cke_button__justifyright_icon {background: url(icons.png?t=20af917) no-repeat 0 -384px !important;}.cke_rtl .cke_button__anchor_icon, .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -408px !important;}.cke_ltr .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -432px !important;}.cke_button__link_icon {background: url(icons.png?t=20af917) no-repeat 0 -456px !important;}.cke_button__unlink_icon {background: url(icons.png?t=20af917) no-repeat 0 -480px !important;}.cke_rtl .cke_button__bulletedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -504px !important;}.cke_ltr .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -528px !important;}.cke_rtl .cke_button__numberedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -552px !important;}.cke_ltr .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -576px !important;}.cke_button__maximize_icon {background: url(icons.png?t=20af917) no-repeat 0 -600px !important;}.cke_button__removeformat_icon {background: url(icons.png?t=20af917) no-repeat 0 -624px !important;}.cke_rtl .cke_button__source_icon, .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -648px !important;}.cke_ltr .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -672px !important;}.cke_rtl .cke_button__copy_icon, .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -696px !important;}.cke_ltr .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -720px !important;}.cke_rtl .cke_button__cut_icon, .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -744px !important;}.cke_ltr .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -768px !important;}.cke_rtl .cke_button__paste_icon, .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -792px !important;}.cke_ltr .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -816px !important;}.cke_button__oembed_icon {background: url(icons.png?t=20af917) no-repeat 0 -840px !important;}.cke_hidpi .cke_button__bold_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -0px !important;background-size: 16px !important;}.cke_hidpi .cke_button__italic_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -24px !important;background-size: 16px !important;}.cke_hidpi .cke_button__strike_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -48px !important;background-size: 16px !important;}.cke_hidpi .cke_button__subscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -72px !important;background-size: 16px !important;}.cke_hidpi .cke_button__superscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -96px !important;background-size: 16px !important;}.cke_hidpi .cke_button__underline_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -120px !important;background-size: 16px !important;}.cke_hidpi .cke_button__horizontalrule_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -144px !important;background-size: 16px !important;}.cke_hidpi .cke_button__iframe_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -168px !important;background-size: 16px !important;}.cke_hidpi .cke_button__image_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -192px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__indent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -216px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -240px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__outdent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -264px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -288px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyblock_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -312px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifycenter_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -336px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyleft_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -360px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyright_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -384px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__anchor_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -408px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__anchor_icon,.cke_ltr.cke_hidpi .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -432px !important;background-size: 16px !important;}.cke_hidpi .cke_button__link_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -456px !important;background-size: 16px !important;}.cke_hidpi .cke_button__unlink_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -480px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -504px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -528px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -552px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -576px !important;background-size: 16px !important;}.cke_hidpi .cke_button__maximize_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -600px !important;background-size: 16px !important;}.cke_hidpi .cke_button__removeformat_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -624px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__source_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -648px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -672px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__copy_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -696px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -720px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__cut_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -744px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -768px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__paste_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -792px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -816px !important;background-size: 16px !important;}.cke_hidpi .cke_button__oembed_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -840px !important;background-size: 16px !important;} \ No newline at end of file diff --git a/release/skins/moono/editor_gecko.css b/release/skins/moono/editor_gecko.css new file mode 100644 index 0000000..d13ffea --- /dev/null +++ b/release/skins/moono/editor_gecko.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;border-radius:2px}* html .cke_panel_listItem a{width:100%;color:#000}*:first-child+html .cke_panel_listItem a{color:#000}.cke_panel_listItem.cke_selected a{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{border-color:#dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_hc .cke_panel_listItem a{border-style:none}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:1px 2px}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:4px 6px;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #b6b6b6;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_colorblock{padding:3px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}span.cke_colorbox{width:10px;height:10px;border:#808080 1px solid;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorbox{border:#fff 1px solid;padding:2px;float:left;width:12px;height:12px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#b6b6b6 1px solid;background-color:#e5e5e5}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{border:#b6b6b6 1px solid;background-color:#e5e5e5}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_hc .cke_toolgroup{border:0;margin-right:10px;margin-bottom:10px}.cke_rtl .cke_toolgroup{float:right;margin-left:6px;margin-right:0}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0}.cke_ltr .cke_button:last-child,.cke_rtl .cke_button:first-child{border-radius:0 2px 2px 0}.cke_ltr .cke_button:first-child,.cke_rtl .cke_button:last-child{border-radius:2px 0 0 2px}.cke_rtl .cke_button{float:right}.cke_hc .cke_button{border:1px solid black;padding:3px 5px;margin:-2px 4px 0 -2px}a.cke_button_on{box-shadow:0 1px 5px rgba(0,0,0,.6) inset,0 1px 0 rgba(0,0,0,.2);background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border-width:3px;padding:1px 3px}.cke_button_disabled .cke_button_icon{opacity:.3}.cke_hc .cke_button_disabled{opacity:.5}a.cke_button_on:hover,a.cke_button_on:focus,a.cke_button_on:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{box-shadow:0 0 1px rgba(0,0,0,.3) inset;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 1px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px -2px 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#c0c0c0;background-color:rgba(0,0,0,.2);margin:5px 2px 0;height:18px;width:1px;box-shadow:1px 0 1px rgba(255,255,255,.5)}.cke_rtl .cke_toolbar_separator{float:right;box-shadow:-1px 0 1px rgba(255,255,255,.1)}.cke_hc .cke_toolbar_separator{width:0;border-left:1px solid;margin:1px 5px 0 0}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_toolbox_collapser:hover{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid #474747;border-top:3px solid transparent}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#474747}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0;margin-right:2px}.cke_menubutton{display:block}.cke_menuitem span{cursor:default}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#d3d3d3;display:block}.cke_hc .cke_menubutton{padding:2px}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#d7d8d7;opacity:.70;filter:alpha(opacity=70);padding:4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#d0d2d0}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_on{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#eff0ef}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d3d3d3;height:1px;filter:alpha(opacity=70);opacity:.70}.cke_menuarrow{background-image:url(images/arrow.png);background-position:0 10px;background-repeat:no-repeat;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:-2px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');outline:0}.cke_combo_off a.cke_combo_button:active,.cke_combo_on a.cke_combo_button{border:1px solid #777;box-shadow:0 1px 0 rgba(255,255,255,.5),0 1px 5px rgba(0,0,0,.6) inset;background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_combo_on a.cke_combo_button:hover,.cke_combo_on a.cke_combo_button:focus,.cke_combo_on a.cke_combo_button:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}.cke_rtl .cke_combo_button{float:right;margin-left:5px;margin-right:0}.cke_hc a.cke_combo_button{padding:3px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border-width:3px;padding:1px}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5);width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 7px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#4c4c4c;text-shadow:0 1px 0 #fff;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#bfbfbf;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.5);border-radius:2px;box-shadow:0 0 4px rgba(0,0,0,.5) inset,0 1px 0 rgba(255,255,255,.5)}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combo__fontsize .cke_combo_text{width:30px}.cke_combopanel__fontsize{width:120px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;border-radius:3px;text-align:center;opacity:.95;filter:alpha(opacity = 95);box-shadow:2px 2px 3px 0 rgba(50,50,50,0.3);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_bottom{padding-bottom:3px}.cke_combo_text{margin-bottom:-1px;margin-top:1px}.cke_button__bold_icon {background: url(icons.png?t=20af917) no-repeat 0 -0px !important;}.cke_button__italic_icon {background: url(icons.png?t=20af917) no-repeat 0 -24px !important;}.cke_button__strike_icon {background: url(icons.png?t=20af917) no-repeat 0 -48px !important;}.cke_button__subscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -72px !important;}.cke_button__superscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -96px !important;}.cke_button__underline_icon {background: url(icons.png?t=20af917) no-repeat 0 -120px !important;}.cke_button__horizontalrule_icon {background: url(icons.png?t=20af917) no-repeat 0 -144px !important;}.cke_button__iframe_icon {background: url(icons.png?t=20af917) no-repeat 0 -168px !important;}.cke_button__image_icon {background: url(icons.png?t=20af917) no-repeat 0 -192px !important;}.cke_rtl .cke_button__indent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -216px !important;}.cke_ltr .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -240px !important;}.cke_rtl .cke_button__outdent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -264px !important;}.cke_ltr .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -288px !important;}.cke_button__justifyblock_icon {background: url(icons.png?t=20af917) no-repeat 0 -312px !important;}.cke_button__justifycenter_icon {background: url(icons.png?t=20af917) no-repeat 0 -336px !important;}.cke_button__justifyleft_icon {background: url(icons.png?t=20af917) no-repeat 0 -360px !important;}.cke_button__justifyright_icon {background: url(icons.png?t=20af917) no-repeat 0 -384px !important;}.cke_rtl .cke_button__anchor_icon, .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -408px !important;}.cke_ltr .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -432px !important;}.cke_button__link_icon {background: url(icons.png?t=20af917) no-repeat 0 -456px !important;}.cke_button__unlink_icon {background: url(icons.png?t=20af917) no-repeat 0 -480px !important;}.cke_rtl .cke_button__bulletedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -504px !important;}.cke_ltr .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -528px !important;}.cke_rtl .cke_button__numberedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -552px !important;}.cke_ltr .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -576px !important;}.cke_button__maximize_icon {background: url(icons.png?t=20af917) no-repeat 0 -600px !important;}.cke_button__removeformat_icon {background: url(icons.png?t=20af917) no-repeat 0 -624px !important;}.cke_rtl .cke_button__source_icon, .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -648px !important;}.cke_ltr .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -672px !important;}.cke_rtl .cke_button__copy_icon, .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -696px !important;}.cke_ltr .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -720px !important;}.cke_rtl .cke_button__cut_icon, .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -744px !important;}.cke_ltr .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -768px !important;}.cke_rtl .cke_button__paste_icon, .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -792px !important;}.cke_ltr .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -816px !important;}.cke_button__oembed_icon {background: url(icons.png?t=20af917) no-repeat 0 -840px !important;}.cke_hidpi .cke_button__bold_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -0px !important;background-size: 16px !important;}.cke_hidpi .cke_button__italic_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -24px !important;background-size: 16px !important;}.cke_hidpi .cke_button__strike_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -48px !important;background-size: 16px !important;}.cke_hidpi .cke_button__subscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -72px !important;background-size: 16px !important;}.cke_hidpi .cke_button__superscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -96px !important;background-size: 16px !important;}.cke_hidpi .cke_button__underline_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -120px !important;background-size: 16px !important;}.cke_hidpi .cke_button__horizontalrule_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -144px !important;background-size: 16px !important;}.cke_hidpi .cke_button__iframe_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -168px !important;background-size: 16px !important;}.cke_hidpi .cke_button__image_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -192px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__indent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -216px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -240px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__outdent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -264px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -288px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyblock_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -312px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifycenter_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -336px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyleft_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -360px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyright_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -384px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__anchor_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -408px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__anchor_icon,.cke_ltr.cke_hidpi .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -432px !important;background-size: 16px !important;}.cke_hidpi .cke_button__link_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -456px !important;background-size: 16px !important;}.cke_hidpi .cke_button__unlink_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -480px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -504px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -528px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -552px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -576px !important;background-size: 16px !important;}.cke_hidpi .cke_button__maximize_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -600px !important;background-size: 16px !important;}.cke_hidpi .cke_button__removeformat_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -624px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__source_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -648px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -672px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__copy_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -696px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -720px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__cut_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -744px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -768px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__paste_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -792px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -816px !important;background-size: 16px !important;}.cke_hidpi .cke_button__oembed_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -840px !important;background-size: 16px !important;} \ No newline at end of file diff --git a/release/skins/moono/editor_ie.css b/release/skins/moono/editor_ie.css new file mode 100644 index 0000000..79dd245 --- /dev/null +++ b/release/skins/moono/editor_ie.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;border-radius:2px}* html .cke_panel_listItem a{width:100%;color:#000}*:first-child+html .cke_panel_listItem a{color:#000}.cke_panel_listItem.cke_selected a{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{border-color:#dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_hc .cke_panel_listItem a{border-style:none}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:1px 2px}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:4px 6px;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #b6b6b6;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_colorblock{padding:3px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}span.cke_colorbox{width:10px;height:10px;border:#808080 1px solid;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorbox{border:#fff 1px solid;padding:2px;float:left;width:12px;height:12px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#b6b6b6 1px solid;background-color:#e5e5e5}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{border:#b6b6b6 1px solid;background-color:#e5e5e5}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_hc .cke_toolgroup{border:0;margin-right:10px;margin-bottom:10px}.cke_rtl .cke_toolgroup{float:right;margin-left:6px;margin-right:0}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0}.cke_ltr .cke_button:last-child,.cke_rtl .cke_button:first-child{border-radius:0 2px 2px 0}.cke_ltr .cke_button:first-child,.cke_rtl .cke_button:last-child{border-radius:2px 0 0 2px}.cke_rtl .cke_button{float:right}.cke_hc .cke_button{border:1px solid black;padding:3px 5px;margin:-2px 4px 0 -2px}a.cke_button_on{box-shadow:0 1px 5px rgba(0,0,0,.6) inset,0 1px 0 rgba(0,0,0,.2);background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border-width:3px;padding:1px 3px}.cke_button_disabled .cke_button_icon{opacity:.3}.cke_hc .cke_button_disabled{opacity:.5}a.cke_button_on:hover,a.cke_button_on:focus,a.cke_button_on:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{box-shadow:0 0 1px rgba(0,0,0,.3) inset;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 1px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px -2px 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#c0c0c0;background-color:rgba(0,0,0,.2);margin:5px 2px 0;height:18px;width:1px;box-shadow:1px 0 1px rgba(255,255,255,.5)}.cke_rtl .cke_toolbar_separator{float:right;box-shadow:-1px 0 1px rgba(255,255,255,.1)}.cke_hc .cke_toolbar_separator{width:0;border-left:1px solid;margin:1px 5px 0 0}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_toolbox_collapser:hover{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid #474747;border-top:3px solid transparent}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#474747}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0;margin-right:2px}.cke_menubutton{display:block}.cke_menuitem span{cursor:default}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#d3d3d3;display:block}.cke_hc .cke_menubutton{padding:2px}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#d7d8d7;opacity:.70;filter:alpha(opacity=70);padding:4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#d0d2d0}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_on{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#eff0ef}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d3d3d3;height:1px;filter:alpha(opacity=70);opacity:.70}.cke_menuarrow{background-image:url(images/arrow.png);background-position:0 10px;background-repeat:no-repeat;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:-2px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');outline:0}.cke_combo_off a.cke_combo_button:active,.cke_combo_on a.cke_combo_button{border:1px solid #777;box-shadow:0 1px 0 rgba(255,255,255,.5),0 1px 5px rgba(0,0,0,.6) inset;background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_combo_on a.cke_combo_button:hover,.cke_combo_on a.cke_combo_button:focus,.cke_combo_on a.cke_combo_button:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}.cke_rtl .cke_combo_button{float:right;margin-left:5px;margin-right:0}.cke_hc a.cke_combo_button{padding:3px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border-width:3px;padding:1px}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5);width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 7px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#4c4c4c;text-shadow:0 1px 0 #fff;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#bfbfbf;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.5);border-radius:2px;box-shadow:0 0 4px rgba(0,0,0,.5) inset,0 1px 0 rgba(255,255,255,.5)}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combo__fontsize .cke_combo_text{width:30px}.cke_combopanel__fontsize{width:120px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;border-radius:3px;text-align:center;opacity:.95;filter:alpha(opacity = 95);box-shadow:2px 2px 3px 0 rgba(50,50,50,0.3);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_button__bold_icon {background: url(icons.png?t=20af917) no-repeat 0 -0px !important;}.cke_button__italic_icon {background: url(icons.png?t=20af917) no-repeat 0 -24px !important;}.cke_button__strike_icon {background: url(icons.png?t=20af917) no-repeat 0 -48px !important;}.cke_button__subscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -72px !important;}.cke_button__superscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -96px !important;}.cke_button__underline_icon {background: url(icons.png?t=20af917) no-repeat 0 -120px !important;}.cke_button__horizontalrule_icon {background: url(icons.png?t=20af917) no-repeat 0 -144px !important;}.cke_button__iframe_icon {background: url(icons.png?t=20af917) no-repeat 0 -168px !important;}.cke_button__image_icon {background: url(icons.png?t=20af917) no-repeat 0 -192px !important;}.cke_rtl .cke_button__indent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -216px !important;}.cke_ltr .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -240px !important;}.cke_rtl .cke_button__outdent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -264px !important;}.cke_ltr .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -288px !important;}.cke_button__justifyblock_icon {background: url(icons.png?t=20af917) no-repeat 0 -312px !important;}.cke_button__justifycenter_icon {background: url(icons.png?t=20af917) no-repeat 0 -336px !important;}.cke_button__justifyleft_icon {background: url(icons.png?t=20af917) no-repeat 0 -360px !important;}.cke_button__justifyright_icon {background: url(icons.png?t=20af917) no-repeat 0 -384px !important;}.cke_rtl .cke_button__anchor_icon, .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -408px !important;}.cke_ltr .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -432px !important;}.cke_button__link_icon {background: url(icons.png?t=20af917) no-repeat 0 -456px !important;}.cke_button__unlink_icon {background: url(icons.png?t=20af917) no-repeat 0 -480px !important;}.cke_rtl .cke_button__bulletedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -504px !important;}.cke_ltr .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -528px !important;}.cke_rtl .cke_button__numberedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -552px !important;}.cke_ltr .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -576px !important;}.cke_button__maximize_icon {background: url(icons.png?t=20af917) no-repeat 0 -600px !important;}.cke_button__removeformat_icon {background: url(icons.png?t=20af917) no-repeat 0 -624px !important;}.cke_rtl .cke_button__source_icon, .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -648px !important;}.cke_ltr .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -672px !important;}.cke_rtl .cke_button__copy_icon, .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -696px !important;}.cke_ltr .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -720px !important;}.cke_rtl .cke_button__cut_icon, .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -744px !important;}.cke_ltr .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -768px !important;}.cke_rtl .cke_button__paste_icon, .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -792px !important;}.cke_ltr .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -816px !important;}.cke_button__oembed_icon {background: url(icons.png?t=20af917) no-repeat 0 -840px !important;}.cke_hidpi .cke_button__bold_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -0px !important;background-size: 16px !important;}.cke_hidpi .cke_button__italic_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -24px !important;background-size: 16px !important;}.cke_hidpi .cke_button__strike_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -48px !important;background-size: 16px !important;}.cke_hidpi .cke_button__subscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -72px !important;background-size: 16px !important;}.cke_hidpi .cke_button__superscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -96px !important;background-size: 16px !important;}.cke_hidpi .cke_button__underline_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -120px !important;background-size: 16px !important;}.cke_hidpi .cke_button__horizontalrule_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -144px !important;background-size: 16px !important;}.cke_hidpi .cke_button__iframe_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -168px !important;background-size: 16px !important;}.cke_hidpi .cke_button__image_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -192px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__indent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -216px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -240px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__outdent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -264px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -288px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyblock_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -312px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifycenter_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -336px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyleft_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -360px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyright_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -384px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__anchor_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -408px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__anchor_icon,.cke_ltr.cke_hidpi .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -432px !important;background-size: 16px !important;}.cke_hidpi .cke_button__link_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -456px !important;background-size: 16px !important;}.cke_hidpi .cke_button__unlink_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -480px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -504px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -528px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -552px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -576px !important;background-size: 16px !important;}.cke_hidpi .cke_button__maximize_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -600px !important;background-size: 16px !important;}.cke_hidpi .cke_button__removeformat_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -624px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__source_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -648px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -672px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__copy_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -696px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -720px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__cut_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -744px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -768px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__paste_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -792px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -816px !important;background-size: 16px !important;}.cke_hidpi .cke_button__oembed_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -840px !important;background-size: 16px !important;} \ No newline at end of file diff --git a/release/skins/moono/editor_ie7.css b/release/skins/moono/editor_ie7.css new file mode 100644 index 0000000..cfa6849 --- /dev/null +++ b/release/skins/moono/editor_ie7.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;border-radius:2px}* html .cke_panel_listItem a{width:100%;color:#000}*:first-child+html .cke_panel_listItem a{color:#000}.cke_panel_listItem.cke_selected a{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{border-color:#dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_hc .cke_panel_listItem a{border-style:none}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:1px 2px}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:4px 6px;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #b6b6b6;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_colorblock{padding:3px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}span.cke_colorbox{width:10px;height:10px;border:#808080 1px solid;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorbox{border:#fff 1px solid;padding:2px;float:left;width:12px;height:12px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#b6b6b6 1px solid;background-color:#e5e5e5}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{border:#b6b6b6 1px solid;background-color:#e5e5e5}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_hc .cke_toolgroup{border:0;margin-right:10px;margin-bottom:10px}.cke_rtl .cke_toolgroup{float:right;margin-left:6px;margin-right:0}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0}.cke_ltr .cke_button:last-child,.cke_rtl .cke_button:first-child{border-radius:0 2px 2px 0}.cke_ltr .cke_button:first-child,.cke_rtl .cke_button:last-child{border-radius:2px 0 0 2px}.cke_rtl .cke_button{float:right}.cke_hc .cke_button{border:1px solid black;padding:3px 5px;margin:-2px 4px 0 -2px}a.cke_button_on{box-shadow:0 1px 5px rgba(0,0,0,.6) inset,0 1px 0 rgba(0,0,0,.2);background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border-width:3px;padding:1px 3px}.cke_button_disabled .cke_button_icon{opacity:.3}.cke_hc .cke_button_disabled{opacity:.5}a.cke_button_on:hover,a.cke_button_on:focus,a.cke_button_on:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{box-shadow:0 0 1px rgba(0,0,0,.3) inset;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 1px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px -2px 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#c0c0c0;background-color:rgba(0,0,0,.2);margin:5px 2px 0;height:18px;width:1px;box-shadow:1px 0 1px rgba(255,255,255,.5)}.cke_rtl .cke_toolbar_separator{float:right;box-shadow:-1px 0 1px rgba(255,255,255,.1)}.cke_hc .cke_toolbar_separator{width:0;border-left:1px solid;margin:1px 5px 0 0}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_toolbox_collapser:hover{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid #474747;border-top:3px solid transparent}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#474747}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0;margin-right:2px}.cke_menubutton{display:block}.cke_menuitem span{cursor:default}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#d3d3d3;display:block}.cke_hc .cke_menubutton{padding:2px}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#d7d8d7;opacity:.70;filter:alpha(opacity=70);padding:4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#d0d2d0}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_on{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#eff0ef}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d3d3d3;height:1px;filter:alpha(opacity=70);opacity:.70}.cke_menuarrow{background-image:url(images/arrow.png);background-position:0 10px;background-repeat:no-repeat;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:-2px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');outline:0}.cke_combo_off a.cke_combo_button:active,.cke_combo_on a.cke_combo_button{border:1px solid #777;box-shadow:0 1px 0 rgba(255,255,255,.5),0 1px 5px rgba(0,0,0,.6) inset;background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_combo_on a.cke_combo_button:hover,.cke_combo_on a.cke_combo_button:focus,.cke_combo_on a.cke_combo_button:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}.cke_rtl .cke_combo_button{float:right;margin-left:5px;margin-right:0}.cke_hc a.cke_combo_button{padding:3px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border-width:3px;padding:1px}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5);width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 7px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#4c4c4c;text-shadow:0 1px 0 #fff;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#bfbfbf;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.5);border-radius:2px;box-shadow:0 0 4px rgba(0,0,0,.5) inset,0 1px 0 rgba(255,255,255,.5)}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combo__fontsize .cke_combo_text{width:30px}.cke_combopanel__fontsize{width:120px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;border-radius:3px;text-align:center;opacity:.95;filter:alpha(opacity = 95);box-shadow:2px 2px 3px 0 rgba(50,50,50,0.3);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_button,.cke_rtl .cke_button *,.cke_rtl .cke_combo,.cke_rtl .cke_combo *,.cke_rtl .cke_path_item,.cke_rtl .cke_path_item *,.cke_rtl .cke_path_empty{float:none}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_combo_button,.cke_rtl .cke_combo_button *,.cke_rtl .cke_button,.cke_rtl .cke_button_icon{display:inline-block;vertical-align:top}.cke_toolbox{display:inline-block;padding-bottom:5px;height:100%}.cke_rtl .cke_toolbox{padding-bottom:0}.cke_toolbar{margin-bottom:5px}.cke_rtl .cke_toolbar{margin-bottom:0}.cke_toolgroup{height:26px}.cke_toolgroup,.cke_combo{position:relative}a.cke_button{float:none;vertical-align:top}.cke_toolbar_separator{display:inline-block;float:none;vertical-align:top;background-color:#c0c0c0}.cke_toolbox_collapser .cke_arrow{margin-top:0}.cke_toolbox_collapser .cke_arrow{border-width:4px}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{border-width:3px}.cke_rtl .cke_button_arrow{padding-top:8px;margin-right:2px}.cke_rtl .cke_combo_inlinelabel{display:table-cell;vertical-align:middle}.cke_menubutton{display:block;height:24px}.cke_menubutton_inner{display:block;position:relative}.cke_menubutton_icon{height:16px;width:16px}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:inline-block}.cke_menubutton_label{width:auto;vertical-align:top;line-height:24px;height:24px;margin:0 10px 0 0}.cke_menuarrow{width:5px;height:6px;padding:0;position:absolute;right:8px;top:10px;background-position:0 0}.cke_rtl .cke_menubutton_icon{position:absolute;right:0;top:0}.cke_rtl .cke_menubutton_label{float:right;clear:both;margin:0 24px 0 10px}.cke_hc .cke_rtl .cke_menubutton_label{margin-right:0}.cke_rtl .cke_menuarrow{left:8px;right:auto;background-position:0 -24px}.cke_hc .cke_menuarrow{top:5px;padding:0 5px}.cke_rtl input.cke_dialog_ui_input_text,.cke_rtl input.cke_dialog_ui_input_password{position:relative}.cke_wysiwyg_div{padding-top:0!important;padding-bottom:0!important}.cke_button__bold_icon {background: url(icons.png?t=20af917) no-repeat 0 -0px !important;}.cke_button__italic_icon {background: url(icons.png?t=20af917) no-repeat 0 -24px !important;}.cke_button__strike_icon {background: url(icons.png?t=20af917) no-repeat 0 -48px !important;}.cke_button__subscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -72px !important;}.cke_button__superscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -96px !important;}.cke_button__underline_icon {background: url(icons.png?t=20af917) no-repeat 0 -120px !important;}.cke_button__horizontalrule_icon {background: url(icons.png?t=20af917) no-repeat 0 -144px !important;}.cke_button__iframe_icon {background: url(icons.png?t=20af917) no-repeat 0 -168px !important;}.cke_button__image_icon {background: url(icons.png?t=20af917) no-repeat 0 -192px !important;}.cke_rtl .cke_button__indent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -216px !important;}.cke_ltr .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -240px !important;}.cke_rtl .cke_button__outdent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -264px !important;}.cke_ltr .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -288px !important;}.cke_button__justifyblock_icon {background: url(icons.png?t=20af917) no-repeat 0 -312px !important;}.cke_button__justifycenter_icon {background: url(icons.png?t=20af917) no-repeat 0 -336px !important;}.cke_button__justifyleft_icon {background: url(icons.png?t=20af917) no-repeat 0 -360px !important;}.cke_button__justifyright_icon {background: url(icons.png?t=20af917) no-repeat 0 -384px !important;}.cke_rtl .cke_button__anchor_icon, .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -408px !important;}.cke_ltr .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -432px !important;}.cke_button__link_icon {background: url(icons.png?t=20af917) no-repeat 0 -456px !important;}.cke_button__unlink_icon {background: url(icons.png?t=20af917) no-repeat 0 -480px !important;}.cke_rtl .cke_button__bulletedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -504px !important;}.cke_ltr .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -528px !important;}.cke_rtl .cke_button__numberedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -552px !important;}.cke_ltr .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -576px !important;}.cke_button__maximize_icon {background: url(icons.png?t=20af917) no-repeat 0 -600px !important;}.cke_button__removeformat_icon {background: url(icons.png?t=20af917) no-repeat 0 -624px !important;}.cke_rtl .cke_button__source_icon, .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -648px !important;}.cke_ltr .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -672px !important;}.cke_rtl .cke_button__copy_icon, .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -696px !important;}.cke_ltr .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -720px !important;}.cke_rtl .cke_button__cut_icon, .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -744px !important;}.cke_ltr .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -768px !important;}.cke_rtl .cke_button__paste_icon, .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -792px !important;}.cke_ltr .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -816px !important;}.cke_button__oembed_icon {background: url(icons.png?t=20af917) no-repeat 0 -840px !important;}.cke_hidpi .cke_button__bold_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -0px !important;background-size: 16px !important;}.cke_hidpi .cke_button__italic_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -24px !important;background-size: 16px !important;}.cke_hidpi .cke_button__strike_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -48px !important;background-size: 16px !important;}.cke_hidpi .cke_button__subscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -72px !important;background-size: 16px !important;}.cke_hidpi .cke_button__superscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -96px !important;background-size: 16px !important;}.cke_hidpi .cke_button__underline_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -120px !important;background-size: 16px !important;}.cke_hidpi .cke_button__horizontalrule_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -144px !important;background-size: 16px !important;}.cke_hidpi .cke_button__iframe_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -168px !important;background-size: 16px !important;}.cke_hidpi .cke_button__image_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -192px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__indent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -216px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -240px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__outdent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -264px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -288px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyblock_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -312px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifycenter_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -336px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyleft_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -360px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyright_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -384px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__anchor_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -408px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__anchor_icon,.cke_ltr.cke_hidpi .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -432px !important;background-size: 16px !important;}.cke_hidpi .cke_button__link_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -456px !important;background-size: 16px !important;}.cke_hidpi .cke_button__unlink_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -480px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -504px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -528px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -552px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -576px !important;background-size: 16px !important;}.cke_hidpi .cke_button__maximize_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -600px !important;background-size: 16px !important;}.cke_hidpi .cke_button__removeformat_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -624px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__source_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -648px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -672px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__copy_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -696px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -720px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__cut_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -744px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -768px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__paste_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -792px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -816px !important;background-size: 16px !important;}.cke_hidpi .cke_button__oembed_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -840px !important;background-size: 16px !important;} \ No newline at end of file diff --git a/release/skins/moono/editor_ie8.css b/release/skins/moono/editor_ie8.css new file mode 100644 index 0000000..4843ff0 --- /dev/null +++ b/release/skins/moono/editor_ie8.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;border-radius:2px}* html .cke_panel_listItem a{width:100%;color:#000}*:first-child+html .cke_panel_listItem a{color:#000}.cke_panel_listItem.cke_selected a{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{border-color:#dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_hc .cke_panel_listItem a{border-style:none}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:1px 2px}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:4px 6px;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #b6b6b6;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_colorblock{padding:3px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}span.cke_colorbox{width:10px;height:10px;border:#808080 1px solid;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorbox{border:#fff 1px solid;padding:2px;float:left;width:12px;height:12px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#b6b6b6 1px solid;background-color:#e5e5e5}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{border:#b6b6b6 1px solid;background-color:#e5e5e5}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_hc .cke_toolgroup{border:0;margin-right:10px;margin-bottom:10px}.cke_rtl .cke_toolgroup{float:right;margin-left:6px;margin-right:0}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0}.cke_ltr .cke_button:last-child,.cke_rtl .cke_button:first-child{border-radius:0 2px 2px 0}.cke_ltr .cke_button:first-child,.cke_rtl .cke_button:last-child{border-radius:2px 0 0 2px}.cke_rtl .cke_button{float:right}.cke_hc .cke_button{border:1px solid black;padding:3px 5px;margin:-2px 4px 0 -2px}a.cke_button_on{box-shadow:0 1px 5px rgba(0,0,0,.6) inset,0 1px 0 rgba(0,0,0,.2);background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border-width:3px;padding:1px 3px}.cke_button_disabled .cke_button_icon{opacity:.3}.cke_hc .cke_button_disabled{opacity:.5}a.cke_button_on:hover,a.cke_button_on:focus,a.cke_button_on:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{box-shadow:0 0 1px rgba(0,0,0,.3) inset;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 1px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px -2px 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#c0c0c0;background-color:rgba(0,0,0,.2);margin:5px 2px 0;height:18px;width:1px;box-shadow:1px 0 1px rgba(255,255,255,.5)}.cke_rtl .cke_toolbar_separator{float:right;box-shadow:-1px 0 1px rgba(255,255,255,.1)}.cke_hc .cke_toolbar_separator{width:0;border-left:1px solid;margin:1px 5px 0 0}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_toolbox_collapser:hover{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid #474747;border-top:3px solid transparent}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#474747}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0;margin-right:2px}.cke_menubutton{display:block}.cke_menuitem span{cursor:default}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#d3d3d3;display:block}.cke_hc .cke_menubutton{padding:2px}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#d7d8d7;opacity:.70;filter:alpha(opacity=70);padding:4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#d0d2d0}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_on{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#eff0ef}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d3d3d3;height:1px;filter:alpha(opacity=70);opacity:.70}.cke_menuarrow{background-image:url(images/arrow.png);background-position:0 10px;background-repeat:no-repeat;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:-2px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');outline:0}.cke_combo_off a.cke_combo_button:active,.cke_combo_on a.cke_combo_button{border:1px solid #777;box-shadow:0 1px 0 rgba(255,255,255,.5),0 1px 5px rgba(0,0,0,.6) inset;background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_combo_on a.cke_combo_button:hover,.cke_combo_on a.cke_combo_button:focus,.cke_combo_on a.cke_combo_button:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}.cke_rtl .cke_combo_button{float:right;margin-left:5px;margin-right:0}.cke_hc a.cke_combo_button{padding:3px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border-width:3px;padding:1px}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5);width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 7px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#4c4c4c;text-shadow:0 1px 0 #fff;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#bfbfbf;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.5);border-radius:2px;box-shadow:0 0 4px rgba(0,0,0,.5) inset,0 1px 0 rgba(255,255,255,.5)}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combo__fontsize .cke_combo_text{width:30px}.cke_combopanel__fontsize{width:120px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;border-radius:3px;text-align:center;opacity:.95;filter:alpha(opacity = 95);box-shadow:2px 2px 3px 0 rgba(50,50,50,0.3);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_toolbox_collapser .cke_arrow{border-width:4px}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{border-width:3px}.cke_toolbox_collapser .cke_arrow{margin-top:0}.cke_button__bold_icon {background: url(icons.png?t=20af917) no-repeat 0 -0px !important;}.cke_button__italic_icon {background: url(icons.png?t=20af917) no-repeat 0 -24px !important;}.cke_button__strike_icon {background: url(icons.png?t=20af917) no-repeat 0 -48px !important;}.cke_button__subscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -72px !important;}.cke_button__superscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -96px !important;}.cke_button__underline_icon {background: url(icons.png?t=20af917) no-repeat 0 -120px !important;}.cke_button__horizontalrule_icon {background: url(icons.png?t=20af917) no-repeat 0 -144px !important;}.cke_button__iframe_icon {background: url(icons.png?t=20af917) no-repeat 0 -168px !important;}.cke_button__image_icon {background: url(icons.png?t=20af917) no-repeat 0 -192px !important;}.cke_rtl .cke_button__indent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -216px !important;}.cke_ltr .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -240px !important;}.cke_rtl .cke_button__outdent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -264px !important;}.cke_ltr .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -288px !important;}.cke_button__justifyblock_icon {background: url(icons.png?t=20af917) no-repeat 0 -312px !important;}.cke_button__justifycenter_icon {background: url(icons.png?t=20af917) no-repeat 0 -336px !important;}.cke_button__justifyleft_icon {background: url(icons.png?t=20af917) no-repeat 0 -360px !important;}.cke_button__justifyright_icon {background: url(icons.png?t=20af917) no-repeat 0 -384px !important;}.cke_rtl .cke_button__anchor_icon, .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -408px !important;}.cke_ltr .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -432px !important;}.cke_button__link_icon {background: url(icons.png?t=20af917) no-repeat 0 -456px !important;}.cke_button__unlink_icon {background: url(icons.png?t=20af917) no-repeat 0 -480px !important;}.cke_rtl .cke_button__bulletedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -504px !important;}.cke_ltr .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -528px !important;}.cke_rtl .cke_button__numberedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -552px !important;}.cke_ltr .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -576px !important;}.cke_button__maximize_icon {background: url(icons.png?t=20af917) no-repeat 0 -600px !important;}.cke_button__removeformat_icon {background: url(icons.png?t=20af917) no-repeat 0 -624px !important;}.cke_rtl .cke_button__source_icon, .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -648px !important;}.cke_ltr .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -672px !important;}.cke_rtl .cke_button__copy_icon, .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -696px !important;}.cke_ltr .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -720px !important;}.cke_rtl .cke_button__cut_icon, .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -744px !important;}.cke_ltr .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -768px !important;}.cke_rtl .cke_button__paste_icon, .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -792px !important;}.cke_ltr .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -816px !important;}.cke_button__oembed_icon {background: url(icons.png?t=20af917) no-repeat 0 -840px !important;}.cke_hidpi .cke_button__bold_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -0px !important;background-size: 16px !important;}.cke_hidpi .cke_button__italic_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -24px !important;background-size: 16px !important;}.cke_hidpi .cke_button__strike_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -48px !important;background-size: 16px !important;}.cke_hidpi .cke_button__subscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -72px !important;background-size: 16px !important;}.cke_hidpi .cke_button__superscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -96px !important;background-size: 16px !important;}.cke_hidpi .cke_button__underline_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -120px !important;background-size: 16px !important;}.cke_hidpi .cke_button__horizontalrule_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -144px !important;background-size: 16px !important;}.cke_hidpi .cke_button__iframe_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -168px !important;background-size: 16px !important;}.cke_hidpi .cke_button__image_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -192px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__indent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -216px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -240px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__outdent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -264px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -288px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyblock_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -312px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifycenter_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -336px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyleft_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -360px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyright_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -384px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__anchor_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -408px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__anchor_icon,.cke_ltr.cke_hidpi .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -432px !important;background-size: 16px !important;}.cke_hidpi .cke_button__link_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -456px !important;background-size: 16px !important;}.cke_hidpi .cke_button__unlink_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -480px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -504px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -528px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -552px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -576px !important;background-size: 16px !important;}.cke_hidpi .cke_button__maximize_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -600px !important;background-size: 16px !important;}.cke_hidpi .cke_button__removeformat_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -624px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__source_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -648px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -672px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__copy_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -696px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -720px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__cut_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -744px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -768px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__paste_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -792px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -816px !important;background-size: 16px !important;}.cke_hidpi .cke_button__oembed_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -840px !important;background-size: 16px !important;} \ No newline at end of file diff --git a/release/skins/moono/editor_iequirks.css b/release/skins/moono/editor_iequirks.css new file mode 100644 index 0000000..21ca3e2 --- /dev/null +++ b/release/skins/moono/editor_iequirks.css @@ -0,0 +1,5 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #b6b6b6;padding:0;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_inner{display:block;-webkit-touch-callout:none;background:#fff;padding:0}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #b6b6b6;padding:6px 8px 2px;white-space:normal;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_float .cke_top{border:1px solid #b6b6b6;border-bottom-color:#999}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #a5a5a5;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #b6b6b6;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_list{list-style-type:none;margin:3px;padding:0;white-space:nowrap}.cke_panel_listItem{margin:0;padding-bottom:1px}.cke_panel_listItem a{padding:3px 4px;display:block;border:1px solid #fff;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;border-radius:2px}* html .cke_panel_listItem a{width:100%;color:#000}*:first-child+html .cke_panel_listItem a{color:#000}.cke_panel_listItem.cke_selected a{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{border-color:#dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_hc .cke_panel_listItem a{border-style:none}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:1px 2px}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:4px 6px;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #b6b6b6;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_colorblock{padding:3px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}span.cke_colorbox{width:10px;height:10px;border:#808080 1px solid;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorbox{border:#fff 1px solid;padding:2px;float:left;width:12px;height:12px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#b6b6b6 1px solid;background-color:#e5e5e5}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{border:#b6b6b6 1px solid;background-color:#e5e5e5}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_hc .cke_toolgroup{border:0;margin-right:10px;margin-bottom:10px}.cke_rtl .cke_toolgroup{float:right;margin-left:6px;margin-right:0}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0}.cke_ltr .cke_button:last-child,.cke_rtl .cke_button:first-child{border-radius:0 2px 2px 0}.cke_ltr .cke_button:first-child,.cke_rtl .cke_button:last-child{border-radius:2px 0 0 2px}.cke_rtl .cke_button{float:right}.cke_hc .cke_button{border:1px solid black;padding:3px 5px;margin:-2px 4px 0 -2px}a.cke_button_on{box-shadow:0 1px 5px rgba(0,0,0,.6) inset,0 1px 0 rgba(0,0,0,.2);background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border-width:3px;padding:1px 3px}.cke_button_disabled .cke_button_icon{opacity:.3}.cke_hc .cke_button_disabled{opacity:.5}a.cke_button_on:hover,a.cke_button_on:focus,a.cke_button_on:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{box-shadow:0 0 1px rgba(0,0,0,.3) inset;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 1px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px -2px 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#c0c0c0;background-color:rgba(0,0,0,.2);margin:5px 2px 0;height:18px;width:1px;box-shadow:1px 0 1px rgba(255,255,255,.5)}.cke_rtl .cke_toolbar_separator{float:right;box-shadow:-1px 0 1px rgba(255,255,255,.1)}.cke_hc .cke_toolbar_separator{width:0;border-left:1px solid;margin:1px 5px 0 0}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_toolbox_collapser:hover{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid #474747;border-top:3px solid transparent}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#474747}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0;margin-right:2px}.cke_menubutton{display:block}.cke_menuitem span{cursor:default}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#d3d3d3;display:block}.cke_hc .cke_menubutton{padding:2px}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#d7d8d7;opacity:.70;filter:alpha(opacity=70);padding:4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#d0d2d0}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_on{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#eff0ef}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d3d3d3;height:1px;filter:alpha(opacity=70);opacity:.70}.cke_menuarrow{background-image:url(images/arrow.png);background-position:0 10px;background-repeat:no-repeat;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:-2px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0 6px 5px 0;border:1px solid #a6a6a6;border-bottom-color:#979797;border-radius:3px;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:linear-gradient(to bottom,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus{background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');outline:0}.cke_combo_off a.cke_combo_button:active,.cke_combo_on a.cke_combo_button{border:1px solid #777;box-shadow:0 1px 0 rgba(255,255,255,.5),0 1px 5px rgba(0,0,0,.6) inset;background:#b5b5b5;background-image:linear-gradient(to bottom,#aaa,#cacaca);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca')}.cke_combo_on a.cke_combo_button:hover,.cke_combo_on a.cke_combo_button:focus,.cke_combo_on a.cke_combo_button:active{box-shadow:0 1px 6px rgba(0,0,0,.7) inset,0 1px 0 rgba(0,0,0,.2)}.cke_rtl .cke_combo_button{float:right;margin-left:5px;margin-right:0}.cke_hc a.cke_combo_button{padding:3px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border-width:3px;padding:1px}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.5);width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 7px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #474747}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#4c4c4c;text-shadow:0 1px 0 #fff;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#bfbfbf;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.5);border-radius:2px;box-shadow:0 0 4px rgba(0,0,0,.5) inset,0 1px 0 rgba(255,255,255,.5)}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combo__fontsize .cke_combo_text{width:30px}.cke_combopanel__fontsize{width:120px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;border-radius:3px;text-align:center;opacity:.95;filter:alpha(opacity = 95);box-shadow:2px 2px 3px 0 rgba(50,50,50,0.3);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_top,.cke_contents,.cke_bottom{width:100%}.cke_button_arrow{font-size:0}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_button,.cke_rtl .cke_button *,.cke_rtl .cke_combo,.cke_rtl .cke_combo *,.cke_rtl .cke_path_item,.cke_rtl .cke_path_item *,.cke_rtl .cke_path_empty{float:none}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_combo_button,.cke_rtl .cke_combo_button *,.cke_rtl .cke_button,.cke_rtl .cke_button_icon{display:inline-block;vertical-align:top}.cke_rtl .cke_button_icon{float:none}.cke_resizer{width:10px}.cke_source{white-space:normal}.cke_bottom{position:static}.cke_colorbox{font-size:0}.cke_button__bold_icon {background: url(icons.png?t=20af917) no-repeat 0 -0px !important;}.cke_button__italic_icon {background: url(icons.png?t=20af917) no-repeat 0 -24px !important;}.cke_button__strike_icon {background: url(icons.png?t=20af917) no-repeat 0 -48px !important;}.cke_button__subscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -72px !important;}.cke_button__superscript_icon {background: url(icons.png?t=20af917) no-repeat 0 -96px !important;}.cke_button__underline_icon {background: url(icons.png?t=20af917) no-repeat 0 -120px !important;}.cke_button__horizontalrule_icon {background: url(icons.png?t=20af917) no-repeat 0 -144px !important;}.cke_button__iframe_icon {background: url(icons.png?t=20af917) no-repeat 0 -168px !important;}.cke_button__image_icon {background: url(icons.png?t=20af917) no-repeat 0 -192px !important;}.cke_rtl .cke_button__indent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -216px !important;}.cke_ltr .cke_button__indent_icon {background: url(icons.png?t=20af917) no-repeat 0 -240px !important;}.cke_rtl .cke_button__outdent_icon, .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -264px !important;}.cke_ltr .cke_button__outdent_icon {background: url(icons.png?t=20af917) no-repeat 0 -288px !important;}.cke_button__justifyblock_icon {background: url(icons.png?t=20af917) no-repeat 0 -312px !important;}.cke_button__justifycenter_icon {background: url(icons.png?t=20af917) no-repeat 0 -336px !important;}.cke_button__justifyleft_icon {background: url(icons.png?t=20af917) no-repeat 0 -360px !important;}.cke_button__justifyright_icon {background: url(icons.png?t=20af917) no-repeat 0 -384px !important;}.cke_rtl .cke_button__anchor_icon, .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -408px !important;}.cke_ltr .cke_button__anchor_icon {background: url(icons.png?t=20af917) no-repeat 0 -432px !important;}.cke_button__link_icon {background: url(icons.png?t=20af917) no-repeat 0 -456px !important;}.cke_button__unlink_icon {background: url(icons.png?t=20af917) no-repeat 0 -480px !important;}.cke_rtl .cke_button__bulletedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -504px !important;}.cke_ltr .cke_button__bulletedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -528px !important;}.cke_rtl .cke_button__numberedlist_icon, .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -552px !important;}.cke_ltr .cke_button__numberedlist_icon {background: url(icons.png?t=20af917) no-repeat 0 -576px !important;}.cke_button__maximize_icon {background: url(icons.png?t=20af917) no-repeat 0 -600px !important;}.cke_button__removeformat_icon {background: url(icons.png?t=20af917) no-repeat 0 -624px !important;}.cke_rtl .cke_button__source_icon, .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -648px !important;}.cke_ltr .cke_button__source_icon {background: url(icons.png?t=20af917) no-repeat 0 -672px !important;}.cke_rtl .cke_button__copy_icon, .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -696px !important;}.cke_ltr .cke_button__copy_icon {background: url(icons.png?t=20af917) no-repeat 0 -720px !important;}.cke_rtl .cke_button__cut_icon, .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -744px !important;}.cke_ltr .cke_button__cut_icon {background: url(icons.png?t=20af917) no-repeat 0 -768px !important;}.cke_rtl .cke_button__paste_icon, .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -792px !important;}.cke_ltr .cke_button__paste_icon {background: url(icons.png?t=20af917) no-repeat 0 -816px !important;}.cke_button__oembed_icon {background: url(icons.png?t=20af917) no-repeat 0 -840px !important;}.cke_hidpi .cke_button__bold_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -0px !important;background-size: 16px !important;}.cke_hidpi .cke_button__italic_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -24px !important;background-size: 16px !important;}.cke_hidpi .cke_button__strike_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -48px !important;background-size: 16px !important;}.cke_hidpi .cke_button__subscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -72px !important;background-size: 16px !important;}.cke_hidpi .cke_button__superscript_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -96px !important;background-size: 16px !important;}.cke_hidpi .cke_button__underline_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -120px !important;background-size: 16px !important;}.cke_hidpi .cke_button__horizontalrule_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -144px !important;background-size: 16px !important;}.cke_hidpi .cke_button__iframe_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -168px !important;background-size: 16px !important;}.cke_hidpi .cke_button__image_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -192px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__indent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -216px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -240px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__outdent_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -264px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -288px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyblock_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -312px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifycenter_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -336px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyleft_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -360px !important;background-size: 16px !important;}.cke_hidpi .cke_button__justifyright_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -384px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__anchor_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -408px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__anchor_icon,.cke_ltr.cke_hidpi .cke_button__anchor_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -432px !important;background-size: 16px !important;}.cke_hidpi .cke_button__link_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -456px !important;background-size: 16px !important;}.cke_hidpi .cke_button__unlink_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -480px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -504px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -528px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -552px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -576px !important;background-size: 16px !important;}.cke_hidpi .cke_button__maximize_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -600px !important;background-size: 16px !important;}.cke_hidpi .cke_button__removeformat_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -624px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__source_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -648px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -672px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__copy_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -696px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -720px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__cut_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -744px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -768px !important;background-size: 16px !important;}.cke_rtl.cke_hidpi .cke_button__paste_icon, .cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -792px !important;background-size: 16px !important;}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -816px !important;background-size: 16px !important;}.cke_hidpi .cke_button__oembed_icon {background: url(icons_hidpi.png?t=20af917) no-repeat 0 -840px !important;background-size: 16px !important;} \ No newline at end of file diff --git a/release/skins/moono/icons.png b/release/skins/moono/icons.png new file mode 100644 index 0000000000000000000000000000000000000000..f63816f70e1fb3ebf9b12b13b783bcd2efb63bd2 GIT binary patch literal 8994 zcmW-n2RzjOAIHC(?UEH|&&b}HWt|n-WUsSB$Sh>$%HCvUWJ?)8N;>mouL{{Kdu6Zu zKm9$<9up}ueWF>^=ysXRQp?|W(+w3XjF_^?E5U<>r58t%e{+4VuRU7Q;{M2c zG-oP%>V30^&eZg@cyP|B_gK#Rrwo+68e=(Wggxv9w-X@|;>bt1I9oOh@=)V*{xpbeG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lwj6#eYg8nX(SBOl~KVqYFgKU$dWOb>nLmAnLVWfsRZ->Q zLAlVMqmjYg`57hC!QD(5CEuETxS|6^ISYnJlbhQ^2F?U`*DQE8UXFatd*@X(N$Vqv z?yl1o6O!uy&Vf g_@@6Y=2MerS2yxRM2$#IBA1^qGBDeDpXwI=Fa5cG(f|Me literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/anchor.png b/release/skins/moono/images/anchor.png new file mode 100644 index 0000000000000000000000000000000000000000..1c802f594a4cd15fc239423ea2b1208120814fec GIT binary patch literal 929 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q?{pzV~EA++)4Ypg&jqX z+vk^+PnzJ%anb3BlDb%u@}lE^8MlQs-4&e{wrHtB*tTEn5z7NMZk#yzu#@AH9gjmy zmd{gk^#6E$ri;FPiSh39N#*Y?zH%S7xz~Sw&&*0Ax&EJ~GaoGCsJCj>k6&^A+@e+L z`JFZvmH+MHBpyvY{h;#5xx_BloV9K8Z5wv(>|FKD^lH~CJ>Gft*TtWoe|K_y7F!UFw*&~tc-FxM@56C6Ra{Q`I+rDi^wu!^khbfyr7p$@_o5X0xbUo;WkiqtvXFTWM z-FaBG+xJqQFthvRNu3hRcm335RgynNzO=Edp4QLJy=QMBbLidmtN24h<74;Dd48w5 z=AF#nFz%NnR%gzfS<$gzRZT?v^elmdM>Fo<-~YJH*~C*~OO(vMf`xl(K0bPJU}f-) zs=1Hu?e*Axd+EiD9OirbtJS|o@oG2y{>a>$Y|>YFSTWD!P(*k9+DGk*bt_xqHAKp4 zy%TgF{g%kyIBz=BoWt5;oU1~QNcgO53D;S+!D}hg24LhiO!ZpYv{meJ<%}XpU!fAK zqb!V4#}y{Y39xj$|IDtiJ=HCJRuLaCC90OVMwFx^mZVxG7o`Fz1|tJQGhG8ST_eK~ z14}CdBP(MgZ6Il2aKDm!9*TzC{FKbJO57UOsccpPYLEok5S*V@Ql40p%1~Zju9umY dU7Va)kgAtols@~NjTBH3gQu&X%Q~loCIE>kg7p9Z literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/arrow.png b/release/skins/moono/images/arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..d72b5f3b8808bd89996ef62f845164d459957a1b GIT binary patch literal 191 zcmeAS@N?(olHy`uVBq!ia0vp^Y(Ol>!VDz;rWf@BDXjpX5LX~=X=(ZY|9>EfAH1#& z-3wIBTN30K45T@Ev~-ix<}bSOt=nC)A1Gk%>Eal|aXtBhiAd6gyIe=gyBczF}qKQ%F0(mNbo(!7G$6ystm-3eX4!Pgg&ebxsLQ E09R-@$^ZZW literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/close.png b/release/skins/moono/images/close.png new file mode 100644 index 0000000000000000000000000000000000000000..2d0297731b2551c8463233b7190f92f01682f0e8 GIT binary patch literal 869 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7lfI{mV~EA+-pS{^r5!~Y z_RqX)y1BlYy;HkMXX=iR0j?WtZ%pQWx%ATh4NGlJZp;?F)zI#wq;_R;M>o6wBwLPy zzGdZc{6>mfr+zzVeP;Ie0(EJ)-_J8BUk3Zwf?tiwKH);8*f728= zn)ZhY3a;78kg@jvj^ahxTcwUk95PTjz3E+s$s`ls@4bdU_VvI2Es^YTxuo7i%5z%k zT>~D&V*#tL2Hd`VJ7ev|C}EbyE3Zq>ojYe?Yg@Z@=gyy^3+}&vZ#w(z;@)1~OD0P- zxKh_1jrx7SA-nhe?Jn z-O7Lb`0=an-n~1n;;C`^le)ts6`$q7yY9ZbZP91%t2SAZ8>q&#y7BVl$&Ilpfi3P3rt-jwXg=p2r`5TnjBUlIzcZ|L)z1&vO=OtXRdB zt$S;$yNiHe)!ut?GRL1^i(0j6mgTX+ntQLmew#D@_qMLb5=%wqJuj@S{aaO7_^}{0 zl~wTJhYuet9adlcwQ$O#PoE~uo;~~8rAwEluUaK1v1a}H^FmK5^-iBY-NDg(@WI(v zud>)5JbJX~Zib1S_R<}@b{&#f9K-asQqHf}u-WFkBwsswph#)gq6HdUi!@&Gv>yfv z8Xn_$mK?JAri-R2vt*m%<(DGn8hKN;UenRhDX6cvf2^d$f7`A;v7U#*bvspwKIR7KhE<#@Ap2>`+e{8{`GyS&W^Sc2owSUAc3>9IxA$=9qfS# zdsJN9cOgLoEgUQWc#@@xWZ62 z&dLJs*3Mz{rzsPpyMGZh!~_xOyr$)WvDy>AtaNL*51eV9eWT*ue8UYve#QFbn!4mPwNM3FgZy%? z?bfe-?s&OZ5Cva-OldSWyJw6)y%uz>K(<`!NP-s#q)4+R9cEkxT@b+R75#FHz$#dCsl z7+qa%o*t9r$_GCIj(9}p^eNUjp9q*yCwSRcR%>LFH57xAIblAS)M*zMk+wEr5igU7 zwtp^q2}$OCYQMiquYQ}T9)dB5$ir9>p7h<(fRm6ULf${MDJ+&2KIxfGrHCRLHFT`g z{l;KRTeb9F+ffcdW`a7~=i+m^ATuL`zIhPrT@vL}SqCBfd1Hk)i1{1s{NJ z6%W2Wz@y$~^eB%s7q)XyUns`&4^=1X1ysv->hXS(@em4Xs>w74-P5{+;vcq6QPVG5zp~yS^H^%bVZi)5} zNs$X2_=4X+a~CcJP^@@SPos zwswp5BSrh0_)`3Z1oU)|8(?$|FnY)Fy2d8DdL~%Cqr$GMJ5CcT_>Unh!Y?R*_Wy=z zjaoIKL2)O+H6kE7hD7lPF)=aPLE#}$zNAQh?FdR>{(>1wxCC(4j#kx{-iiMLuC%Ep literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/hidpi/close.png b/release/skins/moono/images/hidpi/close.png new file mode 100644 index 0000000000000000000000000000000000000000..de4eedf6572063a79d9a3ed21479e20d0e83532b GIT binary patch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k5FBUbtmlRKliL_%z=j1E1F0^KY5FLQvcdViWn_Hc z#a`PI@9ltQqJgqpx%L$(2tAU0oI6c&uVO<1mDyI+3ZgAb2KVe3h&W z-f@#B3=Bm#EWaHa>!CGI95kjt))I3b(W2vZ_n6VE0Ryav){j4*>v55 zXd$6_=0EXVS_IenO^SZgRjRGcjdw>OlKM*~`)Rh>FC{-MIJ+)5+Nk>#Jb)do7yj{8 zI%X#^t0|Y=+x>gWJ(8oEuzwk9Dba`8Aidrc#t&)Pi6BRGjfOd>l+P{|Mg2c*5D4bsuZ!9Ea)c1AilA9DBsvPh(e4zKtJ zAugUoiKPF3LfwISGl;NfJHyHN$fOh^l?+l+Qfw*bV`ve?1hQ>B_1x`67egor_;~oa J*I@}+{{xZ8C+q+K literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/hidpi/lock-open.png b/release/skins/moono/images/hidpi/lock-open.png new file mode 100644 index 0000000000000000000000000000000000000000..594f0d3394355b3eeafdd9969023066a9c871a55 GIT binary patch literal 1582 zcmZ`(eN@s{7``RqM>#Pq(af-{W$FZT4mr+J(InE0+A=BcjLj*^19Yoc?rr`B!wMjLf!Psu_9<&@fj#-#v+7= zm>J<~Emop@O0T|#n!YFC0}n>ENDpaG*%9nMzHVcEyKfrt7O`e}7>oauvZ-2;_SSWi z$JQW*!qqJC$*k7^FYRfuk$`?!I{T}QzzKeI77-J@7TQ=~HRP8*iMz(tRAQ(CQ|n$(WObd2st$J~g+z+y%cM26CSx6$%A} zYGg&c<+2Pi57khtroA4lTkMe%jgsI!7H(U%U$#7l+9f4riF=ex&BdSHdVEYllE#If ziFnBSGHupFr_+hx(JYovp`2t%MFzPEQ0D$XU8EIf_TXG#*s-tzSW8RGz`#Izt1;(t zCI;>Ts}M)-DJRQfl9O#ZJ3Ezk4HH}knus~6)9aVg=HHDxZfy-Yc=Idhm{Pk6F)$8R z^`A^#iY4x9E(=JfX%MHZ+hw zX?pRZq9zuZJuo!1xbV9F<^hdg)G4!-sOA9f$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idpi/lock.png b/release/skins/moono/images/hidpi/lock.png new file mode 100644 index 0000000000000000000000000000000000000000..1e23a0b2d9d529ef2c443753551521d45261b37f GIT binary patch literal 1644 zcmZ`(doVxJyV@x;?bb3 zL6>b~*6C7?mcC_}!E}{kmU@(`k|80wQre~L&!79po_oLF&pDsZ{hsgld+$BpypZ5y z7G}0)000X{0G$b;-Il>jATLTy)kCoDf^U#708K^a>m1`PksH7a0wC29fUFz<{sU22 ze*lnz2Vg!L0Lo1O5J{DfL#dEp^6l|sbg;R#s-OK-0x_mZ0jEV!w&5)^pkXWi0+HL3 z8A1Nr-^D5TBNrdq!ov%3)YgX$DXPTLkUbBcLhef(b(yG`oxPm&F zZH^YHD|MC2Rk{hZyz$Bvs3q&{T$Sfl&EutX)UV%K`&vQGJ^LzSV?7TKM=R+HhgWRB zI1BK4ahkBNSvTI zk04R1_I8@%!)dY=O|_c7F9K%JCGerUhZz+T_}TbQt1d!qZSAYr2Sh={xh3HvIB-AE zC3q|SN@nL%6QUX#+P$)}5?)kTc!bzV;(mkLzdwC^Y%KE4=qRlw#K&se64kPB`h42n z$xf`LYJ9vhCHlIR;Vt#lm$g+~)U(u&L(5dqSiYm`QU2dx_oCW1mOn46GyOwzGTMr; z`P%u9sbn(wAyQQz+4^?v2(|CBZVe^_&vnyltGY~_i;Gu4N!*?+w5GSW*L(P0)aC)W zpFY(qhm(uVxB4FaJngekYL4t`@*;WF4{LA;1OkOsR+qlOkAr@82Q})7n3FJ0bA0RA&8jNp%*;$xL4iele0;Q2D!m{UUmsm) zd4tLEsbjHu@{zg^>6xUgygXB9q7mlA%SvY@RE*A}A_%HKq4fu7+xGeD3-nD{#9@;cZ`cddM|FyE-fBTqz@y+48X|=J?Pr;pg zs=8{4x{rQegz{E-V#3PEg&!8iJZ_5FK(aXA)K2j9%!?at@P!%J%QTNE1(ZVW{OVdU zvt7>J=^rC_p}oOW4B39kKrM*(VKA7MAFnGMxxJq6$enX@2OTjObWWqa!o4Gb>udEo z6ghE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ZZA-!SyU+S)~fLYzAe zWJ`@-^%-A4l%TI<2=3+HyC^&HK?UnOC9!H)sRGatJt|R2N7J{x0x1R3^C9Jgb^p?& z)X)VU_CY9QF31Mxdd|+yw+eBUHaT6N%D#U6Iwg(N`?kEjzI2`E4bWE zOeQn_Z%H9*N2O*zXTNMVdz+~VM$Ivw8TBM5+-?hj5TVI?7e(CoFgi-4fZ465PTo_5 z86L_PgD1Ys znWmg!T5cl)#sJ+3V{|)~FRrwz3+T0Vb@HE2*Chp5YCYRpYTFHC_q=%dlBID6_t-~R zKOt+K44k`heb?1)57;j;}IKbJ1u6w?QXrLemwENRHD;75TEVvLfn{J7J>q0*aom_5)JK=!9`ul4$EH3zVpFCuA#XCKxiLWfICk1Nx z`T4o5t*w>MHhn)7q^PJ^`}Aoqfl%Xt!kNRv?)g=NR6%+Y2VChe%$wB8qu9D!VqoXtUv-E!K^2qS;+M|}1 zvdN`{tU+aq`}fTNI2?YNq?SMS>EowQpOzINkk*RtDJgFI@|mXIoFKT4&T6sf1l78< z{8}i9G;wqeC_icjvh4jHw&*4Jjs#Z?&76#^`zT=9X2J$*csz?A0YwC>;=WrC9z59C zTkzuNfWs?>G$0k?JTo|Wwe!m8orZ>nXgj9^9l6F8n%NkssGT{mvhtJ?=ts}-9J`<#$=PWE>H0%s(0JVBZBKL(U@;p9^Z|KEVW zyUqwS(D@y~=iDh;9O--n5EmC`O^!Yj8%Cl=Sf4u|Su&48fQtZktQUrl4q^NQqs2Io literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/lock-open.png b/release/skins/moono/images/lock-open.png new file mode 100644 index 0000000000000000000000000000000000000000..7d24c5f81db13b35cadeaea2a54f79f7bf8e0e3b GIT binary patch literal 801 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<7-bB#}JFtt-;=>q#OnQ zW$nt9f6G08hoH;B<_<;siq<)b(ft#>pKv($P1w5QT+o!rqt7iamxYU6Iy-|yQ{%<5 z{r_Hl6=gh-W5&!NAjr@#^Wd3>J}w8lkDZzDFNmd*$=}JPW6_KGApB zot~|0{rpDM>C9PmlY*Q$7!_F#Ra(v6=hDB32bFV#QiYqrF#Z-4x;L+A87;R!;U!dA0B z$lJc#>Uox(aQ-<u^&i(wW78GuW|$K6slcMfI{$gh3(rX^1?L2f zox`-Iepncz_qc5LUfsnrLKk0jn3lRPK2T!5AzS4<<@3c7$s6wGU60DXmAC!%@yCqG zJ|7g;T+R9_v_eB;smR;!)je*?Pb$y3mNF?YbgbE0@%)_Sk-|Oe!d7=Yu6R4Ax_j}{ zqR1&l3&foiJcU#|n+_&4986%y&fTca!f;7K_}hb`op)xPP2*))v-L%Z)r+#-329F% zgcyqV(DCY@~pS7(8A5T-G@yGywpO13`rV literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/lock.png b/release/skins/moono/images/lock.png new file mode 100644 index 0000000000000000000000000000000000000000..8baeaa4b885a20881936df3272c52a99de7692f5 GIT binary patch literal 849 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7leDLcV~EA++{w0i(uM-9 z_a|KW*Kx^hLV{FQj)d8RW{x7kA9|iEi+}K0HgU~Y*t)=~SL)_#r4Ak4jk{Hjw{Grv zGUEV)%%{R1pY4Pg?%cW4&{1$_hU6KUVx?apiy0g^3YA`owF@kY;P`moM$nO=VTzEK zriW(o{iy2ad!OsA*;+1d8sv52_3P{>m3?vR#o6c2pZ|W@<(H3BjD9|w^Si39?w_^i zBzb>-e|z`E7xkBlObHTjau5{U^Zmpo9xqJ+!5+i@%vp8oSG{u7Y+bcV?vjaW@|nfg zX3da1XDP$Se&Ov~-42e-SxFW$O6QAt*qHNXwZ+B7C9HLw_uRtT+If=7p8M}lMs;7m z9)6{i_oD3FnSs|$_k7prVroCkc+QfcW4EX)<9pjzyXwjvG*{H^mzTYfV^%+FnWmn; z{>G@aJFdTW-Bwbx&_7Qaie zYbvd;uXlQGIMH*`g|gj8ORQWkoBUzSXJUA`_jtOX(}AL$F~CrJTC|fxv1ZlcpEY$g z&m-czIydPAPE+kMG&pvky8e$E3&X11+dmS1|J|q6wTPeLUUkp$WFIwQ1LIlCI=jnv z$C^s;+>3m%N=R_awOyN69o~Anzkbm*se9E1#`hSa9tLlUS{A?vOgXA0t`Q|Ei6yC4 z$wjF^iowXh&`j6BOxMUT#K6+Zz{twjNE=8R7~HSqo`<3#H$NpatrE9}bt;>cfEpx0 uHU#IVm6RtIr81P4m+NKbWfvzW7NqLs7p2dBXCnnv#Ng@b=d#Wzp$P!FaZ%p@ literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/refresh.png b/release/skins/moono/images/refresh.png new file mode 100644 index 0000000000000000000000000000000000000000..d8106b032f5a279922b5079629ef9de6232121d4 GIT binary patch literal 1050 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(-Th@#}JFtp_5O0tAvXj z+y8sTZCCGIUCVBp{K$JF$1dv1(s}KW;X9`o_ZhwQ?q(bNPaNK z`SKQ>ZQHj`-nnyU{;jv$Zr!@oB%q}2#KHJ~O_18nZEx3ewI1T1aw$K0?X|b(&hhzN zUb1`lZqMbHZ_b!I*VbneOQB5jnKNfn=C-%BUC1%}e(LF`+esTa4jU|(a_Gnr76u1R z*4x`I=561D^jeymo14#4k(ld8@7(}#_EnB8_{rdHas;Z{< zzc~(nsAQ9tmVPj&IcV05Wu1Tj{w+Pd>0g+aqh_nq!iIwh4R!nZ?|)ZZ>LPPol6#6_ zTh(5^*y}*9MBDY|gADVYKm7PnudBX3lUiF_d7kq0O@C{`!#wYKZDRB(cdHlw83VT$7QFeg>@qM5sFt`! zl%yn~>+Bf}5_ODh8-D`O*VAZcK5zmj_%iiX_$l+3hB+#1%Y zY*qqlkObKfoS#-wo>-L10Q8t%W?pu2a$-TMUVc&f>~}U&Kt&9mu6{1-oD!M<8cEPR literal 0 HcmV?d00001 diff --git a/release/skins/moono/images/spinner.gif b/release/skins/moono/images/spinner.gif new file mode 100644 index 0000000000000000000000000000000000000000..d898d41fa7e0d56b5c0da930750e108e50c14d72 GIT binary patch literal 2984 zcmeH|X*8R88^)iIq}DU`>OwP=T3e-=BBi$4DkQN?thHqk38A4vt5G2&WJ5X+EFD9YT0*sI89FsZ>!72Q&ifkPB@Bi+&U~74=F2=EpXZ$4bKTc<{qMhnlf9`~ zkQ^Wfd;|ajfe;xP85bAFX0snWcpwxChlhv9#>S$eqLP!78yXs3ym*1f!KBV7>b5C(sIPDd$9=)eU}Lyb1T(C|L~Y+d zitR+2qa5i~Maw@~h|4LnKu1*BpT|0%7X#@Us zYG0c%Rw%8s#h!qURb_nB6CDm#w0$Lm!+p6v)M1kPS6XTpYCGb>$ zrTSFsgjs@7;L=ZNHr`*n_AE1e5P&%x;-F-v(5M@!yeHIV8(Mr6q{Znl>TQf94KE)T z7jK=}M@8CeE4Ft!n|nH5@PMzW$tdgUYdov%J=p^p227dAuVV6QXd{etFA&=)=JQj9v_;&SKsh|xZYiyHz`t} zO$T;SEw-s42kOby%|^F=j7GM_Km1qqEqlBw5OJV|i6ea(-8^72y3DWglIPp>Okf(v zPU7=mxfODI5iS2nYy$E81{Tzpng{R3ssh~8E%-KLGq=WZNxhi=qK3lRWk{V+skb`$ z_YH4Mpe6Q-$#UD#5Xp6su8QKBCf}FKvW&5|sa??W>3ww)t)A@tg{= z4o0RHDJ(?yK(NOaa@X8eyH!FJTiQ<)&aDb3%WU`M7CbZUJQ`@^2f5v$)*qu`nO=86 z2yqIGQJez9lZfJlU&Za6{O@(z&?&~7-h`Hp$_ftsz|BZ{J#11GYBDqi zshW{Rt5*`7xQm|tt~XBey@J|SM|X}7wQpgd;&cwOY|_D9hgHO%mMy{7bV~b)UQMM? zFwCH?Vl7QzTg?nUV?0JZk%dU~l8LTFi*Nk-qMK?`Ro(H69NCLUL|R=5JoD(s6R+s~??G-dIB&9( zjE0(rADgtz-YFY$_P5l6Z;HHtk~qz+Iq+yIJJXieBm+B*sPKAR)c1I;p}-|a>KH;T z{k*1vuNaxPZ$$8M&a8M!TYqb(>|{cnMOHZKWvi6%jd*BtRy(j%nE}1-R27v5q^S(n zeB&fb0Md+~9W)Bg^wzQgvGku#O{?6C*#Gp3owR!rT3qT1ITjV{8WUx+rycepJN{jH zom;~1e}pn;IWXEkc-VtF^?uPS!tlMr+@))CvZoeQy6pAyRh-8R)z99iekfQRJaQHm zZ-e&p^dozb($k!`&^wna)Yd8qr7Dr9$7(}iD-CY9mB0YT@zQH0&#TlhoZgC>A{I zAwv8OyXVfJbKzcCm`9QKJe{sg8!wMYFoleOl258#R=>&($9e~ZCnu33m~K(1C?=O} z6CH26C4J{2-zW+3YdiK${&l?^le*q1!^Y>G_MO_=kph+BFBYR%aRo5ay9QagY!jpt6z#}jj1 zdmRs6#V7hQ{S#SNsYjiu2`N<9y{v{6cZG?6u3KQ|`A9m=&`l*3wQ}*CCo*^$qZLqZ5gL)PX88H^eiH-Hy@B{Ysn8b_ literal 0 HcmV?d00001 diff --git a/release/skins/moono/readme.md b/release/skins/moono/readme.md new file mode 100644 index 0000000..4a4ed6b --- /dev/null +++ b/release/skins/moono/readme.md @@ -0,0 +1,49 @@ +"Moono" Skin +==================== + +This skin has been chosen for the **default skin** of CKEditor 4.x (replaced by "Moono-lisa" skin since CKEditor 4.6.0), +elected from the CKEditor [skin contest](http://ckeditor.com/blog/new_ckeditor_4_skin) and further shaped by +the CKEditor team. "Moono" is maintained by the core developers. + +For more information about skins, please check the [CKEditor Skin SDK](http://docs.cksource.com/CKEditor_4.x/Skin_SDK) +documentation. + +Features +------------------- +"Moono" is a monochromatic skin, which offers a modern look coupled with gradients and transparency. +It comes with the following features: + +- Chameleon feature with brightness, +- high-contrast compatibility, +- graphics source provided in SVG. + +Directory Structure +------------------- + +CSS parts: +- **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenance, +- **mainui.css**: the file contains styles of entire editor outline structures, +- **toolbar.css**: the file contains styles of the editor toolbar space (top), +- **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar, +- **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded +until the first panel open up, +- **elementspath.css**: the file contains styles of the editor elements path bar (bottom), +- **menu.css**: the file contains styles of all editor menus including context menu and button drop-down, +it's not loaded until the first menu open up, +- **dialog.css**: the CSS files for the dialog UI, it's not loaded until the first dialog open, +- **reset.css**: the file defines the basis of style resets among all editor UI spaces, +- **preset.css**: the file defines the default styles of some UI elements reflecting the skin preference, +- **editor_XYZ.css** and **dialog_XYZ.css**: browser specific CSS hacks. + +Other parts: +- **skin.js**: the only JavaScript part of the skin that registers the skin, its browser specific files and its icons and defines the Chameleon feature, +- **icons/**: contains all skin defined icons, +- **images/**: contains a fill general used images, +- **dev/**: contains SVG source of the skin icons. + +License +------- + +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + +For licensing, see LICENSE.md or [http://ckeditor.com/license](http://ckeditor.com/license) diff --git a/release/styles.js b/release/styles.js new file mode 100644 index 0000000..287e633 --- /dev/null +++ b/release/styles.js @@ -0,0 +1,137 @@ +/** + * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +// This file contains style definitions that can be used by CKEditor plugins. +// +// The most common use for it is the "stylescombo" plugin which shows the Styles drop-down +// list containing all styles in the editor toolbar. Other plugins, like +// the "div" plugin, use a subset of the styles for their features. +// +// If you do not have plugins that depend on this file in your editor build, you can simply +// ignore it. Otherwise it is strongly recommended to customize this file to match your +// website requirements and design properly. +// +// For more information refer to: http://docs.ckeditor.com/#!/guide/dev_styles-section-style-rules + +CKEDITOR.stylesSet.add( 'default', [ + /* Block styles */ + + // These styles are already available in the "Format" drop-down list ("format" plugin), + // so they are not needed here by default. You may enable them to avoid + // placing the "Format" combo in the toolbar, maintaining the same features. + /* + { name: 'Paragraph', element: 'p' }, + { name: 'Heading 1', element: 'h1' }, + { name: 'Heading 2', element: 'h2' }, + { name: 'Heading 3', element: 'h3' }, + { name: 'Heading 4', element: 'h4' }, + { name: 'Heading 5', element: 'h5' }, + { name: 'Heading 6', element: 'h6' }, + { name: 'Preformatted Text',element: 'pre' }, + { name: 'Address', element: 'address' }, + */ + + { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } }, + { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } }, + { + name: 'Special Container', + element: 'div', + styles: { + padding: '5px 10px', + background: '#eee', + border: '1px solid #ccc' + } + }, + + /* Inline styles */ + + // These are core styles available as toolbar buttons. You may opt enabling + // some of them in the Styles drop-down list, removing them from the toolbar. + // (This requires the "stylescombo" plugin.) + /* + { name: 'Strong', element: 'strong', overrides: 'b' }, + { name: 'Emphasis', element: 'em' , overrides: 'i' }, + { name: 'Underline', element: 'u' }, + { name: 'Strikethrough', element: 'strike' }, + { name: 'Subscript', element: 'sub' }, + { name: 'Superscript', element: 'sup' }, + */ + + { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } }, + + { name: 'Big', element: 'big' }, + { name: 'Small', element: 'small' }, + { name: 'Typewriter', element: 'tt' }, + + { name: 'Computer Code', element: 'code' }, + { name: 'Keyboard Phrase', element: 'kbd' }, + { name: 'Sample Text', element: 'samp' }, + { name: 'Variable', element: 'var' }, + + { name: 'Deleted Text', element: 'del' }, + { name: 'Inserted Text', element: 'ins' }, + + { name: 'Cited Work', element: 'cite' }, + { name: 'Inline Quotation', element: 'q' }, + + { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } }, + { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } }, + + /* Object styles */ + + { + name: 'Styled Image (left)', + element: 'img', + attributes: { 'class': 'left' } + }, + + { + name: 'Styled Image (right)', + element: 'img', + attributes: { 'class': 'right' } + }, + + { + name: 'Compact Table', + element: 'table', + attributes: { + cellpadding: '5', + cellspacing: '0', + border: '1', + bordercolor: '#ccc' + }, + styles: { + 'border-collapse': 'collapse' + } + }, + + { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } }, + { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } }, + + /* Widget styles */ + + { name: 'Clean Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-clean' } }, + { name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-grayscale' } }, + + { name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { 'class': 'code-featured' } }, + + { name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { 'class': 'math-featured' } }, + + { name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-240p' }, group: 'size' }, + { name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-360p' }, group: 'size' }, + { name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-480p' }, group: 'size' }, + { name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-720p' }, group: 'size' }, + { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' }, group: 'size' }, + + // Adding space after the style name is an intended workaround. For now, there + // is no option to create two styles with the same name for different widget types. See #16664. + { name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' }, group: 'size' }, + { name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' }, group: 'size' }, + { name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' }, group: 'size' }, + { name: '720p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-720p' }, group: 'size' }, + { name: '1080p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-1080p' }, group: 'size' } + +] ); + diff --git a/sources/CHANGES.md b/sources/CHANGES.md new file mode 100644 index 0000000..1419e55 --- /dev/null +++ b/sources/CHANGES.md @@ -0,0 +1,1219 @@ +CKEditor 4 Changelog +==================== + +## CKEditor 4.6.2 + +New Features: + +* [#16733](http://dev.ckeditor.com/ticket/16733): Added a new pastel color palette for the [Color Button](http://ckeditor.com/addon/colorbutton) plugin and a new [`config.colorButton_colorsPerRow`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-colorButton_colorsPerRow) configuration option for setting the number of rows in the color selector. +* [#16752](http://dev.ckeditor.com/ticket/16752): Added a new Azerbaijani localization. Thanks to the [Azerbaijani language team](https://www.transifex.com/ckeditor/teams/11143/az/)! +* [#13818](http://dev.ckeditor.com/ticket/13818): It is now possible to group [Widget](http://ckeditor.com/addon/widget) [style definitions](http://docs.ckeditor.com/#!/guide/dev_styles-section-widget-styles), so applying one style disables the other. + +Fixed Issues: + +* [#13446](http://dev.ckeditor.com/ticket/13446): [Chrome] Fixed: It is possible to type in an unfocused inline editor. +* [#14856](http://dev.ckeditor.com/ticket/14856): Fixed: [Font size and font family](http://ckeditor.com/addon/font) reset each other when modified at certain positions. +* [#16745](http://dev.ckeditor.com/ticket/16745): [Edge] Fixed: List items are lost when [pasted from Word](http://ckeditor.com/addon/pastefromword). +* [#16682](http://dev.ckeditor.com/ticket/16682): [Edge] Fixed: A list gets [pasted from Word](http://ckeditor.com/addon/pastefromword) as a set of paragraphs. Added the [`config.pasteFromWord_heuristicsEdgeList`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWord_heuristicsEdgeList) configuration option. +* [#10373](http://dev.ckeditor.com/ticket/10373): Fixed: Context menu items can be dragged into the editor. +* [#16728](http://dev.ckeditor.com/ticket/16728): [IE] Fixed: [Copy Formatting](http://ckeditor.com/addon/copyformatting) breaks the editor in Quirks Mode. +* [#16795](http://dev.ckeditor.com/ticket/16795): [IE] Fixed: [Copy Formatting](http://ckeditor.com/addon/copyformatting) breaks the editor in Compatibility Mode. +* [#16675](http://dev.ckeditor.com/ticket/16675): Fixed: Styles applied with [Copy Formatting](http://ckeditor.com/addon/copyformatting) to a single table cell are applied to the whole table. +* [#16753](http://dev.ckeditor.com/ticket/16753): Fixed: [`element.setSize`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.element-method-setSize) sets incorrect editor dimensions if the border width is represented as a fraction of pixels. +* [#16705](http://dev.ckeditor.com/ticket/16705): [Firefox] Fixed: Unable to paste images as Base64 strings when using [Clipboard](http://ckeditor.com/addon/clipboard). +* [#14869](http://dev.ckeditor.com/ticket/14869): Fixed: JavaScript error is thrown when trying to use [Find](http://ckeditor.com/addon/find) in a [`
    `-based editor](http://ckeditor.com/addon/divarea). + +## CKEditor 4.6.1 + +New Features: + +* [#16639](http://dev.ckeditor.com/ticket/16639): The `callback` parameter in the [CKEDITOR.ajax.post](http://docs.ckeditor.com/#!/api/CKEDITOR.ajax-method-post) method became optional. + +Fixed Issues: + +* [#11064](http://dev.ckeditor.com/ticket/11064): [Blink, WebKit] Fixed: Cannot select all editor content when a widget or a non-editable element is the first or last element of the content. Also fixes this issue in the [Select All](http://ckeditor.com/addon/selectall) plugin. +* [#14755](http://dev.ckeditor.com/ticket/14755): [Blink, WebKit, IE8] Fixed: Browser hangs when a table is inserted in the place of a selected list with an empty last item. +* [#16624](http://dev.ckeditor.com/ticket/16624): Fixed: Improved the [Color Button](http://ckeditor.com/addon/colorbutton) plugin which will now normalize the CSS `background` property if it only contains a color value. This fixes missing background colors when using [Paste from Word](http://ckeditor.com/addon/pastefromword). +* [#16600](http://dev.ckeditor.com/ticket/16600): [Blink, WebKit] Fixed: Error thrown occasionally by an uninitialized editable for multiple CKEditor instances on the same page. + +## CKEditor 4.6 + +New Features: + +* [#14569](http://dev.ckeditor.com/ticket/14569): Added a new, flat, default CKEditor skin called [Moono-Lisa](http://ckeditor.com/addon/moono-lisa). Refreshed default colors available in the [Color Button](http://ckeditor.com/addon/colorbutton) plugin ([Text Color and Background Color](http://docs.ckeditor.com/#!/guide/dev_colorbutton) feature). +* [#14707](http://dev.ckeditor.com/ticket/14707): Added a new [Copy Formatting](http://ckeditor.com/addon/copyformatting) feature to enable easy copying of styles between your document parts. +* Introduced the completely rewritten [Paste from Word](http://ckeditor.com/addon/pastefromword) plugin: + * Backward incompatibility: The [`config.pasteFromWordRemoveFontStyles`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles) option now defaults to `false`. This option will be deprecated in the future. Use [Advanced Content Filter](http://docs.ckeditor.com/#!/guide/dev_acf) to replicate the effect of setting it to `true`. + * Backward incompatibility: The [`config.pasteFromWordNumberedHeadingToList`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordNumberedHeadingToList) and [`config.pasteFromWordRemoveStyles`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveStyles) options were dropped and no longer have any effect on pasted content. + * Major improvements in preservation of list numbering, styling and indentation (nested lists with multiple levels). + * Major improvements in document structure parsing that fix plenty of issues with distorted or missing content after paste. +* Added new translation: Occitan. Thanks to [Cédric Valmary](https://totenoc.eu/)! +* [#10015](http://dev.ckeditor.com/ticket/10015): Keyboard shortcuts (relevant to the operating system in use) will now be displayed in tooltips and context menus. +* [#13794](http://dev.ckeditor.com/ticket/13794): The [Upload Image](http://ckeditor.com/addon/uploadimage) feature now uses `uploaded.width/height` if set. +* [#12541](http://dev.ckeditor.com/ticket/12541): Added the [Upload File](http://ckeditor.com/addon/uploadfile) plugin that lets you upload a file by drag&dropping it into the editor content. +* [#14449](http://dev.ckeditor.com/ticket/14449): Introduced the [Balloon Panel](http://ckeditor.com/addon/balloonpanel) plugin that lets you create stylish floating UI elements for the editor. +* [#12077](https://dev.ckeditor.com/ticket/12077): Added support for the HTML5 `download` attribute in link (``) elements. Selecting the "Force Download" checkbox in the [Link](http://ckeditor.com/addon/link) dialog will cause the linked file to be downloaded automatically. Thanks to [sbusse](https://github.com/sbusse)! +* [#13518](http://dev.ckeditor.com/ticket/13518): Introduced the [`additionalRequestParameters`](http://docs.ckeditor.com/#!/api/CKEDITOR.fileTools.uploadWidgetDefinition-property-additionalRequestParameters) property for file uploads to make it possible to send additional information about the uploaded file to the server. +* [#14889](http://dev.ckeditor.com/ticket/14889): Added the [`config.image2_altRequired`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-image2_altRequired) option for the [Enhanced Image](http://ckeditor.com/addon/image2) plugin to allow making alternative text a mandatory field. Thanks to [Andrey Fedoseev](https://github.com/andreyfedoseev)! + +Fixed Issues: + +* [#9991](http://dev.ckeditor.com/ticket/9991): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) should only normalize input data. +* [#7209](http://dev.ckeditor.com/ticket/7209): Fixed: Lists with 3 levels not [pasted from Word](http://ckeditor.com/addon/pastefromword) correctly. +* [#14335](http://dev.ckeditor.com/ticket/14335): Fixed: Pasting a numbered list starting with a value different from "1" from Microsoft Word does not work correctly. +* [#14542](http://dev.ckeditor.com/ticket/14542): Fixed: Copying a numbered list from Microsoft Word does not preserve list formatting. +* [#14544](http://dev.ckeditor.com/ticket/14544): Fixed: Copying a nested list from Microsoft Word results in an empty list. +* [#14660](http://dev.ckeditor.com/ticket/14660): Fixed: [Pasting text from Word](http://ckeditor.com/addon/pastefromword) breaks the styling in some cases. +* [#14867](http://dev.ckeditor.com/ticket/14867): [Firefox] Fixed: Text gets stripped when [pasting content from Word](http://ckeditor.com/addon/pastefromword). +* [#2507](http://dev.ckeditor.com/ticket/2507): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) does not detect pasting a part of a paragraph. +* [#3336](http://dev.ckeditor.com/ticket/3336): Fixed: Extra blank row added on top of the content [pasted from Word](http://ckeditor.com/addon/pastefromword). +* [#6115](http://dev.ckeditor.com/ticket/6115): Fixed: When Right-to-Left text direction is applied to a table [pasted from Word](http://ckeditor.com/addon/pastefromword), borders are missing on one side. +* [#6342](http://dev.ckeditor.com/ticket/6342): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) filters out a basic text style when it is [configured to use attributes](http://docs.ckeditor.com/#!/guide/dev_basicstyles-section-custom-basic-text-style-definition). +* [#6457](http://dev.ckeditor.com/ticket/6457): [IE] Fixed: [Pasting from Word](http://ckeditor.com/addon/pastefromword) is extremely slow. +* [#6789](http://dev.ckeditor.com/ticket/6789): Fixed: The `mso-list: ignore` style is not handled properly when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#7262](http://dev.ckeditor.com/ticket/7262): Fixed: Lists in preformatted body disappear when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#7662](http://dev.ckeditor.com/ticket/7662): [Opera] Fixed: Extra empty number/bullet shown in the editor body when editing a multi-level list [pasted from Word](http://ckeditor.com/addon/pastefromword). +* [#7807](http://dev.ckeditor.com/ticket/7807): Fixed: Last item in a list not converted to a `
  • ` element after [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#7950](http://dev.ckeditor.com/ticket/7950): [IE] Fixed: Content [from Word pasted](http://ckeditor.com/addon/pastefromword) differently than in other browsers. +* [#7982](http://dev.ckeditor.com/ticket/7982): Fixed: Multi-level lists get split into smaller ones when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#8231](http://dev.ckeditor.com/ticket/8231): [WebKit, Opera] Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) inserts empty paragraphs. +* [#8266](http://dev.ckeditor.com/ticket/8266): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) inserts a blank line at the top. +* [#8341](http://dev.ckeditor.com/ticket/8341), [#7646](http://dev.ckeditor.com/ticket/7646): Fixed: Faulty removal of empty `` elements in [Paste from Word](http://ckeditor.com/addon/pastefromword) content cleanup breaking content formatting. +* [#8754](http://dev.ckeditor.com/ticket/8754): [Firefox] Fixed: Incorrect pasting of multiple nested lists in [Paste from Word](http://ckeditor.com/addon/pastefromword). +* [#8983](http://dev.ckeditor.com/ticket/8983): Fixed: Alignment lost when [pasting from Word](http://ckeditor.com/addon/pastefromword) with [`config.enterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode) set to [`CKEDITOR.ENTER_BR`](http://docs.ckeditor.com/#!/api/CKEDITOR-property-ENTER_BR). +* [#9331](http://dev.ckeditor.com/ticket/9331): [IE] Fixed: [Pasting text from Word](http://ckeditor.com/addon/pastefromword) creates a simple Caesar cipher. +* [#9422](http://dev.ckeditor.com/ticket/9422): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) leaves an unwanted `color:windowtext` style. +* [#10011](http://dev.ckeditor.com/ticket/10011): [IE9-10] Fixed: [`config.pasteFromWordRemoveFontStyles`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles) is ignored under certain conditions. +* [#10643](http://dev.ckeditor.com/ticket/10643): Fixed: Differences between using Ctrl+V and pasting from the [Paste from Word](http://ckeditor.com/addon/pastefromword) dialog. +* [#10784](http://dev.ckeditor.com/ticket/10784): Fixed: Lines missing when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#11294](http://dev.ckeditor.com/ticket/11294): [IE10] Fixed: Font size is not preserved when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#11627](http://dev.ckeditor.com/ticket/11627): Fixed: Missing words when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#12784](http://dev.ckeditor.com/ticket/12784): Fixed: Bulleted list with custom bullets gets changed to a numbered list when [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#13174](http://dev.ckeditor.com/ticket/13174): Fixed: Data loss after [pasting from Word](http://ckeditor.com/addon/pastefromword). +* [#13828](http://dev.ckeditor.com/ticket/13828): Fixed: Widget classes should be added to the wrapper rather than the widget element. +* [#13829](http://dev.ckeditor.com/ticket/13829): Fixed: No class in [Widget](http://ckeditor.com/addon/widget) wrapper to identify the widget type. +* [#13519](http://dev.ckeditor.com/ticket/13519): Server response received when uploading files should be more flexible. + +Other Changes: + +* Updated [SCAYT](http://ckeditor.com/addon/scayt) (Spell Check As You Type) and [WebSpellChecker](http://ckeditor.com/addon/wsc) plugins: + * Support for the new default Moono-Lisa skin. + * [#121](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/121): Fixed: [Basic Styles](http://ckeditor.com/addon/basicstyles) do not work when SCAYT is enabled. + * [#125](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/125): Fixed: Inline styles are not continued when writing multiple lines of styled text with SCAYT enabled. + * [#127](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/127): Fixed: Uncaught TypeError after enabling SCAYT in the CKEditor `
    ` element. + * [#128](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/128): Fixed: Error thrown after enabling SCAYT caused by conflicts with RequireJS. + +## CKEditor 4.5.11 + +**Security Updates:** + +* [Severity: minor] Fixed the `target="_blank"` vulnerability reported by James Gaskell. + + Issue summary: If a victim had access to a spoofed version of ckeditor.com via HTTP (e.g. due to DNS spoofing, using a hacked public network or mailicious hotspot), then when using a link to the ckeditor.com website it was possible for the attacker to change the current URL of the opening page, even if the opening page was protected with SSL. + + An upgrade is recommended. + +New Features: + +* [#14747](http://dev.ckeditor.com/ticket/14747): The [Enhanced Image](http://ckeditor.com/addon/image2) caption now supports the link `target` attribute. +* [#7154](http://dev.ckeditor.com/ticket/7154): Added support for the "Display Text" field to the [Link](http://ckeditor.com/addon/link) dialog. Thanks to [Ryan Guill](https://github.com/ryanguill)! + +Fixed Issues: + +* [#13362](http://dev.ckeditor.com/ticket/13362): [Blink, WebKit] Fixed: Active widget element is not cached when it is losing focus and it is inside an editable element. +* [#13755](http://dev.ckeditor.com/ticket/13755): [Edge] Fixed: Pasting images does not work. +* [#13548](http://dev.ckeditor.com/ticket/13548): [IE] Fixed: Clicking the [elements path](http://ckeditor.com/addon/elementspath) disables Cut and Copy icons. +* [#13812](http://dev.ckeditor.com/ticket/13812): Fixed: When aborting file upload the placeholder for image is left. +* [#14659](http://dev.ckeditor.com/ticket/14659): [Blink] Fixed: Content scrolled to the top after closing the dialog in a [`
    `-based editor](http://ckeditor.com/addon/divarea). +* [#14825](http://dev.ckeditor.com/ticket/14825): [Edge] Fixed: Focusing the editor causes unwanted scrolling due to dropped support for the `setActive` method. + +## CKEditor 4.5.10 + +Fixed Issues: + +* [#10750](http://dev.ckeditor.com/ticket/10750): Fixed: The editor does not escape the `font-style` family property correctly, removing quotes and whitespace from font names. +* [#14413](http://dev.ckeditor.com/ticket/14413): Fixed: The [Auto Grow](http://ckeditor.com/addon/autogrow) plugin with the [`config.autoGrow_onStartup`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-autoGrow_onStartup) option set to `true` does not work properly for an editor that is not visible. +* [#14451](http://dev.ckeditor.com/ticket/14451): Fixed: Numeric element ID not escaped properly. Thanks to [Jakub Chalupa](https://github.com/chaluja7)! +* [#14590](http://dev.ckeditor.com/ticket/14590): Fixed: Additional line break appearing after inline elements when switching modes. Thanks to [dpidcock](https://github.com/dpidcock)! +* [#14539](https://dev.ckeditor.com/ticket/14539): Fixed: JAWS reads "selected Blank" instead of "selected " when selecting a widget. +* [#14701](http://dev.ckeditor.com/ticket/14701): Fixed: More precise labels for [Enhanced Image](http://ckeditor.com/addon/image2) and [Placeholder](http://ckeditor.com/addon/placeholder) widgets. +* [#14667](http://dev.ckeditor.com/ticket/14667): [IE] Fixed: Removing background color from selected text removes background color from the whole paragraph. +* [#14252](http://dev.ckeditor.com/ticket/14252): [IE] Fixed: Styles drop-down list does not always reflect the current style of the text line. +* [#14275](http://dev.ckeditor.com/ticket/14275): [IE9+] Fixed: `onerror` and `onload` events are not used in browsers it could have been used when loading scripts dynamically. + +## CKEditor 4.5.9 + +Fixed Issues: + +* [#10685](http://dev.ckeditor.com/ticket/10685): Fixed: Unreadable toolbar icons after updating to the new editor version. Fixed with [6876179](https://github.com/ckeditor/ckeditor-dev/commit/6876179db4ee97e786b07b8fd72e6b4120732185) in [ckeditor-dev](https://github.com/ckeditor/ckeditor-dev) and [6c9189f4](https://github.com/ckeditor/ckeditor-presets/commit/6c9189f46392d2c126854fe8889b820b8c76d291) in [ckeditor-presets](https://github.com/ckeditor/ckeditor-presets). +* [#14573](https://dev.ckeditor.com/ticket/14573): Fixed: Missing [Widget](http://ckeditor.com/addon/widget) drag handler CSS when there are multiple editor instances. +* [#14620](https://dev.ckeditor.com/ticket/14620): Fixed: Setting both the `min-height` style for the `` element and the `height` style for the `` element breaks the [Auto Grow](http://ckeditor.com/addon/autogrow) plugin. +* [#14538](http://dev.ckeditor.com/ticket/14538): Fixed: Keyboard focus goes into an embedded `' ); + + // Reset last data transfer. + lastDataTransfer = null; + + iframe.on( 'load', function( e ) { + e.removeListener(); + + var doc = iframe.getFrameDocument(); + doc.write( htmlToLoad ); + + editor.focusManager.add( doc.getBody() ); + + if ( CKEDITOR.env.air ) + onPasteFrameLoad.call( this, doc.getWindow().$ ); + }, dialog ); + + iframe.setCustomData( 'dialog', dialog ); + + var container = this.getElement(); + container.setHtml( '' ); + container.append( iframe ); + + // IE need a redirect on focus to make + // the cursor blinking inside iframe. (#5461) + if ( CKEDITOR.env.ie && !CKEDITOR.env.edge ) { + var focusGrabber = CKEDITOR.dom.element.createFromHtml( '' ); + focusGrabber.on( 'focus', function() { + // Since fixDomain is called in src attribute, + // IE needs some slight delay to correctly move focus. + setTimeout( function() { + iframe.$.contentWindow.focus(); + } ); + } ); + container.append( focusGrabber ); + + // Override focus handler on field. + this.focus = function() { + focusGrabber.focus(); + this.fire( 'focus' ); + }; + } + + this.getInputElement = function() { + return iframe; + }; + + // Force container to scale in IE. + if ( CKEDITOR.env.ie ) { + container.setStyle( 'display', 'block' ); + container.setStyle( 'height', ( iframe.$.offsetHeight + 2 ) + 'px' ); + } + }, + commit: function() { + var editor = this.getDialog().getParentEditor(), + body = this.getInputElement().getFrameDocument().getBody(), + bogus = body.getBogus(), + html; + bogus && bogus.remove(); + + // Saving the contents so changes until paste is complete will not take place (#7500) + html = body.getHtml(); + + // Opera needs some time to think about what has happened and what it should do now. + setTimeout( function() { + editor.fire( 'pasteDialogCommit', { + dataValue: html, + // Avoid error if there was no paste so lastDataTransfer is null. + dataTransfer: lastDataTransfer || clipboard.initPasteDataTransfer() + } ); + }, 0 ); + } + } + ] + } ] + }; +} ); + +/** + * Internal event to pass paste dialog's data to the listeners. + * + * @private + * @event pasteDialogCommit + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + */ diff --git a/sources/plugins/clipboard/icons/copy-rtl.png b/sources/plugins/clipboard/icons/copy-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..ce94fc081658287b33b61c5f0b017d969554a104 GIT binary patch literal 506 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e46e^9qTsrs68`&SvSdL02 zrX7)Z`8!T?>Gb4g)~Au5Hktb}D;O(3KRT1?w65p&k75T-|*?*`srJZ!XUJnj*or=eu^i%%n~7S(V#o3Ob#rQka)8@A=)5b+dkG zpM5iBcg~~zq5=n!g{-fJ7oSdlBKn8H_)TP2Q$jc|(9^0Vt`Q|Ei6yC4$wjF^iowXh z&`j6BT-VSt#L(Ev*ucufNZY{3%D_NkLU{#>hTQy=%(P0}8ZytGKLXUi;OXk;vd$@? F2>?2@w*~+J literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/copy.png b/sources/plugins/clipboard/icons/copy.png new file mode 100644 index 0000000000000000000000000000000000000000..ce94fc081658287b33b61c5f0b017d969554a104 GIT binary patch literal 506 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e46e^9qTsrs68`&SvSdL02 zrX7)Z`8!T?>Gb4g)~Au5Hktb}D;O(3KRT1?w65p&k75T-|*?*`srJZ!XUJnj*or=eu^i%%n~7S(V#o3Ob#rQka)8@A=)5b+dkG zpM5iBcg~~zq5=n!g{-fJ7oSdlBKn8H_)TP2Q$jc|(9^0Vt`Q|Ei6yC4$wjF^iowXh z&`j6BT-VSt#L(Ev*ucufNZY{3%D_NkLU{#>hTQy=%(P0}8ZytGKLXUi;OXk;vd$@? F2>?2@w*~+J literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/cut-rtl.png b/sources/plugins/clipboard/icons/cut-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..8ae48d9a7ab05a4fc5d515ca50fd54ee14f59738 GIT binary patch literal 776 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e4T8vTzLJ%Nv2l=BK2BF^C}vL z_ZS^JVENotB|LP=l(^}_ii@Pr?X2g#`nohCyIhT_p`)Yt-L-!enoEDL`n6c7kc06I zPqGhd%FdX&`|l4|?fqACfmzUzV_}epVB^+r{+?zbqUS7Q*Iy59kWfzQ@z6}%8RHZx zZ~0u0v4TO~wI!*?#YO%0l$M$CXPy_Yc%^pi(2=OM-?$G{GlaXaWWSAmF4JR}VK$q8 z+mic9J^IqUZR^6c3lyze7((}6%i7A*P|Xn6D&WVpa`VkM!h*2^7vBmnF*@vx+rL>` z=yRI&Tt9mqF>ZzmKbP>Oh37-RW|&A#{Qggofv5d&@vHB@cMBPQF7$f2#Usf^E_nH6 z&He4%4CdQwD<=h2C7(82`AS?#NwD#|+}*tGpJsHt&^TXQ@qS_u6T=_Yj1G?CYb)%( z15<@+iEBhjN@7W>RdP`(kYX@0Ff`LOFxNG-3^6peGB&U>G14|LvNAA`m{4AUq9Hdw aB{QuOw}#BK=Z^q2FnGH9xvX!lvI6-E$sR$z z3=CDO3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#{(Uvn8{0rc$E$ zyX1eXRknC;yOZiNBc5e?NuUEp~Y?=Q#gQV(Mh^`PaTC zcD+~Q2I)&yOG2Jr=D054u-4@HGbd4}t^Z6ow=Vw0ruCoQchP}O?!c6xTH+c}l9E`G zYL#4+3Zxi}3=GY54Gnb-j6w{Jt&EMW3=Fgl41wfz#x-wIH00)|WTsW(*03x_BoL^9 N!PC{xWt~$(69A&kFRB0l literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/hidpi/copy.png b/sources/plugins/clipboard/icons/hidpi/copy.png new file mode 100644 index 0000000000000000000000000000000000000000..74c676563721cae8a7d6d1b68ba4db0b43ae385e GIT binary patch literal 759 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zUgGKN%Km_xiC2-KneQA20|Vo4PZ!6Kh{H$2&*mL6;Mq3!Q;J8&^qZ;2gED6?`*uw4 z_F;v%wQKh>droJ2&VTHir=Y;~lh5`0vJ3X#Z*FB^=-^Oz^l7I=^Ur0O^PW}y`}9`P zZ@KUj2PLL|1qHKzezxl@l(FwMe7|r$zy1yj##FxI_lrmgMFJGx5(0fAm zq=~Ps(l@hT*M8T@GuAiWNm9Bbcu_&=z!_b^uc~!{Oo^AKHq7KdHiMBNVczp;9d>u3 zmUcbJ+g|)>*Ya?kL#_gaim!59z8pHUe%5~ZDP`JWTp7+2G$vJ+u}Lli7Rt;dGls-?q!pcUY?=l+xGZk*azgR8^GN!x!c5v}-#qRVz8wt=ew>Vlx+(w09jVHml5=%#{(Uvn8{0rc$E$ zyX1eXRknC;yOZiNBc5e?NuUEp~Y?=Q#gQV(Mh^`PaTC zcD+~Q2I)&yOG2Jr=D054u-4@HGbd4}t^Z6ow=Vw0ruCoQchP}O?!c6xTH+c}l9E`G zYL#4+3Zxi}3=GY54Gnb-j6w{Jt&EMW3=Fgl41wfz#x-wIH00)|WTsW(*03x_BoL^9 N!PC{xWt~$(69A&kFRB0l literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/hidpi/cut-rtl.png b/sources/plugins/clipboard/icons/hidpi/cut-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..f5a9b0da7954fed7d925972e54c43e87dac9e1f2 GIT binary patch literal 1576 zcmZ{kYgE#A9L9enUcxAtt7%w?nbQsOk9Z-qCI%BMO#fOkrDhS{n3obPR5r?6t&3$y znwPBQsEKplQbSClwW&mNUNNV(Ji0Qbo0=9nM=$qc=X<`-=bYy`&)es0NN^w;wGjmX zKrAg@tQ($pqPaqAfyt@jO{EEr36fjwI%Q5R!XgtVTtFr>YoWP_}!`Ye( z5&Poo_uH?^s%|U(Kc_-(Wf8b1k%?_^}(2(#?MCR^*iW+?kt< zzOPSWD>u*mB1^i6j-+DtbVqettfMQL&Sd3pWuohOt=?@SU;S&f`%0T=blNDsKW&Uz zt&3!{T{t$_BE6>>mKt=nxY$lnQ)32-?D%~CpkA+zh9odbTY7&VEoUn@`RAj+i}q>_ z0gv>1vip5{vuM^CRP?-vPEKAIe{Dk7CHdg>G4z@vv&zgj?%9|oxm=#J2@PB-F?8$$ zh-RBRI5ZT{^pq~+wQM3kA5mq1b{iX;JWj~?Dl5$|s>a7!RvF6i=BmQGTk%M3s>Z*- z>2_a&!cf@t7Gt)pD&8K`UG2e2O_RbqFwetX3&|-f|A>31=5gOF?S#y|c-qVc_)aDT zRlR(u`aniraejX9ue+fXO^1BYJPso>xa>WCjwlUAPt$2AP9Hb+hq7Yum|iXHWSg5y9RrbbJ^K zcMev62crpYZd}N=;{0*^L${zic6mAW4KOO;%+l?Mk<3>gkp?u+RWC#t^|z!m z;w@EGRhl&lg<@Re)K&Luu}*tC{G+PnFIS?-h{W#CCa;5&eK8e;gKy&eM1LQ}4;4_Q zlb+0iEr!)`{uo=ozoVXv{BPC3N6!}xbd)R|@S(IbHBdzha{s(FXwz!#(=_G_M zXxA>C*8bXSeoaE-+cs$(#uckx5Z{Wwmmmx%3BBypah*1I1R;UHo1r2=`Q&nzxwzJNn9{=_e?*77{mv!j9xl{+*ILZB%55?Aqzi*%8+KOR@(5E<0VB@)uv1+@oCl z%JXh&YHH2kSm~pF9io{FU+qd<{-W%R&XNj+-U%=7ORxYQ8!yayQGhKDXC~QcnBhA5 zczb&GIo$kgc02Y)&x=ec-(iiWbaQ>EyoXw^xA*J}Hfs*)_m;vlel-Giym3Fcidr+s zjhF&}Vf9y8PeBG1v)8OS+Sk)qq!Oe=*k3Tr8J7c#cTC%e@VNC#GluK@X++=Dd`MLv zhTa|WlORJi!o`A{E)NzLDcP7D?B|P)k&%&|lM-XoQ2*IIvHAwWjaDe?mFgd}AH!Q7 zOvpZFo2GP|fX)^iJuKk)aF6p$0PYaUi%237A@^_+*@sN_fuN5el1T>;3d4U2iOEOf YV?_U7_?Gj2sHp&$^kCZe0nw-b1?1(mwEzGB literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/hidpi/cut.png b/sources/plugins/clipboard/icons/hidpi/cut.png new file mode 100644 index 0000000000000000000000000000000000000000..f5a9b0da7954fed7d925972e54c43e87dac9e1f2 GIT binary patch literal 1576 zcmZ{kYgE#A9L9enUcxAtt7%w?nbQsOk9Z-qCI%BMO#fOkrDhS{n3obPR5r?6t&3$y znwPBQsEKplQbSClwW&mNUNNV(Ji0Qbo0=9nM=$qc=X<`-=bYy`&)es0NN^w;wGjmX zKrAg@tQ($pqPaqAfyt@jO{EEr36fjwI%Q5R!XgtVTtFr>YoWP_}!`Ye( z5&Poo_uH?^s%|U(Kc_-(Wf8b1k%?_^}(2(#?MCR^*iW+?kt< zzOPSWD>u*mB1^i6j-+DtbVqettfMQL&Sd3pWuohOt=?@SU;S&f`%0T=blNDsKW&Uz zt&3!{T{t$_BE6>>mKt=nxY$lnQ)32-?D%~CpkA+zh9odbTY7&VEoUn@`RAj+i}q>_ z0gv>1vip5{vuM^CR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5yDewu literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/hidpi/paste.png b/sources/plugins/clipboard/icons/hidpi/paste.png new file mode 100644 index 0000000000000000000000000000000000000000..12cac92aab8bbe539077ea5aaec3442281e18a7a GIT binary patch literal 854 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zUgGKN%Km_xiC2-KneQA20|Qf(r;B4q#NoB!2ea-N2-GTDe!KXu#p$JLKvj;y+d{=H zZ{BaSpWs}?y_dyn;TQfr=K9;xt2)vpPhVQMXE*bqO-m~MtBfb*+{)W7Ajr_rq2qO= zPUs>tgMsm!;`YLOzva*TiDl2S7S!$9CO+*2%f?&HVRMSv6&NIre~dn*+4^!urQ@F4 zZy6r2HfUHh*fXdsouVk9^eb0QgCS1s%*~3ldD;vNxwjW(N^M-_^G$B1nv%SU%jMt8 zcdc8R8@=kalu}VZ?m~ylCjMu5((2y+p4TU+*_d=>iCkMF!=5gVSG(#qtxiwd!SNzp zsj1`6y*qbqtgBaSeAZCRH@V;L|En2`Gz|J4uT5&NX`OmlZOV5$ncwHW9Y6E!Y|6Yc zuQS^_PEKQr%~s6oIlh*4XG+Zu38kvw2eT$`NOnFHao>|wFS7Q7U+~QNEtU?`pE;h2 zcR3gI;NRKsBX(N_0=MMdKDB92_=cq1NsJXCp=b8>uM)SOR5lNvJC#!q89?hzcGzblwS=GRPfnkz+RL)t!3rSrFolXFlC2syrFmXW@+q{19jK^-%g5L zBzC$nonghQSK-%7FKU~We!HE0?OJkIW@Jl(M4R>dy$nAhLZ_zsADyLBV6igzVWh@` zz1RI;KEHCXsCVvyuoe}UmPHy25A@1ZW^Y@4=8$IQx~Zu@O+%EvuAZiK=Figw4tg84 zu73afF!|9P|E)J8nHXlDP209;gWSJ@7R8-M{xSRK3tuwn5;+4*c&a6?5hW>!C8<`) zMX5lF!N|bSOxMs**T5*m(Adh@*vh~_+rSV=UT0kM7DYpDeoAIqC2kGNVnhOg8W=oX L{an^LB{Ts5yDewu literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/paste-rtl.png b/sources/plugins/clipboard/icons/paste-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..7039251b8cb48e7e9538446e1dea78bed26f33cd GIT binary patch literal 464 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e4GCT9}yJnT8 zQ{uWlGdgIhs+_#rzB5ngm_+{py_O3~N-YgbYI{D~2v#oK>2=7c_^9xKrCASyb#(t; zS2m(fiNCA#_<@1KpjzS@QIe8al4_M) zlnSI6j0_CTbPddP4J|_qjjfCgtW1ow4UDV|3?wF$SDcptHiA#^X&N}Kn)C@ Lu6{1-oD!M<`0Adx literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/icons/paste.png b/sources/plugins/clipboard/icons/paste.png new file mode 100644 index 0000000000000000000000000000000000000000..7039251b8cb48e7e9538446e1dea78bed26f33cd GIT binary patch literal 464 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e4GCT9}yJnT8 zQ{uWlGdgIhs+_#rzB5ngm_+{py_O3~N-YgbYI{D~2v#oK>2=7c_^9xKrCASyb#(t; zS2m(fiNCA#_<@1KpjzS@QIe8al4_M) zlnSI6j0_CTbPddP4J|_qjjfCgtW1ow4UDV|3?wF$SDcptHiA#^X&N}Kn)C@ Lu6{1-oD!M<`0Adx literal 0 HcmV?d00001 diff --git a/sources/plugins/clipboard/lang/af.js b/sources/plugins/clipboard/lang/af.js new file mode 100644 index 0000000..f87522f --- /dev/null +++ b/sources/plugins/clipboard/lang/af.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'af', { + copy: 'Kopiëer', + copyError: 'U blaaier se sekuriteitsinstelling belet die kopiëringsaksie. Gebruik die sleutelbordkombinasie (Ctrl/Cmd+C).', + cut: 'Knip', + cutError: 'U blaaier se sekuriteitsinstelling belet die outomatiese knip-aksie. Gebruik die sleutelbordkombinasie (Ctrl/Cmd+X).', + paste: 'Plak', + pasteArea: 'Plak-area', + pasteMsg: 'Plak die teks in die volgende teks-area met die sleutelbordkombinasie (Ctrl/Cmd+V) en druk OK.', + securityMsg: 'Weens u blaaier se sekuriteitsinstelling is data op die knipbord nie toeganklik nie. U kan dit eers weer in hierdie venster plak.', + title: 'Byvoeg' +} ); diff --git a/sources/plugins/clipboard/lang/ar.js b/sources/plugins/clipboard/lang/ar.js new file mode 100644 index 0000000..aa96596 --- /dev/null +++ b/sources/plugins/clipboard/lang/ar.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ar', { + copy: 'نسخ', + copyError: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع عمليات النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+C).', + cut: 'قص', + cutError: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+X).', + paste: 'لصق', + pasteArea: 'منطقة اللصق', + pasteMsg: 'الصق داخل الصندوق بإستخدام زرائر (Ctrl/Cmd+V) في لوحة المفاتيح، ثم اضغط زر موافق.', + securityMsg: 'نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذلك يجب عليك لصق المحتوى مرة أخرى في هذه النافذة.', + title: 'لصق' +} ); diff --git a/sources/plugins/clipboard/lang/az.js b/sources/plugins/clipboard/lang/az.js new file mode 100644 index 0000000..1fc1a99 --- /dev/null +++ b/sources/plugins/clipboard/lang/az.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'az', { + copy: 'Köçür', + copyError: 'Avtomatik köçürülməsi mümkün deyil. Ctrl+C basın.', + cut: 'Kəs', + cutError: 'Avtomatik kəsmə mümkün deyil. Ctrl+X basın.', + paste: 'Əlavə et', + pasteArea: 'Əlavəetmə sahəsi', + pasteMsg: 'Bu sahəyə əlavə edin (Ctrl+V)', + securityMsg: 'Mübadilə buferi açmaq mümkün deyil. Bu pəncərədə yenidən əlavə edin.', + title: 'Əlavə et' +} ); diff --git a/sources/plugins/clipboard/lang/bg.js b/sources/plugins/clipboard/lang/bg.js new file mode 100644 index 0000000..93a5a9c --- /dev/null +++ b/sources/plugins/clipboard/lang/bg.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'bg', { + copy: 'Копирай', + copyError: 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl/Cmd+C).', + cut: 'Отрежи', + cutError: 'Настройките за сигурност на Вашия браузър не позволяват на редактора автоматично да изъплни действията за отрязване. Моля ползвайте клавиатурните команди за целта (ctrl+x).', + paste: 'Вмъкни', + pasteArea: 'Зона за вмъкване', + pasteMsg: 'Вмъкнете тук съдъжанието с клавиатуарата (Ctrl/Cmd+V) и натиснете OK.', + securityMsg: 'Заради настройките за сигурност на Вашия браузър, редакторът не може да прочете данните от клипборда коректно.', + title: 'Вмъкни' +} ); diff --git a/sources/plugins/clipboard/lang/bn.js b/sources/plugins/clipboard/lang/bn.js new file mode 100644 index 0000000..f821fa0 --- /dev/null +++ b/sources/plugins/clipboard/lang/bn.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'bn', { + copy: 'কপি', + copyError: 'আপনার ব্রাউজারের নিরাপত্তা সেটিংসমূহ এডিটরকে স্বয়ংক্রিয়ভাবে কপি করার প্রক্রিয়া চালনা করার অনুমতি দেয় না। অনুগ্রহপূর্বক এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl/Cmd+C)।', + cut: 'কাট', + cutError: 'আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কাট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl/Cmd+X)।', + paste: 'পেস্ট', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (Ctrl/Cmd+V) পেস্ট করুন এবং OK চাপ দিন', + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING + title: 'পেস্ট' +} ); diff --git a/sources/plugins/clipboard/lang/bs.js b/sources/plugins/clipboard/lang/bs.js new file mode 100644 index 0000000..1c23a61 --- /dev/null +++ b/sources/plugins/clipboard/lang/bs.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'bs', { + copy: 'Kopiraj', + copyError: 'Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+C).', + cut: 'Izreži', + cutError: 'Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+X).', + paste: 'Zalijepi', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING + title: 'Zalijepi' +} ); diff --git a/sources/plugins/clipboard/lang/ca.js b/sources/plugins/clipboard/lang/ca.js new file mode 100644 index 0000000..52179c1 --- /dev/null +++ b/sources/plugins/clipboard/lang/ca.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ca', { + copy: 'Copiar', + copyError: 'La configuració de seguretat del vostre navegador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl/Cmd+C).', + cut: 'Retallar', + cutError: 'La configuració de seguretat del vostre navegador no permet executar automàticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl/Cmd+X).', + paste: 'Enganxar', + pasteArea: 'Àrea d\'enganxat', + pasteMsg: 'Si us plau, enganxi dins del següent camp utilitzant el teclat (Ctrl/Cmd+V) i premi OK.', + securityMsg: 'A causa de la configuració de seguretat del vostre navegador, l\'editor no pot accedir a les dades del porta-retalls directament. Enganxeu-ho un altre cop en aquesta finestra.', + title: 'Enganxar' +} ); diff --git a/sources/plugins/clipboard/lang/cs.js b/sources/plugins/clipboard/lang/cs.js new file mode 100644 index 0000000..7cf573e --- /dev/null +++ b/sources/plugins/clipboard/lang/cs.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'cs', { + copy: 'Kopírovat', + copyError: 'Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+C).', + cut: 'Vyjmout', + cutError: 'Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+X).', + paste: 'Vložit', + pasteArea: 'Oblast vkládání', + pasteMsg: 'Do následujícího pole vložte požadovaný obsah pomocí klávesnice (Ctrl/Cmd+V) a stiskněte OK.', + securityMsg: 'Z důvodů nastavení bezpečnosti vašeho prohlížeče nemůže editor přistupovat přímo do schránky. Obsah schránky prosím vložte znovu do tohoto okna.', + title: 'Vložit' +} ); diff --git a/sources/plugins/clipboard/lang/cy.js b/sources/plugins/clipboard/lang/cy.js new file mode 100644 index 0000000..00c5eeb --- /dev/null +++ b/sources/plugins/clipboard/lang/cy.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'cy', { + copy: 'Copïo', + copyError: '\'Dyw gosodiadau diogelwch eich porwr ddim yn caniatàu\'r golygydd i gynnal \'gweithredoedd copïo\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+C).', + cut: 'Torri', + cutError: 'Nid yw gosodiadau diogelwch eich porwr yn caniatàu\'r golygydd i gynnal \'gweithredoedd torri\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+X).', + paste: 'Gludo', + pasteArea: 'Ardal Gludo', + pasteMsg: 'Gludwch i mewn i\'r blwch canlynol gan ddefnyddio\'r bysellfwrdd (Ctrl/Cmd+V) a phwyso Iawn.', + securityMsg: 'Oherwydd gosodiadau diogelwch eich porwr, \'dyw\'r porwr ddim yn gallu ennill mynediad i\'r data ar y clipfwrdd yn uniongyrchol. Mae angen i chi ei ludo eto i\'r ffenestr hon.', + title: 'Gludo' +} ); diff --git a/sources/plugins/clipboard/lang/da.js b/sources/plugins/clipboard/lang/da.js new file mode 100644 index 0000000..c029016 --- /dev/null +++ b/sources/plugins/clipboard/lang/da.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'da', { + copy: 'Kopiér', + copyError: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.

    Brug i stedet tastaturet til at kopiere teksten (Ctrl/Cmd+C).', + cut: 'Klip', + cutError: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.

    Brug i stedet tastaturet til at klippe teksten (Ctrl/Cmd+X).', + paste: 'Indsæt', + pasteArea: 'Indsæt område', + pasteMsg: 'Indsæt i feltet herunder (Ctrl/Cmd+V) og klik på OK.', + securityMsg: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.

    Du skal indsætte udklipsholderens indhold i dette vindue igen.', + title: 'Indsæt' +} ); diff --git a/sources/plugins/clipboard/lang/de-ch.js b/sources/plugins/clipboard/lang/de-ch.js new file mode 100644 index 0000000..325b100 --- /dev/null +++ b/sources/plugins/clipboard/lang/de-ch.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'de-ch', { + copy: 'Kopieren', + copyError: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).', + cut: 'Ausschneiden', + cutError: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).', + paste: 'Einfügen', + pasteArea: 'Einfügebereich', + pasteMsg: 'Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit Strg+V) ein und bestätigen Sie mit OK.', + securityMsg: 'Aufgrund von Sicherheitsbeschränkungen Ihres Browsers kann der Editor nicht direkt auf die Zwischenablage zugreifen. Bitte fügen Sie den Inhalt erneut in diesem Fenster ein.', + title: 'Einfügen' +} ); diff --git a/sources/plugins/clipboard/lang/de.js b/sources/plugins/clipboard/lang/de.js new file mode 100644 index 0000000..2d6b30b --- /dev/null +++ b/sources/plugins/clipboard/lang/de.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'de', { + copy: 'Kopieren', + copyError: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).', + cut: 'Ausschneiden', + cutError: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).', + paste: 'Einfügen', + pasteArea: 'Einfügebereich', + pasteMsg: 'Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit Strg+V) ein und bestätigen Sie mit OK.', + securityMsg: 'Aufgrund von Sicherheitsbeschränkungen Ihres Browsers kann der Editor nicht direkt auf die Zwischenablage zugreifen. Bitte fügen Sie den Inhalt erneut in diesem Fenster ein.', + title: 'Einfügen' +} ); diff --git a/sources/plugins/clipboard/lang/el.js b/sources/plugins/clipboard/lang/el.js new file mode 100644 index 0000000..0528840 --- /dev/null +++ b/sources/plugins/clipboard/lang/el.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'el', { + copy: 'Αντιγραφή', + copyError: 'Οι ρυθμίσεις ασφαλείας του περιηγητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Παρακαλώ χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+C).', + cut: 'Αποκοπή', + cutError: 'Οι ρυθμίσεις ασφαλείας του περιηγητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Παρακαλώ χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+X).', + paste: 'Επικόλληση', + pasteArea: 'Περιοχή Επικόλλησης', + pasteMsg: 'Παρακαλώ επικολλήστε στο ακόλουθο κουτί χρησιμοποιώντας το πληκτρολόγιο (Ctrl/Cmd+V) και πατήστε OK.', + securityMsg: 'Λόγων των ρυθμίσεων ασφάλειας του περιηγητή σας, ο επεξεργαστής δεν μπορεί να έχει πρόσβαση στην μνήμη επικόλλησης. Χρειάζεται να επικολλήσετε ξανά σε αυτό το παράθυρο.', + title: 'Επικόλληση' +} ); diff --git a/sources/plugins/clipboard/lang/en-au.js b/sources/plugins/clipboard/lang/en-au.js new file mode 100644 index 0000000..5c497fb --- /dev/null +++ b/sources/plugins/clipboard/lang/en-au.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'en-au', { + copy: 'Copy', + copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', + cut: 'Cut', + cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', + paste: 'Paste', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', + title: 'Paste' +} ); diff --git a/sources/plugins/clipboard/lang/en-ca.js b/sources/plugins/clipboard/lang/en-ca.js new file mode 100644 index 0000000..036ebab --- /dev/null +++ b/sources/plugins/clipboard/lang/en-ca.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'en-ca', { + copy: 'Copy', + copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', + cut: 'Cut', + cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', + paste: 'Paste', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', + title: 'Paste' +} ); diff --git a/sources/plugins/clipboard/lang/en-gb.js b/sources/plugins/clipboard/lang/en-gb.js new file mode 100644 index 0000000..bb511ce --- /dev/null +++ b/sources/plugins/clipboard/lang/en-gb.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'en-gb', { + copy: 'Copy', + copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', + cut: 'Cut', + cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', + paste: 'Paste', + pasteArea: 'Paste Area', + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', + title: 'Paste' +} ); diff --git a/sources/plugins/clipboard/lang/en.js b/sources/plugins/clipboard/lang/en.js new file mode 100644 index 0000000..4db6960 --- /dev/null +++ b/sources/plugins/clipboard/lang/en.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'en', { + copy: 'Copy', + copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', + cut: 'Cut', + cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', + paste: 'Paste', + pasteArea: 'Paste Area', + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', + title: 'Paste' +} ); diff --git a/sources/plugins/clipboard/lang/eo.js b/sources/plugins/clipboard/lang/eo.js new file mode 100644 index 0000000..2df4150 --- /dev/null +++ b/sources/plugins/clipboard/lang/eo.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'eo', { + copy: 'Kopii', + copyError: 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (Ctrl/Cmd-C).', + cut: 'Eltondi', + cutError: 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (Ctrl/Cmd-X).', + paste: 'Interglui', + pasteArea: 'Intergluoareo', + pasteMsg: 'Bonvolu glui la tekston en la jenan areon per uzado de la klavaro (Ctrl/Cmd+V) kaj premu OK', + securityMsg: 'Pro la sekurecagordo de via TTT-legilo, la redaktilo ne povas rekte atingi viajn datenojn en la poŝo. Bonvolu denove interglui la datenojn en tiun fenestron.', + title: 'Interglui' +} ); diff --git a/sources/plugins/clipboard/lang/es.js b/sources/plugins/clipboard/lang/es.js new file mode 100644 index 0000000..c455992 --- /dev/null +++ b/sources/plugins/clipboard/lang/es.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'es', { + copy: 'Copiar', + copyError: 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado.\r\nPor favor use el teclado (Ctrl/Cmd+C).', + cut: 'Cortar', + cutError: 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado.\r\nPor favor use el teclado (Ctrl/Cmd+X).', + paste: 'Pegar', + pasteArea: 'Zona de pegado', + pasteMsg: 'Por favor pegue dentro del cuadro utilizando el teclado (Ctrl/Cmd+V);\r\nluego presione Aceptar.', + securityMsg: 'Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles.\r\nEs necesario que lo pegue de nuevo en esta ventana.', + title: 'Pegar' +} ); diff --git a/sources/plugins/clipboard/lang/et.js b/sources/plugins/clipboard/lang/et.js new file mode 100644 index 0000000..7d86b30 --- /dev/null +++ b/sources/plugins/clipboard/lang/et.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'et', { + copy: 'Kopeeri', + copyError: 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+C).', + cut: 'Lõika', + cutError: 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+X).', + paste: 'Aseta', + pasteArea: 'Asetamise ala', + pasteMsg: 'Palun aseta tekst järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+V) ja vajuta seejärel OK.', + securityMsg: 'Sinu veebisirvija turvaseadete tõttu ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead asetama need uuesti siia aknasse.', + title: 'Asetamine' +} ); diff --git a/sources/plugins/clipboard/lang/eu.js b/sources/plugins/clipboard/lang/eu.js new file mode 100644 index 0000000..93240b5 --- /dev/null +++ b/sources/plugins/clipboard/lang/eu.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'eu', { + copy: 'Kopiatu', + copyError: 'Zure web nabigatzailearen segurtasun ezarpenek ez dute baimentzen testuak automatikoki kopiatzea. Mesedez teklatua erabil ezazu (Ctrl/Cmd+C).', + cut: 'Ebaki', + cutError: 'Zure web nabigatzailearen segurtasun ezarpenek ez dute baimentzen testuak automatikoki moztea. Mesedez teklatua erabil ezazu (Ctrl/Cmd+X).', + paste: 'Itsatsi', + pasteArea: 'Itsasteko area', + pasteMsg: 'Mesedez teklatua erabiliz (Ctrl/Cmd+V) ondorengo eremuan testua itsatsi eta sakatu Ados.', + securityMsg: 'Nabigatzailearen segurtasun ezarpenak direla eta, editoreak ezin du arbela zuzenean erabili. Leiho honetan berriro itsatsi behar duzu.', + title: 'Itsatsi' +} ); diff --git a/sources/plugins/clipboard/lang/fa.js b/sources/plugins/clipboard/lang/fa.js new file mode 100644 index 0000000..8abee21 --- /dev/null +++ b/sources/plugins/clipboard/lang/fa.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'fa', { + copy: 'رونوشت', + copyError: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپی کردن را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+C).', + cut: 'برش', + cutError: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+X).', + paste: 'چسباندن', + pasteArea: 'محل چسباندن', + pasteMsg: 'لطفا متن را با کلیدهای (Ctrl/Cmd+V) در این جعبهٴ متنی بچسبانید و پذیرش را بزنید.', + securityMsg: 'به خاطر تنظیمات امنیتی مرورگر شما، ویرایشگر نمیتواند دسترسی مستقیم به دادههای clipboard داشته باشد. شما باید دوباره آنرا در این پنجره بچسبانید.', + title: 'چسباندن' +} ); diff --git a/sources/plugins/clipboard/lang/fi.js b/sources/plugins/clipboard/lang/fi.js new file mode 100644 index 0000000..d165fb3 --- /dev/null +++ b/sources/plugins/clipboard/lang/fi.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'fi', { + copy: 'Kopioi', + copyError: 'Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).', + cut: 'Leikkaa', + cutError: 'Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).', + paste: 'Liitä', + pasteArea: 'Leikealue', + pasteMsg: 'Liitä painamalla (Ctrl+V) ja painamalla OK.', + securityMsg: 'Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.', + title: 'Liitä' +} ); diff --git a/sources/plugins/clipboard/lang/fo.js b/sources/plugins/clipboard/lang/fo.js new file mode 100644 index 0000000..5c1ec8a --- /dev/null +++ b/sources/plugins/clipboard/lang/fo.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'fo', { + copy: 'Avrita', + copyError: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í at avrita tekstin. Vinarliga nýt knappaborðið til at avrita tekstin (Ctrl/Cmd+C).', + cut: 'Kvett', + cutError: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í at kvetta tekstin. Vinarliga nýt knappaborðið til at kvetta tekstin (Ctrl/Cmd+X).', + paste: 'Innrita', + pasteArea: 'Avritingarumráði', + pasteMsg: 'Vinarliga koyr tekstin í hendan rútin við knappaborðinum (Ctrl/Cmd+V) og klikk á Góðtak.', + securityMsg: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í beinleiðis atgongd til avritingarminnið. Tygum mugu royna aftur í hesum rútinum.', + title: 'Innrita' +} ); diff --git a/sources/plugins/clipboard/lang/fr-ca.js b/sources/plugins/clipboard/lang/fr-ca.js new file mode 100644 index 0000000..3425f56 --- /dev/null +++ b/sources/plugins/clipboard/lang/fr-ca.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'fr-ca', { + copy: 'Copier', + copyError: 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+C).', + cut: 'Couper', + cutError: 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+X).', + paste: 'Coller', + pasteArea: 'Coller la zone', + pasteMsg: 'Veuillez coller dans la zone ci-dessous en utilisant le clavier (Ctrl/Cmd+V) et appuyer sur OK.', + securityMsg: 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur ne peut accéder au presse-papier directement. Vous devez coller à nouveau le contenu dans cette fenêtre.', + title: 'Coller' +} ); diff --git a/sources/plugins/clipboard/lang/fr.js b/sources/plugins/clipboard/lang/fr.js new file mode 100644 index 0000000..bb8349f --- /dev/null +++ b/sources/plugins/clipboard/lang/fr.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'fr', { + copy: 'Copier', + copyError: 'Les paramètres de sécurité de votre navigateur n\'autorisent pas l\'éditeur à exécuter automatiquement l\'opération « Copier ». Veuillez utiliser le raccourci clavier à cet effet (Ctrl/Cmd+C).', + cut: 'Couper', + cutError: 'Les paramètres de sécurité de votre navigateur n\'autorisent pas l\'éditeur à exécuter automatiquement l\'opération « Couper ». Veuillez utiliser le raccourci clavier à cet effet (Ctrl/Cmd+X).', + paste: 'Coller', + pasteArea: 'Coller la zone', + pasteMsg: 'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (Ctrl/Cmd+V) et cliquez sur OK.', + securityMsg: 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur d\'accéder directement aux données du presse-papier. Vous devez les coller à nouveau dans cette fenêtre.', + title: 'Coller' +} ); diff --git a/sources/plugins/clipboard/lang/gl.js b/sources/plugins/clipboard/lang/gl.js new file mode 100644 index 0000000..3c89dd0 --- /dev/null +++ b/sources/plugins/clipboard/lang/gl.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'gl', { + copy: 'Copiar', + copyError: 'Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de copia. Use o teclado para iso (Ctrl/Cmd+C).', + cut: 'Cortar', + cutError: 'Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de corte. Use o teclado para iso (Ctrl/Cmd+X).', + paste: 'Pegar', + pasteArea: 'Zona de pegado', + pasteMsg: 'Pegue dentro do seguinte cadro usando o teclado (Ctrl/Cmd+V) e prema en Aceptar', + securityMsg: 'Por mor da configuración de seguranza do seu navegador, o editor non ten acceso ao portapapeis. É necesario pegalo novamente nesta xanela.', + title: 'Pegar' +} ); diff --git a/sources/plugins/clipboard/lang/gu.js b/sources/plugins/clipboard/lang/gu.js new file mode 100644 index 0000000..fcf039a --- /dev/null +++ b/sources/plugins/clipboard/lang/gu.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'gu', { + copy: 'નકલ', + copyError: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કોપી કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+C) का प्रयोग करें।', + cut: 'કાપવું', + cutError: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કટ કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+X) નો ઉપયોગ કરો.', + paste: 'પેસ્ટ', + pasteArea: 'પેસ્ટ કરવાની જગ્યા', + pasteMsg: 'Ctrl/Cmd+V નો પ્રયોગ કરી પેસ્ટ કરો', + securityMsg: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.', + title: 'પેસ્ટ' +} ); diff --git a/sources/plugins/clipboard/lang/he.js b/sources/plugins/clipboard/lang/he.js new file mode 100644 index 0000000..a3726c3 --- /dev/null +++ b/sources/plugins/clipboard/lang/he.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'he', { + copy: 'העתקה', + copyError: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+C).', + cut: 'גזירה', + cutError: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+X).', + paste: 'הדבקה', + pasteArea: 'איזור הדבקה', + pasteMsg: 'נא להדביק בתוך הקופסה באמצעות (Ctrl/Cmd+V) וללחוץ על אישור.', + securityMsg: 'עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (Clipboard) בצורה ישירה. נא להדביק שוב בחלון זה.', + title: 'הדבקה' +} ); diff --git a/sources/plugins/clipboard/lang/hi.js b/sources/plugins/clipboard/lang/hi.js new file mode 100644 index 0000000..738b0b9 --- /dev/null +++ b/sources/plugins/clipboard/lang/hi.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'hi', { + copy: 'कॉपी', + copyError: 'आपके ब्राआउज़र की सुरक्षा सॅटिन्ग्स ने कॉपी करने की अनुमति नहीं प्रदान की है। (Ctrl/Cmd+C) का प्रयोग करें।', + cut: 'कट', + cutError: 'आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने कट करने की अनुमति नहीं प्रदान की है। (Ctrl/Cmd+X) का प्रयोग करें।', + paste: 'पेस्ट', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'Ctrl/Cmd+V का प्रयोग करके पेस्ट करें और ठीक है करें.', + securityMsg: 'आपके ब्राउज़र की सुरक्षा आपके ब्राउज़र की सुरKश सैटिंग के कारण, एडिटर आपके क्लिपबोर्ड डेटा को नहीं पा सकता है. आपको उसे इस विन्डो में दोबारा पेस्ट करना होगा.', + title: 'पेस्ट' +} ); diff --git a/sources/plugins/clipboard/lang/hr.js b/sources/plugins/clipboard/lang/hr.js new file mode 100644 index 0000000..7366069 --- /dev/null +++ b/sources/plugins/clipboard/lang/hr.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'hr', { + copy: 'Kopiraj', + copyError: 'Sigurnosne postavke VaÅ¡eg pretraživača ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tipkovnici (Ctrl/Cmd+C).', + cut: 'Izreži', + cutError: 'Sigurnosne postavke VaÅ¡eg pretraživača ne dozvoljavaju operacije automatskog izrezivanja. Molimo koristite kraticu na tipkovnici (Ctrl/Cmd+X).', + paste: 'Zalijepi', + pasteArea: 'Prostor za ljepljenje', + pasteMsg: 'Molimo zaljepite unutar doljnjeg okvira koristeći tipkovnicu (Ctrl/Cmd+V) i kliknite OK.', + securityMsg: 'Zbog sigurnosnih postavki VaÅ¡eg pretraživača, editor nema direktan pristup VaÅ¡em međuspremniku. Potrebno je ponovno zalijepiti tekst u ovaj prozor.', + title: 'Zalijepi' +} ); diff --git a/sources/plugins/clipboard/lang/hu.js b/sources/plugins/clipboard/lang/hu.js new file mode 100644 index 0000000..b124e35 --- /dev/null +++ b/sources/plugins/clipboard/lang/hu.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'hu', { + copy: 'Másolás', + copyError: 'A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).', + cut: 'Kivágás', + cutError: 'A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).', + paste: 'Beillesztés', + pasteArea: 'Beszúrás mező', + pasteMsg: 'Másolja be az alábbi mezőbe a Ctrl/Cmd+V billentyűk lenyomásával, majd nyomjon Rendben-t.', + securityMsg: 'A böngésző biztonsági beállításai miatt a szerkesztő nem képes hozzáférni a vágólap adataihoz. Illeszd be újra ebben az ablakban.', + title: 'Beillesztés' +} ); diff --git a/sources/plugins/clipboard/lang/id.js b/sources/plugins/clipboard/lang/id.js new file mode 100644 index 0000000..e7b40ad --- /dev/null +++ b/sources/plugins/clipboard/lang/id.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'id', { + copy: 'Salin', + copyError: 'Pengaturan keamanan peramban anda tidak mengizinkan editor untuk mengeksekusi operasi menyalin secara otomatis. Mohon gunakan papan tuts (Ctrl/Cmd+C)', + cut: 'Potong', + cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', // MISSING + paste: 'Tempel', + pasteArea: 'Area Tempel', + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING + securityMsg: 'Karena pengaturan keamanan peramban anda, editor tida dapat mengakses data clipboard anda secara langsung. Anda harus mem-paste kembali pada halaman ini', + title: 'Tempel' +} ); diff --git a/sources/plugins/clipboard/lang/is.js b/sources/plugins/clipboard/lang/is.js new file mode 100644 index 0000000..6b36cef --- /dev/null +++ b/sources/plugins/clipboard/lang/is.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'is', { + copy: 'Afrita', + copyError: 'Öryggisstillingar vafrans þíns leyfa ekki afritun texta með músaraðgerð. Notaðu lyklaborðið í afrita (Ctrl/Cmd+C).', + cut: 'Klippa', + cutError: 'Öryggisstillingar vafrans þíns leyfa ekki klippingu texta með músaraðgerð. Notaðu lyklaborðið í klippa (Ctrl/Cmd+X).', + paste: 'Líma', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'Límdu í svæðið hér að neðan og (Ctrl/Cmd+V) og smelltu á OK.', + securityMsg: 'Vegna öryggisstillinga í vafranum þínum fær ritillinn ekki beinan aðgang að klippuborðinu. Þú verður að líma innihaldið aftur inn í þennan glugga.', + title: 'Líma' +} ); diff --git a/sources/plugins/clipboard/lang/it.js b/sources/plugins/clipboard/lang/it.js new file mode 100644 index 0000000..21f8815 --- /dev/null +++ b/sources/plugins/clipboard/lang/it.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'it', { + copy: 'Copia', + copyError: 'Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+C).', + cut: 'Taglia', + cutError: 'Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+X).', + paste: 'Incolla', + pasteArea: 'Incolla', + pasteMsg: 'Incolla il testo all\'interno dell\'area sottostante usando la scorciatoia di tastiere (Ctrl/Cmd+V) e premi OK.', + securityMsg: 'A causa delle impostazioni di sicurezza del browser,l\'editor non è in grado di accedere direttamente agli appunti. E\' pertanto necessario incollarli di nuovo in questa finestra.', + title: 'Incolla' +} ); diff --git a/sources/plugins/clipboard/lang/ja.js b/sources/plugins/clipboard/lang/ja.js new file mode 100644 index 0000000..f099380 --- /dev/null +++ b/sources/plugins/clipboard/lang/ja.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ja', { + copy: 'コピー', + copyError: 'ブラウザーのセキュリティ設定によりエディタのコピー操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+C)を使用してください。', + cut: '切り取り', + cutError: 'ブラウザーのセキュリティ設定によりエディタの切り取り操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+X)を使用してください。', + paste: '貼り付け', + pasteArea: '貼り付け場所', + pasteMsg: 'キーボード(Ctrl/Cmd+V)を使用して、次の入力エリア内で貼り付けて、OKを押してください。', + securityMsg: 'ブラウザのセキュリティ設定により、エディタはクリップボードデータに直接アクセスすることができません。このウィンドウは貼り付け操作を行う度に表示されます。', + title: '貼り付け' +} ); diff --git a/sources/plugins/clipboard/lang/ka.js b/sources/plugins/clipboard/lang/ka.js new file mode 100644 index 0000000..e1af8cb --- /dev/null +++ b/sources/plugins/clipboard/lang/ka.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ka', { + copy: 'ასლი', + copyError: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა ასლის ოპერაციის ავტომატურად განხორციელების საშუალებას. გამოიყენეთ კლავიატურა ამისთვის (Ctrl/Cmd+C).', + cut: 'ამოჭრა', + cutError: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა ამოჭრის ოპერაციის ავტომატურად განხორციელების საშუალებას. გამოიყენეთ კლავიატურა ამისთვის (Ctrl/Cmd+X).', + paste: 'ჩასმა', + pasteArea: 'ჩასმის არე', + pasteMsg: 'ჩასვით ამ არის შიგნით კლავიატურის გამოყენებით (Ctrl/Cmd+V) და დააჭირეთ OK-ს', + securityMsg: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა clipboard-ის მონაცემების წვდომის უფლებას. კიდევ უნდა ჩასვათ ტექსტი ამ ფანჯარაში.', + title: 'ჩასმა' +} ); diff --git a/sources/plugins/clipboard/lang/km.js b/sources/plugins/clipboard/lang/km.js new file mode 100644 index 0000000..32c30cb --- /dev/null +++ b/sources/plugins/clipboard/lang/km.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'km', { + copy: 'ចម្លង', + copyError: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+C)។', + cut: 'កាត់យក', + cutError: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+X) ។', + paste: 'បិទ​ភ្ជាប់', + pasteArea: 'តំបន់​បិទ​ភ្ជាប់', + pasteMsg: 'សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី ​(Ctrl/Cmd+V) ហើយចុច OK ។', + securityMsg: 'ព្រោះតែ​ការកំណត់​សុវត្ថិភាព ប្រអប់សរសេរ​មិន​អាចចាប់​យកទិន្នន័យពីក្តារតម្បៀតខ្ទាស់​អ្នក​​ដោយផ្ទាល់​បានទេ។ អ្នក​ត្រូវចំលង​ដាក់វាម្តង​ទៀត ក្នុងផ្ទាំងនេះ។', + title: 'បិទ​ភ្ជាប់' +} ); diff --git a/sources/plugins/clipboard/lang/ko.js b/sources/plugins/clipboard/lang/ko.js new file mode 100644 index 0000000..0a0d1e9 --- /dev/null +++ b/sources/plugins/clipboard/lang/ko.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ko', { + copy: '복사', + copyError: '브라우저의 보안설정 때문에 복사할 수 없습니다. 키보드(Ctrl/Cmd+C)를 이용해서 복사하십시오.', + cut: '잘라내기', + cutError: '브라우저의 보안설정 때문에 잘라내기 기능을 실행할 수 없습니다. 키보드(Ctrl/Cmd+X)를 이용해서 잘라내기 하십시오', + paste: '붙여넣기', + pasteArea: '붙여넣기 범위', + pasteMsg: '키보드(Ctrl/Cmd+V)를 이용해서 상자안에 붙여넣고 확인 를 누르세요.', + securityMsg: '브라우저 보안 설정으로 인해, 클립보드에 직접 접근할 수 없습니다. 이 창에 다시 붙여넣기 하십시오.', + title: '붙여넣기' +} ); diff --git a/sources/plugins/clipboard/lang/ku.js b/sources/plugins/clipboard/lang/ku.js new file mode 100644 index 0000000..86e1778 --- /dev/null +++ b/sources/plugins/clipboard/lang/ku.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ku', { + copy: 'لەبەرگرتنەوە', + copyError: 'پارێزی وێبگەڕەکەت ڕێگەنادات بەسەرنووسەکە لە لکاندنی دەقی خۆکارارنە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+C).', + cut: 'بڕین', + cutError: 'پارێزی وێبگەڕەکەت ڕێگەنادات بە سەرنووسەکە لەبڕینی خۆکارانە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+X).', + paste: 'لکاندن', + pasteArea: 'ناوچەی لکاندن', + pasteMsg: 'تکایە بیلکێنە لەناوەوەی ئەم سنوقە لەڕێی تەختەکلیلەکەت بە بەکارهێنانی کلیلی (Ctrl/Cmd+V) دووای کلیکی باشە بکە.', + securityMsg: 'بەهۆی شێوەپێدانی پارێزی وێبگەڕەکەت، سەرنووسەکه ناتوانێت دەستبگەیەنێت بەهەڵگیراوەکە ڕاستەوخۆ. بۆیه پێویسته دووباره بیلکێنیت لەم پەنجەرەیه.', + title: 'لکاندن' +} ); diff --git a/sources/plugins/clipboard/lang/lt.js b/sources/plugins/clipboard/lang/lt.js new file mode 100644 index 0000000..86ecbbb --- /dev/null +++ b/sources/plugins/clipboard/lang/lt.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'lt', { + copy: 'Kopijuoti', + copyError: 'JÅ«sų narÅ¡yklės saugumo nustatymai neleidžia redaktoriui automatiÅ¡kai įvykdyti kopijavimo operacijų. Tam praÅ¡ome naudoti klaviatÅ«rą (Ctrl/Cmd+C).', + cut: 'IÅ¡kirpti', + cutError: 'JÅ«sų narÅ¡yklės saugumo nustatymai neleidžia redaktoriui automatiÅ¡kai įvykdyti iÅ¡kirpimo operacijų. Tam praÅ¡ome naudoti klaviatÅ«rą (Ctrl/Cmd+X).', + paste: 'Ä®dėti', + pasteArea: 'Ä®kelti dalį', + pasteMsg: 'Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatÅ«rą (Ctrl/Cmd+V) ir paspauskite mygtuką OK.', + securityMsg: 'Dėl jÅ«sų narÅ¡yklės saugumo nustatymų, redaktorius negali tiesiogiai pasiekti laikinosios atminties. Jums reikia nukopijuoti dar kartą į šį langą.', + title: 'Ä®dėti' +} ); diff --git a/sources/plugins/clipboard/lang/lv.js b/sources/plugins/clipboard/lang/lv.js new file mode 100644 index 0000000..c762fc6 --- /dev/null +++ b/sources/plugins/clipboard/lang/lv.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'lv', { + copy: 'Kopēt', + copyError: 'JÅ«su pārlÅ«kprogrammas droÅ¡Ä«bas iestatÄ«jumi nepieļauj redaktoram automātiski veikt kopēšanas darbÄ«bu. LÅ«dzu, izmantojiet (Ctrl/Cmd+C), lai veiktu Å¡o darbÄ«bu.', + cut: 'Izgriezt', + cutError: 'JÅ«su pārlÅ«kprogrammas droÅ¡Ä«bas iestatÄ«jumi nepieļauj redaktoram automātiski veikt izgriezÅ¡anas darbÄ«bu. LÅ«dzu, izmantojiet (Ctrl/Cmd+X), lai veiktu Å¡o darbÄ«bu.', + paste: 'IelÄ«mēt', + pasteArea: 'IelÄ«mēšanas zona', + pasteMsg: 'LÅ«dzu, ievietojiet tekstu Å¡ajā laukumā, izmantojot klaviatÅ«ru (Ctrl/Cmd+V) un apstipriniet ar DarÄ«ts!.', + securityMsg: 'JÅ«su pārlÅ«ka droÅ¡Ä«bas uzstādÄ«jumu dēļ, nav iespējams tieÅ¡i piekļūt jÅ«su starpliktuvei. Jums jāielÄ«mē atkārtoti Å¡ajā logā.', + title: 'Ievietot' +} ); diff --git a/sources/plugins/clipboard/lang/mk.js b/sources/plugins/clipboard/lang/mk.js new file mode 100644 index 0000000..eb16066 --- /dev/null +++ b/sources/plugins/clipboard/lang/mk.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'mk', { + copy: 'Копирај (Copy)', + copyError: 'Опциите за безбедност на вашиот прелистувач не дозволуваат уредувачот автоматски да изврши копирање. Ве молиме употребете ја тастатурата. (Ctrl/Cmd+C)', + cut: 'Исечи (Cut)', + cutError: 'Опциите за безбедност на вашиот прелистувач не дозволуваат уредувачот автоматски да изврши сечење. Ве молиме употребете ја тастатурата. (Ctrl/Cmd+C)', + paste: 'Залепи (Paste)', + pasteArea: 'Простор за залепување', + pasteMsg: 'Ве молиме да залепите во следниот квадрат користејќи ја тастатурата (Ctrl/Cmd+V) и да притиснете OK', + securityMsg: 'Опциите за безбедност на вашиот прелистувач не дозволуваат уредувачот директно да пристапи до копираните податоци. Потребно е повторно да се обидете во овој прозорец.', + title: 'Залепи (Paste)' +} ); diff --git a/sources/plugins/clipboard/lang/mn.js b/sources/plugins/clipboard/lang/mn.js new file mode 100644 index 0000000..5351941 --- /dev/null +++ b/sources/plugins/clipboard/lang/mn.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'mn', { + copy: 'Хуулах', + copyError: 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl/Cmd+C) товчны хослолыг ашиглана уу.', + cut: 'Хайчлах', + cutError: 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl/Cmd+X) товчны хослолыг ашиглана уу.', + paste: 'Буулгах', + pasteArea: 'Paste Area', // MISSING + pasteMsg: '(Ctrl/Cmd+V) товчийг ашиглан paste хийнэ Ò¯Ò¯. Мөн OK дар.', + securityMsg: 'Таны үзүүлэгч/browser/-н хамгаалалтын тохиргооноос болоод editor clipboard өгөгдөлрүү шууд хандах боломжгүй. Энэ цонход дахин paste хийхийг оролд.', + title: 'Буулгах' +} ); diff --git a/sources/plugins/clipboard/lang/ms.js b/sources/plugins/clipboard/lang/ms.js new file mode 100644 index 0000000..3a01be4 --- /dev/null +++ b/sources/plugins/clipboard/lang/ms.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ms', { + copy: 'Salin', + copyError: 'Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+C).', + cut: 'Potong', + cutError: 'Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+X).', + paste: 'Tampal', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING + title: 'Tampal' +} ); diff --git a/sources/plugins/clipboard/lang/nb.js b/sources/plugins/clipboard/lang/nb.js new file mode 100644 index 0000000..5355b8a --- /dev/null +++ b/sources/plugins/clipboard/lang/nb.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'nb', { + copy: 'Kopier', + copyError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk tastatursnarveien (Ctrl/Cmd+C).', + cut: 'Klipp ut', + cutError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk utklipping av tekst. Vennligst bruk tastatursnarveien (Ctrl/Cmd+X).', + paste: 'Lim inn', + pasteArea: 'InnlimingsomrÃ¥de', + pasteMsg: 'Vennligst lim inn i følgende boks med tastaturet (Ctrl/Cmd+V) og trykk OK.', + securityMsg: 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du mÃ¥ derfor lime det inn pÃ¥ nytt i dette vinduet.', + title: 'Lim inn' +} ); diff --git a/sources/plugins/clipboard/lang/nl.js b/sources/plugins/clipboard/lang/nl.js new file mode 100644 index 0000000..bae806f --- /dev/null +++ b/sources/plugins/clipboard/lang/nl.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'nl', { + copy: 'Kopiëren', + copyError: 'De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl/Cmd+C van het toetsenbord.', + cut: 'Knippen', + cutError: 'De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl/Cmd+X van het toetsenbord.', + paste: 'Plakken', + pasteArea: 'Plakgebied', + pasteMsg: 'Plak de tekst in het volgende vak gebruikmakend van uw toetsenbord (Ctrl/Cmd+V) en klik op OK.', + securityMsg: 'Door de beveiligingsinstellingen van uw browser is het niet mogelijk om direct vanuit het klembord in de editor te plakken. Middels opnieuw plakken in dit venster kunt u de tekst alsnog plakken in de editor.', + title: 'Plakken' +} ); diff --git a/sources/plugins/clipboard/lang/no.js b/sources/plugins/clipboard/lang/no.js new file mode 100644 index 0000000..e8c48da --- /dev/null +++ b/sources/plugins/clipboard/lang/no.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'no', { + copy: 'Kopier', + copyError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snarveien (Ctrl/Cmd+C).', + cut: 'Klipp ut', + cutError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk utklipping av tekst. Vennligst bruk snarveien (Ctrl/Cmd+X).', + paste: 'Lim inn', + pasteArea: 'InnlimingsomrÃ¥de', + pasteMsg: 'Vennligst lim inn i følgende boks med tastaturet (Ctrl/Cmd+V) og trykk OK.', + securityMsg: 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du mÃ¥ derfor lime det inn pÃ¥ nytt i dette vinduet.', + title: 'Lim inn' +} ); diff --git a/sources/plugins/clipboard/lang/oc.js b/sources/plugins/clipboard/lang/oc.js new file mode 100644 index 0000000..e9e78cd --- /dev/null +++ b/sources/plugins/clipboard/lang/oc.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'oc', { + copy: 'Copiar', + copyError: 'Los paramètres de seguretat de vòstre navigador autorizan pas l\'editor a executar automaticament l\'operacion « Copiar ». Utilizatz l\'acorchi de clavièr a aqueste efièit (Ctrl/Cmd+C).', + cut: 'Talhar', + cutError: 'Los paramètres de seguretat de vòstre navigador autorizan pas l\'editor a executar automaticament l\'operacion « Talhar ». Utilizatz l\'acorchi de clavièr a aqueste efièit (Ctrl/Cmd+X).', + paste: 'Pegar', + pasteArea: 'Pegar la zòna', + pasteMsg: 'Pegatz lo tèxte dins la zòna seguenta en utilizant l\'acorchi de clavièr (Ctrl/Cmd+V) e clicatz sus D\'acòrdi.', + securityMsg: 'Los paramètres de seguretat de vòstre navigador empach l\'editor d\'accedir dirèctament a las donadas del quichapapièr. Las vos cal pegar tornamai dins aquesta fenèstra.', + title: 'Pegar' +} ); diff --git a/sources/plugins/clipboard/lang/pl.js b/sources/plugins/clipboard/lang/pl.js new file mode 100644 index 0000000..e2ccd16 --- /dev/null +++ b/sources/plugins/clipboard/lang/pl.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'pl', { + copy: 'Kopiuj', + copyError: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+C.', + cut: 'Wytnij', + cutError: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+X.', + paste: 'Wklej', + pasteArea: 'Obszar wklejania', + pasteMsg: 'Wklej tekst w poniższym polu, używając skrótu klawiaturowego (Ctrl/Cmd+V), i kliknij OK.', + securityMsg: 'Zabezpieczenia przeglądarki uniemożliwiają wklejenie danych bezpośrednio do edytora. Proszę ponownie wkleić dane w tym oknie.', + title: 'Wklej' +} ); diff --git a/sources/plugins/clipboard/lang/pt-br.js b/sources/plugins/clipboard/lang/pt-br.js new file mode 100644 index 0000000..74608ba --- /dev/null +++ b/sources/plugins/clipboard/lang/pt-br.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'pt-br', { + copy: 'Copiar', + copyError: 'As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl/Cmd+C).', + cut: 'Recortar', + cutError: 'As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl/Cmd+X).', + paste: 'Colar', + pasteArea: 'Área para Colar', + pasteMsg: 'Transfira o link usado na caixa usando o teclado com (Ctrl/Cmd+V) e OK.', + securityMsg: 'As configurações de segurança do seu navegador não permitem que o editor acesse os dados da área de transferência diretamente. Por favor cole o conteúdo manualmente nesta janela.', + title: 'Colar' +} ); diff --git a/sources/plugins/clipboard/lang/pt.js b/sources/plugins/clipboard/lang/pt.js new file mode 100644 index 0000000..623ce06 --- /dev/null +++ b/sources/plugins/clipboard/lang/pt.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'pt', { + copy: 'Copiar', + copyError: 'A configuração de segurança do navegador não permite a execução automática de operações de copiar. Por favor use o teclado (Ctrl/Cmd+C).', + cut: 'Cortar', + cutError: 'A configuração de segurança do navegador não permite a execução automática de operações de cortar. Por favor use o teclado (Ctrl/Cmd+X).', + paste: 'Colar', + pasteArea: 'Colar área', + pasteMsg: 'Por favor, cole dentro da seguinte caixa usando o teclado (Ctrl/Cmd+V) e carregue em OK.', + securityMsg: 'Devido ás definições de segurança do teu browser, o editor não pode aceder ao clipboard diretamente. É necessário que voltes a colar as informações nesta janela.', + title: 'Colar' +} ); diff --git a/sources/plugins/clipboard/lang/ro.js b/sources/plugins/clipboard/lang/ro.js new file mode 100644 index 0000000..1e57798 --- /dev/null +++ b/sources/plugins/clipboard/lang/ro.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ro', { + copy: 'Copiază', + copyError: 'Setările de securitate ale navigatorului (browser) pe care îl folosiÅ£i nu permit editorului să execute automat operaÅ£iunea de copiere. Vă rugăm folosiÅ£i tastatura (Ctrl/Cmd+C).', + cut: 'Taie', + cutError: 'Setările de securitate ale navigatorului (browser) pe care îl folosiÅ£i nu permit editorului să execute automat operaÅ£iunea de tăiere. Vă rugăm folosiÅ£i tastatura (Ctrl/Cmd+X).', + paste: 'Adaugă', + pasteArea: 'Suprafața de adăugare', + pasteMsg: 'Vă rugăm adăugaÅ£i în căsuÅ£a următoare folosind tastatura (Ctrl/Cmd+V) şi apăsaÅ£i OK', + securityMsg: 'Din cauza setărilor de securitate ale programului dvs. cu care navigaÅ£i pe internet (browser), editorul nu poate accesa direct datele din clipboard. Va trebui să adăugaÅ£i din nou datele în această fereastră.', + title: 'Adaugă' +} ); diff --git a/sources/plugins/clipboard/lang/ru.js b/sources/plugins/clipboard/lang/ru.js new file mode 100644 index 0000000..d9b4d58 --- /dev/null +++ b/sources/plugins/clipboard/lang/ru.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ru', { + copy: 'Копировать', + copyError: 'Настройки безопасности вашего браузера не разрешают редактору выполнять операции по копированию текста. Пожалуйста, используйте для этого клавиатуру (Ctrl/Cmd+C).', + cut: 'Вырезать', + cutError: 'Настройки безопасности вашего браузера не разрешают редактору выполнять операции по вырезке текста. Пожалуйста, используйте для этого клавиатуру (Ctrl/Cmd+X).', + paste: 'Вставить', + pasteArea: 'Зона для вставки', + pasteMsg: 'Пожалуйста, вставьте текст в зону ниже, используя клавиатуру (Ctrl/Cmd+V) и нажмите кнопку "OK".', + securityMsg: 'Настройки безопасности вашего браузера не разрешают редактору напрямую обращаться к буферу обмена. Вы должны вставить текст снова в это окно.', + title: 'Вставить' +} ); diff --git a/sources/plugins/clipboard/lang/si.js b/sources/plugins/clipboard/lang/si.js new file mode 100644 index 0000000..8430d01 --- /dev/null +++ b/sources/plugins/clipboard/lang/si.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'si', { + copy: 'පිටපත් කරන්න', + copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', // MISSING + cut: 'කපාගන්න', + cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', // MISSING + paste: 'අලවන්න', + pasteArea: 'අලවන ප්‍රදේශ', + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING + title: 'අලවන්න' +} ); diff --git a/sources/plugins/clipboard/lang/sk.js b/sources/plugins/clipboard/lang/sk.js new file mode 100644 index 0000000..6b2b4f4 --- /dev/null +++ b/sources/plugins/clipboard/lang/sk.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'sk', { + copy: 'KopírovaÅ¥', + copyError: 'Bezpečnostné nastavenia vášho prehliadača nedovoľujú editoru automaticky spustiÅ¥ operáciu kopírovania. Použite na to klávesnicu (Ctrl/Cmd+C).', + cut: 'Vystrihnúť', + cutError: 'Bezpečnostné nastavenia vášho prehliadača nedovoľujú editoru automaticky spustiÅ¥ operáciu vystrihnutia. Použite na to klávesnicu (Ctrl/Cmd+X).', + paste: 'VložiÅ¥', + pasteArea: 'Miesto na vloženie', + pasteMsg: 'Použitím klávesnice (Ctrl/Cmd+V) vložte text do rámčeka a stlačte OK.', + securityMsg: 'Kvôli bezpečnostným nastaveniam vášho prehliadača editor nemôže pristupovaÅ¥ k schránke na kopírovanie priamo. Vložte to preto do tohto okna.', + title: 'VložiÅ¥' +} ); diff --git a/sources/plugins/clipboard/lang/sl.js b/sources/plugins/clipboard/lang/sl.js new file mode 100644 index 0000000..3ddc89e --- /dev/null +++ b/sources/plugins/clipboard/lang/sl.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'sl', { + copy: 'Kopiraj', + copyError: 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+C).', + cut: 'Izreži', + cutError: 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+X).', + paste: 'Prilepi', + pasteArea: 'Prilepi območje', + pasteMsg: 'Prosimo, prilepite v sleči okvir s pomočjo tipkovnice (Ctrl/Cmd+V) in pritisnite V redu.', + securityMsg: 'Zaradi varnostnih nastavitev vaÅ¡ega brskalnika urejevalnik ne more neposredno dostopati do odložišča. Vsebino odložišča ponovno prilepite v to okno.', + title: 'Prilepi' +} ); diff --git a/sources/plugins/clipboard/lang/sq.js b/sources/plugins/clipboard/lang/sq.js new file mode 100644 index 0000000..eda22e7 --- /dev/null +++ b/sources/plugins/clipboard/lang/sq.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'sq', { + copy: 'Kopjo', + copyError: 'Të dhënat e sigurisë së shfletuesit tuaj nuk lejojnë që redaktuesi automatikisht të kryej veprimin e kopjimit. Ju lutemi shfrytëzoni tastierën për këtë veprim (Ctrl/Cmd+C).', + cut: 'Preje', + cutError: 'Të dhënat e sigurisë së shfletuesit tuaj nuk lejojnë që redaktuesi automatikisht të kryej veprimin e prerjes. Ju lutemi shfrytëzoni tastierën për këtë veprim (Ctrl/Cmd+X).', + paste: 'Hidhe', + pasteArea: 'Hapësira Hedhëse', + pasteMsg: 'Ju lutemi hidhni brenda kutizës në vijim duke shfrytëzuar tastierën (Ctrl/Cmd+V) dhe shtypni Mirë.', + securityMsg: 'Për shkak të dhënave të sigurisë së shfletuesit tuaj, redaktuesi nuk është në gjendje të i qaset drejtpërdrejtë të dhanve të tabelës suaj të punës. Ju duhet të hidhni atë përsëri në këtë dritare.', + title: 'Hidhe' +} ); diff --git a/sources/plugins/clipboard/lang/sr-latn.js b/sources/plugins/clipboard/lang/sr-latn.js new file mode 100644 index 0000000..52102f6 --- /dev/null +++ b/sources/plugins/clipboard/lang/sr-latn.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'sr-latn', { + copy: 'Kopiraj', + copyError: 'Sigurnosna podeÅ¡avanja VaÅ¡eg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+C).', + cut: 'Iseci', + cutError: 'Sigurnosna podeÅ¡avanja VaÅ¡eg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+X).', + paste: 'Zalepi', + pasteArea: 'Prostor za lepljenje', + pasteMsg: 'Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (Ctrl/Cmd+V) i da pritisnete OK.', + securityMsg: 'Zbog sigurnosnih postavki vaÅ¡eg pregledača, editor nije u mogućnosti da direktno pristupi podacima u klipbordu. Potrebno je da zalepite joÅ¡ jednom u ovom prozoru.', + title: 'Zalepi' +} ); diff --git a/sources/plugins/clipboard/lang/sr.js b/sources/plugins/clipboard/lang/sr.js new file mode 100644 index 0000000..c59ff1f --- /dev/null +++ b/sources/plugins/clipboard/lang/sr.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'sr', { + copy: 'Копирај', + copyError: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+C).', + cut: 'Исеци', + cutError: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+X).', + paste: 'Залепи', + pasteArea: 'Залепи зону', + pasteMsg: 'Молимо Вас да залепите унутар доње површине користећи тастатурну пречицу (Ctrl/Cmd+V) и да притиснете OK.', + securityMsg: 'Због сигурносних подешавања претраживача, едитор не може да приступи оставу. Требате да га поново залепите у овом прозору.', + title: 'Залепи' +} ); diff --git a/sources/plugins/clipboard/lang/sv.js b/sources/plugins/clipboard/lang/sv.js new file mode 100644 index 0000000..9663daa --- /dev/null +++ b/sources/plugins/clipboard/lang/sv.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'sv', { + copy: 'Kopiera', + copyError: 'Säkerhetsinställningar i Er webbläsare tillÃ¥ter inte Ã¥tgärden kopiera. Använd (Ctrl/Cmd+C) istället.', + cut: 'Klipp ut', + cutError: 'Säkerhetsinställningar i Er webbläsare tillÃ¥ter inte Ã¥tgärden klipp ut. Använd (Ctrl/Cmd+X) istället.', + paste: 'Klistra in', + pasteArea: 'Paste Area', + pasteMsg: 'Var god och klistra in Er text i rutan nedan genom att använda (Ctrl/Cmd+V) klicka sen pÃ¥ OK.', + securityMsg: 'PÃ¥ grund av din webbläsares säkerhetsinställningar kan verktyget inte fÃ¥ Ã¥tkomst till urklippsdatan. Var god och använd detta fönster istället.', + title: 'Klistra in' +} ); diff --git a/sources/plugins/clipboard/lang/th.js b/sources/plugins/clipboard/lang/th.js new file mode 100644 index 0000000..29664a6 --- /dev/null +++ b/sources/plugins/clipboard/lang/th.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'th', { + copy: 'สำเนา', + copyError: 'ไม่สามารถสำเนาข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl/Cmd และตัว C พร้อมกัน).', + cut: 'ตัด', + cutError: 'ไม่สามารถตัดข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl/Cmd และตัว X พร้อมกัน).', + paste: 'วาง', + pasteArea: 'Paste Area', // MISSING + pasteMsg: 'กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (Ctrl/Cmd และ V)พร้อมๆกัน และกด OK.', + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING + title: 'วาง' +} ); diff --git a/sources/plugins/clipboard/lang/tr.js b/sources/plugins/clipboard/lang/tr.js new file mode 100644 index 0000000..a60ddc7 --- /dev/null +++ b/sources/plugins/clipboard/lang/tr.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'tr', { + copy: 'Kopyala', + copyError: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl/Cmd+C) tuşlarını kullanın.', + cut: 'Kes', + cutError: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl/Cmd+X) tuşlarını kullanın.', + paste: 'Yapıştır', + pasteArea: 'Yapıştırma Alanı', + pasteMsg: 'Lütfen aşağıdaki kutunun içine yapıştırın. (Ctrl/Cmd+V) ve Tamam butonunu tıklayın.', + securityMsg: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin direkt olarak panoya erişimine izin vermiyor. Bu pencere içine tekrar yapıştırmalısınız..', + title: 'Yapıştır' +} ); diff --git a/sources/plugins/clipboard/lang/tt.js b/sources/plugins/clipboard/lang/tt.js new file mode 100644 index 0000000..e4b0537 --- /dev/null +++ b/sources/plugins/clipboard/lang/tt.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'tt', { + copy: 'Күчермәләү', + copyError: 'Браузерыгызның иминлек үзлекләре автоматик рәвештә күчермәләү үтәүне тыя. Тиз төймәләрне (Ctrl/Cmd+C) кулланыгыз.', + cut: 'Кисеп алу', + cutError: 'Браузерыгызның иминлек үзлекләре автоматик рәвештә күчермәләү үтәүне тыя. Тиз төймәләрне (Ctrl/Cmd+C) кулланыгыз.', + paste: 'Өстәү', + pasteArea: 'Өстәү мәйданы', + pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING + securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING + title: 'Өстәү' +} ); diff --git a/sources/plugins/clipboard/lang/ug.js b/sources/plugins/clipboard/lang/ug.js new file mode 100644 index 0000000..dcdf29c --- /dev/null +++ b/sources/plugins/clipboard/lang/ug.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'ug', { + copy: 'كۆچۈر', + copyError: 'تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كۆچۈر مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+C) ئارقىلىق تاماملاڭ', + cut: 'كەس', + cutError: 'تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كەس مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+X) ئارقىلىق تاماملاڭ', + paste: 'چاپلا', + pasteArea: 'چاپلاش دائىرىسى', + pasteMsg: 'ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+V) نى ئىشلىتىپ مەزمۇننى تۆۋەندىكى رامكىغا كۆچۈرۈڭ، ئاندىن جەزملەنى بېسىڭ', + securityMsg: 'توركۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى سەۋەبىدىن بۇ تەھرىرلىگۈچ چاپلاش تاختىسىدىكى مەزمۇننى بىۋاستە زىيارەت قىلالمايدۇ، بۇ كۆزنەكتە قايتا بىر قېتىم چاپلىشىڭىز كېرەك.', + title: 'چاپلا' +} ); diff --git a/sources/plugins/clipboard/lang/uk.js b/sources/plugins/clipboard/lang/uk.js new file mode 100644 index 0000000..242688f --- /dev/null +++ b/sources/plugins/clipboard/lang/uk.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'uk', { + copy: 'Копіювати', + copyError: 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+C).', + cut: 'Вирізати', + cutError: 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+X)', + paste: 'Вставити', + pasteArea: 'Область вставки', + pasteMsg: 'Будь ласка, вставте інформацію з буфера обміну в цю область, користуючись комбінацією клавіш (Ctrl/Cmd+V), та натисніть OK.', + securityMsg: 'Редактор не може отримати прямий доступ до буферу обміну у зв\'язку з налаштуваннями Вашого браузера. Вам потрібно вставити інформацію в це вікно.', + title: 'Вставити' +} ); diff --git a/sources/plugins/clipboard/lang/vi.js b/sources/plugins/clipboard/lang/vi.js new file mode 100644 index 0000000..fd36e1f --- /dev/null +++ b/sources/plugins/clipboard/lang/vi.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'vi', { + copy: 'Sao chép', + copyError: 'Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tá»± động thá»±c thi lệnh sao chép. Hãy sá»­ dụng bàn phím cho lệnh này (Ctrl/Cmd+C).', + cut: 'Cắt', + cutError: 'Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tá»± động thá»±c thi lệnh cắt. Hãy sá»­ dụng bàn phím cho lệnh này (Ctrl/Cmd+X).', + paste: 'Dán', + pasteArea: 'Khu vá»±c dán', + pasteMsg: 'Hãy dán nội dung vào trong khung bên dưới, sá»­ dụng tổ hợp phím (Ctrl/Cmd+V) và nhấn vào nút Đồng ý.', + securityMsg: 'Do thiết lập bảo mật của trình duyệt nên trình biên tập không thể truy cập trá»±c tiếp vào nội dung đã sao chép. Bạn cần phải dán lại nội dung vào cá»­a sổ này.', + title: 'Dán' +} ); diff --git a/sources/plugins/clipboard/lang/zh-cn.js b/sources/plugins/clipboard/lang/zh-cn.js new file mode 100644 index 0000000..930f24e --- /dev/null +++ b/sources/plugins/clipboard/lang/zh-cn.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'zh-cn', { + copy: '复制', + copyError: '您的浏览器安全设置不允许编辑器自动执行复制操作,请使用键盘快捷键(Ctrl/Cmd+C)来完成。', + cut: '剪切', + cutError: '您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl/Cmd+X)来完成。', + paste: '粘贴', + pasteArea: '粘贴区域', + pasteMsg: '请使用键盘快捷键(Ctrl/Cmd+V)把内容粘贴到下面的方框里,再按 确定', + securityMsg: '因为您的浏览器的安全设置原因,本编辑器不能直接访问您的剪贴板内容,你需要在本窗口重新粘贴一次。', + title: '粘贴' +} ); diff --git a/sources/plugins/clipboard/lang/zh.js b/sources/plugins/clipboard/lang/zh.js new file mode 100644 index 0000000..33a4ef0 --- /dev/null +++ b/sources/plugins/clipboard/lang/zh.js @@ -0,0 +1,15 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'clipboard', 'zh', { + copy: '複製', + copyError: '瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用鍵盤快捷鍵 (Ctrl/Cmd+C) 複製。', + cut: '剪下', + cutError: '瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用鏐盤快捷鍵 (Ctrl/Cmd+X) 剪下。', + paste: '貼上', + pasteArea: '貼上區', + pasteMsg: '請使用鍵盤快捷鍵 (Ctrl/Cmd+V) 貼到下方區域中並按下「確定」。', + securityMsg: '因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。', + title: '貼上' +} ); diff --git a/sources/plugins/clipboard/plugin.js b/sources/plugins/clipboard/plugin.js new file mode 100644 index 0000000..5c387b3 --- /dev/null +++ b/sources/plugins/clipboard/plugin.js @@ -0,0 +1,2772 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @ignore + * File overview: Clipboard support. + */ + +// +// COPY & PASTE EXECUTION FLOWS: +// -- CTRL+C +// * if ( isCustomCopyCutSupported ) +// * dataTransfer.setData( 'text/html', getSelectedHtml ) +// * else +// * browser's default behavior +// -- CTRL+X +// * listen onKey (onkeydown) +// * fire 'saveSnapshot' on editor +// * if ( isCustomCopyCutSupported ) +// * dataTransfer.setData( 'text/html', getSelectedHtml ) +// * extractSelectedHtml // remove selected contents +// * else +// * browser's default behavior +// * deferred second 'saveSnapshot' event +// -- CTRL+V +// * listen onKey (onkeydown) +// * simulate 'beforepaste' for non-IEs on editable +// * listen 'onpaste' on editable ('onbeforepaste' for IE) +// * fire 'beforePaste' on editor +// * if ( !canceled && ( htmlInDataTransfer || !external paste) && dataTransfer is not empty ) getClipboardDataByPastebin +// * fire 'paste' on editor +// * !canceled && fire 'afterPaste' on editor +// -- Copy command +// * tryToCutCopy +// * execCommand +// * !success && notification +// -- Cut command +// * fixCut +// * tryToCutCopy +// * execCommand +// * !success && notification +// -- Paste command +// * fire 'paste' on editable ('beforepaste' for IE) +// * !canceled && execCommand 'paste' +// * !success && fire 'pasteDialog' on editor +// -- Paste from native context menu & menubar +// (Fx & Webkits are handled in 'paste' default listener. +// Opera cannot be handled at all because it doesn't fire any events +// Special treatment is needed for IE, for which is this part of doc) +// * listen 'onpaste' +// * cancel native event +// * fire 'beforePaste' on editor +// * if ( !canceled && ( htmlInDataTransfer || !external paste) && dataTransfer is not empty ) getClipboardDataByPastebin +// * execIECommand( 'paste' ) -> this fires another 'paste' event, so cancel it +// * fire 'paste' on editor +// * !canceled && fire 'afterPaste' on editor +// +// +// PASTE EVENT - PREPROCESSING: +// -- Possible dataValue types: auto, text, html. +// -- Possible dataValue contents: +// * text (possible \n\r) +// * htmlified text (text + br,div,p - no presentational markup & attrs - depends on browser) +// * html +// -- Possible flags: +// * htmlified - if true then content is a HTML even if no markup inside. This flag is set +// for content from editable pastebins, because they 'htmlify' pasted content. +// +// -- Type: auto: +// * content: htmlified text -> filter, unify text markup (brs, ps, divs), set type: text +// * content: html -> filter, set type: html +// -- Type: text: +// * content: htmlified text -> filter, unify text markup +// * content: html -> filter, strip presentational markup, unify text markup +// -- Type: html: +// * content: htmlified text -> filter, unify text markup +// * content: html -> filter +// +// -- Phases: +// * if dataValue is empty copy data from dataTransfer to dataValue (priority 1) +// * filtering (priorities 3-5) - e.g. pastefromword filters +// * content type sniffing (priority 6) +// * markup transformations for text (priority 6) +// +// DRAG & DROP EXECUTION FLOWS: +// -- Drag +// * save to the global object: +// * drag timestamp (with 'cke-' prefix), +// * selected html, +// * drag range, +// * editor instance. +// * put drag timestamp into event.dataTransfer.text +// -- Drop +// * if events text == saved timestamp && editor == saved editor +// internal drag & drop occurred +// * getRangeAtDropPosition +// * create bookmarks for drag and drop ranges starting from the end of the document +// * dragRange.deleteContents() +// * fire 'paste' with saved html and drop range +// * if events text == saved timestamp && editor != saved editor +// cross editor drag & drop occurred +// * getRangeAtDropPosition +// * fire 'paste' with saved html +// * dragRange.deleteContents() +// * FF: refreshCursor on afterPaste +// * if events text != saved timestamp +// drop form external source occurred +// * getRangeAtDropPosition +// * if event contains html data then fire 'paste' with html +// * else if event contains text data then fire 'paste' with encoded text +// * FF: refreshCursor on afterPaste + +'use strict'; + +( function() { + // Register the plugin. + CKEDITOR.plugins.add( 'clipboard', { + requires: 'dialog', + // jscs:disable maximumLineLength + lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,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', // %REMOVE_LINE_CORE% + // jscs:enable maximumLineLength + icons: 'copy,copy-rtl,cut,cut-rtl,paste,paste-rtl', // %REMOVE_LINE_CORE% + hidpi: true, // %REMOVE_LINE_CORE% + init: function( editor ) { + var filterType, + filtersFactory = filtersFactoryFactory(); + + if ( editor.config.forcePasteAsPlainText ) { + filterType = 'plain-text'; + } else if ( editor.config.pasteFilter ) { + filterType = editor.config.pasteFilter; + } + // On Webkit the pasteFilter defaults 'semantic-content' because pasted data is so terrible + // that it must be always filtered. + else if ( CKEDITOR.env.webkit && !( 'pasteFilter' in editor.config ) ) { + filterType = 'semantic-content'; + } + + editor.pasteFilter = filtersFactory.get( filterType ); + + initPasteClipboard( editor ); + initDragDrop( editor ); + + CKEDITOR.dialog.add( 'paste', CKEDITOR.getUrl( this.path + 'dialogs/paste.js' ) ); + + // Convert image file (if present) to base64 string for Firefox. Do it as the first + // step as the conversion is asynchronous and should hold all further paste processing. + if ( CKEDITOR.env.gecko ) { + var supportedImageTypes = [ 'image/png', 'image/jpeg', 'image/gif' ], + latestId; + + editor.on( 'paste', function( evt ) { + var dataObj = evt.data, + data = dataObj.dataValue, + dataTransfer = dataObj.dataTransfer; + + // If data empty check for image content inside data transfer. #16705 + if ( !data && dataObj.method == 'paste' && dataTransfer && dataTransfer.getFilesCount() == 1 && latestId != dataTransfer.id ) { + var file = dataTransfer.getFile( 0 ); + + if ( CKEDITOR.tools.indexOf( supportedImageTypes, file.type ) != -1 ) { + var fileReader = new FileReader(); + + // Convert image file to img tag with base64 image. + fileReader.addEventListener( 'load', function() { + evt.data.dataValue = ''; + editor.fire( 'paste', evt.data ); + }, false ); + + // Proceed with normal flow if reading file was aborted. + fileReader.addEventListener( 'abort', function() { + editor.fire( 'paste', evt.data ); + }, false ); + + // Proceed with normal flow if reading file failed. + fileReader.addEventListener( 'error', function() { + editor.fire( 'paste', evt.data ); + }, false ); + + fileReader.readAsDataURL( file ); + + latestId = dataObj.dataTransfer.id; + + evt.stop(); + } + } + }, null, null, 1 ); + } + + editor.on( 'paste', function( evt ) { + // Init `dataTransfer` if `paste` event was fired without it, so it will be always available. + if ( !evt.data.dataTransfer ) { + evt.data.dataTransfer = new CKEDITOR.plugins.clipboard.dataTransfer(); + } + + // If dataValue is already set (manually or by paste bin), so do not override it. + if ( evt.data.dataValue ) { + return; + } + + var dataTransfer = evt.data.dataTransfer, + // IE support only text data and throws exception if we try to get html data. + // This html data object may also be empty if we drag content of the textarea. + value = dataTransfer.getData( 'text/html' ); + + if ( value ) { + evt.data.dataValue = value; + evt.data.type = 'html'; + } else { + // Try to get text data otherwise. + value = dataTransfer.getData( 'text/plain' ); + + if ( value ) { + evt.data.dataValue = editor.editable().transformPlainTextToHtml( value ); + evt.data.type = 'text'; + } + } + }, null, null, 1 ); + + editor.on( 'paste', function( evt ) { + var data = evt.data.dataValue, + blockElements = CKEDITOR.dtd.$block; + + // Filter webkit garbage. + if ( data.indexOf( 'Apple-' ) > -1 ) { + // Replace special webkit's   with simple space, because webkit + // produces them even for normal spaces. + data = data.replace( / <\/span>/gi, ' ' ); + + // Strip around white-spaces when not in forced 'html' content type. + // This spans are created only when pasting plain text into Webkit, + // but for safety reasons remove them always. + if ( evt.data.type != 'html' ) { + data = data.replace( /]*>([^<]*)<\/span>/gi, function( all, spaces ) { + // Replace tabs with 4 spaces like Fx does. + return spaces.replace( /\t/g, '    ' ); + } ); + } + + // This br is produced only when copying & pasting HTML content. + if ( data.indexOf( '
    ' ) > -1 ) { + evt.data.startsWithEOL = 1; + evt.data.preSniffing = 'html'; // Mark as not text. + data = data.replace( /
    /, '' ); + } + + // Remove all other classes. + data = data.replace( /(<[^>]+) class="Apple-[^"]*"/gi, '$1' ); + } + + // Strip editable that was copied from inside. (#9534) + if ( data.match( /^<[^<]+cke_(editable|contents)/i ) ) { + var tmp, + editable_wrapper, + wrapper = new CKEDITOR.dom.element( 'div' ); + + wrapper.setHtml( data ); + // Verify for sure and check for nested editor UI parts. (#9675) + while ( wrapper.getChildCount() == 1 && + ( tmp = wrapper.getFirst() ) && + tmp.type == CKEDITOR.NODE_ELEMENT && // Make sure first-child is element. + ( tmp.hasClass( 'cke_editable' ) || tmp.hasClass( 'cke_contents' ) ) ) { + wrapper = editable_wrapper = tmp; + } + + // If editable wrapper was found strip it and bogus
    (added on FF). + if ( editable_wrapper ) + data = editable_wrapper.getHtml().replace( /
    $/i, '' ); + } + + if ( CKEDITOR.env.ie ) { + //  

    ->

    (br.cke-pasted-remove will be removed later) + data = data.replace( /^ (?: |\r\n)?<(\w+)/g, function( match, elementName ) { + if ( elementName.toLowerCase() in blockElements ) { + evt.data.preSniffing = 'html'; // Mark as not a text. + return '<' + elementName; + } + return match; + } ); + } else if ( CKEDITOR.env.webkit ) { + //


    ->


    + // We don't mark br, because this situation can happen for htmlified text too. + data = data.replace( /<\/(\w+)>

    <\/div>$/, function( match, elementName ) { + if ( elementName in blockElements ) { + evt.data.endsWithEOL = 1; + return ''; + } + return match; + } ); + } else if ( CKEDITOR.env.gecko ) { + // Firefox adds bogus
    when user pasted text followed by space(s). + data = data.replace( /(\s)
    $/, '$1' ); + } + + evt.data.dataValue = data; + }, null, null, 3 ); + + editor.on( 'paste', function( evt ) { + var dataObj = evt.data, + type = dataObj.type, + data = dataObj.dataValue, + trueType, + // Default is 'html'. + defaultType = editor.config.clipboard_defaultContentType || 'html', + transferType = dataObj.dataTransfer.getTransferType( editor ); + + // If forced type is 'html' we don't need to know true data type. + if ( type == 'html' || dataObj.preSniffing == 'html' ) { + trueType = 'html'; + } else { + trueType = recogniseContentType( data ); + } + + // Unify text markup. + if ( trueType == 'htmlifiedtext' ) { + data = htmlifiedTextHtmlification( editor.config, data ); + } + + // Strip presentational markup & unify text markup. + // Forced plain text (dialog or forcePAPT). + // Note: we do not check dontFilter option in this case, because forcePAPT was implemented + // before pasteFilter and pasteFilter is automatically used on Webkit&Blink since 4.5, so + // forcePAPT should have priority as it had before 4.5. + if ( type == 'text' && trueType == 'html' ) { + data = filterContent( editor, data, filtersFactory.get( 'plain-text' ) ); + } + // External paste and pasteFilter exists and filtering isn't disabled. + else if ( transferType == CKEDITOR.DATA_TRANSFER_EXTERNAL && editor.pasteFilter && !dataObj.dontFilter ) { + data = filterContent( editor, data, editor.pasteFilter ); + } + + if ( dataObj.startsWithEOL ) { + data = '
    ' + data; + } + if ( dataObj.endsWithEOL ) { + data += '
    '; + } + + if ( type == 'auto' ) { + type = ( trueType == 'html' || defaultType == 'html' ) ? 'html' : 'text'; + } + + dataObj.type = type; + dataObj.dataValue = data; + delete dataObj.preSniffing; + delete dataObj.startsWithEOL; + delete dataObj.endsWithEOL; + }, null, null, 6 ); + + // Inserts processed data into the editor at the end of the + // events chain. + editor.on( 'paste', function( evt ) { + var data = evt.data; + + if ( data.dataValue ) { + editor.insertHtml( data.dataValue, data.type, data.range ); + + // Defer 'afterPaste' so all other listeners for 'paste' will be fired first. + // Fire afterPaste only if paste inserted some HTML. + setTimeout( function() { + editor.fire( 'afterPaste' ); + }, 0 ); + } + }, null, null, 1000 ); + + editor.on( 'pasteDialog', function( evt ) { + // TODO it's possible that this setTimeout is not needed any more, + // because of changes introduced in the same commit as this comment. + // Editor.getClipboardData adds listener to the dialog's events which are + // fired after a while (not like 'showDialog'). + setTimeout( function() { + // Open default paste dialog. + editor.openDialog( 'paste', evt.data ); + }, 0 ); + } ); + } + } ); + + function firePasteEvents( editor, data, withBeforePaste ) { + if ( !data.type ) { + data.type = 'auto'; + } + + if ( withBeforePaste ) { + // Fire 'beforePaste' event so clipboard flavor get customized + // by other plugins. + if ( editor.fire( 'beforePaste', data ) === false ) + return false; // Event canceled + } + + // Do not fire paste if there is no data (dataValue and dataTranfser are empty). + // This check should be done after firing 'beforePaste' because for native paste + // 'beforePaste' is by default fired even for empty clipboard. + if ( !data.dataValue && data.dataTransfer.isEmpty() ) { + return false; + } + + if ( !data.dataValue ) { + data.dataValue = ''; + } + + // Because of FF bug we need to use this hack, otherwise cursor is hidden + // or it is not possible to move it (#12420). + // Also, check that editor.toolbox exists, because the toolbar plugin might not be loaded (#13305). + if ( CKEDITOR.env.gecko && data.method == 'drop' && editor.toolbox ) { + editor.once( 'afterPaste', function() { + editor.toolbox.focus(); + } ); + } + + return editor.fire( 'paste', data ); + } + + function initPasteClipboard( editor ) { + var clipboard = CKEDITOR.plugins.clipboard, + preventBeforePasteEvent = 0, + preventPasteEvent = 0, + inReadOnly = 0; + + addListeners(); + addButtonsCommands(); + + /** + * Gets clipboard data by directly accessing the clipboard (IE only) or opening the paste dialog window. + * + * editor.getClipboardData( { title: 'Get my data' }, function( data ) { + * if ( data ) + * alert( data.type + ' ' + data.dataValue ); + * } ); + * + * @member CKEDITOR.editor + * @param {Object} options + * @param {String} [options.title] The title of the paste dialog window. + * @param {Function} callback A function that will be executed with `data.type` and `data.dataValue` + * or `null` if none of the capturing methods succeeded. + */ + editor.getClipboardData = function( options, callback ) { + var beforePasteNotCanceled = false, + dataType = 'auto', + dialogCommited = false; + + // Options are optional - args shift. + if ( !callback ) { + callback = options; + options = null; + } + + // Listen with maximum priority to handle content before everyone else. + // This callback will handle paste event that will be fired if direct + // access to the clipboard succeed in IE. + editor.on( 'paste', onPaste, null, null, 0 ); + + // Listen at the end of listeners chain to see if event wasn't canceled + // and to retrieve modified data.type. + editor.on( 'beforePaste', onBeforePaste, null, null, 1000 ); + + // getClipboardDataDirectly() will fire 'beforePaste' synchronously, so we can + // check if it was canceled and if any listener modified data.type. + + // If command didn't succeed (only IE allows to access clipboard and only if + // user agrees) open and handle paste dialog. + if ( getClipboardDataDirectly() === false ) { + // Direct access to the clipboard wasn't successful so remove listener. + editor.removeListener( 'paste', onPaste ); + + // If beforePaste was canceled do not open dialog. + // Add listeners only if dialog really opened. 'pasteDialog' can be canceled. + if ( beforePasteNotCanceled && editor.fire( 'pasteDialog', onDialogOpen ) ) { + editor.on( 'pasteDialogCommit', onDialogCommit ); + + // 'dialogHide' will be fired after 'pasteDialogCommit'. + editor.on( 'dialogHide', function( evt ) { + evt.removeListener(); + evt.data.removeListener( 'pasteDialogCommit', onDialogCommit ); + + // Because Opera has to wait a while in pasteDialog we have to wait here. + setTimeout( function() { + // Notify even if user canceled dialog (clicked 'cancel', ESC, etc). + if ( !dialogCommited ) + callback( null ); + }, 10 ); + } ); + } else { + callback( null ); + } + } + + function onPaste( evt ) { + evt.removeListener(); + evt.cancel(); + callback( evt.data ); + } + + function onBeforePaste( evt ) { + evt.removeListener(); + beforePasteNotCanceled = true; + dataType = evt.data.type; + } + + function onDialogCommit( evt ) { + evt.removeListener(); + // Cancel pasteDialogCommit so paste dialog won't automatically fire + // 'paste' evt by itself. + evt.cancel(); + dialogCommited = true; + callback( { + type: dataType, + dataValue: evt.data.dataValue, + dataTransfer: evt.data.dataTransfer, + method: 'paste' + } ); + } + + function onDialogOpen() { + this.customTitle = ( options && options.title ); + } + }; + + function addButtonsCommands() { + addButtonCommand( 'Cut', 'cut', createCutCopyCmd( 'cut' ), 10, 1 ); + addButtonCommand( 'Copy', 'copy', createCutCopyCmd( 'copy' ), 20, 4 ); + addButtonCommand( 'Paste', 'paste', createPasteCmd(), 30, 8 ); + + function addButtonCommand( buttonName, commandName, command, toolbarOrder, ctxMenuOrder ) { + var lang = editor.lang.clipboard[ commandName ]; + + editor.addCommand( commandName, command ); + editor.ui.addButton && editor.ui.addButton( buttonName, { + label: lang, + command: commandName, + toolbar: 'clipboard,' + toolbarOrder + } ); + + // If the "menu" plugin is loaded, register the menu item. + if ( editor.addMenuItems ) { + editor.addMenuItem( commandName, { + label: lang, + command: commandName, + group: 'clipboard', + order: ctxMenuOrder + } ); + } + } + } + + function addListeners() { + editor.on( 'key', onKey ); + editor.on( 'contentDom', addPasteListenersToEditable ); + + // For improved performance, we're checking the readOnly state on selectionChange instead of hooking a key event for that. + editor.on( 'selectionChange', function( evt ) { + inReadOnly = evt.data.selection.getRanges()[ 0 ].checkReadOnly(); + setToolbarStates(); + } ); + + // If the "contextmenu" plugin is loaded, register the listeners. + if ( editor.contextMenu ) { + editor.contextMenu.addListener( function( element, selection ) { + inReadOnly = selection.getRanges()[ 0 ].checkReadOnly(); + return { + cut: stateFromNamedCommand( 'cut' ), + copy: stateFromNamedCommand( 'copy' ), + paste: stateFromNamedCommand( 'paste' ) + }; + } ); + } + } + + // Add events listeners to editable. + function addPasteListenersToEditable() { + var editable = editor.editable(); + + if ( CKEDITOR.plugins.clipboard.isCustomCopyCutSupported ) { + var initOnCopyCut = function( evt ) { + // If user tries to cut in read-only editor, we must prevent default action. (#13872) + if ( !editor.readOnly || evt.name != 'cut' ) { + clipboard.initPasteDataTransfer( evt, editor ); + } + evt.data.preventDefault(); + }; + + editable.on( 'copy', initOnCopyCut ); + editable.on( 'cut', initOnCopyCut ); + + // Delete content with the low priority so one can overwrite cut data. + editable.on( 'cut', function() { + // If user tries to cut in read-only editor, we must prevent default action. (#13872) + if ( !editor.readOnly ) { + editor.extractSelectedHtml(); + } + }, null, null, 999 ); + } + + // We'll be catching all pasted content in one line, regardless of whether + // it's introduced by a document command execution (e.g. toolbar buttons) or + // user paste behaviors (e.g. CTRL+V). + editable.on( clipboard.mainPasteEvent, function( evt ) { + if ( clipboard.mainPasteEvent == 'beforepaste' && preventBeforePasteEvent ) { + return; + } + + // If you've just asked yourself why preventPasteEventNow() is not here, but + // in listener for CTRL+V and exec method of 'paste' command + // you've asked the same question we did. + // + // THE ANSWER: + // + // First thing to notice - this answer makes sense only for IE, + // because other browsers don't listen for 'paste' event. + // + // What would happen if we move preventPasteEventNow() here? + // For: + // * CTRL+V - IE fires 'beforepaste', so we prevent 'paste' and pasteDataFromClipboard(). OK. + // * editor.execCommand( 'paste' ) - we fire 'beforepaste', so we prevent + // 'paste' and pasteDataFromClipboard() and doc.execCommand( 'Paste' ). OK. + // * native context menu - IE fires 'beforepaste', so we prevent 'paste', but unfortunately + // on IE we fail with pasteDataFromClipboard() here, because of... we don't know why, but + // we just fail, so... we paste nothing. FAIL. + // * native menu bar - the same as for native context menu. + // + // But don't you know any way to distinguish first two cases from last two? + // Only one - special flag set in CTRL+V handler and exec method of 'paste' + // command. And that's what we did using preventPasteEventNow(). + + pasteDataFromClipboard( evt ); + } ); + + // It's not possible to clearly handle all four paste methods (ctrl+v, native menu bar + // native context menu, editor's command) in one 'paste/beforepaste' event in IE. + // + // For ctrl+v & editor's command it's easy to handle pasting in 'beforepaste' listener, + // so we do this. For another two methods it's better to use 'paste' event. + // + // 'paste' is always being fired after 'beforepaste' (except of weird one on opening native + // context menu), so for two methods handled in 'beforepaste' we're canceling 'paste' + // using preventPasteEvent state. + // + // 'paste' event in IE is being fired before getClipboardDataByPastebin executes its callback. + // + // QUESTION: Why didn't you handle all 4 paste methods in handler for 'paste'? + // Wouldn't this just be simpler? + // ANSWER: Then we would have to evt.data.preventDefault() only for native + // context menu and menu bar pastes. The same with execIECommand(). + // That would force us to mark CTRL+V and editor's paste command with + // special flag, other than preventPasteEvent. But we still would have to + // have preventPasteEvent for the second event fired by execIECommand. + // Code would be longer and not cleaner. + if ( clipboard.mainPasteEvent == 'beforepaste' ) { + editable.on( 'paste', function( evt ) { + if ( preventPasteEvent ) { + return; + } + + // Cancel next 'paste' event fired by execIECommand( 'paste' ) + // at the end of this callback. + preventPasteEventNow(); + + // Prevent native paste. + evt.data.preventDefault(); + + pasteDataFromClipboard( evt ); + + // Force IE to paste content into pastebin so pasteDataFromClipboard will work. + if ( !execIECommand( 'paste' ) ) { + editor.openDialog( 'paste' ); + } + } ); + + // If mainPasteEvent is 'beforePaste' (IE before Edge), + // dismiss the (wrong) 'beforepaste' event fired on context/toolbar menu open. (#7953) + editable.on( 'contextmenu', preventBeforePasteEventNow, null, null, 0 ); + + editable.on( 'beforepaste', function( evt ) { + // Do not prevent event on CTRL+V and SHIFT+INS because it blocks paste (#11970). + if ( evt.data && !evt.data.$.ctrlKey && !evt.data.$.shiftKey ) + preventBeforePasteEventNow(); + }, null, null, 0 ); + } + + editable.on( 'beforecut', function() { + !preventBeforePasteEvent && fixCut( editor ); + } ); + + var mouseupTimeout; + + // Use editor.document instead of editable in non-IEs for observing mouseup + // since editable won't fire the event if selection process started within + // iframe and ended out of the editor (#9851). + editable.attachListener( CKEDITOR.env.ie ? editable : editor.document.getDocumentElement(), 'mouseup', function() { + mouseupTimeout = setTimeout( function() { + setToolbarStates(); + }, 0 ); + } ); + + // Make sure that deferred mouseup callback isn't executed after editor instance + // had been destroyed. This may happen when editor.destroy() is called in parallel + // with mouseup event (i.e. a button with onclick callback) (#10219). + editor.on( 'destroy', function() { + clearTimeout( mouseupTimeout ); + } ); + + editable.on( 'keyup', setToolbarStates ); + } + + // Create object representing Cut or Copy commands. + function createCutCopyCmd( type ) { + return { + type: type, + canUndo: type == 'cut', // We can't undo copy to clipboard. + startDisabled: true, + fakeKeystroke: type == 'cut' ? CKEDITOR.CTRL + 88 /*X*/ : CKEDITOR.CTRL + 67 /*C*/, + exec: function() { + // Attempts to execute the Cut and Copy operations. + function tryToCutCopy( type ) { + if ( CKEDITOR.env.ie ) + return execIECommand( type ); + + // non-IEs part + try { + // Other browsers throw an error if the command is disabled. + return editor.document.$.execCommand( type, false, null ); + } catch ( e ) { + return false; + } + } + + this.type == 'cut' && fixCut(); + + var success = tryToCutCopy( this.type ); + + if ( !success ) { + // Show cutError or copyError. + editor.showNotification( editor.lang.clipboard[ this.type + 'Error' ] ); // jshint ignore:line + } + + return success; + } + }; + } + + function createPasteCmd() { + return { + // Snapshots are done manually by editable.insertXXX methods. + canUndo: false, + async: true, + fakeKeystroke: CKEDITOR.CTRL + 86 /*V*/, + exec: function( editor, data ) { + var cmd = this, + fire = function( data, withBeforePaste ) { + data && firePasteEvents( editor, data, !!withBeforePaste ); + + editor.fire( 'afterCommandExec', { + name: 'paste', + command: cmd, + returnValue: !!data + } ); + }; + + // Check data precisely - don't open dialog on empty string. + if ( typeof data == 'string' ) + fire( { + dataValue: data, + method: 'paste', + dataTransfer: clipboard.initPasteDataTransfer() + }, 1 ); + else + editor.getClipboardData( fire ); + } + }; + } + + function preventPasteEventNow() { + preventPasteEvent = 1; + // For safety reason we should wait longer than 0/1ms. + // We don't know how long execution of quite complex getClipboardData will take + // and in for example 'paste' listener execCommand() (which fires 'paste') is called + // after getClipboardData finishes. + // Luckily, it's impossible to immediately fire another 'paste' event we want to handle, + // because we only handle there native context menu and menu bar. + setTimeout( function() { + preventPasteEvent = 0; + }, 100 ); + } + + function preventBeforePasteEventNow() { + preventBeforePasteEvent = 1; + setTimeout( function() { + preventBeforePasteEvent = 0; + }, 10 ); + } + + // Tries to execute any of the paste, cut or copy commands in IE. Returns a + // boolean indicating that the operation succeeded. + // @param {String} command *LOWER CASED* name of command ('paste', 'cut', 'copy'). + function execIECommand( command ) { + var doc = editor.document, + body = doc.getBody(), + enabled = false, + onExec = function() { + enabled = true; + }; + + // The following seems to be the only reliable way to detect that + // clipboard commands are enabled in IE. It will fire the + // onpaste/oncut/oncopy events only if the security settings allowed + // the command to execute. + body.on( command, onExec ); + + // IE7: document.execCommand has problem to paste into positioned element. + if ( CKEDITOR.env.version > 7 ) { + doc.$.execCommand( command ); + } else { + doc.$.selection.createRange().execCommand( command ); + } + + body.removeListener( command, onExec ); + + return enabled; + } + + // Cutting off control type element in IE standards breaks the selection entirely. (#4881) + function fixCut() { + if ( !CKEDITOR.env.ie || CKEDITOR.env.quirks ) + return; + + var sel = editor.getSelection(), + control, range, dummy; + + if ( ( sel.getType() == CKEDITOR.SELECTION_ELEMENT ) && ( control = sel.getSelectedElement() ) ) { + range = sel.getRanges()[ 0 ]; + dummy = editor.document.createText( '' ); + dummy.insertBefore( control ); + range.setStartBefore( dummy ); + range.setEndAfter( control ); + sel.selectRanges( [ range ] ); + + // Clear up the fix if the paste wasn't succeeded. + setTimeout( function() { + // Element still online? + if ( control.getParent() ) { + dummy.remove(); + sel.selectElement( control ); + } + }, 0 ); + } + } + + // Allow to peek clipboard content by redirecting the + // pasting content into a temporary bin and grab the content of it. + function getClipboardDataByPastebin( evt, callback ) { + var doc = editor.document, + editable = editor.editable(), + cancel = function( evt ) { + evt.cancel(); + }, + blurListener; + + // Avoid recursions on 'paste' event or consequent paste too fast. (#5730) + if ( doc.getById( 'cke_pastebin' ) ) + return; + + var sel = editor.getSelection(); + var bms = sel.createBookmarks(); + + // #11384. On IE9+ we use native selectionchange (i.e. editor#selectionCheck) to cache the most + // recent selection which we then lock on editable blur. See selection.js for more info. + // selectionchange fired before getClipboardDataByPastebin() cached selection + // before creating bookmark (cached selection will be invalid, because bookmarks modified the DOM), + // so we need to fire selectionchange one more time, to store current seleciton. + // Selection will be locked when we focus pastebin. + if ( CKEDITOR.env.ie ) + sel.root.fire( 'selectionchange' ); + + // Create container to paste into. + // For rich content we prefer to use "body" since it holds + // the least possibility to be splitted by pasted content, while this may + // breaks the text selection on a frame-less editable, "div" would be + // the best one in that case. + // In another case on old IEs moving the selection into a "body" paste bin causes error panic. + // Body can't be also used for Opera which fills it with
    + // what is indistinguishable from pasted
    (copying
    in Opera isn't possible, + // but it can be copied from other browser). + var pastebin = new CKEDITOR.dom.element( + ( CKEDITOR.env.webkit || editable.is( 'body' ) ) && !CKEDITOR.env.ie ? 'body' : 'div', doc ); + + pastebin.setAttributes( { + id: 'cke_pastebin', + 'data-cke-temp': '1' + } ); + + var containerOffset = 0, + offsetParent, + win = doc.getWindow(); + + if ( CKEDITOR.env.webkit ) { + // It's better to paste close to the real paste destination, so inherited styles + // (which Webkits will try to compensate by styling span) differs less from the destination's one. + editable.append( pastebin ); + // Style pastebin like .cke_editable, to minimize differences between origin and destination. (#9754) + pastebin.addClass( 'cke_editable' ); + + // Compensate position of offsetParent. + if ( !editable.is( 'body' ) ) { + // We're not able to get offsetParent from pastebin (body element), so check whether + // its parent (editable) is positioned. + if ( editable.getComputedStyle( 'position' ) != 'static' ) + offsetParent = editable; + // And if not - safely get offsetParent from editable. + else + offsetParent = CKEDITOR.dom.element.get( editable.$.offsetParent ); + + containerOffset = offsetParent.getDocumentPosition().y; + } + } else { + // Opera and IE doesn't allow to append to html element. + editable.getAscendant( CKEDITOR.env.ie ? 'body' : 'html', 1 ).append( pastebin ); + } + + pastebin.setStyles( { + position: 'absolute', + // Position the bin at the top (+10 for safety) of viewport to avoid any subsequent document scroll. + top: ( win.getScrollPosition().y - containerOffset + 10 ) + 'px', + width: '1px', + // Caret has to fit in that height, otherwise browsers like Chrome & Opera will scroll window to show it. + // Set height equal to viewport's height - 20px (safety gaps), minimum 1px. + height: Math.max( 1, win.getViewPaneSize().height - 20 ) + 'px', + overflow: 'hidden', + // Reset styles that can mess up pastebin position. + margin: 0, + padding: 0 + } ); + + // Paste fails in Safari when the body tag has 'user-select: none'. (#12506) + if ( CKEDITOR.env.safari ) + pastebin.setStyles( CKEDITOR.tools.cssVendorPrefix( 'user-select', 'text' ) ); + + // Check if the paste bin now establishes new editing host. + var isEditingHost = pastebin.getParent().isReadOnly(); + + if ( isEditingHost ) { + // Hide the paste bin. + pastebin.setOpacity( 0 ); + // And make it editable. + pastebin.setAttribute( 'contenteditable', true ); + } + // Transparency is not enough since positioned non-editing host always shows + // resize handler, pull it off the screen instead. + else { + pastebin.setStyle( editor.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-10000px' ); + } + + editor.on( 'selectionChange', cancel, null, null, 0 ); + + // Webkit fill fire blur on editable when moving selection to + // pastebin (if body is used). Cancel it because it causes incorrect + // selection lock in case of inline editor (#10644). + // The same seems to apply to Firefox (#10787). + if ( CKEDITOR.env.webkit || CKEDITOR.env.gecko ) + blurListener = editable.once( 'blur', cancel, null, null, -100 ); + + // Temporarily move selection to the pastebin. + isEditingHost && pastebin.focus(); + var range = new CKEDITOR.dom.range( pastebin ); + range.selectNodeContents( pastebin ); + var selPastebin = range.select(); + + // If non-native paste is executed, IE will open security alert and blur editable. + // Editable will then lock selection inside itself and after accepting security alert + // this selection will be restored. We overwrite stored selection, so it's restored + // in pastebin. (#9552) + if ( CKEDITOR.env.ie ) { + blurListener = editable.once( 'blur', function() { + editor.lockSelection( selPastebin ); + } ); + } + + var scrollTop = CKEDITOR.document.getWindow().getScrollPosition().y; + + // Wait a while and grab the pasted contents. + setTimeout( function() { + // Restore main window's scroll position which could have been changed + // by browser in cases described in #9771. + if ( CKEDITOR.env.webkit ) + CKEDITOR.document.getBody().$.scrollTop = scrollTop; + + // Blur will be fired only on non-native paste. In other case manually remove listener. + blurListener && blurListener.removeListener(); + + // Restore properly the document focus. (#8849) + if ( CKEDITOR.env.ie ) + editable.focus(); + + // IE7: selection must go before removing pastebin. (#8691) + sel.selectBookmarks( bms ); + pastebin.remove(); + + // Grab the HTML contents. + // We need to look for a apple style wrapper on webkit it also adds + // a div wrapper if you copy/paste the body of the editor. + // Remove hidden div and restore selection. + var bogusSpan; + if ( CKEDITOR.env.webkit && ( bogusSpan = pastebin.getFirst() ) && ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) ) + pastebin = bogusSpan; + + editor.removeListener( 'selectionChange', cancel ); + callback( pastebin.getHtml() ); + }, 0 ); + } + + // Try to get content directly on IE from clipboard, without native event + // being fired before. In other words - synthetically get clipboard data, if it's possible. + // mainPasteEvent will be fired, so if forced native paste: + // * worked, getClipboardDataByPastebin will grab it, + // * didn't work, dataValue and dataTransfer will be empty and editor#paste won't be fired. + // Clipboard data can be accessed directly only on IEs older than Edge. + // On other browsers we should fire beforePaste event and return false. + function getClipboardDataDirectly() { + if ( clipboard.mainPasteEvent == 'paste' ) { + // beforePaste should be fired when dialog open so it can be canceled. + editor.fire( 'beforePaste', { type: 'auto', method: 'paste' } ); + return false; + } + + // Prevent IE from pasting at the begining of the document. + editor.focus(); + + // Command will be handled by 'beforepaste', but as + // execIECommand( 'paste' ) will fire also 'paste' event + // we're canceling it. + preventPasteEventNow(); + + // #9247: Lock focus to prevent IE from hiding toolbar for inline editor. + var focusManager = editor.focusManager; + focusManager.lock(); + + if ( editor.editable().fire( clipboard.mainPasteEvent ) && !execIECommand( 'paste' ) ) { + focusManager.unlock(); + return false; + } + focusManager.unlock(); + + return true; + } + + // Listens for some clipboard related keystrokes, so they get customized. + // Needs to be bind to keydown event. + function onKey( event ) { + if ( editor.mode != 'wysiwyg' ) + return; + + switch ( event.data.keyCode ) { + // Paste + case CKEDITOR.CTRL + 86: // CTRL+V + case CKEDITOR.SHIFT + 45: // SHIFT+INS + var editable = editor.editable(); + + // Cancel 'paste' event because ctrl+v is for IE handled + // by 'beforepaste'. + preventPasteEventNow(); + + // Simulate 'beforepaste' event for all browsers using 'paste' as main event. + if ( clipboard.mainPasteEvent == 'paste' ) { + editable.fire( 'beforepaste' ); + } + + return; + + // Cut + case CKEDITOR.CTRL + 88: // CTRL+X + case CKEDITOR.SHIFT + 46: // SHIFT+DEL + // Save Undo snapshot. + editor.fire( 'saveSnapshot' ); // Save before cut + setTimeout( function() { + editor.fire( 'saveSnapshot' ); // Save after cut + }, 50 ); // OSX is slow (#11416). + } + } + + function pasteDataFromClipboard( evt ) { + // Default type is 'auto', but can be changed by beforePaste listeners. + var eventData = { + type: 'auto', + method: 'paste', + dataTransfer: clipboard.initPasteDataTransfer( evt ) + }; + + eventData.dataTransfer.cacheData(); + + // Fire 'beforePaste' event so clipboard flavor get customized by other plugins. + // If 'beforePaste' is canceled continue executing getClipboardDataByPastebin and then do nothing + // (do not fire 'paste', 'afterPaste' events). This way we can grab all - synthetically + // and natively pasted content and prevent its insertion into editor + // after canceling 'beforePaste' event. + var beforePasteNotCanceled = editor.fire( 'beforePaste', eventData ) !== false; + + // Do not use paste bin if the browser let us get HTML or files from dataTranfer. + if ( beforePasteNotCanceled && clipboard.canClipboardApiBeTrusted( eventData.dataTransfer, editor ) ) { + evt.data.preventDefault(); + setTimeout( function() { + firePasteEvents( editor, eventData ); + }, 0 ); + } else { + getClipboardDataByPastebin( evt, function( data ) { + // Clean up. + eventData.dataValue = data.replace( /]+data-cke-bookmark[^<]*?<\/span>/ig, '' ); + + // Fire remaining events (without beforePaste) + beforePasteNotCanceled && firePasteEvents( editor, eventData ); + } ); + } + } + + function setToolbarStates() { + if ( editor.mode != 'wysiwyg' ) + return; + + var pasteState = stateFromNamedCommand( 'paste' ); + + editor.getCommand( 'cut' ).setState( stateFromNamedCommand( 'cut' ) ); + editor.getCommand( 'copy' ).setState( stateFromNamedCommand( 'copy' ) ); + editor.getCommand( 'paste' ).setState( pasteState ); + editor.fire( 'pasteState', pasteState ); + } + + function stateFromNamedCommand( command ) { + if ( inReadOnly && command in { paste: 1, cut: 1 } ) + return CKEDITOR.TRISTATE_DISABLED; + + if ( command == 'paste' ) + return CKEDITOR.TRISTATE_OFF; + + // Cut, copy - check if the selection is not empty. + var sel = editor.getSelection(), + ranges = sel.getRanges(), + selectionIsEmpty = sel.getType() == CKEDITOR.SELECTION_NONE || ( ranges.length == 1 && ranges[ 0 ].collapsed ); + + return selectionIsEmpty ? CKEDITOR.TRISTATE_DISABLED : CKEDITOR.TRISTATE_OFF; + } + } + + // Returns: + // * 'htmlifiedtext' if content looks like transformed by browser from plain text. + // See clipboard/paste.html TCs for more info. + // * 'html' if it is not 'htmlifiedtext'. + function recogniseContentType( data ) { + if ( CKEDITOR.env.webkit ) { + // Plain text or (

    and text inside
    ). + if ( !data.match( /^[^<]*$/g ) && !data.match( /^(
    <\/div>|
    [^<]*<\/div>)*$/gi ) ) + return 'html'; + } else if ( CKEDITOR.env.ie ) { + // Text and
    or ( text and
    in

    - paragraphs can be separated by new \r\n ). + if ( !data.match( /^([^<]|)*$/gi ) && !data.match( /^(

    ([^<]|)*<\/p>|(\r\n))*$/gi ) ) + return 'html'; + } else if ( CKEDITOR.env.gecko ) { + // Text or
    . + if ( !data.match( /^([^<]|)*$/gi ) ) + return 'html'; + } else { + return 'html'; + } + + return 'htmlifiedtext'; + } + + // This function transforms what browsers produce when + // pasting plain text into editable element (see clipboard/paste.html TCs + // for more info) into correct HTML (similar to that produced by text2Html). + function htmlifiedTextHtmlification( config, data ) { + function repeatParagraphs( repeats ) { + // Repeat blocks floor((n+1)/2) times. + // Even number of repeats - add
    at the beginning of last

    . + return CKEDITOR.tools.repeat( '

    ', ~~( repeats / 2 ) ) + ( repeats % 2 == 1 ? '
    ' : '' ); + } + + // Replace adjacent white-spaces (EOLs too - Fx sometimes keeps them) with one space. + data = data.replace( /\s+/g, ' ' ) + // Remove spaces from between tags. + .replace( /> +<' ) + // Normalize XHTML syntax and upper cased
    tags. + .replace( /
    /gi, '
    ' ); + + // IE - lower cased tags. + data = data.replace( /<\/?[A-Z]+>/g, function( match ) { + return match.toLowerCase(); + } ); + + // Don't touch single lines (no ) - nothing to do here. + if ( data.match( /^[^<]$/ ) ) + return data; + + // Webkit. + if ( CKEDITOR.env.webkit && data.indexOf( '

    ' ) > -1 ) { + // One line break at the beginning - insert
    + data = data.replace( /^(
    (
    |)<\/div>)(?!$|(
    (
    |)<\/div>))/g, '
    ' ) + // Two or more - reduce number of new lines by one. + .replace( /^(
    (
    |)<\/div>){2}(?!$)/g, '
    ' ); + + // Two line breaks create one paragraph in Webkit. + if ( data.match( /
    (
    |)<\/div>/ ) ) { + data = '

    ' + data.replace( /(

    (
    |)<\/div>)+/g, function( match ) { + return repeatParagraphs( match.split( '
    ' ).length + 1 ); + } ) + '

    '; + } + + // One line break create br. + data = data.replace( /<\/div>
    /g, '
    ' ); + + // Remove remaining divs. + data = data.replace( /<\/?div>/g, '' ); + } + + // Opera and Firefox and enterMode != BR. + if ( CKEDITOR.env.gecko && config.enterMode != CKEDITOR.ENTER_BR ) { + // Remove bogus
    - Fx generates two for one line break. + // For two line breaks it still produces two , but it's better to ignore this case than the first one. + if ( CKEDITOR.env.gecko ) + data = data.replace( /^

    $/, '
    ' ); + + // This line satisfy edge case when for Opera we have two line breaks + //data = data.replace( /) + + if ( data.indexOf( '

    ' ) > -1 ) { + // Two line breaks create one paragraph, three - 2, four - 3, etc. + data = '

    ' + data.replace( /(
    ){2,}/g, function( match ) { + return repeatParagraphs( match.length / 4 ); + } ) + '

    '; + } + } + + return switchEnterMode( config, data ); + } + + function filtersFactoryFactory() { + var filters = {}; + + function setUpTags() { + var tags = {}; + + for ( var tag in CKEDITOR.dtd ) { + if ( tag.charAt( 0 ) != '$' && tag != 'div' && tag != 'span' ) { + tags[ tag ] = 1; + } + } + + return tags; + } + + function createSemanticContentFilter() { + var filter = new CKEDITOR.filter(); + + filter.allow( { + $1: { + elements: setUpTags(), + attributes: true, + styles: false, + classes: false + } + } ); + + return filter; + } + + return { + get: function( type ) { + if ( type == 'plain-text' ) { + // Does this look confusing to you? Did we forget about enter mode? + // It is a trick that let's us creating one filter for edidtor, regardless of its + // activeEnterMode (which as the name indicates can change during runtime). + // + // How does it work? + // The active enter mode is passed to the filter.applyTo method. + // The filter first marks all elements except
    as disallowed and then tries to remove + // them. However, it cannot remove e.g. a

    element completely, because it's a basic structural element, + // so it tries to replace it with an element created based on the active enter mode, eventually doing nothing. + // + // Now you can sleep well. + return filters.plainText || ( filters.plainText = new CKEDITOR.filter( 'br' ) ); + } else if ( type == 'semantic-content' ) { + return filters.semanticContent || ( filters.semanticContent = createSemanticContentFilter() ); + } else if ( type ) { + // Create filter based on rules (string or object). + return new CKEDITOR.filter( type ); + } + + return null; + } + }; + } + + function filterContent( editor, data, filter ) { + var fragment = CKEDITOR.htmlParser.fragment.fromHtml( data ), + writer = new CKEDITOR.htmlParser.basicWriter(); + + filter.applyTo( fragment, true, false, editor.activeEnterMode ); + fragment.writeHtml( writer ); + + return writer.getHtml(); + } + + function switchEnterMode( config, data ) { + if ( config.enterMode == CKEDITOR.ENTER_BR ) { + data = data.replace( /(<\/p>

    )+/g, function( match ) { + return CKEDITOR.tools.repeat( '
    ', match.length / 7 * 2 ); + } ).replace( /<\/?p>/g, '' ); + } else if ( config.enterMode == CKEDITOR.ENTER_DIV ) { + data = data.replace( /<(\/)?p>/g, '<$1div>' ); + } + + return data; + } + + function preventDefaultSetDropEffectToNone( evt ) { + evt.data.preventDefault(); + evt.data.$.dataTransfer.dropEffect = 'none'; + } + + function initDragDrop( editor ) { + var clipboard = CKEDITOR.plugins.clipboard; + + editor.on( 'contentDom', function() { + var editable = editor.editable(), + dropTarget = CKEDITOR.plugins.clipboard.getDropTarget( editor ), + top = editor.ui.space( 'top' ), + bottom = editor.ui.space( 'bottom' ); + + // -------------- DRAGOVER TOP & BOTTOM -------------- + + // Not allowing dragging on toolbar and bottom (#12613). + clipboard.preventDefaultDropOnElement( top ); + clipboard.preventDefaultDropOnElement( bottom ); + + // -------------- DRAGSTART -------------- + // Listed on dragstart to mark internal and cross-editor drag & drop + // and save range and selected HTML. + + editable.attachListener( dropTarget, 'dragstart', fireDragEvent ); + + // Make sure to reset data transfer (in case dragend was not called or was canceled). + editable.attachListener( editor, 'dragstart', clipboard.resetDragDataTransfer, clipboard, null, 1 ); + + // Create a dataTransfer object and save it globally. + editable.attachListener( editor, 'dragstart', function( evt ) { + clipboard.initDragDataTransfer( evt, editor ); + }, null, null, 2 ); + + editable.attachListener( editor, 'dragstart', function() { + // Save drag range globally for cross editor D&D. + var dragRange = clipboard.dragRange = editor.getSelection().getRanges()[ 0 ]; + + // Store number of children, so we can later tell if any text node was split on drop. (#13011, #13447) + if ( CKEDITOR.env.ie && CKEDITOR.env.version < 10 ) { + clipboard.dragStartContainerChildCount = dragRange ? getContainerChildCount( dragRange.startContainer ) : null; + clipboard.dragEndContainerChildCount = dragRange ? getContainerChildCount( dragRange.endContainer ) : null; + } + }, null, null, 100 ); + + // -------------- DRAGEND -------------- + // Clean up on dragend. + + editable.attachListener( dropTarget, 'dragend', fireDragEvent ); + + // Init data transfer if someone wants to use it in dragend. + editable.attachListener( editor, 'dragend', clipboard.initDragDataTransfer, clipboard, null, 1 ); + + // When drag & drop is done we need to reset dataTransfer so the future + // external drop will be not recognize as internal. + editable.attachListener( editor, 'dragend', clipboard.resetDragDataTransfer, clipboard, null, 100 ); + + // -------------- DRAGOVER -------------- + // We need to call preventDefault on dragover because otherwise if + // we drop image it will overwrite document. + + editable.attachListener( dropTarget, 'dragover', function( evt ) { + var target = evt.data.getTarget(); + + // Prevent reloading page when dragging image on empty document (#12619). + if ( target && target.is && target.is( 'html' ) ) { + evt.data.preventDefault(); + return; + } + + // If we do not prevent default dragover on IE the file path + // will be loaded and we will lose content. On the other hand + // if we prevent it the cursor will not we shown, so we prevent + // dragover only on IE, on versions which support file API and only + // if the event contains files. + if ( CKEDITOR.env.ie && + CKEDITOR.plugins.clipboard.isFileApiSupported && + evt.data.$.dataTransfer.types.contains( 'Files' ) ) { + evt.data.preventDefault(); + } + } ); + + // -------------- DROP -------------- + + editable.attachListener( dropTarget, 'drop', function( evt ) { + // Do nothing if event was already prevented. (#13879) + if ( evt.data.$.defaultPrevented ) { + return; + } + + // Cancel native drop. + evt.data.preventDefault(); + + var target = evt.data.getTarget(), + readOnly = target.isReadOnly(); + + // Do nothing if drop on non editable element (#13015). + // The tag isn't editable (body is), but we want to allow drop on it + // (so it is possible to drop below editor contents). + if ( readOnly && !( target.type == CKEDITOR.NODE_ELEMENT && target.is( 'html' ) ) ) { + return; + } + + // Getting drop position is one of the most complex parts. + var dropRange = clipboard.getRangeAtDropPosition( evt, editor ), + dragRange = clipboard.dragRange; + + // Do nothing if it was not possible to get drop range. + if ( !dropRange ) { + return; + } + + // Fire drop. + fireDragEvent( evt, dragRange, dropRange ); + }, null, null, 9999 ); + + // Create dataTransfer or get it, if it was created before. + editable.attachListener( editor, 'drop', clipboard.initDragDataTransfer, clipboard, null, 1 ); + + // Execute drop action, fire paste. + editable.attachListener( editor, 'drop', function( evt ) { + var data = evt.data; + + if ( !data ) { + return; + } + + // Let user modify drag and drop range. + var dropRange = data.dropRange, + dragRange = data.dragRange, + dataTransfer = data.dataTransfer; + + if ( dataTransfer.getTransferType( editor ) == CKEDITOR.DATA_TRANSFER_INTERNAL ) { + // Execute drop with a timeout because otherwise selection, after drop, + // on IE is in the drag position, instead of drop position. + setTimeout( function() { + clipboard.internalDrop( dragRange, dropRange, dataTransfer, editor ); + }, 0 ); + } else if ( dataTransfer.getTransferType( editor ) == CKEDITOR.DATA_TRANSFER_CROSS_EDITORS ) { + crossEditorDrop( dragRange, dropRange, dataTransfer ); + } else { + externalDrop( dropRange, dataTransfer ); + } + }, null, null, 9999 ); + + // Cross editor drag and drop (drag in one Editor and drop in the other). + function crossEditorDrop( dragRange, dropRange, dataTransfer ) { + // Paste event should be fired before delete contents because otherwise + // Chrome have a problem with drop range (Chrome split the drop + // range container so the offset is bigger then container length). + dropRange.select(); + firePasteEvents( editor, { dataTransfer: dataTransfer, method: 'drop' }, 1 ); + + // Remove dragged content and make a snapshot. + dataTransfer.sourceEditor.fire( 'saveSnapshot' ); + + dataTransfer.sourceEditor.editable().extractHtmlFromRange( dragRange ); + + // Make some selection before saving snapshot, otherwise error will be thrown, because + // there will be no valid selection after content is removed. + dataTransfer.sourceEditor.getSelection().selectRanges( [ dragRange ] ); + dataTransfer.sourceEditor.fire( 'saveSnapshot' ); + } + + // Drop from external source. + function externalDrop( dropRange, dataTransfer ) { + // Paste content into the drop position. + dropRange.select(); + + firePasteEvents( editor, { dataTransfer: dataTransfer, method: 'drop' }, 1 ); + + // Usually we reset DataTranfer on dragend, + // but dragend is called on the same element as dragstart + // so it will not be called on on external drop. + clipboard.resetDragDataTransfer(); + } + + // Fire drag/drop events (dragstart, dragend, drop). + function fireDragEvent( evt, dragRange, dropRange ) { + var eventData = { + $: evt.data.$, + target: evt.data.getTarget() + }; + + if ( dragRange ) { + eventData.dragRange = dragRange; + } + if ( dropRange ) { + eventData.dropRange = dropRange; + } + + if ( editor.fire( evt.name, eventData ) === false ) { + evt.data.preventDefault(); + } + } + + function getContainerChildCount( container ) { + if ( container.type != CKEDITOR.NODE_ELEMENT ) { + container = container.getParent(); + } + + return container.getChildCount(); + } + } ); + } + + /** + * @singleton + * @class CKEDITOR.plugins.clipboard + */ + CKEDITOR.plugins.clipboard = { + /** + * True if the environment allows to set data on copy or cut manually. This value is false in IE, because this browser + * shows the security dialog window when the script tries to set clipboard data and on iOS, because custom data is + * not saved to clipboard there. + * + * @since 4.5 + * @readonly + * @property {Boolean} + */ + isCustomCopyCutSupported: !CKEDITOR.env.ie && !CKEDITOR.env.iOS, + + /** + * True if the environment supports MIME types and custom data types in dataTransfer/cliboardData getData/setData methods. + * + * @since 4.5 + * @readonly + * @property {Boolean} + */ + isCustomDataTypesSupported: !CKEDITOR.env.ie, + + /** + * True if the environment supports File API. + * + * @since 4.5 + * @readonly + * @property {Boolean} + */ + isFileApiSupported: !CKEDITOR.env.ie || CKEDITOR.env.version > 9, + + /** + * Main native paste event editable should listen to. + * + * **Note:** Safari does not like the {@link CKEDITOR.editor#beforePaste} event — it sometimes does not + * handle Ctrl+C properly. This is probably caused by some race condition between events. + * Chrome, Firefox and Edge work well with both events, so it is better to use {@link CKEDITOR.editor#paste} + * which will handle pasting from e.g. browsers' menu bars. + * IE7/8 does not like the {@link CKEDITOR.editor#paste} event for which it is throwing random errors. + * + * @since 4.5 + * @readonly + * @property {String} + */ + mainPasteEvent: ( CKEDITOR.env.ie && !CKEDITOR.env.edge ) ? 'beforepaste' : 'paste', + + /** + * Returns `true` if it is expected that a browser provides HTML data through the Clipboard API. + * If not, this method returns `false` and as a result CKEditor will use the paste bin. Read more in + * the [Clipboard Integration](http://docs.ckeditor.com/#!/guide/dev_clipboard-section-clipboard-api) guide. + * + * @since 4.5.2 + * @returns {Boolean} + */ + canClipboardApiBeTrusted: function( dataTransfer, editor ) { + // If it's an internal or cross-editor data transfer, then it means that custom cut/copy/paste support works + // and that the data were put manually on the data transfer so we can be sure that it's available. + if ( dataTransfer.getTransferType( editor ) != CKEDITOR.DATA_TRANSFER_EXTERNAL ) { + return true; + } + + // In Chrome we can trust Clipboard API, with the exception of Chrome on Android (in both - mobile and desktop modes), where + // clipboard API is not available so we need to check it (#13187). + if ( CKEDITOR.env.chrome && !dataTransfer.isEmpty() ) { + return true; + } + + // Because of a Firefox bug HTML data are not available in some cases (e.g. paste from Word), in such cases we + // need to use the pastebin (#13528, https://bugzilla.mozilla.org/show_bug.cgi?id=1183686). + if ( CKEDITOR.env.gecko && ( dataTransfer.getData( 'text/html' ) || dataTransfer.getFilesCount() ) ) { + return true; + } + + // In Safari and IE HTML data is not available though the Clipboard API. + // In Edge things are a bit messy at the moment - + // https://connect.microsoft.com/IE/feedback/details/1572456/edge-clipboard-api-text-html-content-messed-up-in-event-clipboarddata + // It is safer to use the paste bin in unknown cases. + return false; + }, + + /** + * Returns the element that should be used as the target for the drop event. + * + * @since 4.5 + * @param {CKEDITOR.editor} editor The editor instance. + * @returns {CKEDITOR.dom.domObject} the element that should be used as the target for the drop event. + */ + getDropTarget: function( editor ) { + var editable = editor.editable(); + + // #11123 Firefox needs to listen on document, because otherwise event won't be fired. + // #11086 IE8 cannot listen on document. + if ( ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) || editable.isInline() ) { + return editable; + } else { + return editor.document; + } + }, + + /** + * IE 8 & 9 split text node on drop so the first node contains the + * text before the drop position and the second contains the rest. If you + * drag the content from the same node you will be not be able to get + * it (the range becomes invalid), so you need to join them back. + * + * Note that the first node in IE 8 & 9 is the original node object + * but with shortened content. + * + * Before: + * --- Text Node A ---------------------------------- + * /\ + * Drag position + * + * After (IE 8 & 9): + * --- Text Node A ----- --- Text Node B ----------- + * /\ /\ + * Drop position Drag position + * (invalid) + * + * After (other browsers): + * --- Text Node A ---------------------------------- + * /\ /\ + * Drop position Drag position + * + * **Note:** This function is in the public scope for tests usage only. + * + * @since 4.5 + * @private + * @param {CKEDITOR.dom.range} dragRange The drag range. + * @param {CKEDITOR.dom.range} dropRange The drop range. + * @param {Number} preDragStartContainerChildCount The number of children of the drag range start container before the drop. + * @param {Number} preDragEndContainerChildCount The number of children of the drag range end container before the drop. + */ + fixSplitNodesAfterDrop: function( dragRange, dropRange, preDragStartContainerChildCount, preDragEndContainerChildCount ) { + var dropContainer = dropRange.startContainer; + + if ( + typeof preDragEndContainerChildCount != 'number' || + typeof preDragStartContainerChildCount != 'number' + ) { + return; + } + + // We are only concerned about ranges anchored in elements. + if ( dropContainer.type != CKEDITOR.NODE_ELEMENT ) { + return; + } + + if ( handleContainer( dragRange.startContainer, dropContainer, preDragStartContainerChildCount ) ) { + return; + } + + if ( handleContainer( dragRange.endContainer, dropContainer, preDragEndContainerChildCount ) ) { + return; + } + + function handleContainer( dragContainer, dropContainer, preChildCount ) { + var dragElement = dragContainer; + if ( dragElement.type == CKEDITOR.NODE_TEXT ) { + dragElement = dragContainer.getParent(); + } + + if ( dragElement.equals( dropContainer ) && preChildCount != dropContainer.getChildCount() ) { + applyFix( dropRange ); + return true; + } + } + + function applyFix( dropRange ) { + var nodeBefore = dropRange.startContainer.getChild( dropRange.startOffset - 1 ), + nodeAfter = dropRange.startContainer.getChild( dropRange.startOffset ); + + if ( + nodeBefore && nodeBefore.type == CKEDITOR.NODE_TEXT && + nodeAfter && nodeAfter.type == CKEDITOR.NODE_TEXT + ) { + var offset = nodeBefore.getLength(); + + nodeBefore.setText( nodeBefore.getText() + nodeAfter.getText() ); + nodeAfter.remove(); + + dropRange.setStart( nodeBefore, offset ); + dropRange.collapse( true ); + } + } + }, + + /** + * Checks whether turning the drag range into bookmarks will invalidate the drop range. + * This usually happens when the drop range shares the container with the drag range and is + * located after the drag range, but there are countless edge cases. + * + * This function is stricly related to {@link #internalDrop} which toggles + * order in which it creates bookmarks for both ranges based on a value returned + * by this method. In some cases this method returns a value which is not necessarily + * true in terms of what it was meant to check, but it is convenient, because + * we know how it is interpreted in {@link #internalDrop}, so the correct + * behavior of the entire algorithm is assured. + * + * **Note:** This function is in the public scope for tests usage only. + * + * @since 4.5 + * @private + * @param {CKEDITOR.dom.range} dragRange The first range to compare. + * @param {CKEDITOR.dom.range} dropRange The second range to compare. + * @returns {Boolean} `true` if the first range is before the second range. + */ + isDropRangeAffectedByDragRange: function( dragRange, dropRange ) { + var dropContainer = dropRange.startContainer, + dropOffset = dropRange.endOffset; + + // Both containers are the same and drop offset is at the same position or later. + // " A L] A " " M A " + // ^ ^ + if ( dragRange.endContainer.equals( dropContainer ) && dragRange.endOffset <= dropOffset ) { + return true; + } + + // Bookmark for drag start container will mess up with offsets. + // " O [L A " " M A " + // ^ ^ + if ( + dragRange.startContainer.getParent().equals( dropContainer ) && + dragRange.startContainer.getIndex() < dropOffset + ) { + return true; + } + + // Bookmark for drag end container will mess up with offsets. + // " O] L A " " M A " + // ^ ^ + if ( + dragRange.endContainer.getParent().equals( dropContainer ) && + dragRange.endContainer.getIndex() < dropOffset + ) { + return true; + } + + return false; + }, + + /** + * Internal drag and drop (drag and drop in the same editor instance). + * + * **Note:** This function is in the public scope for tests usage only. + * + * @since 4.5 + * @private + * @param {CKEDITOR.dom.range} dragRange The first range to compare. + * @param {CKEDITOR.dom.range} dropRange The second range to compare. + * @param {CKEDITOR.plugins.clipboard.dataTransfer} dataTransfer + * @param {CKEDITOR.editor} editor + */ + internalDrop: function( dragRange, dropRange, dataTransfer, editor ) { + var clipboard = CKEDITOR.plugins.clipboard, + editable = editor.editable(), + dragBookmark, dropBookmark, isDropRangeAffected; + + // Save and lock snapshot so there will be only + // one snapshot for both remove and insert content. + editor.fire( 'saveSnapshot' ); + editor.fire( 'lockSnapshot', { dontUpdate: 1 } ); + + if ( CKEDITOR.env.ie && CKEDITOR.env.version < 10 ) { + this.fixSplitNodesAfterDrop( + dragRange, + dropRange, + clipboard.dragStartContainerChildCount, + clipboard.dragEndContainerChildCount + ); + } + + // Because we manipulate multiple ranges we need to do it carefully, + // changing one range (event creating a bookmark) may make other invalid. + // We need to change ranges into bookmarks so we can manipulate them easily in the future. + // We can change the range which is later in the text before we change the preceding range. + // We call isDropRangeAffectedByDragRange to test the order of ranges. + isDropRangeAffected = this.isDropRangeAffectedByDragRange( dragRange, dropRange ); + if ( !isDropRangeAffected ) { + dragBookmark = dragRange.createBookmark( false ); + } + dropBookmark = dropRange.clone().createBookmark( false ); + if ( isDropRangeAffected ) { + dragBookmark = dragRange.createBookmark( false ); + } + + // Check if drop range is inside range. + // This is an edge case when we drop something on editable's margin/padding. + // That space is not treated as a part of the range we drag, so it is possible to drop there. + // When we drop, browser tries to find closest drop position and it finds it inside drag range. (#13453) + var startNode = dragBookmark.startNode, + endNode = dragBookmark.endNode, + dropNode = dropBookmark.startNode, + dropInsideDragRange = + // Must check endNode because dragRange could be collapsed in some edge cases (simulated DnD). + endNode && + ( startNode.getPosition( dropNode ) & CKEDITOR.POSITION_PRECEDING ) && + ( endNode.getPosition( dropNode ) & CKEDITOR.POSITION_FOLLOWING ); + + // If the drop range happens to be inside drag range change it's position to the beginning of the drag range. + if ( dropInsideDragRange ) { + // We only change position of bookmark span that is connected with dropBookmark. + // dropRange will be overwritten and set to the dropBookmark later. + dropNode.insertBefore( startNode ); + } + + // No we can safely delete content for the drag range... + dragRange = editor.createRange(); + dragRange.moveToBookmark( dragBookmark ); + editable.extractHtmlFromRange( dragRange, 1 ); + + // ...and paste content into the drop position. + dropRange = editor.createRange(); + dropRange.moveToBookmark( dropBookmark ); + + // We do not select drop range, because of may be in the place we can not set the selection + // (e.g. between blocks, in case of block widget D&D). We put range to the paste event instead. + firePasteEvents( editor, { dataTransfer: dataTransfer, method: 'drop', range: dropRange }, 1 ); + + editor.fire( 'unlockSnapshot' ); + }, + + /** + * Gets the range from the `drop` event. + * + * @since 4.5 + * @param {Object} domEvent A native DOM drop event object. + * @param {CKEDITOR.editor} editor The source editor instance. + * @returns {CKEDITOR.dom.range} range at drop position. + */ + getRangeAtDropPosition: function( dropEvt, editor ) { + var $evt = dropEvt.data.$, + x = $evt.clientX, + y = $evt.clientY, + $range, + defaultRange = editor.getSelection( true ).getRanges()[ 0 ], + range = editor.createRange(); + + // Make testing possible. + if ( dropEvt.data.testRange ) + return dropEvt.data.testRange; + + // Webkits. + if ( document.caretRangeFromPoint ) { + $range = editor.document.$.caretRangeFromPoint( x, y ); + range.setStart( CKEDITOR.dom.node( $range.startContainer ), $range.startOffset ); + range.collapse( true ); + } + // FF. + else if ( $evt.rangeParent ) { + range.setStart( CKEDITOR.dom.node( $evt.rangeParent ), $evt.rangeOffset ); + range.collapse( true ); + } + // IEs 9+. + // We check if editable is focused to make sure that it's an internal DnD. External DnD must use the second + // mechanism because of http://dev.ckeditor.com/ticket/13472#comment:6. + else if ( CKEDITOR.env.ie && CKEDITOR.env.version > 8 && defaultRange && editor.editable().hasFocus ) { + // On IE 9+ range by default is where we expected it. + // defaultRange may be undefined if dragover was canceled (file drop). + return defaultRange; + } + // IE 8 and all IEs if !defaultRange or external DnD. + else if ( document.body.createTextRange ) { + // To use this method we need a focus (which may be somewhere else in case of external drop). + editor.focus(); + + $range = editor.document.getBody().$.createTextRange(); + try { + var sucess = false; + + // If user drop between text line IEs moveToPoint throws exception: + // + // Lorem ipsum pulvinar purus et euismod + // + // dolor sit amet,| consectetur adipiscing + // * + // vestibulum tincidunt augue eget tempus. + // + // * - drop position + // | - expected cursor position + // + // So we try to call moveToPoint with +-1px up to +-20px above or + // below original drop position to find nearest good drop position. + for ( var i = 0; i < 20 && !sucess; i++ ) { + if ( !sucess ) { + try { + $range.moveToPoint( x, y - i ); + sucess = true; + } catch ( err ) { + } + } + if ( !sucess ) { + try { + $range.moveToPoint( x, y + i ); + sucess = true; + } catch ( err ) { + } + } + } + + if ( sucess ) { + var id = 'cke-temp-' + ( new Date() ).getTime(); + $range.pasteHTML( '\u200b' ); + + var span = editor.document.getById( id ); + range.moveToPosition( span, CKEDITOR.POSITION_BEFORE_START ); + span.remove(); + } else { + // If the fist method does not succeed we might be next to + // the short element (like header): + // + // Lorem ipsum pulvinar purus et euismod. + // + // + // SOME HEADER| * + // + // + // vestibulum tincidunt augue eget tempus. + // + // * - drop position + // | - expected cursor position + // + // In such situation elementFromPoint returns proper element. Using getClientRect + // it is possible to check if the cursor should be at the beginning or at the end + // of paragraph. + var $element = editor.document.$.elementFromPoint( x, y ), + element = new CKEDITOR.dom.element( $element ), + rect; + + if ( !element.equals( editor.editable() ) && element.getName() != 'html' ) { + rect = element.getClientRect(); + + if ( x < rect.left ) { + range.setStartAt( element, CKEDITOR.POSITION_AFTER_START ); + range.collapse( true ); + } else { + range.setStartAt( element, CKEDITOR.POSITION_BEFORE_END ); + range.collapse( true ); + } + } + // If drop happens on no element elementFromPoint returns html or body. + // + // * |Lorem ipsum pulvinar purus et euismod. + // + // vestibulum tincidunt augue eget tempus. + // + // * - drop position + // | - expected cursor position + // + // In such case we can try to use default selection. If startContainer is not + // 'editable' element it is probably proper selection. + else if ( defaultRange && defaultRange.startContainer && + !defaultRange.startContainer.equals( editor.editable() ) ) { + return defaultRange; + + // Otherwise we can not find any drop position and we have to return null + // and cancel drop event. + } else { + return null; + } + + } + } catch ( err ) { + return null; + } + } else { + return null; + } + + return range; + }, + + /** + * This function tries to link the `evt.data.dataTransfer` property of the {@link CKEDITOR.editor#dragstart}, + * {@link CKEDITOR.editor#dragend} and {@link CKEDITOR.editor#drop} events to a single + * {@link CKEDITOR.plugins.clipboard.dataTransfer} object. + * + * This method is automatically used by the core of the drag and drop functionality and + * usually does not have to be called manually when using the drag and drop events. + * + * This method behaves differently depending on whether the drag and drop events were fired + * artificially (to represent a non-native drag and drop) or whether they were caused by the native drag and drop. + * + * If the native event is not available, then it will create a new {@link CKEDITOR.plugins.clipboard.dataTransfer} + * instance (if it does not exist already) and will link it to this and all following event objects until + * the {@link #resetDragDataTransfer} method is called. It means that all three drag and drop events must be fired + * in order to ensure that the data transfer is bound correctly. + * + * If the native event is available, then the {@link CKEDITOR.plugins.clipboard.dataTransfer} is identified + * by its ID and a new instance is assigned to the `evt.data.dataTransfer` only if the ID changed or + * the {@link #resetDragDataTransfer} method was called. + * + * @since 4.5 + * @param {CKEDITOR.dom.event} [evt] A drop event object. + * @param {CKEDITOR.editor} [sourceEditor] The source editor instance. + */ + initDragDataTransfer: function( evt, sourceEditor ) { + // Create a new dataTransfer object based on the drop event. + // If this event was used on dragstart to create dataTransfer + // both dataTransfer objects will have the same id. + var nativeDataTransfer = evt.data.$ ? evt.data.$.dataTransfer : null, + dataTransfer = new this.dataTransfer( nativeDataTransfer, sourceEditor ); + + if ( !nativeDataTransfer ) { + // No native event. + if ( this.dragData ) { + dataTransfer = this.dragData; + } else { + this.dragData = dataTransfer; + } + } else { + // Native event. If there is the same id we will replace dataTransfer with the one + // created on drag, because it contains drag editor, drag content and so on. + // Otherwise (in case of drag from external source) we save new object to + // the global clipboard.dragData. + if ( this.dragData && dataTransfer.id == this.dragData.id ) { + dataTransfer = this.dragData; + } else { + this.dragData = dataTransfer; + } + } + + evt.data.dataTransfer = dataTransfer; + }, + + /** + * Removes the global {@link #dragData} so the next call to {@link #initDragDataTransfer} + * always creates a new instance of {@link CKEDITOR.plugins.clipboard.dataTransfer}. + * + * @since 4.5 + */ + resetDragDataTransfer: function() { + this.dragData = null; + }, + + /** + * Global object storing the data transfer of the current drag and drop operation. + * Do not use it directly, use {@link #initDragDataTransfer} and {@link #resetDragDataTransfer}. + * + * Note: This object is global (meaning that it is not related to a single editor instance) + * in order to handle drag and drop from one editor into another. + * + * @since 4.5 + * @private + * @property {CKEDITOR.plugins.clipboard.dataTransfer} dragData + */ + + /** + * Range object to save the drag range and remove its content after the drop. + * + * @since 4.5 + * @private + * @property {CKEDITOR.dom.range} dragRange + */ + + /** + * Initializes and links data transfer objects based on the paste event. If the data + * transfer object was already initialized on this event, the function will + * return that object. In IE it is not possible to link copy/cut and paste events + * so the method always returns a new object. The same happens if there is no paste event + * passed to the method. + * + * @since 4.5 + * @param {CKEDITOR.dom.event} [evt] A paste event object. + * @param {CKEDITOR.editor} [sourceEditor] The source editor instance. + * @returns {CKEDITOR.plugins.clipboard.dataTransfer} The data transfer object. + */ + initPasteDataTransfer: function( evt, sourceEditor ) { + if ( !this.isCustomCopyCutSupported ) { + // Edge does not support custom copy/cut, but it have some useful data in the clipboardData (#13755). + return new this.dataTransfer( ( CKEDITOR.env.edge && evt && evt.data.$ && evt.data.$.clipboardData ) || null, sourceEditor ); + } else if ( evt && evt.data && evt.data.$ ) { + var dataTransfer = new this.dataTransfer( evt.data.$.clipboardData, sourceEditor ); + + if ( this.copyCutData && dataTransfer.id == this.copyCutData.id ) { + dataTransfer = this.copyCutData; + dataTransfer.$ = evt.data.$.clipboardData; + } else { + this.copyCutData = dataTransfer; + } + + return dataTransfer; + } else { + return new this.dataTransfer( null, sourceEditor ); + } + }, + + /** + * Prevents dropping on the specified element. + * + * @since 4.5 + * @param {CKEDITOR.dom.element} element The element on which dropping should be disabled. + */ + preventDefaultDropOnElement: function( element ) { + element && element.on( 'dragover', preventDefaultSetDropEffectToNone ); + } + }; + + // Data type used to link drag and drop events. + // + // In IE URL data type is buggie and there is no way to mark drag & drop without + // modifying text data (which would be displayed if user drop content to the textarea) + // so we just read dragged text. + // + // In Chrome and Firefox we can use custom data types. + var clipboardIdDataType = CKEDITOR.plugins.clipboard.isCustomDataTypesSupported ? 'cke/id' : 'Text'; + /** + * Facade for the native `dataTransfer`/`clipboadData` object to hide all differences + * between browsers. + * + * @since 4.5 + * @class CKEDITOR.plugins.clipboard.dataTransfer + * @constructor Creates a class instance. + * @param {Object} [nativeDataTransfer] A native data transfer object. + * @param {CKEDITOR.editor} [editor] The source editor instance. If the editor is defined, dataValue will + * be created based on the editor content and the type will be 'html'. + */ + CKEDITOR.plugins.clipboard.dataTransfer = function( nativeDataTransfer, editor ) { + if ( nativeDataTransfer ) { + this.$ = nativeDataTransfer; + } + + this._ = { + metaRegExp: /^/i, + bodyRegExp: /([\s\S]*)<\/body>/i, + fragmentRegExp: //g, + + data: {}, + files: [], + + normalizeType: function( type ) { + type = type.toLowerCase(); + + if ( type == 'text' || type == 'text/plain' ) { + return 'Text'; // IE support only Text and URL; + } else if ( type == 'url' ) { + return 'URL'; // IE support only Text and URL; + } else { + return type; + } + } + }; + + // Check if ID is already created. + this.id = this.getData( clipboardIdDataType ); + + // If there is no ID we need to create it. Different browsers needs different ID. + if ( !this.id ) { + if ( clipboardIdDataType == 'Text' ) { + // For IE10+ only Text data type is supported and we have to compare dragged + // and dropped text. If the ID is not set it means that empty string was dragged + // (ex. image with no alt). We change null to empty string. + this.id = ''; + } else { + // String for custom data type. + this.id = 'cke-' + CKEDITOR.tools.getUniqueId(); + } + } + + // In IE10+ we can not use any data type besides text, so we do not call setData. + if ( clipboardIdDataType != 'Text' ) { + // Try to set ID so it will be passed from the drag to the drop event. + // On some browsers with some event it is not possible to setData so we + // need to catch exceptions. + try { + this.$.setData( clipboardIdDataType, this.id ); + } catch ( err ) {} + } + + if ( editor ) { + this.sourceEditor = editor; + + this.setData( 'text/html', editor.getSelectedHtml( 1 ) ); + + // Without setData( 'text', ... ) on dragstart there is no drop event in Safari. + // Also 'text' data is empty as drop to the textarea does not work if we do not put there text. + if ( clipboardIdDataType != 'Text' && !this.getData( 'text/plain' ) ) { + this.setData( 'text/plain', editor.getSelection().getSelectedText() ); + } + } + + /** + * Data transfer ID used to bind all dataTransfer + * objects based on the same event (e.g. in drag and drop events). + * + * @readonly + * @property {String} id + */ + + /** + * A native DOM event object. + * + * @readonly + * @property {Object} $ + */ + + /** + * Source editor — the editor where the drag starts. + * Might be undefined if the drag starts outside the editor (e.g. when dropping files to the editor). + * + * @readonly + * @property {CKEDITOR.editor} sourceEditor + */ + + /** + * Private properties and methods. + * + * @private + * @property {Object} _ + */ + }; + + /** + * Data transfer operation (drag and drop or copy and paste) started and ended in the same + * editor instance. + * + * @since 4.5 + * @readonly + * @property {Number} [=1] + * @member CKEDITOR + */ + CKEDITOR.DATA_TRANSFER_INTERNAL = 1; + + /** + * Data transfer operation (drag and drop or copy and paste) started in one editor + * instance and ended in another. + * + * @since 4.5 + * @readonly + * @property {Number} [=2] + * @member CKEDITOR + */ + CKEDITOR.DATA_TRANSFER_CROSS_EDITORS = 2; + + /** + * Data transfer operation (drag and drop or copy and paste) started outside of the editor. + * The source of the data may be a textarea, HTML, another application, etc. + * + * @since 4.5 + * @readonly + * @property {Number} [=3] + * @member CKEDITOR + */ + CKEDITOR.DATA_TRANSFER_EXTERNAL = 3; + + CKEDITOR.plugins.clipboard.dataTransfer.prototype = { + /** + * Facade for the native `getData` method. + * + * @param {String} type The type of data to retrieve. + * @returns {String} type Stored data for the given type or an empty string if the data for that type does not exist. + */ + getData: function( type ) { + function isEmpty( data ) { + return data === undefined || data === null || data === ''; + } + + type = this._.normalizeType( type ); + + var data = this._.data[ type ], + result; + + if ( isEmpty( data ) ) { + try { + data = this.$.getData( type ); + } catch ( e ) {} + } + + if ( isEmpty( data ) ) { + data = ''; + } + + // Some browsers add at the begging of the HTML data + // or surround it with ...(some content) and (some content) + // This code removes meta tags and returns only the contents of the element if found. Note that + // some significant content may be placed outside Start/EndFragment comments so it's kept. + // + // See #13583 for more details. + if ( type == 'text/html' ) { + data = data.replace( this._.metaRegExp, '' ); + + // Keep only contents of the element + result = this._.bodyRegExp.exec( data ); + if ( result && result.length ) { + data = result[ 1 ]; + + // Remove also comments. + data = data.replace( this._.fragmentRegExp, '' ); + } + } + // Firefox on Linux put files paths as a text/plain data if there are files + // in the dataTransfer object. We need to hide it, because files should be + // handled on paste only if dataValue is empty. + else if ( type == 'Text' && CKEDITOR.env.gecko && this.getFilesCount() && + data.substring( 0, 7 ) == 'file://' ) { + data = ''; + } + + return data; + }, + + /** + * Facade for the native `setData` method. + * + * @param {String} type The type of data to retrieve. + * @param {String} value The data to add. + */ + setData: function( type, value ) { + type = this._.normalizeType( type ); + + this._.data[ type ] = value; + + // There is "Unexpected call to method or property access." error if you try + // to set data of unsupported type on IE. + if ( !CKEDITOR.plugins.clipboard.isCustomDataTypesSupported && type != 'URL' && type != 'Text' ) { + return; + } + + // If we use the text type to bind the ID, then if someone tries to set the text, we must also + // update ID accordingly. #13468. + if ( clipboardIdDataType == 'Text' && type == 'Text' ) { + this.id = value; + } + + try { + this.$.setData( type, value ); + } catch ( e ) {} + }, + + /** + * Gets the data transfer type. + * + * @param {CKEDITOR.editor} targetEditor The drop/paste target editor instance. + * @returns {Number} Possible values: {@link CKEDITOR#DATA_TRANSFER_INTERNAL}, + * {@link CKEDITOR#DATA_TRANSFER_CROSS_EDITORS}, {@link CKEDITOR#DATA_TRANSFER_EXTERNAL}. + */ + getTransferType: function( targetEditor ) { + if ( !this.sourceEditor ) { + return CKEDITOR.DATA_TRANSFER_EXTERNAL; + } else if ( this.sourceEditor == targetEditor ) { + return CKEDITOR.DATA_TRANSFER_INTERNAL; + } else { + return CKEDITOR.DATA_TRANSFER_CROSS_EDITORS; + } + }, + + /** + * Copies the data from the native data transfer to a private cache. + * This function is needed because the data from the native data transfer + * is available only synchronously to the event listener. It is not possible + * to get the data asynchronously, after a timeout, and the {@link CKEDITOR.editor#paste} + * event is fired asynchronously — hence the need for caching the data. + */ + cacheData: function() { + if ( !this.$ ) { + return; + } + + var that = this, + i, file; + + function getAndSetData( type ) { + type = that._.normalizeType( type ); + + var data = that.getData( type ); + if ( data ) { + that._.data[ type ] = data; + } + } + + // Copy data. + if ( CKEDITOR.plugins.clipboard.isCustomDataTypesSupported ) { + if ( this.$.types ) { + for ( i = 0; i < this.$.types.length; i++ ) { + getAndSetData( this.$.types[ i ] ); + } + } + } else { + getAndSetData( 'Text' ); + getAndSetData( 'URL' ); + } + + // Copy files references. + file = this._getImageFromClipboard(); + if ( ( this.$ && this.$.files ) || file ) { + this._.files = []; + + // Edge have empty files property with no length (#13755). + if ( this.$.files && this.$.files.length ) { + for ( i = 0; i < this.$.files.length; i++ ) { + this._.files.push( this.$.files[ i ] ); + } + } + + // Don't include $.items if both $.files and $.items contains files, because, + // according to spec and browsers behavior, they contain the same files. + if ( this._.files.length === 0 && file ) { + this._.files.push( file ); + } + } + }, + + /** + * Gets the number of files in the dataTransfer object. + * + * @returns {Number} The number of files. + */ + getFilesCount: function() { + if ( this._.files.length ) { + return this._.files.length; + } + + if ( this.$ && this.$.files && this.$.files.length ) { + return this.$.files.length; + } + + return this._getImageFromClipboard() ? 1 : 0; + }, + + /** + * Gets the file at the index given. + * + * @param {Number} i Index. + * @returns {File} File instance. + */ + getFile: function( i ) { + if ( this._.files.length ) { + return this._.files[ i ]; + } + + if ( this.$ && this.$.files && this.$.files.length ) { + return this.$.files[ i ]; + } + + // File or null if the file was not found. + return i === 0 ? this._getImageFromClipboard() : undefined; + }, + + /** + * Checks if the data transfer contains any data. + * + * @returns {Boolean} `true` if the object contains no data. + */ + isEmpty: function() { + var typesToCheck = {}, + type; + + // If dataTransfer contains files it is not empty. + if ( this.getFilesCount() ) { + return false; + } + + // Add custom types. + for ( type in this._.data ) { + typesToCheck[ type ] = 1; + } + + // Add native types. + if ( this.$ ) { + if ( CKEDITOR.plugins.clipboard.isCustomDataTypesSupported ) { + if ( this.$.types ) { + for ( var i = 0; i < this.$.types.length; i++ ) { + typesToCheck[ this.$.types[ i ] ] = 1; + } + } + } else { + typesToCheck.Text = 1; + typesToCheck.URL = 1; + } + } + + // Remove ID. + if ( clipboardIdDataType != 'Text' ) { + typesToCheck[ clipboardIdDataType ] = 0; + } + + for ( type in typesToCheck ) { + if ( typesToCheck[ type ] && this.getData( type ) !== '' ) { + return false; + } + } + + return true; + }, + + /** + * When the content of the clipboard is pasted in Chrome, the clipboard data object has an empty `files` property, + * but it is possible to get the file as `items[0].getAsFile();` (#12961). + * + * @private + * @returns {File} File instance or `null` if not found. + */ + _getImageFromClipboard: function() { + var file; + + if ( this.$ && this.$.items && this.$.items[ 0 ] ) { + try { + file = this.$.items[ 0 ].getAsFile(); + // Duck typing + if ( file && file.type ) { + return file; + } + } catch ( err ) { + // noop + } + } + + return undefined; + } + }; +} )(); + +/** + * The default content type that is used when pasted data cannot be clearly recognized as HTML or text. + * + * For example: `'foo'` may come from a plain text editor or a website. It is not possible to recognize the content + * type in this case, so the default type will be used. At the same time it is clear that `'example text'` is + * HTML and its origin is a web page, email or another rich text editor. + * + * **Note:** If content type is text, then styles of the paste context are preserved. + * + * CKEDITOR.config.clipboard_defaultContentType = 'text'; + * + * See also the {@link CKEDITOR.editor#paste} event and read more about the integration with clipboard + * in the [Clipboard Deep Dive guide](#!/guide/dev_clipboard). + * + * @since 4.0 + * @cfg {'html'/'text'} [clipboard_defaultContentType='html'] + * @member CKEDITOR.config + */ + +/** + * Fired after the user initiated a paste action, but before the data is inserted into the editor. + * The listeners to this event are able to process the content before its insertion into the document. + * + * Read more about the integration with clipboard in the [Clipboard Deep Dive guide](#!/guide/dev_clipboard). + * + * See also: + * + * * the {@link CKEDITOR.config#pasteFilter} option, + * * the {@link CKEDITOR.editor#drop} event, + * * the {@link CKEDITOR.plugins.clipboard.dataTransfer} class. + * + * @since 3.1 + * @event paste + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param data + * @param {String} data.type The type of data in `data.dataValue`. Usually `'html'` or `'text'`, but for listeners + * with a priority smaller than `6` it may also be `'auto'` which means that the content type has not been recognised yet + * (this will be done by the content type sniffer that listens with priority `6`). + * @param {String} data.dataValue HTML to be pasted. + * @param {String} data.method Indicates the data transfer method. It could be drag and drop or copy and paste. + * Possible values: `'drop'`, `'paste'`. Introduced in CKEditor 4.5. + * @param {CKEDITOR.plugins.clipboard.dataTransfer} data.dataTransfer Facade for the native dataTransfer object + * which provides access to various data types and files, and passes some data between linked events + * (like drag and drop). Introduced in CKEditor 4.5. + * @param {Boolean} [data.dontFilter=false] Whether the {@link CKEDITOR.editor#pasteFilter paste filter} should not + * be applied to data. This option has no effect when `data.type` equals `'text'` which means that for instance + * {@link CKEDITOR.config#forcePasteAsPlainText} has a higher priority. Introduced in CKEditor 4.5. + */ + +/** + * Fired before the {@link #paste} event. Allows to preset data type. + * + * **Note:** This event is deprecated. Add a `0` priority listener for the + * {@link #paste} event instead. + * + * @deprecated + * @event beforePaste + * @member CKEDITOR.editor + */ + + /** + * Fired after the {@link #paste} event if content was modified. Note that if the paste + * event does not insert any data, the `afterPaste` event will not be fired. + * + * @event afterPaste + * @member CKEDITOR.editor + */ + +/** + * Internal event to open the Paste dialog window. + * + * @private + * @event pasteDialog + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param {Function} [data] Callback that will be passed to {@link CKEDITOR.editor#openDialog}. + */ + +/** + * Facade for the native `drop` event. Fired when the native `drop` event occurs. + * + * **Note:** To manipulate dropped data, use the {@link CKEDITOR.editor#paste} event. + * Use the `drop` event only to control drag and drop operations (e.g. to prevent the ability to drop some content). + * + * Read more about integration with drag and drop in the [Clipboard Deep Dive guide](#!/guide/dev_clipboard). + * + * See also: + * + * * The {@link CKEDITOR.editor#paste} event, + * * The {@link CKEDITOR.editor#dragstart} and {@link CKEDITOR.editor#dragend} events, + * * The {@link CKEDITOR.plugins.clipboard.dataTransfer} class. + * + * @since 4.5 + * @event drop + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param data + * @param {Object} data.$ Native drop event. + * @param {CKEDITOR.dom.node} data.target Drop target. + * @param {CKEDITOR.plugins.clipboard.dataTransfer} data.dataTransfer DataTransfer facade. + * @param {CKEDITOR.dom.range} data.dragRange Drag range, lets you manipulate the drag range. + * Note that dragged HTML is saved as `text/html` data on `dragstart` so if you change the drag range + * on drop, dropped HTML will not change. You need to change it manually using + * {@link CKEDITOR.plugins.clipboard.dataTransfer#setData dataTransfer.setData}. + * @param {CKEDITOR.dom.range} data.dropRange Drop range, lets you manipulate the drop range. + */ + +/** + * Facade for the native `dragstart` event. Fired when the native `dragstart` event occurs. + * + * This event can be canceled in order to block the drag start operation. It can also be fired to mimic the start of the drag and drop + * operation. For instance, the `widget` plugin uses this option to integrate its custom block widget drag and drop with + * the entire system. + * + * Read more about integration with drag and drop in the [Clipboard Deep Dive guide](#!/guide/dev_clipboard). + * + * See also: + * + * * The {@link CKEDITOR.editor#paste} event, + * * The {@link CKEDITOR.editor#drop} and {@link CKEDITOR.editor#dragend} events, + * * The {@link CKEDITOR.plugins.clipboard.dataTransfer} class. + * + * @since 4.5 + * @event dragstart + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param data + * @param {Object} data.$ Native dragstart event. + * @param {CKEDITOR.dom.node} data.target Drag target. + * @param {CKEDITOR.plugins.clipboard.dataTransfer} data.dataTransfer DataTransfer facade. + */ + +/** + * Facade for the native `dragend` event. Fired when the native `dragend` event occurs. + * + * Read more about integration with drag and drop in the [Clipboard Deep Dive guide](#!/guide/dev_clipboard). + * + * See also: + * + * * The {@link CKEDITOR.editor#paste} event, + * * The {@link CKEDITOR.editor#drop} and {@link CKEDITOR.editor#dragend} events, + * * The {@link CKEDITOR.plugins.clipboard.dataTransfer} class. + * + * @since 4.5 + * @event dragend + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param data + * @param {Object} data.$ Native dragend event. + * @param {CKEDITOR.dom.node} data.target Drag target. + * @param {CKEDITOR.plugins.clipboard.dataTransfer} data.dataTransfer DataTransfer facade. + */ + +/** + * Defines a filter which is applied to external data pasted or dropped into the editor. Possible values are: + * + * * `'plain-text'` – Content will be pasted as a plain text. + * * `'semantic-content'` – Known tags (except `div`, `span`) with all attributes (except + * `style` and `class`) will be kept. + * * `'h1 h2 p div'` – Custom rules compatible with {@link CKEDITOR.filter}. + * * `null` – Content will not be filtered by the paste filter (but it still may be filtered + * by [Advanced Content Filter](#!/guide/dev_advanced_content_filter)). This value can be used to + * disable the paste filter in Chrome and Safari, where this option defaults to `'semantic-content'`. + * + * Example: + * + * config.pasteFilter = 'plain-text'; + * + * Custom setting: + * + * config.pasteFilter = 'h1 h2 p ul ol li; img[!src, alt]; a[!href]'; + * + * Based on this configuration option, a proper {@link CKEDITOR.filter} instance will be defined and assigned to the editor + * as a {@link CKEDITOR.editor#pasteFilter}. You can tweak the paste filter settings on the fly on this object + * as well as delete or replace it. + * + * var editor = CKEDITOR.replace( 'editor', { + * pasteFilter: 'semantic-content' + * } ); + * + * editor.on( 'instanceReady', function() { + * // The result of this will be that all semantic content will be preserved + * // except tables. + * editor.pasteFilter.disallow( 'table' ); + * } ); + * + * Note that the paste filter is applied only to **external** data. There are three data sources: + * + * * copied and pasted in the same editor (internal), + * * copied from one editor and pasted into another (cross-editor), + * * coming from all other sources like websites, MS Word, etc. (external). + * + * If {@link CKEDITOR.config#allowedContent Advanced Content Filter} is not disabled, then + * it will also be applied to pasted and dropped data. The paste filter job is to "normalize" + * external data which often needs to be handled differently than content produced by the editor. + * + * This setting defaults to `'semantic-content'` in Chrome, Opera and Safari (all Blink and Webkit based browsers) + * due to messy HTML which these browsers keep in the clipboard. In other browsers it defaults to `null`. + * + * @since 4.5 + * @cfg {String} [pasteFilter='semantic-content' in Chrome and Safari and `null` in other browsers] + * @member CKEDITOR.config + */ + +/** + * {@link CKEDITOR.filter Content filter} which is used when external data is pasted or dropped into the editor + * or a forced paste as plain text occurs. + * + * This object might be used on the fly to define rules for pasted external content. + * This object is available and used if the {@link CKEDITOR.plugins.clipboard clipboard} plugin is enabled and + * {@link CKEDITOR.config#pasteFilter} or {@link CKEDITOR.config#forcePasteAsPlainText} was defined. + * + * To enable the filter: + * + * var editor = CKEDITOR.replace( 'editor', { + * pasteFilter: 'plain-text' + * } ); + * + * You can also modify the filter on the fly later on: + * + * editor.pasteFilter = new CKEDITOR.filter( 'p h1 h2; a[!href]' ); + * + * Note that the paste filter is only applied to **external** data. There are three data sources: + * + * * copied and pasted in the same editor (internal), + * * copied from one editor and pasted into another (cross-editor), + * * coming from all other sources like websites, MS Word, etc. (external). + * + * If {@link CKEDITOR.config#allowedContent Advanced Content Filter} is not disabled, then + * it will also be applied to pasted and dropped data. The paste filter job is to "normalize" + * external data which often needs to be handled differently than content produced by the editor. + * + * @since 4.5 + * @readonly + * @property {CKEDITOR.filter} [pasteFilter] + * @member CKEDITOR.editor + */ diff --git a/sources/plugins/contextmenu/lang/af.js b/sources/plugins/contextmenu/lang/af.js new file mode 100644 index 0000000..76b5b96 --- /dev/null +++ b/sources/plugins/contextmenu/lang/af.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'af', { + options: 'Konteks Spyskaart-opsies' +} ); diff --git a/sources/plugins/contextmenu/lang/ar.js b/sources/plugins/contextmenu/lang/ar.js new file mode 100644 index 0000000..c81b063 --- /dev/null +++ b/sources/plugins/contextmenu/lang/ar.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ar', { + options: 'خصائص قائمة السياق' +} ); diff --git a/sources/plugins/contextmenu/lang/az.js b/sources/plugins/contextmenu/lang/az.js new file mode 100644 index 0000000..651f2f8 --- /dev/null +++ b/sources/plugins/contextmenu/lang/az.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'az', { + options: 'Əlavə əməliyyatlar' +} ); diff --git a/sources/plugins/contextmenu/lang/bg.js b/sources/plugins/contextmenu/lang/bg.js new file mode 100644 index 0000000..6bb7a40 --- /dev/null +++ b/sources/plugins/contextmenu/lang/bg.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'bg', { + options: 'Опции на контекстното меню' +} ); diff --git a/sources/plugins/contextmenu/lang/bn.js b/sources/plugins/contextmenu/lang/bn.js new file mode 100644 index 0000000..fe93ec8 --- /dev/null +++ b/sources/plugins/contextmenu/lang/bn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'bn', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/bs.js b/sources/plugins/contextmenu/lang/bs.js new file mode 100644 index 0000000..9354351 --- /dev/null +++ b/sources/plugins/contextmenu/lang/bs.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'bs', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/ca.js b/sources/plugins/contextmenu/lang/ca.js new file mode 100644 index 0000000..91c7ec8 --- /dev/null +++ b/sources/plugins/contextmenu/lang/ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ca', { + options: 'Opcions del menú contextual' +} ); diff --git a/sources/plugins/contextmenu/lang/cs.js b/sources/plugins/contextmenu/lang/cs.js new file mode 100644 index 0000000..e53a0f5 --- /dev/null +++ b/sources/plugins/contextmenu/lang/cs.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'cs', { + options: 'Nastavení kontextové nabídky' +} ); diff --git a/sources/plugins/contextmenu/lang/cy.js b/sources/plugins/contextmenu/lang/cy.js new file mode 100644 index 0000000..1816b84 --- /dev/null +++ b/sources/plugins/contextmenu/lang/cy.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'cy', { + options: 'Opsiynau Dewislen Cyd-destun' +} ); diff --git a/sources/plugins/contextmenu/lang/da.js b/sources/plugins/contextmenu/lang/da.js new file mode 100644 index 0000000..10043a5 --- /dev/null +++ b/sources/plugins/contextmenu/lang/da.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'da', { + options: 'Muligheder for hjælpemenu' +} ); diff --git a/sources/plugins/contextmenu/lang/de-ch.js b/sources/plugins/contextmenu/lang/de-ch.js new file mode 100644 index 0000000..216cd18 --- /dev/null +++ b/sources/plugins/contextmenu/lang/de-ch.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'de-ch', { + options: 'Kontextmenüoptionen' +} ); diff --git a/sources/plugins/contextmenu/lang/de.js b/sources/plugins/contextmenu/lang/de.js new file mode 100644 index 0000000..aa0c098 --- /dev/null +++ b/sources/plugins/contextmenu/lang/de.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'de', { + options: 'Kontextmenüoptionen' +} ); diff --git a/sources/plugins/contextmenu/lang/el.js b/sources/plugins/contextmenu/lang/el.js new file mode 100644 index 0000000..bdad720 --- /dev/null +++ b/sources/plugins/contextmenu/lang/el.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'el', { + options: 'Επιλογές Αναδυόμενου Μενού' +} ); diff --git a/sources/plugins/contextmenu/lang/en-au.js b/sources/plugins/contextmenu/lang/en-au.js new file mode 100644 index 0000000..cd6b202 --- /dev/null +++ b/sources/plugins/contextmenu/lang/en-au.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'en-au', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/en-ca.js b/sources/plugins/contextmenu/lang/en-ca.js new file mode 100644 index 0000000..25950c9 --- /dev/null +++ b/sources/plugins/contextmenu/lang/en-ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'en-ca', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/en-gb.js b/sources/plugins/contextmenu/lang/en-gb.js new file mode 100644 index 0000000..62f08d5 --- /dev/null +++ b/sources/plugins/contextmenu/lang/en-gb.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'en-gb', { + options: 'Context Menu Options' +} ); diff --git a/sources/plugins/contextmenu/lang/en.js b/sources/plugins/contextmenu/lang/en.js new file mode 100644 index 0000000..10b5f47 --- /dev/null +++ b/sources/plugins/contextmenu/lang/en.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'en', { + options: 'Context Menu Options' +} ); diff --git a/sources/plugins/contextmenu/lang/eo.js b/sources/plugins/contextmenu/lang/eo.js new file mode 100644 index 0000000..6a9760c --- /dev/null +++ b/sources/plugins/contextmenu/lang/eo.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'eo', { + options: 'Opcioj de Kunteksta Menuo' +} ); diff --git a/sources/plugins/contextmenu/lang/es.js b/sources/plugins/contextmenu/lang/es.js new file mode 100644 index 0000000..1e8e06d --- /dev/null +++ b/sources/plugins/contextmenu/lang/es.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'es', { + options: 'Opciones del menú contextual' +} ); diff --git a/sources/plugins/contextmenu/lang/et.js b/sources/plugins/contextmenu/lang/et.js new file mode 100644 index 0000000..d7ece9a --- /dev/null +++ b/sources/plugins/contextmenu/lang/et.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'et', { + options: 'Kontekstimenüü valikud' +} ); diff --git a/sources/plugins/contextmenu/lang/eu.js b/sources/plugins/contextmenu/lang/eu.js new file mode 100644 index 0000000..32018e0 --- /dev/null +++ b/sources/plugins/contextmenu/lang/eu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'eu', { + options: 'Testuinguru-menuaren aukerak' +} ); diff --git a/sources/plugins/contextmenu/lang/fa.js b/sources/plugins/contextmenu/lang/fa.js new file mode 100644 index 0000000..233d30d --- /dev/null +++ b/sources/plugins/contextmenu/lang/fa.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'fa', { + options: 'گزینه​های منوی زمینه' +} ); diff --git a/sources/plugins/contextmenu/lang/fi.js b/sources/plugins/contextmenu/lang/fi.js new file mode 100644 index 0000000..5c11832 --- /dev/null +++ b/sources/plugins/contextmenu/lang/fi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'fi', { + options: 'Pikavalikon ominaisuudet' +} ); diff --git a/sources/plugins/contextmenu/lang/fo.js b/sources/plugins/contextmenu/lang/fo.js new file mode 100644 index 0000000..6069a48 --- /dev/null +++ b/sources/plugins/contextmenu/lang/fo.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'fo', { + options: 'Context Menu Options' +} ); diff --git a/sources/plugins/contextmenu/lang/fr-ca.js b/sources/plugins/contextmenu/lang/fr-ca.js new file mode 100644 index 0000000..d7aca5c --- /dev/null +++ b/sources/plugins/contextmenu/lang/fr-ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'fr-ca', { + options: 'Options du menu contextuel' +} ); diff --git a/sources/plugins/contextmenu/lang/fr.js b/sources/plugins/contextmenu/lang/fr.js new file mode 100644 index 0000000..7af3f33 --- /dev/null +++ b/sources/plugins/contextmenu/lang/fr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'fr', { + options: 'Options du menu contextuel' +} ); diff --git a/sources/plugins/contextmenu/lang/gl.js b/sources/plugins/contextmenu/lang/gl.js new file mode 100644 index 0000000..de69eae --- /dev/null +++ b/sources/plugins/contextmenu/lang/gl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'gl', { + options: 'Opcións do menú contextual' +} ); diff --git a/sources/plugins/contextmenu/lang/gu.js b/sources/plugins/contextmenu/lang/gu.js new file mode 100644 index 0000000..d9a83da --- /dev/null +++ b/sources/plugins/contextmenu/lang/gu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'gu', { + options: 'કોન્તેક્ષ્ત્ મેનુના વિકલ્પો' +} ); diff --git a/sources/plugins/contextmenu/lang/he.js b/sources/plugins/contextmenu/lang/he.js new file mode 100644 index 0000000..a276534 --- /dev/null +++ b/sources/plugins/contextmenu/lang/he.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'he', { + options: 'אפשרויות תפריט ההקשר' +} ); diff --git a/sources/plugins/contextmenu/lang/hi.js b/sources/plugins/contextmenu/lang/hi.js new file mode 100644 index 0000000..a3f501d --- /dev/null +++ b/sources/plugins/contextmenu/lang/hi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'hi', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/hr.js b/sources/plugins/contextmenu/lang/hr.js new file mode 100644 index 0000000..149c1eb --- /dev/null +++ b/sources/plugins/contextmenu/lang/hr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'hr', { + options: 'Opcije izbornika' +} ); diff --git a/sources/plugins/contextmenu/lang/hu.js b/sources/plugins/contextmenu/lang/hu.js new file mode 100644 index 0000000..60bb66c --- /dev/null +++ b/sources/plugins/contextmenu/lang/hu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'hu', { + options: 'Helyi menü opciók' +} ); diff --git a/sources/plugins/contextmenu/lang/id.js b/sources/plugins/contextmenu/lang/id.js new file mode 100644 index 0000000..8d19e50 --- /dev/null +++ b/sources/plugins/contextmenu/lang/id.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'id', { + options: 'Opsi Konteks Pilihan' +} ); diff --git a/sources/plugins/contextmenu/lang/is.js b/sources/plugins/contextmenu/lang/is.js new file mode 100644 index 0000000..4404c99 --- /dev/null +++ b/sources/plugins/contextmenu/lang/is.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'is', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/it.js b/sources/plugins/contextmenu/lang/it.js new file mode 100644 index 0000000..0453e18 --- /dev/null +++ b/sources/plugins/contextmenu/lang/it.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'it', { + options: 'Opzioni del menù contestuale' +} ); diff --git a/sources/plugins/contextmenu/lang/ja.js b/sources/plugins/contextmenu/lang/ja.js new file mode 100644 index 0000000..5887847 --- /dev/null +++ b/sources/plugins/contextmenu/lang/ja.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ja', { + options: 'コンテキストメニューオプション' +} ); diff --git a/sources/plugins/contextmenu/lang/ka.js b/sources/plugins/contextmenu/lang/ka.js new file mode 100644 index 0000000..f279b0a --- /dev/null +++ b/sources/plugins/contextmenu/lang/ka.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ka', { + options: 'კონტექსტური მენიუს პარამეტრები' +} ); diff --git a/sources/plugins/contextmenu/lang/km.js b/sources/plugins/contextmenu/lang/km.js new file mode 100644 index 0000000..9f5d965 --- /dev/null +++ b/sources/plugins/contextmenu/lang/km.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'km', { + options: 'ជម្រើស​ម៉ឺនុយ​បរិបទ' +} ); diff --git a/sources/plugins/contextmenu/lang/ko.js b/sources/plugins/contextmenu/lang/ko.js new file mode 100644 index 0000000..45273b5 --- /dev/null +++ b/sources/plugins/contextmenu/lang/ko.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ko', { + options: '컨텍스트 메뉴 옵션' +} ); diff --git a/sources/plugins/contextmenu/lang/ku.js b/sources/plugins/contextmenu/lang/ku.js new file mode 100644 index 0000000..c183cb2 --- /dev/null +++ b/sources/plugins/contextmenu/lang/ku.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ku', { + options: 'هەڵبژاردەی لیستەی کلیکی دەستی ڕاست' +} ); diff --git a/sources/plugins/contextmenu/lang/lt.js b/sources/plugins/contextmenu/lang/lt.js new file mode 100644 index 0000000..e16597a --- /dev/null +++ b/sources/plugins/contextmenu/lang/lt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'lt', { + options: 'Kontekstinio meniu parametrai' +} ); diff --git a/sources/plugins/contextmenu/lang/lv.js b/sources/plugins/contextmenu/lang/lv.js new file mode 100644 index 0000000..b14f0eb --- /dev/null +++ b/sources/plugins/contextmenu/lang/lv.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'lv', { + options: 'Uznirstošās izvēlnes uzstādÄ«jumi' +} ); diff --git a/sources/plugins/contextmenu/lang/mk.js b/sources/plugins/contextmenu/lang/mk.js new file mode 100644 index 0000000..1d7c4c7 --- /dev/null +++ b/sources/plugins/contextmenu/lang/mk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'mk', { + options: 'Контекст-мени опции' +} ); diff --git a/sources/plugins/contextmenu/lang/mn.js b/sources/plugins/contextmenu/lang/mn.js new file mode 100644 index 0000000..5076f18 --- /dev/null +++ b/sources/plugins/contextmenu/lang/mn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'mn', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/ms.js b/sources/plugins/contextmenu/lang/ms.js new file mode 100644 index 0000000..019ba76 --- /dev/null +++ b/sources/plugins/contextmenu/lang/ms.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ms', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/nb.js b/sources/plugins/contextmenu/lang/nb.js new file mode 100644 index 0000000..c7c41b0 --- /dev/null +++ b/sources/plugins/contextmenu/lang/nb.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'nb', { + options: 'Alternativer for høyreklikkmeny' +} ); diff --git a/sources/plugins/contextmenu/lang/nl.js b/sources/plugins/contextmenu/lang/nl.js new file mode 100644 index 0000000..0ceb7cb --- /dev/null +++ b/sources/plugins/contextmenu/lang/nl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'nl', { + options: 'Contextmenu opties' +} ); diff --git a/sources/plugins/contextmenu/lang/no.js b/sources/plugins/contextmenu/lang/no.js new file mode 100644 index 0000000..ee283cf --- /dev/null +++ b/sources/plugins/contextmenu/lang/no.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'no', { + options: 'Alternativer for høyreklikkmeny' +} ); diff --git a/sources/plugins/contextmenu/lang/oc.js b/sources/plugins/contextmenu/lang/oc.js new file mode 100644 index 0000000..8fab98f --- /dev/null +++ b/sources/plugins/contextmenu/lang/oc.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'oc', { + options: 'Opcions del menú contextual' +} ); diff --git a/sources/plugins/contextmenu/lang/pl.js b/sources/plugins/contextmenu/lang/pl.js new file mode 100644 index 0000000..99ef5d9 --- /dev/null +++ b/sources/plugins/contextmenu/lang/pl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'pl', { + options: 'Opcje menu kontekstowego' +} ); diff --git a/sources/plugins/contextmenu/lang/pt-br.js b/sources/plugins/contextmenu/lang/pt-br.js new file mode 100644 index 0000000..ec91513 --- /dev/null +++ b/sources/plugins/contextmenu/lang/pt-br.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'pt-br', { + options: 'Opções Menu de Contexto' +} ); diff --git a/sources/plugins/contextmenu/lang/pt.js b/sources/plugins/contextmenu/lang/pt.js new file mode 100644 index 0000000..c2c969d --- /dev/null +++ b/sources/plugins/contextmenu/lang/pt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'pt', { + options: 'Menu de opções de contexto' +} ); diff --git a/sources/plugins/contextmenu/lang/ro.js b/sources/plugins/contextmenu/lang/ro.js new file mode 100644 index 0000000..928c4b3 --- /dev/null +++ b/sources/plugins/contextmenu/lang/ro.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ro', { + options: 'Opțiuni Meniu Contextual' +} ); diff --git a/sources/plugins/contextmenu/lang/ru.js b/sources/plugins/contextmenu/lang/ru.js new file mode 100644 index 0000000..f671b6a --- /dev/null +++ b/sources/plugins/contextmenu/lang/ru.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ru', { + options: 'Параметры контекстного меню' +} ); diff --git a/sources/plugins/contextmenu/lang/si.js b/sources/plugins/contextmenu/lang/si.js new file mode 100644 index 0000000..ec603a3 --- /dev/null +++ b/sources/plugins/contextmenu/lang/si.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'si', { + options: 'අනතර්ග ලේඛණ විකල්ප' +} ); diff --git a/sources/plugins/contextmenu/lang/sk.js b/sources/plugins/contextmenu/lang/sk.js new file mode 100644 index 0000000..fda2b3d --- /dev/null +++ b/sources/plugins/contextmenu/lang/sk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'sk', { + options: 'Možnosti kontextového menu' +} ); diff --git a/sources/plugins/contextmenu/lang/sl.js b/sources/plugins/contextmenu/lang/sl.js new file mode 100644 index 0000000..9c7fc29 --- /dev/null +++ b/sources/plugins/contextmenu/lang/sl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'sl', { + options: 'Možnosti kontekstnega menija' +} ); diff --git a/sources/plugins/contextmenu/lang/sq.js b/sources/plugins/contextmenu/lang/sq.js new file mode 100644 index 0000000..698ca2d --- /dev/null +++ b/sources/plugins/contextmenu/lang/sq.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'sq', { + options: 'Mundësitë e Menysë së Kontekstit' +} ); diff --git a/sources/plugins/contextmenu/lang/sr-latn.js b/sources/plugins/contextmenu/lang/sr-latn.js new file mode 100644 index 0000000..d550e84 --- /dev/null +++ b/sources/plugins/contextmenu/lang/sr-latn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'sr-latn', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/sr.js b/sources/plugins/contextmenu/lang/sr.js new file mode 100644 index 0000000..2f7ba14 --- /dev/null +++ b/sources/plugins/contextmenu/lang/sr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'sr', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/sv.js b/sources/plugins/contextmenu/lang/sv.js new file mode 100644 index 0000000..a3b043f --- /dev/null +++ b/sources/plugins/contextmenu/lang/sv.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'sv', { + options: 'Context Menu Options' +} ); diff --git a/sources/plugins/contextmenu/lang/th.js b/sources/plugins/contextmenu/lang/th.js new file mode 100644 index 0000000..ce77065 --- /dev/null +++ b/sources/plugins/contextmenu/lang/th.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'th', { + options: 'Context Menu Options' // MISSING +} ); diff --git a/sources/plugins/contextmenu/lang/tr.js b/sources/plugins/contextmenu/lang/tr.js new file mode 100644 index 0000000..4d5a550 --- /dev/null +++ b/sources/plugins/contextmenu/lang/tr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'tr', { + options: 'İçerik Menüsü Seçenekleri' +} ); diff --git a/sources/plugins/contextmenu/lang/tt.js b/sources/plugins/contextmenu/lang/tt.js new file mode 100644 index 0000000..0531370 --- /dev/null +++ b/sources/plugins/contextmenu/lang/tt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'tt', { + options: 'Контекст меню үзлекләре' +} ); diff --git a/sources/plugins/contextmenu/lang/ug.js b/sources/plugins/contextmenu/lang/ug.js new file mode 100644 index 0000000..95a9d0a --- /dev/null +++ b/sources/plugins/contextmenu/lang/ug.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'ug', { + options: 'قىسقا يول تىزىملىك تاللانمىسى' +} ); diff --git a/sources/plugins/contextmenu/lang/uk.js b/sources/plugins/contextmenu/lang/uk.js new file mode 100644 index 0000000..0a4ffb9 --- /dev/null +++ b/sources/plugins/contextmenu/lang/uk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'uk', { + options: 'Опції контекстного меню' +} ); diff --git a/sources/plugins/contextmenu/lang/vi.js b/sources/plugins/contextmenu/lang/vi.js new file mode 100644 index 0000000..42c39b0 --- /dev/null +++ b/sources/plugins/contextmenu/lang/vi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'vi', { + options: 'Tùy chọn menu bổ xung' +} ); diff --git a/sources/plugins/contextmenu/lang/zh-cn.js b/sources/plugins/contextmenu/lang/zh-cn.js new file mode 100644 index 0000000..56879ee --- /dev/null +++ b/sources/plugins/contextmenu/lang/zh-cn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'zh-cn', { + options: '快捷菜单选项' +} ); diff --git a/sources/plugins/contextmenu/lang/zh.js b/sources/plugins/contextmenu/lang/zh.js new file mode 100644 index 0000000..c8d8b93 --- /dev/null +++ b/sources/plugins/contextmenu/lang/zh.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'zh', { + options: '內容功能表選項' +} ); diff --git a/sources/plugins/contextmenu/plugin.js b/sources/plugins/contextmenu/plugin.js new file mode 100644 index 0000000..6cd3935 --- /dev/null +++ b/sources/plugins/contextmenu/plugin.js @@ -0,0 +1,159 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +CKEDITOR.plugins.add( 'contextmenu', { + requires: 'menu', + + // jscs:disable maximumLineLength + lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,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', // %REMOVE_LINE_CORE% + // jscs:enable maximumLineLength + + // Make sure the base class (CKEDITOR.menu) is loaded before it (#3318). + onLoad: function() { + /** + * Class replacing the non-configurable native context menu with a configurable CKEditor's equivalent. + * + * @class + * @extends CKEDITOR.menu + */ + CKEDITOR.plugins.contextMenu = CKEDITOR.tools.createClass( { + base: CKEDITOR.menu, + + /** + * Creates the CKEDITOR.plugins.contextMenu class instance. + * + * @constructor + * @param {CKEDITOR.editor} editor + */ + $: function( editor ) { + this.base.call( this, editor, { + panel: { + className: 'cke_menu_panel', + attributes: { + 'aria-label': editor.lang.contextmenu.options + } + } + } ); + }, + + proto: { + /** + * Starts watching on native context menu triggers (Option key, right click) on the given element. + * + * @param {CKEDITOR.dom.element} element + * @param {Boolean} [nativeContextMenuOnCtrl] Whether to open native context menu if the + * Ctrl key is held on opening the context menu. See {@link CKEDITOR.config#browserContextMenuOnCtrl}. + */ + addTarget: function( element, nativeContextMenuOnCtrl ) { + element.on( 'contextmenu', function( event ) { + var domEvent = event.data, + isCtrlKeyDown = + // Safari on Windows always show 'ctrlKey' as true in 'contextmenu' event, + // which make this property unreliable. (#4826) + ( CKEDITOR.env.webkit ? holdCtrlKey : ( CKEDITOR.env.mac ? domEvent.$.metaKey : domEvent.$.ctrlKey ) ); + + if ( nativeContextMenuOnCtrl && isCtrlKeyDown ) + return; + + // Cancel the browser context menu. + domEvent.preventDefault(); + + // Fix selection when non-editable element in Webkit/Blink (Mac) (#11306). + if ( CKEDITOR.env.mac && CKEDITOR.env.webkit ) { + var editor = this.editor, + contentEditableParent = new CKEDITOR.dom.elementPath( domEvent.getTarget(), editor.editable() ).contains( function( el ) { + // Return when non-editable or nested editable element is found. + return el.hasAttribute( 'contenteditable' ); + }, true ); // Exclude editor's editable. + + // Fake selection for non-editables only (to exclude nested editables). + if ( contentEditableParent && contentEditableParent.getAttribute( 'contenteditable' ) == 'false' ) + editor.getSelection().fake( contentEditableParent ); + } + + var doc = domEvent.getTarget().getDocument(), + offsetParent = domEvent.getTarget().getDocument().getDocumentElement(), + fromFrame = !doc.equals( CKEDITOR.document ), + scroll = doc.getWindow().getScrollPosition(), + offsetX = fromFrame ? domEvent.$.clientX : domEvent.$.pageX || scroll.x + domEvent.$.clientX, + offsetY = fromFrame ? domEvent.$.clientY : domEvent.$.pageY || scroll.y + domEvent.$.clientY; + + CKEDITOR.tools.setTimeout( function() { + this.open( offsetParent, null, offsetX, offsetY ); + + // IE needs a short while to allow selection change before opening menu. (#7908) + }, CKEDITOR.env.ie ? 200 : 0, this ); + }, this ); + + if ( CKEDITOR.env.webkit ) { + var holdCtrlKey, + onKeyDown = function( event ) { + holdCtrlKey = CKEDITOR.env.mac ? event.data.$.metaKey : event.data.$.ctrlKey; + }, + resetOnKeyUp = function() { + holdCtrlKey = 0; + }; + + element.on( 'keydown', onKeyDown ); + element.on( 'keyup', resetOnKeyUp ); + element.on( 'contextmenu', resetOnKeyUp ); + } + }, + + /** + * Opens the context menu in the given location. See the {@link CKEDITOR.menu#show} method. + * + * @param {CKEDITOR.dom.element} offsetParent + * @param {Number} [corner] + * @param {Number} [offsetX] + * @param {Number} [offsetY] + */ + open: function( offsetParent, corner, offsetX, offsetY ) { + this.editor.focus(); + offsetParent = offsetParent || CKEDITOR.document.getDocumentElement(); + + // #9362: Force selection check to update commands' states in the new context. + this.editor.selectionChange( 1 ); + + this.show( offsetParent, corner, offsetX, offsetY ); + } + } + } ); + }, + + beforeInit: function( editor ) { + /** + * @readonly + * @property {CKEDITOR.plugins.contextMenu} contextMenu + * @member CKEDITOR.editor + */ + var contextMenu = editor.contextMenu = new CKEDITOR.plugins.contextMenu( editor ); + + editor.on( 'contentDom', function() { + contextMenu.addTarget( editor.editable(), editor.config.browserContextMenuOnCtrl !== false ); + } ); + + editor.addCommand( 'contextMenu', { + exec: function() { + editor.contextMenu.open( editor.document.getBody() ); + } + } ); + + editor.setKeystroke( CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ); + editor.setKeystroke( CKEDITOR.CTRL + CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ); + } +} ); + +/** + * Whether to show the browser native context menu when the Ctrl or + * Meta (Mac) key is pressed on opening the context menu with the + * right mouse button click or the Menu key. + * + * config.browserContextMenuOnCtrl = false; + * + * @since 3.0.2 + * @cfg {Boolean} [browserContextMenuOnCtrl=true] + * @member CKEDITOR.config + */ diff --git a/sources/plugins/dialog/dialogDefinition.js b/sources/plugins/dialog/dialogDefinition.js new file mode 100644 index 0000000..6ecb491 --- /dev/null +++ b/sources/plugins/dialog/dialogDefinition.js @@ -0,0 +1,1032 @@ +// jscs:disable disallowMixedSpacesAndTabs +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview Defines the "virtual" dialog, dialog content and dialog button + * definition classes. + */ + +/** + * The definition of a dialog window. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create dialogs. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * CKEDITOR.dialog.add( 'testOnly', function( editor ) { + * return { + * title: 'Test Dialog', + * resizable: CKEDITOR.DIALOG_RESIZE_BOTH, + * minWidth: 500, + * minHeight: 400, + * contents: [ + * { + * id: 'tab1', + * label: 'First Tab', + * title: 'First Tab Title', + * accessKey: 'Q', + * elements: [ + * { + * type: 'text', + * label: 'Test Text 1', + * id: 'testText1', + * 'default': 'hello world!' + * } + * ] + * } + * ] + * }; + * } ); + * + * @class CKEDITOR.dialog.definition + */ + +/** + * The dialog title, displayed in the dialog's header. Required. + * + * @property {String} title + */ + +/** + * How the dialog can be resized, must be one of the four contents defined below. + * + * * {@link CKEDITOR#DIALOG_RESIZE_NONE} + * * {@link CKEDITOR#DIALOG_RESIZE_WIDTH} + * * {@link CKEDITOR#DIALOG_RESIZE_HEIGHT} + * * {@link CKEDITOR#DIALOG_RESIZE_BOTH} + * + * @property {Number} [resizable=CKEDITOR.DIALOG_RESIZE_NONE] + */ + +/** + * The minimum width of the dialog, in pixels. + * + * @property {Number} [minWidth=600] + */ + +/** + * The minimum height of the dialog, in pixels. + * + * @property {Number} [minHeight=400] + */ + + +/** + * The initial width of the dialog, in pixels. + * + * @since 3.5.3 + * @property {Number} [width=CKEDITOR.dialog.definition#minWidth] + */ + +/** + * The initial height of the dialog, in pixels. + * + * @since 3.5.3 + * @property {Number} [height=CKEDITOR.dialog.definition.minHeight] + */ + +/** + * The buttons in the dialog, defined as an array of + * {@link CKEDITOR.dialog.definition.button} objects. + * + * @property {Array} [buttons=[ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]] + */ + +/** + * The contents in the dialog, defined as an array of + * {@link CKEDITOR.dialog.definition.content} objects. Required. + * + * @property {Array} contents + */ + +/** + * The function to execute when OK is pressed. + * + * @property {Function} onOk + */ + +/** + * The function to execute when Cancel is pressed. + * + * @property {Function} onCancel + */ + +/** + * The function to execute when the dialog is displayed for the first time. + * + * @property {Function} onLoad + */ + +/** + * The function to execute when the dialog is loaded (executed every time the dialog is opened). + * + * @property {Function} onShow + */ + +/** + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create dialog content pages. + * + * @class CKEDITOR.dialog.definition.content. + */ + +/** + * The id of the content page. + * + * @property {String} id + */ + +/** + * The tab label of the content page. + * + * @property {String} label + */ + +/** + * The popup message of the tab label. + * + * @property {String} title + */ + +/** + * The CTRL hotkey for switching to the tab. + * + * contentDefinition.accessKey = 'Q'; // Switch to this page when CTRL-Q is pressed. + * + * @property {String} accessKey + */ + +/** + * The UI elements contained in this content page, defined as an array of + * {@link CKEDITOR.dialog.definition.uiElement} objects. + * + * @property {Array} elements + */ + +/** + * The definition of user interface element (textarea, radio etc). + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create dialog UI elements. + * + * @class CKEDITOR.dialog.definition.uiElement + * @see CKEDITOR.ui.dialog.uiElement + */ + +/** + * The id of the UI element. + * + * @property {String} id + */ + +/** + * The type of the UI element. Required. + * + * @property {String} type + */ + +/** + * The popup label of the UI element. + * + * @property {String} title + */ + +/** + * The content that needs to be allowed to enable this UI element. + * All formats accepted by {@link CKEDITOR.filter#check} may be used. + * + * When all UI elements in a tab are disabled, this tab will be disabled automatically. + * + * @property {String/Object/CKEDITOR.style} requiredContent + */ + +/** + * CSS class names to append to the UI element. + * + * @property {String} className + */ + +/** + * Inline CSS classes to append to the UI element. + * + * @property {String} style + */ + +/** + * Horizontal alignment (in container) of the UI element. + * + * @property {String} align + */ + +/** + * Function to execute the first time the UI element is displayed. + * + * @property {Function} onLoad + */ + +/** + * Function to execute whenever the UI element's parent dialog is displayed. + * + * @property {Function} onShow + */ + +/** + * Function to execute whenever the UI element's parent dialog is closed. + * + * @property {Function} onHide + */ + +/** + * Function to execute whenever the UI element's parent + * dialog's {@link CKEDITOR.dialog#setupContent} method is executed. + * It usually takes care of the respective UI element as a standalone element. + * + * @property {Function} setup + */ + +/** + * Function to execute whenever the UI element's parent + * dialog's {@link CKEDITOR.dialog#commitContent} method is executed. + * It usually takes care of the respective UI element as a standalone element. + * + * @property {Function} commit + */ + +// ----- hbox ----------------------------------------------------------------- + +/** + * Horizontal layout box for dialog UI elements, auto-expends to available width of container. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create horizontal layouts. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.hbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example: + * { + * type: 'hbox', + * widths: [ '25%', '25%', '50%' ], + * children: [ + * { + * type: 'text', + * id: 'id1', + * width: '40px', + * }, + * { + * type: 'text', + * id: 'id2', + * width: '40px', + * }, + * { + * type: 'text', + * id: 'id3' + * } + * ] + * } + * + * @class CKEDITOR.dialog.definition.hbox + * @extends CKEDITOR.dialog.definition.uiElement + */ + +/** + * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. + * + * @property {Array} children + */ + +/** + * (Optional) The widths of child cells. + * + * @property {Array} widths + */ + +/** + * (Optional) The height of the layout. + * + * @property {Number} height + */ + +/** + * The CSS styles to apply to this element. + * + * @property {String} styles + */ + +/** + * (Optional) The padding width inside child cells. Example: 0, 1. + * + * @property {Number} padding + */ + +/** + * (Optional) The alignment of the whole layout. Example: center, top. + * + * @property {String} align + */ + +// ----- vbox ----------------------------------------------------------------- + +/** + * Vertical layout box for dialog UI elements. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create vertical layouts. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.vbox} object and can + * be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example: + * { + * type: 'vbox', + * align: 'right', + * width: '200px', + * children: [ + * { + * type: 'text', + * id: 'age', + * label: 'Age' + * }, + * { + * type: 'text', + * id: 'sex', + * label: 'Sex' + * }, + * { + * type: 'text', + * id: 'nationality', + * label: 'Nationality' + * } + * ] + * } + * + * @class CKEDITOR.dialog.definition.vbox + * @extends CKEDITOR.dialog.definition.uiElement + */ + +/** + * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. + * + * @property {Array} children + */ + +/** + * (Optional) The width of the layout. + * + * @property {Array} width + */ + +/** + * (Optional) The heights of individual cells. + * + * @property {Number} heights + */ + +/** + * The CSS styles to apply to this element. + * + * @property {String} styles + */ + +/** + * (Optional) The padding width inside child cells. Example: 0, 1. + * + * @property {Number} padding + */ + +/** + * (Optional) The alignment of the whole layout. Example: center, top. + * + * @property {String} align + */ + +/** + * (Optional) Whether the layout should expand vertically to fill its container. + * + * @property {Boolean} expand + */ + +// ----- labeled element ------------------------------------------------------ + +/** + * The definition of labeled user interface element (textarea, textInput etc). + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create dialog UI elements. + * + * @class CKEDITOR.dialog.definition.labeledElement + * @extends CKEDITOR.dialog.definition.uiElement + * @see CKEDITOR.ui.dialog.labeledElement + */ + +/** + * The label of the UI element. + * + * { + * type: 'text', + * label: 'My Label' + * } + * + * @property {String} label + */ + +/** + * (Optional) Specify the layout of the label. Set to `'horizontal'` for horizontal layout. + * The default layout is vertical. + * + * { + * type: 'text', + * label: 'My Label', + * labelLayout: 'horizontal' + * } + * + * @property {String} labelLayout + */ + +/** + * (Optional) Applies only to horizontal layouts: a two elements array of lengths to specify the widths of the + * label and the content element. See also {@link CKEDITOR.dialog.definition.labeledElement#labelLayout}. + * + * { + * type: 'text', + * label: 'My Label', + * labelLayout: 'horizontal', + * widths: [100, 200] + * } + * + * @property {Array} widths + */ + +/** + * Specify the inline style of the uiElement label. + * + * { + * type: 'text', + * label: 'My Label', + * labelStyle: 'color: red' + * } + * + * @property {String} labelStyle + */ + + +/** + * Specify the inline style of the input element. + * + * { + * type: 'text', + * label: 'My Label', + * inputStyle: 'text-align: center' + * } + * + * @since 3.6.1 + * @property {String} inputStyle + */ + +/** + * Specify the inline style of the input element container. + * + * { + * type: 'text', + * label: 'My Label', + * controlStyle: 'width: 3em' + * } + * + * @since 3.6.1 + * @property {String} controlStyle + */ + +// ----- button --------------------------------------------------------------- + +/** + * The definition of a button. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create buttons. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.button} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example: + * { + * type: 'button', + * id: 'buttonId', + * label: 'Click me', + * title: 'My title', + * onClick: function() { + * // this = CKEDITOR.ui.dialog.button + * alert( 'Clicked: ' + this.id ); + * } + * } + * + * @class CKEDITOR.dialog.definition.button + * @extends CKEDITOR.dialog.definition.uiElement + */ + +/** + * Whether the button is disabled. + * + * @property {Boolean} disabled + */ + +/** + * The label of the UI element. + * + * @property {String} label + */ + +// ----- checkbox ------ +/** + * The definition of a checkbox element. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create groups of checkbox buttons. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.checkbox} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example: + * { + * type: 'checkbox', + * id: 'agree', + * label: 'I agree', + * 'default': 'checked', + * onClick: function() { + * // this = CKEDITOR.ui.dialog.checkbox + * alert( 'Checked: ' + this.getValue() ); + * } + * } + * + * @class CKEDITOR.dialog.definition.checkbox + * @extends CKEDITOR.dialog.definition.uiElement + */ + +/** + * (Optional) The validation function. + * + * @property {Function} validate + */ + +/** + * The label of the UI element. + * + * @property {String} label + */ + +/** + * The default state. + * + * @property {String} [default='' (unchecked)] + */ + +// ----- file ----------------------------------------------------------------- + +/** + * The definition of a file upload input. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create file upload elements. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.file} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example: + * { + * type: 'file', + * id: 'upload', + * label: 'Select file from your computer', + * size: 38 + * }, + * { + * type: 'fileButton', + * id: 'fileId', + * label: 'Upload file', + * 'for': [ 'tab1', 'upload' ], + * filebrowser: { + * onSelect: function( fileUrl, data ) { + * alert( 'Successfully uploaded: ' + fileUrl ); + * } + * } + * } + * + * @class CKEDITOR.dialog.definition.file + * @extends CKEDITOR.dialog.definition.labeledElement + */ + +/** + * (Optional) The validation function. + * + * @property {Function} validate + */ + +/** + * (Optional) The action attribute of the form element associated with this file upload input. + * If empty, CKEditor will use path to server connector for currently opened folder. + * + * @property {String} action + */ + +/** + * The size of the UI element. + * + * @property {Number} size + */ + +// ----- fileButton ----------------------------------------------------------- + +/** + * The definition of a button for submitting the file in a file upload input. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create a button for submitting the file in a file upload input. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.fileButton} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * + * @class CKEDITOR.dialog.definition.fileButton + * @extends CKEDITOR.dialog.definition.uiElement + */ + +/** + * (Optional) The validation function. + * + * @property {Function} validate + */ + +/** + * The label of the UI element. + * + * @property {String} label + */ + +/** + * The instruction for CKEditor how to deal with file upload. + * By default, the file and fileButton elements will not work "as expected" if this attribute is not set. + * + * // Update field with id 'txtUrl' in the 'tab1' tab when file is uploaded. + * filebrowser: 'tab1:txtUrl' + * + * // Call custom onSelect function when file is successfully uploaded. + * filebrowser: { + * onSelect: function( fileUrl, data ) { + * alert( 'Successfully uploaded: ' + fileUrl ); + * } + * } + * + * @property {String} filebrowser/Object + */ + +/** + * An array that contains pageId and elementId of the file upload input element for which this button is created. + * + * [ pageId, elementId ] + * + * @property {String} for + */ + +// ----- html ----------------------------------------------------------------- + +/** + * The definition of a raw HTML element. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create elements made from raw HTML code. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.html} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * To access HTML elements use {@link CKEDITOR.dom.document#getById}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example 1: + * { + * type: 'html', + * html: '

    This is some sample HTML content.

    ' + * } + * + * // Example 2: + * // Complete sample with document.getById() call when the "Ok" button is clicked. + * var dialogDefinition = { + * title: 'Sample dialog', + * minWidth: 300, + * minHeight: 200, + * onOk: function() { + * // "this" is now a CKEDITOR.dialog object. + * var document = this.getElement().getDocument(); + * // document = CKEDITOR.dom.document + * var element = document.getById( 'myDiv' ); + * if ( element ) + * alert( element.getHtml() ); + * }, + * contents: [ + * { + * id: 'tab1', + * label: '', + * title: '', + * elements: [ + * { + * type: 'html', + * html: '
    Sample text.
    Another div.
    ' + * } + * ] + * } + * ], + * buttons: [ CKEDITOR.dialog.cancelButton, CKEDITOR.dialog.okButton ] + * }; + * + * @class CKEDITOR.dialog.definition.html + * @extends CKEDITOR.dialog.definition.uiElement + */ + +/** + * (Required) HTML code of this element. + * + * @property {String} html + */ + +// ----- radio ---------------------------------------------------------------- + +/** + * The definition of a radio group. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create groups of radio buttons. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.radio} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example: + * { + * type: 'radio', + * id: 'country', + * label: 'Which country is bigger', + * items: [ [ 'France', 'FR' ], [ 'Germany', 'DE' ] ], + * style: 'color: green', + * 'default': 'DE', + * onClick: function() { + * // this = CKEDITOR.ui.dialog.radio + * alert( 'Current value: ' + this.getValue() ); + * } + * } + * + * @class CKEDITOR.dialog.definition.radio + * @extends CKEDITOR.dialog.definition.labeledElement + */ + +/** + * The default value. + * + * @property {String} default + */ + +/** + * (Optional) The validation function. + * + * @property {Function} validate + */ + +/** + * An array of options. Each option is a 1- or 2-item array of format `[ 'Description', 'Value' ]`. + * If `'Value'` is missing, then the value would be assumed to be the same as the description. + * + * @property {Array} items + */ + +// ----- selectElement -------------------------------------------------------- + +/** + * The definition of a select element. + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create select elements. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.select} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * // Example: + * { + * type: 'select', + * id: 'sport', + * label: 'Select your favourite sport', + * items: [ [ 'Basketball' ], [ 'Baseball' ], [ 'Hockey' ], [ 'Football' ] ], + * 'default': 'Football', + * onChange: function( api ) { + * // this = CKEDITOR.ui.dialog.select + * alert( 'Current value: ' + this.getValue() ); + * } + * } + * + * @class CKEDITOR.dialog.definition.select + * @extends CKEDITOR.dialog.definition.labeledElement + */ + +/** + * The default value. + * + * @property {String} default + */ + +/** + * (Optional) The validation function. + * + * @property {Function} validate + */ + +/** + * An array of options. Each option is a 1- or 2-item array of format `[ 'Description', 'Value' ]`. + * If `'Value'` is missing, then the value would be assumed to be the same as the description. + * + * @property {Array} items + */ + +/** + * (Optional) Set this to true if you'd like to have a multiple-choice select box. + * + * @property {Boolean} [multiple=false] + */ + +/** + * (Optional) The number of items to display in the select box. + * + * @property {Number} size + */ + +// ----- textInput ------------------------------------------------------------ + +/** + * The definition of a text field (single line). + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create text fields. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textInput} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * + * // There is no constructor for this class, the user just has to define an + * // object with the appropriate properties. + * + * { + * type: 'text', + * id: 'name', + * label: 'Your name', + * 'default': '', + * validate: function() { + * if ( !this.getValue() ) { + * api.openMsgDialog( '', 'Name cannot be empty.' ); + * return false; + * } + * } + * } + * + * @class CKEDITOR.dialog.definition.textInput + * @extends CKEDITOR.dialog.definition.labeledElement + */ + +/** + * The default value. + * + * @property {String} default + */ + +/** + * (Optional) The maximum length. + * + * @property {Number} maxLength + */ + +/** + * (Optional) The size of the input field. + * + * @property {Number} size + */ + +/** + * (Optional) The validation function. + * + * @property {Function} validate + */ + +/** + * @property bidi + * @inheritdoc CKEDITOR.dialog.definition.textarea#bidi + */ + +// ----- textarea ------------------------------------------------------------- + +/** + * The definition of a text field (multiple lines). + * + * This class is not really part of the API. It just illustrates the properties + * that developers can use to define and create textarea. + * + * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textarea} object + * and can be accessed with {@link CKEDITOR.dialog#getContentElement}. + * + * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}. + * +* // There is no constructor for this class, the user just has to define an +* // object with the appropriate properties. +* +* // Example: +* { +* type: 'textarea', +* id: 'message', +* label: 'Your comment', +* 'default': '', +* validate: function() { +* if ( this.getValue().length < 5 ) { +* api.openMsgDialog( 'The comment is too short.' ); +* return false; +* } +* } +* } + * + * @class CKEDITOR.dialog.definition.textarea + * @extends CKEDITOR.dialog.definition.labeledElement + */ + +/** + * The number of rows. + * + * @property {Number} rows + */ + +/** + * The number of columns. + * + * @property {Number} cols + */ + +/** + * (Optional) The validation function. + * + * @property {Function} validate + */ + +/** + * The default value. + * + * @property {String} default + */ + +/** + * Whether the text direction of this input should be togglable using the following keystrokes: + * + * * *Shift+Alt+End* – switch to Right-To-Left, + * * *Shift+Alt+Home* – switch to Left-To-Right. + * + * By default the input will be loaded without any text direction set, which means that + * the direction will be inherited from the editor's text direction. + * + * If the direction was set, a marker will be prepended to every non-empty value of this input: + * + * * [`\u202A`](http://unicode.org/cldr/utility/character.jsp?a=202A) – for Right-To-Left, + * * [`\u202B`](http://unicode.org/cldr/utility/character.jsp?a=202B) – for Left-To-Right. + * + * This marker allows for restoring the same text direction upon the next dialog opening. + * + * @since 4.5 + * @property {Boolean} bidi + */ diff --git a/sources/plugins/dialog/plugin.js b/sources/plugins/dialog/plugin.js new file mode 100644 index 0000000..d6af6a2 --- /dev/null +++ b/sources/plugins/dialog/plugin.js @@ -0,0 +1,3399 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview The floating dialog plugin. + */ + +/** + * No resize for this dialog. + * + * @readonly + * @property {Number} [=0] + * @member CKEDITOR + */ +CKEDITOR.DIALOG_RESIZE_NONE = 0; + +/** + * Only allow horizontal resizing for this dialog, disable vertical resizing. + * + * @readonly + * @property {Number} [=1] + * @member CKEDITOR + */ +CKEDITOR.DIALOG_RESIZE_WIDTH = 1; + +/** + * Only allow vertical resizing for this dialog, disable horizontal resizing. + * + * @readonly + * @property {Number} [=2] + * @member CKEDITOR + */ +CKEDITOR.DIALOG_RESIZE_HEIGHT = 2; + +/** + * Allow the dialog to be resized in both directions. + * + * @readonly + * @property {Number} [=3] + * @member CKEDITOR + */ +CKEDITOR.DIALOG_RESIZE_BOTH = 3; + +/** + * Dialog state when idle. + * + * @readonly + * @property {Number} [=1] + * @member CKEDITOR + */ +CKEDITOR.DIALOG_STATE_IDLE = 1; + +/** + * Dialog state when busy. + * + * @readonly + * @property {Number} [=2] + * @member CKEDITOR + */ +CKEDITOR.DIALOG_STATE_BUSY = 2; + +( function() { + var cssLength = CKEDITOR.tools.cssLength; + + function isTabVisible( tabId ) { + return !!this._.tabs[ tabId ][ 0 ].$.offsetHeight; + } + + function getPreviousVisibleTab() { + var tabId = this._.currentTabId, + length = this._.tabIdList.length, + tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ) + length; + + for ( var i = tabIndex - 1; i > tabIndex - length; i-- ) { + if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) ) + return this._.tabIdList[ i % length ]; + } + + return null; + } + + function getNextVisibleTab() { + var tabId = this._.currentTabId, + length = this._.tabIdList.length, + tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ); + + for ( var i = tabIndex + 1; i < tabIndex + length; i++ ) { + if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) ) + return this._.tabIdList[ i % length ]; + } + + return null; + } + + + function clearOrRecoverTextInputValue( container, isRecover ) { + var inputs = container.$.getElementsByTagName( 'input' ); + for ( var i = 0, length = inputs.length; i < length; i++ ) { + var item = new CKEDITOR.dom.element( inputs[ i ] ); + + if ( item.getAttribute( 'type' ).toLowerCase() == 'text' ) { + if ( isRecover ) { + item.setAttribute( 'value', item.getCustomData( 'fake_value' ) || '' ); + item.removeCustomData( 'fake_value' ); + } else { + item.setCustomData( 'fake_value', item.getAttribute( 'value' ) ); + item.setAttribute( 'value', '' ); + } + } + } + } + + // Handle dialog element validation state UI changes. + function handleFieldValidated( isValid, msg ) { + var input = this.getInputElement(); + if ( input ) + isValid ? input.removeAttribute( 'aria-invalid' ) : input.setAttribute( 'aria-invalid', true ); + + if ( !isValid ) { + if ( this.select ) + this.select(); + else + this.focus(); + } + + msg && alert( msg ); // jshint ignore:line + + this.fire( 'validated', { valid: isValid, msg: msg } ); + } + + function resetField() { + var input = this.getInputElement(); + input && input.removeAttribute( 'aria-invalid' ); + } + + var templateSource = ''; + + function buildDialog( editor ) { + var element = CKEDITOR.dom.element.createFromHtml( CKEDITOR.addTemplate( 'dialog', templateSource ).output( { + id: CKEDITOR.tools.getNextNumber(), + editorId: editor.id, + langDir: editor.lang.dir, + langCode: editor.langCode, + editorDialogClass: 'cke_editor_' + editor.name.replace( /\./g, '\\.' ) + '_dialog', + closeTitle: editor.lang.common.close, + hidpi: CKEDITOR.env.hidpi ? 'cke_hidpi' : '' + } ) ); + + // TODO: Change this to getById(), so it'll support custom templates. + var body = element.getChild( [ 0, 0, 0, 0, 0 ] ), + title = body.getChild( 0 ), + close = body.getChild( 1 ); + + // Don't allow dragging on dialog (#13184). + editor.plugins.clipboard && CKEDITOR.plugins.clipboard.preventDefaultDropOnElement( body ); + + // IFrame shim for dialog that masks activeX in IE. (#7619) + if ( CKEDITOR.env.ie && !CKEDITOR.env.quirks && !CKEDITOR.env.edge ) { + var src = 'javascript:void(function(){' + encodeURIComponent( 'document.open();(' + CKEDITOR.tools.fixDomain + ')();document.close();' ) + '}())', // jshint ignore:line + iframe = CKEDITOR.dom.element.createFromHtml( '' ); + iframe.appendTo( body.getParent() ); + } + + // Make the Title and Close Button unselectable. + title.unselectable(); + close.unselectable(); + + return { + element: element, + parts: { + dialog: element.getChild( 0 ), + title: title, + close: close, + tabs: body.getChild( 2 ), + contents: body.getChild( [ 3, 0, 0, 0 ] ), + footer: body.getChild( [ 3, 0, 1, 0 ] ) + } + }; + } + + /** + * This is the base class for runtime dialog objects. An instance of this + * class represents a single named dialog for a single editor instance. + * + * var dialogObj = new CKEDITOR.dialog( editor, 'smiley' ); + * + * @class + * @constructor Creates a dialog class instance. + * @param {Object} editor The editor which created the dialog. + * @param {String} dialogName The dialog's registered name. + */ + CKEDITOR.dialog = function( editor, dialogName ) { + // Load the dialog definition. + var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ], + defaultDefinition = CKEDITOR.tools.clone( defaultDialogDefinition ), + buttonsOrder = editor.config.dialog_buttonsOrder || 'OS', + dir = editor.lang.dir, + tabsToRemove = {}, + i, processed, stopPropagation; + + if ( ( buttonsOrder == 'OS' && CKEDITOR.env.mac ) || // The buttons in MacOS Apps are in reverse order (#4750) + ( buttonsOrder == 'rtl' && dir == 'ltr' ) || ( buttonsOrder == 'ltr' && dir == 'rtl' ) ) + defaultDefinition.buttons.reverse(); + + + // Completes the definition with the default values. + definition = CKEDITOR.tools.extend( definition( editor ), defaultDefinition ); + + // Clone a functionally independent copy for this dialog. + definition = CKEDITOR.tools.clone( definition ); + + // Create a complex definition object, extending it with the API + // functions. + definition = new definitionObject( this, definition ); + + var themeBuilt = buildDialog( editor ); + + // Initialize some basic parameters. + this._ = { + editor: editor, + element: themeBuilt.element, + name: dialogName, + contentSize: { width: 0, height: 0 }, + size: { width: 0, height: 0 }, + contents: {}, + buttons: {}, + accessKeyMap: {}, + + // Initialize the tab and page map. + tabs: {}, + tabIdList: [], + currentTabId: null, + currentTabIndex: null, + pageCount: 0, + lastTab: null, + tabBarMode: false, + + // Initialize the tab order array for input widgets. + focusList: [], + currentFocusIndex: 0, + hasFocus: false + }; + + this.parts = themeBuilt.parts; + + CKEDITOR.tools.setTimeout( function() { + editor.fire( 'ariaWidget', this.parts.contents ); + }, 0, this ); + + // Set the startup styles for the dialog, avoiding it enlarging the + // page size on the dialog creation. + var startStyles = { + position: CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed', + top: 0, + visibility: 'hidden' + }; + + startStyles[ dir == 'rtl' ? 'right' : 'left' ] = 0; + this.parts.dialog.setStyles( startStyles ); + + + // Call the CKEDITOR.event constructor to initialize this instance. + CKEDITOR.event.call( this ); + + // Fire the "dialogDefinition" event, making it possible to customize + // the dialog definition. + this.definition = definition = CKEDITOR.fire( 'dialogDefinition', { + name: dialogName, + definition: definition + }, editor ).definition; + + // Cache tabs that should be removed. + if ( !( 'removeDialogTabs' in editor._ ) && editor.config.removeDialogTabs ) { + var removeContents = editor.config.removeDialogTabs.split( ';' ); + + for ( i = 0; i < removeContents.length; i++ ) { + var parts = removeContents[ i ].split( ':' ); + if ( parts.length == 2 ) { + var removeDialogName = parts[ 0 ]; + if ( !tabsToRemove[ removeDialogName ] ) + tabsToRemove[ removeDialogName ] = []; + tabsToRemove[ removeDialogName ].push( parts[ 1 ] ); + } + } + editor._.removeDialogTabs = tabsToRemove; + } + + // Remove tabs of this dialog. + if ( editor._.removeDialogTabs && ( tabsToRemove = editor._.removeDialogTabs[ dialogName ] ) ) { + for ( i = 0; i < tabsToRemove.length; i++ ) + definition.removeContents( tabsToRemove[ i ] ); + } + + // Initialize load, show, hide, ok and cancel events. + if ( definition.onLoad ) + this.on( 'load', definition.onLoad ); + + if ( definition.onShow ) + this.on( 'show', definition.onShow ); + + if ( definition.onHide ) + this.on( 'hide', definition.onHide ); + + if ( definition.onOk ) { + this.on( 'ok', function( evt ) { + // Dialog confirm might probably introduce content changes (#5415). + editor.fire( 'saveSnapshot' ); + setTimeout( function() { + editor.fire( 'saveSnapshot' ); + }, 0 ); + if ( definition.onOk.call( this, evt ) === false ) + evt.data.hide = false; + } ); + } + + // Set default dialog state. + this.state = CKEDITOR.DIALOG_STATE_IDLE; + + if ( definition.onCancel ) { + this.on( 'cancel', function( evt ) { + if ( definition.onCancel.call( this, evt ) === false ) + evt.data.hide = false; + } ); + } + + var me = this; + + // Iterates over all items inside all content in the dialog, calling a + // function for each of them. + var iterContents = function( func ) { + var contents = me._.contents, + stop = false; + + for ( var i in contents ) { + for ( var j in contents[ i ] ) { + stop = func.call( this, contents[ i ][ j ] ); + if ( stop ) + return; + } + } + }; + + this.on( 'ok', function( evt ) { + iterContents( function( item ) { + if ( item.validate ) { + var retval = item.validate( this ), + invalid = ( typeof retval == 'string' ) || retval === false; + + if ( invalid ) { + evt.data.hide = false; + evt.stop(); + } + + handleFieldValidated.call( item, !invalid, typeof retval == 'string' ? retval : undefined ); + return invalid; + } + } ); + }, this, null, 0 ); + + this.on( 'cancel', function( evt ) { + iterContents( function( item ) { + if ( item.isChanged() ) { + if ( !editor.config.dialog_noConfirmCancel && !confirm( editor.lang.common.confirmCancel ) ) // jshint ignore:line + evt.data.hide = false; + return true; + } + } ); + }, this, null, 0 ); + + this.parts.close.on( 'click', function( evt ) { + if ( this.fire( 'cancel', { hide: true } ).hide !== false ) + this.hide(); + evt.data.preventDefault(); + }, this ); + + // Sort focus list according to tab order definitions. + function setupFocus() { + var focusList = me._.focusList; + focusList.sort( function( a, b ) { + // Mimics browser tab order logics; + if ( a.tabIndex != b.tabIndex ) + return b.tabIndex - a.tabIndex; + // Sort is not stable in some browsers, + // fall-back the comparator to 'focusIndex'; + else + return a.focusIndex - b.focusIndex; + } ); + + var size = focusList.length; + for ( var i = 0; i < size; i++ ) + focusList[ i ].focusIndex = i; + } + + // Expects 1 or -1 as an offset, meaning direction of the offset change. + function changeFocus( offset ) { + var focusList = me._.focusList; + offset = offset || 0; + + if ( focusList.length < 1 ) + return; + + var startIndex = me._.currentFocusIndex; + + if ( me._.tabBarMode && offset < 0 ) { + // If we are in tab mode, we need to mimic that we started tabbing back from the first + // focusList (so it will go to the last one). + startIndex = 0; + } + + // Trigger the 'blur' event of any input element before anything, + // since certain UI updates may depend on it. + try { + focusList[ startIndex ].getInputElement().$.blur(); + } catch ( e ) {} + + var currentIndex = startIndex, + hasTabs = me._.pageCount > 1; + + do { + currentIndex = currentIndex + offset; + + if ( hasTabs && !me._.tabBarMode && ( currentIndex == focusList.length || currentIndex == -1 ) ) { + // If the dialog was not in tab mode, then focus the first tab (#13027). + me._.tabBarMode = true; + me._.tabs[ me._.currentTabId ][ 0 ].focus(); + me._.currentFocusIndex = -1; + + // Early return, in order to avoid accessing focusList[ -1 ]. + return; + } + + currentIndex = ( currentIndex + focusList.length ) % focusList.length; + + if ( currentIndex == startIndex ) { + break; + } + } while ( offset && !focusList[ currentIndex ].isFocusable() ); + + focusList[ currentIndex ].focus(); + + // Select whole field content. + if ( focusList[ currentIndex ].type == 'text' ) + focusList[ currentIndex ].select(); + } + + this.changeFocus = changeFocus; + + + function keydownHandler( evt ) { + // If I'm not the top dialog, ignore. + if ( me != CKEDITOR.dialog._.currentTop ) + return; + + var keystroke = evt.data.getKeystroke(), + rtl = editor.lang.dir == 'rtl', + arrowKeys = [ 37, 38, 39, 40 ], + button; + + processed = stopPropagation = 0; + + if ( keystroke == 9 || keystroke == CKEDITOR.SHIFT + 9 ) { + var shiftPressed = ( keystroke == CKEDITOR.SHIFT + 9 ); + changeFocus( shiftPressed ? -1 : 1 ); + processed = 1; + } else if ( keystroke == CKEDITOR.ALT + 121 && !me._.tabBarMode && me.getPageCount() > 1 ) { + // Alt-F10 puts focus into the current tab item in the tab bar. + me._.tabBarMode = true; + me._.tabs[ me._.currentTabId ][ 0 ].focus(); + me._.currentFocusIndex = -1; + processed = 1; + } else if ( CKEDITOR.tools.indexOf( arrowKeys, keystroke ) != -1 && me._.tabBarMode ) { + // Array with key codes that activate previous tab. + var prevKeyCodes = [ + // Depending on the lang dir: right or left key + rtl ? 39 : 37, + // Top/bot arrow: actually for both cases it's the same. + 38 + ], + nextId = CKEDITOR.tools.indexOf( prevKeyCodes, keystroke ) != -1 ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me ); + + me.selectPage( nextId ); + me._.tabs[ nextId ][ 0 ].focus(); + processed = 1; + } else if ( ( keystroke == 13 || keystroke == 32 ) && me._.tabBarMode ) { + this.selectPage( this._.currentTabId ); + this._.tabBarMode = false; + this._.currentFocusIndex = -1; + changeFocus( 1 ); + processed = 1; + } + // If user presses enter key in a text box, it implies clicking OK for the dialog. + else if ( keystroke == 13 /*ENTER*/ ) { + // Don't do that for a target that handles ENTER. + var target = evt.data.getTarget(); + if ( !target.is( 'a', 'button', 'select', 'textarea' ) && ( !target.is( 'input' ) || target.$.type != 'button' ) ) { + button = this.getButton( 'ok' ); + button && CKEDITOR.tools.setTimeout( button.click, 0, button ); + processed = 1; + } + stopPropagation = 1; // Always block the propagation (#4269) + } else if ( keystroke == 27 /*ESC*/ ) { + button = this.getButton( 'cancel' ); + + // If there's a Cancel button, click it, else just fire the cancel event and hide the dialog. + if ( button ) + CKEDITOR.tools.setTimeout( button.click, 0, button ); + else { + if ( this.fire( 'cancel', { hide: true } ).hide !== false ) + this.hide(); + } + stopPropagation = 1; // Always block the propagation (#4269) + } else { + return; + } + + keypressHandler( evt ); + } + + function keypressHandler( evt ) { + if ( processed ) + evt.data.preventDefault( 1 ); + else if ( stopPropagation ) + evt.data.stopPropagation(); + } + + var dialogElement = this._.element; + + editor.focusManager.add( dialogElement, 1 ); + + // Add the dialog keyboard handlers. + this.on( 'show', function() { + dialogElement.on( 'keydown', keydownHandler, this ); + + // Some browsers instead, don't cancel key events in the keydown, but in the + // keypress. So we must do a longer trip in those cases. (#4531,#8985) + if ( CKEDITOR.env.gecko ) + dialogElement.on( 'keypress', keypressHandler, this ); + + } ); + this.on( 'hide', function() { + dialogElement.removeListener( 'keydown', keydownHandler ); + if ( CKEDITOR.env.gecko ) + dialogElement.removeListener( 'keypress', keypressHandler ); + + // Reset fields state when closing dialog. + iterContents( function( item ) { + resetField.apply( item ); + } ); + } ); + this.on( 'iframeAdded', function( evt ) { + var doc = new CKEDITOR.dom.document( evt.data.iframe.$.contentWindow.document ); + doc.on( 'keydown', keydownHandler, this, null, 0 ); + } ); + + // Auto-focus logic in dialog. + this.on( 'show', function() { + // Setup tabIndex on showing the dialog instead of on loading + // to allow dynamic tab order happen in dialog definition. + setupFocus(); + + var hasTabs = me._.pageCount > 1; + + if ( editor.config.dialog_startupFocusTab && hasTabs ) { + me._.tabBarMode = true; + me._.tabs[ me._.currentTabId ][ 0 ].focus(); + me._.currentFocusIndex = -1; + } else if ( !this._.hasFocus ) { + // http://dev.ckeditor.com/ticket/13114#comment:4. + this._.currentFocusIndex = hasTabs ? -1 : this._.focusList.length - 1; + + // Decide where to put the initial focus. + if ( definition.onFocus ) { + var initialFocus = definition.onFocus.call( this ); + // Focus the field that the user specified. + initialFocus && initialFocus.focus(); + } + // Focus the first field in layout order. + else { + changeFocus( 1 ); + } + } + }, this, null, 0xffffffff ); + + // IE6 BUG: Text fields and text areas are only half-rendered the first time the dialog appears in IE6 (#2661). + // This is still needed after [2708] and [2709] because text fields in hidden TR tags are still broken. + if ( CKEDITOR.env.ie6Compat ) { + this.on( 'load', function() { + var outer = this.getElement(), + inner = outer.getFirst(); + inner.remove(); + inner.appendTo( outer ); + }, this ); + } + + initDragAndDrop( this ); + initResizeHandles( this ); + + // Insert the title. + ( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title ); + + // Insert the tabs and contents. + for ( i = 0; i < definition.contents.length; i++ ) { + var page = definition.contents[ i ]; + page && this.addPage( page ); + } + + this.parts.tabs.on( 'click', function( evt ) { + var target = evt.data.getTarget(); + // If we aren't inside a tab, bail out. + if ( target.hasClass( 'cke_dialog_tab' ) ) { + // Get the ID of the tab, without the 'cke_' prefix and the unique number suffix. + var id = target.$.id; + this.selectPage( id.substring( 4, id.lastIndexOf( '_' ) ) ); + + if ( this._.tabBarMode ) { + this._.tabBarMode = false; + this._.currentFocusIndex = -1; + changeFocus( 1 ); + } + evt.data.preventDefault(); + } + }, this ); + + // Insert buttons. + var buttonsHtml = [], + buttons = CKEDITOR.dialog._.uiElementBuilders.hbox.build( this, { + type: 'hbox', + className: 'cke_dialog_footer_buttons', + widths: [], + children: definition.buttons + }, buttonsHtml ).getChild(); + this.parts.footer.setHtml( buttonsHtml.join( '' ) ); + + for ( i = 0; i < buttons.length; i++ ) + this._.buttons[ buttons[ i ].id ] = buttons[ i ]; + + /** + * Current state of the dialog. Use the {@link #setState} method to update it. + * See the {@link #event-state} event to know more. + * + * @readonly + * @property {Number} [state=CKEDITOR.DIALOG_STATE_IDLE] + */ + }; + + // Focusable interface. Use it via dialog.addFocusable. + function Focusable( dialog, element, index ) { + this.element = element; + this.focusIndex = index; + // TODO: support tabIndex for focusables. + this.tabIndex = 0; + this.isFocusable = function() { + return !element.getAttribute( 'disabled' ) && element.isVisible(); + }; + this.focus = function() { + dialog._.currentFocusIndex = this.focusIndex; + this.element.focus(); + }; + // Bind events + element.on( 'keydown', function( e ) { + if ( e.data.getKeystroke() in { 32: 1, 13: 1 } ) + this.fire( 'click' ); + } ); + element.on( 'focus', function() { + this.fire( 'mouseover' ); + } ); + element.on( 'blur', function() { + this.fire( 'mouseout' ); + } ); + } + + // Re-layout the dialog on window resize. + function resizeWithWindow( dialog ) { + var win = CKEDITOR.document.getWindow(); + function resizeHandler() { + dialog.layout(); + } + win.on( 'resize', resizeHandler ); + dialog.on( 'hide', function() { + win.removeListener( 'resize', resizeHandler ); + } ); + } + + CKEDITOR.dialog.prototype = { + destroy: function() { + this.hide(); + this._.element.remove(); + }, + + /** + * Resizes the dialog. + * + * dialogObj.resize( 800, 640 ); + * + * @method + * @param {Number} width The width of the dialog in pixels. + * @param {Number} height The height of the dialog in pixels. + */ + resize: ( function() { + return function( width, height ) { + if ( this._.contentSize && this._.contentSize.width == width && this._.contentSize.height == height ) + return; + + CKEDITOR.dialog.fire( 'resize', { + dialog: this, + width: width, + height: height + }, this._.editor ); + + this.fire( 'resize', { + width: width, + height: height + }, this._.editor ); + + var contents = this.parts.contents; + contents.setStyles( { + width: width + 'px', + height: height + 'px' + } ); + + // Update dialog position when dimension get changed in RTL. + if ( this._.editor.lang.dir == 'rtl' && this._.position ) + this._.position.x = CKEDITOR.document.getWindow().getViewPaneSize().width - this._.contentSize.width - parseInt( this._.element.getFirst().getStyle( 'right' ), 10 ); + + this._.contentSize = { width: width, height: height }; + }; + } )(), + + /** + * Gets the current size of the dialog in pixels. + * + * var width = dialogObj.getSize().width; + * + * @returns {Object} + * @returns {Number} return.width + * @returns {Number} return.height + */ + getSize: function() { + var element = this._.element.getFirst(); + return { width: element.$.offsetWidth || 0, height: element.$.offsetHeight || 0 }; + }, + + /** + * Moves the dialog to an `(x, y)` coordinate relative to the window. + * + * dialogObj.move( 10, 40 ); + * + * @method + * @param {Number} x The target x-coordinate. + * @param {Number} y The target y-coordinate. + * @param {Boolean} save Flag indicate whether the dialog position should be remembered on next open up. + */ + move: function( x, y, save ) { + + // The dialog may be fixed positioned or absolute positioned. Ask the + // browser what is the current situation first. + var element = this._.element.getFirst(), rtl = this._.editor.lang.dir == 'rtl'; + var isFixed = element.getComputedStyle( 'position' ) == 'fixed'; + + // (#8888) In some cases of a very small viewport, dialog is incorrectly + // positioned in IE7. It also happens that it remains sticky and user cannot + // scroll down/up to reveal dialog's content below/above the viewport; this is + // cumbersome. + // The only way to fix this is to move mouse out of the browser and + // go back to see that dialog position is automagically fixed. No events, + // no style change - pure magic. This is a IE7 rendering issue, which can be + // fixed with dummy style redraw on each move. + if ( CKEDITOR.env.ie ) + element.setStyle( 'zoom', '100%' ); + + if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y ) + return; + + // Save the current position. + this._.position = { x: x, y: y }; + + // If not fixed positioned, add scroll position to the coordinates. + if ( !isFixed ) { + var scrollPosition = CKEDITOR.document.getWindow().getScrollPosition(); + x += scrollPosition.x; + y += scrollPosition.y; + } + + // Translate coordinate for RTL. + if ( rtl ) { + var dialogSize = this.getSize(), viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(); + x = viewPaneSize.width - dialogSize.width - x; + } + + var styles = { 'top': ( y > 0 ? y : 0 ) + 'px' }; + styles[ rtl ? 'right' : 'left' ] = ( x > 0 ? x : 0 ) + 'px'; + + element.setStyles( styles ); + + save && ( this._.moved = 1 ); + }, + + /** + * Gets the dialog's position in the window. + * + * var dialogX = dialogObj.getPosition().x; + * + * @returns {Object} + * @returns {Number} return.x + * @returns {Number} return.y + */ + getPosition: function() { + return CKEDITOR.tools.extend( {}, this._.position ); + }, + + /** + * Shows the dialog box. + * + * dialogObj.show(); + */ + show: function() { + // Insert the dialog's element to the root document. + var element = this._.element; + var definition = this.definition; + if ( !( element.getParent() && element.getParent().equals( CKEDITOR.document.getBody() ) ) ) + element.appendTo( CKEDITOR.document.getBody() ); + else + element.setStyle( 'display', 'block' ); + + // First, set the dialog to an appropriate size. + this.resize( + this._.contentSize && this._.contentSize.width || definition.width || definition.minWidth, + this._.contentSize && this._.contentSize.height || definition.height || definition.minHeight + ); + + // Reset all inputs back to their default value. + this.reset(); + + // Select the first tab by default. + this.selectPage( this.definition.contents[ 0 ].id ); + + // Set z-index. + if ( CKEDITOR.dialog._.currentZIndex === null ) + CKEDITOR.dialog._.currentZIndex = this._.editor.config.baseFloatZIndex; + this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 ); + + // Maintain the dialog ordering and dialog cover. + if ( CKEDITOR.dialog._.currentTop === null ) { + CKEDITOR.dialog._.currentTop = this; + this._.parentDialog = null; + showCover( this._.editor ); + + } else { + this._.parentDialog = CKEDITOR.dialog._.currentTop; + var parentElement = this._.parentDialog.getElement().getFirst(); + parentElement.$.style.zIndex -= Math.floor( this._.editor.config.baseFloatZIndex / 2 ); + CKEDITOR.dialog._.currentTop = this; + } + + element.on( 'keydown', accessKeyDownHandler ); + element.on( 'keyup', accessKeyUpHandler ); + + // Reset the hasFocus state. + this._.hasFocus = false; + + for ( var i in definition.contents ) { + if ( !definition.contents[ i ] ) + continue; + + var content = definition.contents[ i ], + tab = this._.tabs[ content.id ], + requiredContent = content.requiredContent, + enableElements = 0; + + if ( !tab ) + continue; + + for ( var j in this._.contents[ content.id ] ) { + var elem = this._.contents[ content.id ][ j ]; + + if ( elem.type == 'hbox' || elem.type == 'vbox' || !elem.getInputElement() ) + continue; + + if ( elem.requiredContent && !this._.editor.activeFilter.check( elem.requiredContent ) ) + elem.disable(); + else { + elem.enable(); + enableElements++; + } + } + + if ( !enableElements || ( requiredContent && !this._.editor.activeFilter.check( requiredContent ) ) ) + tab[ 0 ].addClass( 'cke_dialog_tab_disabled' ); + else + tab[ 0 ].removeClass( 'cke_dialog_tab_disabled' ); + } + + CKEDITOR.tools.setTimeout( function() { + this.layout(); + resizeWithWindow( this ); + + this.parts.dialog.setStyle( 'visibility', '' ); + + // Execute onLoad for the first show. + this.fireOnce( 'load', {} ); + CKEDITOR.ui.fire( 'ready', this ); + + this.fire( 'show', {} ); + this._.editor.fire( 'dialogShow', this ); + + if ( !this._.parentDialog ) + this._.editor.focusManager.lock(); + + // Save the initial values of the dialog. + this.foreach( function( contentObj ) { + contentObj.setInitValue && contentObj.setInitValue(); + } ); + + }, 100, this ); + }, + + /** + * Rearrange the dialog to its previous position or the middle of the window. + * + * @since 3.5 + */ + layout: function() { + var el = this.parts.dialog; + var dialogSize = this.getSize(); + var win = CKEDITOR.document.getWindow(), + viewSize = win.getViewPaneSize(); + + var posX = ( viewSize.width - dialogSize.width ) / 2, + posY = ( viewSize.height - dialogSize.height ) / 2; + + // Switch to absolute position when viewport is smaller than dialog size. + if ( !CKEDITOR.env.ie6Compat ) { + if ( dialogSize.height + ( posY > 0 ? posY : 0 ) > viewSize.height || dialogSize.width + ( posX > 0 ? posX : 0 ) > viewSize.width ) { + el.setStyle( 'position', 'absolute' ); + } else { + el.setStyle( 'position', 'fixed' ); + } + } + + this.move( this._.moved ? this._.position.x : posX, this._.moved ? this._.position.y : posY ); + }, + + /** + * Executes a function for each UI element. + * + * @param {Function} fn Function to execute for each UI element. + * @returns {CKEDITOR.dialog} The current dialog object. + */ + foreach: function( fn ) { + for ( var i in this._.contents ) { + for ( var j in this._.contents[ i ] ) { + fn.call( this, this._.contents[i][j] ); + } + } + + return this; + }, + + /** + * Resets all input values in the dialog. + * + * dialogObj.reset(); + * + * @method + * @chainable + */ + reset: ( function() { + var fn = function( widget ) { + if ( widget.reset ) + widget.reset( 1 ); + }; + return function() { + this.foreach( fn ); + return this; + }; + } )(), + + + /** + * Calls the {@link CKEDITOR.dialog.definition.uiElement#setup} method of each + * of the UI elements, with the arguments passed through it. + * It is usually being called when the dialog is opened, to put the initial value inside the field. + * + * dialogObj.setupContent(); + * + * var timestamp = ( new Date() ).valueOf(); + * dialogObj.setupContent( timestamp ); + */ + setupContent: function() { + var args = arguments; + this.foreach( function( widget ) { + if ( widget.setup ) + widget.setup.apply( widget, args ); + } ); + }, + + /** + * Calls the {@link CKEDITOR.dialog.definition.uiElement#commit} method of each + * of the UI elements, with the arguments passed through it. + * It is usually being called when the user confirms the dialog, to process the values. + * + * dialogObj.commitContent(); + * + * var timestamp = ( new Date() ).valueOf(); + * dialogObj.commitContent( timestamp ); + */ + commitContent: function() { + var args = arguments; + this.foreach( function( widget ) { + // Make sure IE triggers "change" event on last focused input before closing the dialog. (#7915) + if ( CKEDITOR.env.ie && this._.currentFocusIndex == widget.focusIndex ) + widget.getInputElement().$.blur(); + + if ( widget.commit ) + widget.commit.apply( widget, args ); + } ); + }, + + /** + * Hides the dialog box. + * + * dialogObj.hide(); + */ + hide: function() { + if ( !this.parts.dialog.isVisible() ) + return; + + this.fire( 'hide', {} ); + this._.editor.fire( 'dialogHide', this ); + // Reset the tab page. + this.selectPage( this._.tabIdList[ 0 ] ); + var element = this._.element; + element.setStyle( 'display', 'none' ); + this.parts.dialog.setStyle( 'visibility', 'hidden' ); + // Unregister all access keys associated with this dialog. + unregisterAccessKey( this ); + + // Close any child(top) dialogs first. + while ( CKEDITOR.dialog._.currentTop != this ) + CKEDITOR.dialog._.currentTop.hide(); + + // Maintain dialog ordering and remove cover if needed. + if ( !this._.parentDialog ) + hideCover( this._.editor ); + else { + var parentElement = this._.parentDialog.getElement().getFirst(); + parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) ); + } + CKEDITOR.dialog._.currentTop = this._.parentDialog; + + // Deduct or clear the z-index. + if ( !this._.parentDialog ) { + CKEDITOR.dialog._.currentZIndex = null; + + // Remove access key handlers. + element.removeListener( 'keydown', accessKeyDownHandler ); + element.removeListener( 'keyup', accessKeyUpHandler ); + + var editor = this._.editor; + editor.focus(); + + // Give a while before unlock, waiting for focus to return to the editable. (#172) + setTimeout( function() { + editor.focusManager.unlock(); + + // Fixed iOS focus issue (#12381). + // Keep in mind that editor.focus() does not work in this case. + if ( CKEDITOR.env.iOS ) { + editor.window.focus(); + } + }, 0 ); + + } else { + CKEDITOR.dialog._.currentZIndex -= 10; + } + + delete this._.parentDialog; + // Reset the initial values of the dialog. + this.foreach( function( contentObj ) { + contentObj.resetInitValue && contentObj.resetInitValue(); + } ); + + // Reset dialog state back to IDLE, if busy (#13213). + this.setState( CKEDITOR.DIALOG_STATE_IDLE ); + }, + + /** + * Adds a tabbed page into the dialog. + * + * @param {Object} contents Content definition. + */ + addPage: function( contents ) { + if ( contents.requiredContent && !this._.editor.filter.check( contents.requiredContent ) ) + return; + + var pageHtml = [], + titleHtml = contents.label ? ' title="' + CKEDITOR.tools.htmlEncode( contents.label ) + '"' : '', + vbox = CKEDITOR.dialog._.uiElementBuilders.vbox.build( this, { + type: 'vbox', + className: 'cke_dialog_page_contents', + children: contents.elements, + expand: !!contents.expand, + padding: contents.padding, + style: contents.style || 'width: 100%;' + }, pageHtml ); + + var contentMap = this._.contents[ contents.id ] = {}, + cursor, + children = vbox.getChild(), + enabledFields = 0; + + while ( ( cursor = children.shift() ) ) { + // Count all allowed fields. + if ( !cursor.notAllowed && cursor.type != 'hbox' && cursor.type != 'vbox' ) + enabledFields++; + + contentMap[ cursor.id ] = cursor; + if ( typeof cursor.getChild == 'function' ) + children.push.apply( children, cursor.getChild() ); + } + + // If all fields are disabled (because they are not allowed) hide this tab. + if ( !enabledFields ) + contents.hidden = true; + + // Create the HTML for the tab and the content block. + var page = CKEDITOR.dom.element.createFromHtml( pageHtml.join( '' ) ); + page.setAttribute( 'role', 'tabpanel' ); + + var env = CKEDITOR.env; + var tabId = 'cke_' + contents.id + '_' + CKEDITOR.tools.getNextNumber(), + tab = CKEDITOR.dom.element.createFromHtml( [ + ' 0 ? ' cke_last' : 'cke_first' ), + titleHtml, + ( !!contents.hidden ? ' style="display:none"' : '' ), + ' id="', tabId, '"', + env.gecko && !env.hc ? '' : ' href="javascript:void(0)"', + ' tabIndex="-1"', + ' hidefocus="true"', + ' role="tab">', + contents.label, + '' + ].join( '' ) ); + + page.setAttribute( 'aria-labelledby', tabId ); + + // Take records for the tabs and elements created. + this._.tabs[ contents.id ] = [ tab, page ]; + this._.tabIdList.push( contents.id ); + !contents.hidden && this._.pageCount++; + this._.lastTab = tab; + this.updateStyle(); + + // Attach the DOM nodes. + + page.setAttribute( 'name', contents.id ); + page.appendTo( this.parts.contents ); + + tab.unselectable(); + this.parts.tabs.append( tab ); + + // Add access key handlers if access key is defined. + if ( contents.accessKey ) { + registerAccessKey( this, this, 'CTRL+' + contents.accessKey, tabAccessKeyDown, tabAccessKeyUp ); + this._.accessKeyMap[ 'CTRL+' + contents.accessKey ] = contents.id; + } + }, + + /** + * Activates a tab page in the dialog by its id. + * + * dialogObj.selectPage( 'tab_1' ); + * + * @param {String} id The id of the dialog tab to be activated. + */ + selectPage: function( id ) { + if ( this._.currentTabId == id ) + return; + + if ( this._.tabs[ id ][ 0 ].hasClass( 'cke_dialog_tab_disabled' ) ) + return; + + // If event was canceled - do nothing. + if ( this.fire( 'selectPage', { page: id, currentPage: this._.currentTabId } ) === false ) + return; + + // Hide the non-selected tabs and pages. + for ( var i in this._.tabs ) { + var tab = this._.tabs[ i ][ 0 ], + page = this._.tabs[ i ][ 1 ]; + if ( i != id ) { + tab.removeClass( 'cke_dialog_tab_selected' ); + page.hide(); + } + page.setAttribute( 'aria-hidden', i != id ); + } + + var selected = this._.tabs[ id ]; + selected[ 0 ].addClass( 'cke_dialog_tab_selected' ); + + // [IE] an invisible input[type='text'] will enlarge it's width + // if it's value is long when it shows, so we clear it's value + // before it shows and then recover it (#5649) + if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat ) { + clearOrRecoverTextInputValue( selected[ 1 ] ); + selected[ 1 ].show(); + setTimeout( function() { + clearOrRecoverTextInputValue( selected[ 1 ], 1 ); + }, 0 ); + } else { + selected[ 1 ].show(); + } + + this._.currentTabId = id; + this._.currentTabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, id ); + }, + + /** + * Dialog state-specific style updates. + */ + updateStyle: function() { + // If only a single page shown, a different style is used in the central pane. + this.parts.dialog[ ( this._.pageCount === 1 ? 'add' : 'remove' ) + 'Class' ]( 'cke_single_page' ); + }, + + /** + * Hides a page's tab away from the dialog. + * + * dialog.hidePage( 'tab_3' ); + * + * @param {String} id The page's Id. + */ + hidePage: function( id ) { + var tab = this._.tabs[ id ] && this._.tabs[ id ][ 0 ]; + if ( !tab || this._.pageCount == 1 || !tab.isVisible() ) + return; + // Switch to other tab first when we're hiding the active tab. + else if ( id == this._.currentTabId ) + this.selectPage( getPreviousVisibleTab.call( this ) ); + + tab.hide(); + this._.pageCount--; + this.updateStyle(); + }, + + /** + * Unhides a page's tab. + * + * dialog.showPage( 'tab_2' ); + * + * @param {String} id The page's Id. + */ + showPage: function( id ) { + var tab = this._.tabs[ id ] && this._.tabs[ id ][ 0 ]; + if ( !tab ) + return; + tab.show(); + this._.pageCount++; + this.updateStyle(); + }, + + /** + * Gets the root DOM element of the dialog. + * + * var dialogElement = dialogObj.getElement().getFirst(); + * dialogElement.setStyle( 'padding', '5px' ); + * + * @returns {CKEDITOR.dom.element} The `` element containing this dialog. + */ + getElement: function() { + return this._.element; + }, + + /** + * Gets the name of the dialog. + * + * var dialogName = dialogObj.getName(); + * + * @returns {String} The name of this dialog. + */ + getName: function() { + return this._.name; + }, + + /** + * Gets a dialog UI element object from a dialog page. + * + * dialogObj.getContentElement( 'tabId', 'elementId' ).setValue( 'Example' ); + * + * @param {String} pageId id of dialog page. + * @param {String} elementId id of UI element. + * @returns {CKEDITOR.ui.dialog.uiElement} The dialog UI element. + */ + getContentElement: function( pageId, elementId ) { + var page = this._.contents[ pageId ]; + return page && page[ elementId ]; + }, + + /** + * Gets the value of a dialog UI element. + * + * alert( dialogObj.getValueOf( 'tabId', 'elementId' ) ); + * + * @param {String} pageId id of dialog page. + * @param {String} elementId id of UI element. + * @returns {Object} The value of the UI element. + */ + getValueOf: function( pageId, elementId ) { + return this.getContentElement( pageId, elementId ).getValue(); + }, + + /** + * Sets the value of a dialog UI element. + * + * dialogObj.setValueOf( 'tabId', 'elementId', 'Example' ); + * + * @param {String} pageId id of the dialog page. + * @param {String} elementId id of the UI element. + * @param {Object} value The new value of the UI element. + */ + setValueOf: function( pageId, elementId, value ) { + return this.getContentElement( pageId, elementId ).setValue( value ); + }, + + /** + * Gets the UI element of a button in the dialog's button row. + * + * @returns {CKEDITOR.ui.dialog.button} The button object. + * + * @param {String} id The id of the button. + */ + getButton: function( id ) { + return this._.buttons[ id ]; + }, + + /** + * Simulates a click to a dialog button in the dialog's button row. + * + * @returns The return value of the dialog's `click` event. + * + * @param {String} id The id of the button. + */ + click: function( id ) { + return this._.buttons[ id ].click(); + }, + + /** + * Disables a dialog button. + * + * @param {String} id The id of the button. + */ + disableButton: function( id ) { + return this._.buttons[ id ].disable(); + }, + + /** + * Enables a dialog button. + * + * @param {String} id The id of the button. + */ + enableButton: function( id ) { + return this._.buttons[ id ].enable(); + }, + + /** + * Gets the number of pages in the dialog. + * + * @returns {Number} Page count. + */ + getPageCount: function() { + return this._.pageCount; + }, + + /** + * Gets the editor instance which opened this dialog. + * + * @returns {CKEDITOR.editor} Parent editor instances. + */ + getParentEditor: function() { + return this._.editor; + }, + + /** + * Gets the element that was selected when opening the dialog, if any. + * + * @returns {CKEDITOR.dom.element} The element that was selected, or `null`. + */ + getSelectedElement: function() { + return this.getParentEditor().getSelection().getSelectedElement(); + }, + + /** + * Adds element to dialog's focusable list. + * + * @param {CKEDITOR.dom.element} element + * @param {Number} [index] + */ + addFocusable: function( element, index ) { + if ( typeof index == 'undefined' ) { + index = this._.focusList.length; + this._.focusList.push( new Focusable( this, element, index ) ); + } else { + this._.focusList.splice( index, 0, new Focusable( this, element, index ) ); + for ( var i = index + 1; i < this._.focusList.length; i++ ) + this._.focusList[ i ].focusIndex++; + } + }, + + /** + * Sets the dialog {@link #property-state}. + * + * @since 4.5 + * @param {Number} state Either {@link CKEDITOR#DIALOG_STATE_IDLE} or {@link CKEDITOR#DIALOG_STATE_BUSY}. + */ + setState: function( state ) { + var oldState = this.state; + + if ( oldState == state ) { + return; + } + + this.state = state; + + if ( state == CKEDITOR.DIALOG_STATE_BUSY ) { + // Insert the spinner on demand. + if ( !this.parts.spinner ) { + var dir = this.getParentEditor().lang.dir, + spinnerDef = { + attributes: { + 'class': 'cke_dialog_spinner' + }, + styles: { + 'float': dir == 'rtl' ? 'right' : 'left' + } + }; + + spinnerDef.styles[ 'margin-' + ( dir == 'rtl' ? 'left' : 'right' ) ] = '8px'; + + this.parts.spinner = CKEDITOR.document.createElement( 'div', spinnerDef ); + + this.parts.spinner.setHtml( '⌛' ); + this.parts.spinner.appendTo( this.parts.title, 1 ); + } + + // Finally, show the spinner. + this.parts.spinner.show(); + + this.getButton( 'ok' ).disable(); + } else if ( state == CKEDITOR.DIALOG_STATE_IDLE ) { + // Hide the spinner. But don't do anything if there is no spinner yet. + this.parts.spinner && this.parts.spinner.hide(); + + this.getButton( 'ok' ).enable(); + } + + this.fire( 'state', state ); + } + }; + + CKEDITOR.tools.extend( CKEDITOR.dialog, { + /** + * Registers a dialog. + * + * // Full sample plugin, which does not only register a dialog window but also adds an item to the context menu. + * // To open the dialog window, choose "Open dialog" in the context menu. + * CKEDITOR.plugins.add( 'myplugin', { + * init: function( editor ) { + * editor.addCommand( 'mydialog',new CKEDITOR.dialogCommand( 'mydialog' ) ); + * + * if ( editor.contextMenu ) { + * editor.addMenuGroup( 'mygroup', 10 ); + * editor.addMenuItem( 'My Dialog', { + * label: 'Open dialog', + * command: 'mydialog', + * group: 'mygroup' + * } ); + * editor.contextMenu.addListener( function( element ) { + * return { 'My Dialog': CKEDITOR.TRISTATE_OFF }; + * } ); + * } + * + * CKEDITOR.dialog.add( 'mydialog', function( api ) { + * // CKEDITOR.dialog.definition + * var dialogDefinition = { + * title: 'Sample dialog', + * minWidth: 390, + * minHeight: 130, + * contents: [ + * { + * id: 'tab1', + * label: 'Label', + * title: 'Title', + * expand: true, + * padding: 0, + * elements: [ + * { + * type: 'html', + * html: '

    This is some sample HTML content.

    ' + * }, + * { + * type: 'textarea', + * id: 'textareaId', + * rows: 4, + * cols: 40 + * } + * ] + * } + * ], + * buttons: [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ], + * onOk: function() { + * // "this" is now a CKEDITOR.dialog object. + * // Accessing dialog elements: + * var textareaObj = this.getContentElement( 'tab1', 'textareaId' ); + * alert( "You have entered: " + textareaObj.getValue() ); + * } + * }; + * + * return dialogDefinition; + * } ); + * } + * } ); + * + * CKEDITOR.replace( 'editor1', { extraPlugins: 'myplugin' } ); + * + * @static + * @param {String} name The dialog's name. + * @param {Function/String} dialogDefinition + * A function returning the dialog's definition, or the URL to the `.js` file holding the function. + * The function should accept an argument `editor` which is the current editor instance, and + * return an object conforming to {@link CKEDITOR.dialog.definition}. + * @see CKEDITOR.dialog.definition + */ + add: function( name, dialogDefinition ) { + // Avoid path registration from multiple instances override definition. + if ( !this._.dialogDefinitions[ name ] || typeof dialogDefinition == 'function' ) + this._.dialogDefinitions[ name ] = dialogDefinition; + }, + + /** + * @static + * @todo + */ + exists: function( name ) { + return !!this._.dialogDefinitions[ name ]; + }, + + /** + * @static + * @todo + */ + getCurrent: function() { + return CKEDITOR.dialog._.currentTop; + }, + + /** + * Check whether tab wasn't removed by {@link CKEDITOR.config#removeDialogTabs}. + * + * @since 4.1 + * @static + * @param {CKEDITOR.editor} editor + * @param {String} dialogName + * @param {String} tabName + * @returns {Boolean} + */ + isTabEnabled: function( editor, dialogName, tabName ) { + var cfg = editor.config.removeDialogTabs; + + return !( cfg && cfg.match( new RegExp( '(?:^|;)' + dialogName + ':' + tabName + '(?:$|;)', 'i' ) ) ); + }, + + /** + * The default OK button for dialogs. Fires the `ok` event and closes the dialog if the event succeeds. + * + * @static + * @method + */ + okButton: ( function() { + var retval = function( editor, override ) { + override = override || {}; + return CKEDITOR.tools.extend( { + id: 'ok', + type: 'button', + label: editor.lang.common.ok, + 'class': 'cke_dialog_ui_button_ok', + onClick: function( evt ) { + var dialog = evt.data.dialog; + if ( dialog.fire( 'ok', { hide: true } ).hide !== false ) + dialog.hide(); + } + }, override, true ); + }; + retval.type = 'button'; + retval.override = function( override ) { + return CKEDITOR.tools.extend( function( editor ) { + return retval( editor, override ); + }, { type: 'button' }, true ); + }; + return retval; + } )(), + + /** + * The default cancel button for dialogs. Fires the `cancel` event and + * closes the dialog if no UI element value changed. + * + * @static + * @method + */ + cancelButton: ( function() { + var retval = function( editor, override ) { + override = override || {}; + return CKEDITOR.tools.extend( { + id: 'cancel', + type: 'button', + label: editor.lang.common.cancel, + 'class': 'cke_dialog_ui_button_cancel', + onClick: function( evt ) { + var dialog = evt.data.dialog; + if ( dialog.fire( 'cancel', { hide: true } ).hide !== false ) + dialog.hide(); + } + }, override, true ); + }; + retval.type = 'button'; + retval.override = function( override ) { + return CKEDITOR.tools.extend( function( editor ) { + return retval( editor, override ); + }, { type: 'button' }, true ); + }; + return retval; + } )(), + + /** + * Registers a dialog UI element. + * + * @static + * @param {String} typeName The name of the UI element. + * @param {Function} builder The function to build the UI element. + */ + addUIElement: function( typeName, builder ) { + this._.uiElementBuilders[ typeName ] = builder; + } + } ); + + CKEDITOR.dialog._ = { + uiElementBuilders: {}, + + dialogDefinitions: {}, + + currentTop: null, + + currentZIndex: null + }; + + // "Inherit" (copy actually) from CKEDITOR.event. + CKEDITOR.event.implementOn( CKEDITOR.dialog ); + CKEDITOR.event.implementOn( CKEDITOR.dialog.prototype ); + + var defaultDialogDefinition = { + resizable: CKEDITOR.DIALOG_RESIZE_BOTH, + minWidth: 600, + minHeight: 400, + buttons: [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ] + }; + + // Tool function used to return an item from an array based on its id + // property. + var getById = function( array, id, recurse ) { + for ( var i = 0, item; + ( item = array[ i ] ); i++ ) { + if ( item.id == id ) + return item; + if ( recurse && item[ recurse ] ) { + var retval = getById( item[ recurse ], id, recurse ); + if ( retval ) + return retval; + } + } + return null; + }; + + // Tool function used to add an item into an array. + var addById = function( array, newItem, nextSiblingId, recurse, nullIfNotFound ) { + if ( nextSiblingId ) { + for ( var i = 0, item; + ( item = array[ i ] ); i++ ) { + if ( item.id == nextSiblingId ) { + array.splice( i, 0, newItem ); + return newItem; + } + + if ( recurse && item[ recurse ] ) { + var retval = addById( item[ recurse ], newItem, nextSiblingId, recurse, true ); + if ( retval ) + return retval; + } + } + + if ( nullIfNotFound ) + return null; + } + + array.push( newItem ); + return newItem; + }; + + // Tool function used to remove an item from an array based on its id. + var removeById = function( array, id, recurse ) { + for ( var i = 0, item; + ( item = array[ i ] ); i++ ) { + if ( item.id == id ) + return array.splice( i, 1 ); + if ( recurse && item[ recurse ] ) { + var retval = removeById( item[ recurse ], id, recurse ); + if ( retval ) + return retval; + } + } + return null; + }; + + /** + * This class is not really part of the API. It is the `definition` property value + * passed to `dialogDefinition` event handlers. + * + * CKEDITOR.on( 'dialogDefinition', function( evt ) { + * var definition = evt.data.definition; + * var content = definition.getContents( 'page1' ); + * // ... + * } ); + * + * @private + * @class CKEDITOR.dialog.definitionObject + * @extends CKEDITOR.dialog.definition + * @constructor Creates a definitionObject class instance. + */ + var definitionObject = function( dialog, dialogDefinition ) { + // TODO : Check if needed. + this.dialog = dialog; + + // Transform the contents entries in contentObjects. + var contents = dialogDefinition.contents; + for ( var i = 0, content; + ( content = contents[ i ] ); i++ ) + contents[ i ] = content && new contentObject( dialog, content ); + + CKEDITOR.tools.extend( this, dialogDefinition ); + }; + + definitionObject.prototype = { + /** + * Gets a content definition. + * + * @param {String} id The id of the content definition. + * @returns {CKEDITOR.dialog.definition.content} The content definition matching id. + */ + getContents: function( id ) { + return getById( this.contents, id ); + }, + + /** + * Gets a button definition. + * + * @param {String} id The id of the button definition. + * @returns {CKEDITOR.dialog.definition.button} The button definition matching id. + */ + getButton: function( id ) { + return getById( this.buttons, id ); + }, + + /** + * Adds a content definition object under this dialog definition. + * + * @param {CKEDITOR.dialog.definition.content} contentDefinition The + * content definition. + * @param {String} [nextSiblingId] The id of an existing content + * definition which the new content definition will be inserted + * before. Omit if the new content definition is to be inserted as + * the last item. + * @returns {CKEDITOR.dialog.definition.content} The inserted content definition. + */ + addContents: function( contentDefinition, nextSiblingId ) { + return addById( this.contents, contentDefinition, nextSiblingId ); + }, + + /** + * Adds a button definition object under this dialog definition. + * + * @param {CKEDITOR.dialog.definition.button} buttonDefinition The + * button definition. + * @param {String} [nextSiblingId] The id of an existing button + * definition which the new button definition will be inserted + * before. Omit if the new button definition is to be inserted as + * the last item. + * @returns {CKEDITOR.dialog.definition.button} The inserted button definition. + */ + addButton: function( buttonDefinition, nextSiblingId ) { + return addById( this.buttons, buttonDefinition, nextSiblingId ); + }, + + /** + * Removes a content definition from this dialog definition. + * + * @param {String} id The id of the content definition to be removed. + * @returns {CKEDITOR.dialog.definition.content} The removed content definition. + */ + removeContents: function( id ) { + removeById( this.contents, id ); + }, + + /** + * Removes a button definition from the dialog definition. + * + * @param {String} id The id of the button definition to be removed. + * @returns {CKEDITOR.dialog.definition.button} The removed button definition. + */ + removeButton: function( id ) { + removeById( this.buttons, id ); + } + }; + + /** + * This class is not really part of the API. It is the template of the + * objects representing content pages inside the + * CKEDITOR.dialog.definitionObject. + * + * CKEDITOR.on( 'dialogDefinition', function( evt ) { + * var definition = evt.data.definition; + * var content = definition.getContents( 'page1' ); + * content.remove( 'textInput1' ); + * // ... + * } ); + * + * @private + * @class CKEDITOR.dialog.definition.contentObject + * @constructor Creates a contentObject class instance. + */ + function contentObject( dialog, contentDefinition ) { + this._ = { + dialog: dialog + }; + + CKEDITOR.tools.extend( this, contentDefinition ); + } + + contentObject.prototype = { + /** + * Gets a UI element definition under the content definition. + * + * @param {String} id The id of the UI element definition. + * @returns {CKEDITOR.dialog.definition.uiElement} + */ + get: function( id ) { + return getById( this.elements, id, 'children' ); + }, + + /** + * Adds a UI element definition to the content definition. + * + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition The + * UI elemnet definition to be added. + * @param {String} nextSiblingId The id of an existing UI element + * definition which the new UI element definition will be inserted + * before. Omit if the new button definition is to be inserted as + * the last item. + * @returns {CKEDITOR.dialog.definition.uiElement} The element definition inserted. + */ + add: function( elementDefinition, nextSiblingId ) { + return addById( this.elements, elementDefinition, nextSiblingId, 'children' ); + }, + + /** + * Removes a UI element definition from the content definition. + * + * @param {String} id The id of the UI element definition to be removed. + * @returns {CKEDITOR.dialog.definition.uiElement} The element definition removed. + */ + remove: function( id ) { + removeById( this.elements, id, 'children' ); + } + }; + + function initDragAndDrop( dialog ) { + var lastCoords = null, + abstractDialogCoords = null, + editor = dialog.getParentEditor(), + magnetDistance = editor.config.dialog_magnetDistance, + margins = CKEDITOR.skin.margins || [ 0, 0, 0, 0 ]; + + if ( typeof magnetDistance == 'undefined' ) + magnetDistance = 20; + + function mouseMoveHandler( evt ) { + var dialogSize = dialog.getSize(), + viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(), + x = evt.data.$.screenX, + y = evt.data.$.screenY, + dx = x - lastCoords.x, + dy = y - lastCoords.y, + realX, realY; + + lastCoords = { x: x, y: y }; + abstractDialogCoords.x += dx; + abstractDialogCoords.y += dy; + + if ( abstractDialogCoords.x + margins[ 3 ] < magnetDistance ) + realX = -margins[ 3 ]; + else if ( abstractDialogCoords.x - margins[ 1 ] > viewPaneSize.width - dialogSize.width - magnetDistance ) + realX = viewPaneSize.width - dialogSize.width + ( editor.lang.dir == 'rtl' ? 0 : margins[ 1 ] ); + else + realX = abstractDialogCoords.x; + + if ( abstractDialogCoords.y + margins[ 0 ] < magnetDistance ) + realY = -margins[ 0 ]; + else if ( abstractDialogCoords.y - margins[ 2 ] > viewPaneSize.height - dialogSize.height - magnetDistance ) + realY = viewPaneSize.height - dialogSize.height + margins[ 2 ]; + else + realY = abstractDialogCoords.y; + + dialog.move( realX, realY, 1 ); + + evt.data.preventDefault(); + } + + function mouseUpHandler() { + CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler ); + CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler ); + + if ( CKEDITOR.env.ie6Compat ) { + var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); + coverDoc.removeListener( 'mousemove', mouseMoveHandler ); + coverDoc.removeListener( 'mouseup', mouseUpHandler ); + } + } + + dialog.parts.title.on( 'mousedown', function( evt ) { + lastCoords = { x: evt.data.$.screenX, y: evt.data.$.screenY }; + + CKEDITOR.document.on( 'mousemove', mouseMoveHandler ); + CKEDITOR.document.on( 'mouseup', mouseUpHandler ); + abstractDialogCoords = dialog.getPosition(); + + if ( CKEDITOR.env.ie6Compat ) { + var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); + coverDoc.on( 'mousemove', mouseMoveHandler ); + coverDoc.on( 'mouseup', mouseUpHandler ); + } + + evt.data.preventDefault(); + }, dialog ); + } + + function initResizeHandles( dialog ) { + var def = dialog.definition, + resizable = def.resizable; + + if ( resizable == CKEDITOR.DIALOG_RESIZE_NONE ) + return; + + var editor = dialog.getParentEditor(); + var wrapperWidth, wrapperHeight, viewSize, origin, startSize, dialogCover; + + var mouseDownFn = CKEDITOR.tools.addFunction( function( $event ) { + startSize = dialog.getSize(); + + var content = dialog.parts.contents, + iframeDialog = content.$.getElementsByTagName( 'iframe' ).length; + + // Shim to help capturing "mousemove" over iframe. + if ( iframeDialog ) { + dialogCover = CKEDITOR.dom.element.createFromHtml( '
    ' ); + content.append( dialogCover ); + } + + // Calculate the offset between content and chrome size. + wrapperHeight = startSize.height - dialog.parts.contents.getSize( 'height', !( CKEDITOR.env.gecko || CKEDITOR.env.ie && CKEDITOR.env.quirks ) ); + wrapperWidth = startSize.width - dialog.parts.contents.getSize( 'width', 1 ); + + origin = { x: $event.screenX, y: $event.screenY }; + + viewSize = CKEDITOR.document.getWindow().getViewPaneSize(); + + CKEDITOR.document.on( 'mousemove', mouseMoveHandler ); + CKEDITOR.document.on( 'mouseup', mouseUpHandler ); + + if ( CKEDITOR.env.ie6Compat ) { + var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); + coverDoc.on( 'mousemove', mouseMoveHandler ); + coverDoc.on( 'mouseup', mouseUpHandler ); + } + + $event.preventDefault && $event.preventDefault(); + } ); + + // Prepend the grip to the dialog. + dialog.on( 'load', function() { + var direction = ''; + if ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH ) + direction = ' cke_resizer_horizontal'; + else if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT ) + direction = ' cke_resizer_vertical'; + var resizer = CKEDITOR.dom.element.createFromHtml( + '' + + // BLACK LOWER RIGHT TRIANGLE (ltr) + // BLACK LOWER LEFT TRIANGLE (rtl) + ( editor.lang.dir == 'ltr' ? '\u25E2' : '\u25E3' ) + + '
    ' ); + dialog.parts.footer.append( resizer, 1 ); + } ); + editor.on( 'destroy', function() { + CKEDITOR.tools.removeFunction( mouseDownFn ); + } ); + + function mouseMoveHandler( evt ) { + var rtl = editor.lang.dir == 'rtl', + dx = ( evt.data.$.screenX - origin.x ) * ( rtl ? -1 : 1 ), + dy = evt.data.$.screenY - origin.y, + width = startSize.width, + height = startSize.height, + internalWidth = width + dx * ( dialog._.moved ? 1 : 2 ), + internalHeight = height + dy * ( dialog._.moved ? 1 : 2 ), + element = dialog._.element.getFirst(), + right = rtl && element.getComputedStyle( 'right' ), + position = dialog.getPosition(); + + if ( position.y + internalHeight > viewSize.height ) + internalHeight = viewSize.height - position.y; + + if ( ( rtl ? right : position.x ) + internalWidth > viewSize.width ) + internalWidth = viewSize.width - ( rtl ? right : position.x ); + + // Make sure the dialog will not be resized to the wrong side when it's in the leftmost position for RTL. + if ( ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH || resizable == CKEDITOR.DIALOG_RESIZE_BOTH ) ) + width = Math.max( def.minWidth || 0, internalWidth - wrapperWidth ); + + if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT || resizable == CKEDITOR.DIALOG_RESIZE_BOTH ) + height = Math.max( def.minHeight || 0, internalHeight - wrapperHeight ); + + dialog.resize( width, height ); + + if ( !dialog._.moved ) + dialog.layout(); + + evt.data.preventDefault(); + } + + function mouseUpHandler() { + CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler ); + CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler ); + + if ( dialogCover ) { + dialogCover.remove(); + dialogCover = null; + } + + if ( CKEDITOR.env.ie6Compat ) { + var coverDoc = currentCover.getChild( 0 ).getFrameDocument(); + coverDoc.removeListener( 'mouseup', mouseUpHandler ); + coverDoc.removeListener( 'mousemove', mouseMoveHandler ); + } + } + } + + var resizeCover; + // Caching resuable covers and allowing only one cover + // on screen. + var covers = {}, + currentCover; + + function cancelEvent( ev ) { + ev.data.preventDefault( 1 ); + } + + function showCover( editor ) { + var win = CKEDITOR.document.getWindow(), + config = editor.config, + skinName = ( CKEDITOR.skinName || editor.config.skin ), + backgroundColorStyle = config.dialog_backgroundCoverColor || ( skinName == 'moono-lisa' ? 'black' : 'white' ), + backgroundCoverOpacity = config.dialog_backgroundCoverOpacity, + baseFloatZIndex = config.baseFloatZIndex, + coverKey = CKEDITOR.tools.genKey( backgroundColorStyle, backgroundCoverOpacity, baseFloatZIndex ), + coverElement = covers[ coverKey ]; + + if ( !coverElement ) { + var html = [ + '
    ' + ]; + + if ( CKEDITOR.env.ie6Compat ) { + // Support for custom document.domain in IE. + var iframeHtml = ''; + + html.push( '' + + '' ); + } + + html.push( '
    ' ); + + coverElement = CKEDITOR.dom.element.createFromHtml( html.join( '' ) ); + coverElement.setOpacity( backgroundCoverOpacity !== undefined ? backgroundCoverOpacity : 0.5 ); + + coverElement.on( 'keydown', cancelEvent ); + coverElement.on( 'keypress', cancelEvent ); + coverElement.on( 'keyup', cancelEvent ); + + coverElement.appendTo( CKEDITOR.document.getBody() ); + covers[ coverKey ] = coverElement; + } else { + coverElement.show(); + } + + // Makes the dialog cover a focus holder as well. + editor.focusManager.add( coverElement ); + + currentCover = coverElement; + var resizeFunc = function() { + var size = win.getViewPaneSize(); + coverElement.setStyles( { + width: size.width + 'px', + height: size.height + 'px' + } ); + }; + + var scrollFunc = function() { + var pos = win.getScrollPosition(), + cursor = CKEDITOR.dialog._.currentTop; + coverElement.setStyles( { + left: pos.x + 'px', + top: pos.y + 'px' + } ); + + if ( cursor ) { + do { + var dialogPos = cursor.getPosition(); + cursor.move( dialogPos.x, dialogPos.y ); + } while ( ( cursor = cursor._.parentDialog ) ); + } + }; + + resizeCover = resizeFunc; + win.on( 'resize', resizeFunc ); + resizeFunc(); + // Using Safari/Mac, focus must be kept where it is (#7027) + if ( !( CKEDITOR.env.mac && CKEDITOR.env.webkit ) ) + coverElement.focus(); + + if ( CKEDITOR.env.ie6Compat ) { + // IE BUG: win.$.onscroll assignment doesn't work.. it must be window.onscroll. + // So we need to invent a really funny way to make it work. + var myScrollHandler = function() { + scrollFunc(); + arguments.callee.prevScrollHandler.apply( this, arguments ); + }; + win.$.setTimeout( function() { + myScrollHandler.prevScrollHandler = window.onscroll || + function() {}; + window.onscroll = myScrollHandler; + }, 0 ); + scrollFunc(); + } + } + + function hideCover( editor ) { + if ( !currentCover ) + return; + + editor.focusManager.remove( currentCover ); + var win = CKEDITOR.document.getWindow(); + currentCover.hide(); + win.removeListener( 'resize', resizeCover ); + + if ( CKEDITOR.env.ie6Compat ) { + win.$.setTimeout( function() { + var prevScrollHandler = window.onscroll && window.onscroll.prevScrollHandler; + window.onscroll = prevScrollHandler || null; + }, 0 ); + } + resizeCover = null; + } + + function removeCovers() { + for ( var coverId in covers ) + covers[ coverId ].remove(); + covers = {}; + } + + var accessKeyProcessors = {}; + + var accessKeyDownHandler = function( evt ) { + var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey, + alt = evt.data.$.altKey, + shift = evt.data.$.shiftKey, + key = String.fromCharCode( evt.data.$.keyCode ), + keyProcessor = accessKeyProcessors[ ( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '' ) + ( shift ? 'SHIFT+' : '' ) + key ]; + + if ( !keyProcessor || !keyProcessor.length ) + return; + + keyProcessor = keyProcessor[ keyProcessor.length - 1 ]; + keyProcessor.keydown && keyProcessor.keydown.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key ); + evt.data.preventDefault(); + }; + + var accessKeyUpHandler = function( evt ) { + var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey, + alt = evt.data.$.altKey, + shift = evt.data.$.shiftKey, + key = String.fromCharCode( evt.data.$.keyCode ), + keyProcessor = accessKeyProcessors[ ( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '' ) + ( shift ? 'SHIFT+' : '' ) + key ]; + + if ( !keyProcessor || !keyProcessor.length ) + return; + + keyProcessor = keyProcessor[ keyProcessor.length - 1 ]; + if ( keyProcessor.keyup ) { + keyProcessor.keyup.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key ); + evt.data.preventDefault(); + } + }; + + var registerAccessKey = function( uiElement, dialog, key, downFunc, upFunc ) { + var procList = accessKeyProcessors[ key ] || ( accessKeyProcessors[ key ] = [] ); + procList.push( { + uiElement: uiElement, + dialog: dialog, + key: key, + keyup: upFunc || uiElement.accessKeyUp, + keydown: downFunc || uiElement.accessKeyDown + } ); + }; + + var unregisterAccessKey = function( obj ) { + for ( var i in accessKeyProcessors ) { + var list = accessKeyProcessors[ i ]; + for ( var j = list.length - 1; j >= 0; j-- ) { + if ( list[ j ].dialog == obj || list[ j ].uiElement == obj ) + list.splice( j, 1 ); + } + if ( list.length === 0 ) + delete accessKeyProcessors[ i ]; + } + }; + + var tabAccessKeyUp = function( dialog, key ) { + if ( dialog._.accessKeyMap[ key ] ) + dialog.selectPage( dialog._.accessKeyMap[ key ] ); + }; + + var tabAccessKeyDown = function() {}; + + ( function() { + CKEDITOR.ui.dialog = { + /** + * The base class of all dialog UI elements. + * + * @class CKEDITOR.ui.dialog.uiElement + * @constructor Creates a uiElement class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition Element + * definition. + * + * Accepted fields: + * + * * `id` (Required) The id of the UI element. See {@link CKEDITOR.dialog#getContentElement}. + * * `type` (Required) The type of the UI element. The + * value to this field specifies which UI element class will be used to + * generate the final widget. + * * `title` (Optional) The popup tooltip for the UI + * element. + * * `hidden` (Optional) A flag that tells if the element + * should be initially visible. + * * `className` (Optional) Additional CSS class names + * to add to the UI element. Separated by space. + * * `style` (Optional) Additional CSS inline styles + * to add to the UI element. A semicolon (;) is required after the last + * style declaration. + * * `accessKey` (Optional) The alphanumeric access key + * for this element. Access keys are automatically prefixed by CTRL. + * * `on*` (Optional) Any UI element definition field that + * starts with `on` followed immediately by a capital letter and + * probably more letters is an event handler. Event handlers may be further + * divided into registered event handlers and DOM event handlers. Please + * refer to {@link CKEDITOR.ui.dialog.uiElement#registerEvents} and + * {@link CKEDITOR.ui.dialog.uiElement#eventProcessors} for more information. + * + * @param {Array} htmlList + * List of HTML code to be added to the dialog's content area. + * @param {Function/String} [nodeNameArg='div'] + * A function returning a string, or a simple string for the node name for + * the root DOM node. + * @param {Function/Object} [stylesArg={}] + * A function returning an object, or a simple object for CSS styles applied + * to the DOM node. + * @param {Function/Object} [attributesArg={}] + * A fucntion returning an object, or a simple object for attributes applied + * to the DOM node. + * @param {Function/String} [contentsArg=''] + * A function returning a string, or a simple string for the HTML code inside + * the root DOM node. Default is empty string. + */ + uiElement: function( dialog, elementDefinition, htmlList, nodeNameArg, stylesArg, attributesArg, contentsArg ) { + if ( arguments.length < 4 ) + return; + + var nodeName = ( nodeNameArg.call ? nodeNameArg( elementDefinition ) : nodeNameArg ) || 'div', + html = [ '<', nodeName, ' ' ], + styles = ( stylesArg && stylesArg.call ? stylesArg( elementDefinition ) : stylesArg ) || {}, + attributes = ( attributesArg && attributesArg.call ? attributesArg( elementDefinition ) : attributesArg ) || {}, + innerHTML = ( contentsArg && contentsArg.call ? contentsArg.call( this, dialog, elementDefinition ) : contentsArg ) || '', + domId = this.domId = attributes.id || CKEDITOR.tools.getNextId() + '_uiElement', + i; + + if ( elementDefinition.requiredContent && !dialog.getParentEditor().filter.check( elementDefinition.requiredContent ) ) { + styles.display = 'none'; + this.notAllowed = true; + } + + // Set the id, a unique id is required for getElement() to work. + attributes.id = domId; + + // Set the type and definition CSS class names. + var classes = {}; + if ( elementDefinition.type ) + classes[ 'cke_dialog_ui_' + elementDefinition.type ] = 1; + if ( elementDefinition.className ) + classes[ elementDefinition.className ] = 1; + if ( elementDefinition.disabled ) + classes.cke_disabled = 1; + + var attributeClasses = ( attributes[ 'class' ] && attributes[ 'class' ].split ) ? attributes[ 'class' ].split( ' ' ) : []; + for ( i = 0; i < attributeClasses.length; i++ ) { + if ( attributeClasses[ i ] ) + classes[ attributeClasses[ i ] ] = 1; + } + var finalClasses = []; + for ( i in classes ) + finalClasses.push( i ); + attributes[ 'class' ] = finalClasses.join( ' ' ); + + // Set the popup tooltop. + if ( elementDefinition.title ) + attributes.title = elementDefinition.title; + + // Write the inline CSS styles. + var styleStr = ( elementDefinition.style || '' ).split( ';' ); + + // Element alignment support. + if ( elementDefinition.align ) { + var align = elementDefinition.align; + styles[ 'margin-left' ] = align == 'left' ? 0 : 'auto'; + styles[ 'margin-right' ] = align == 'right' ? 0 : 'auto'; + } + + for ( i in styles ) + styleStr.push( i + ':' + styles[ i ] ); + if ( elementDefinition.hidden ) + styleStr.push( 'display:none' ); + for ( i = styleStr.length - 1; i >= 0; i-- ) { + if ( styleStr[ i ] === '' ) + styleStr.splice( i, 1 ); + } + if ( styleStr.length > 0 ) + attributes.style = ( attributes.style ? ( attributes.style + '; ' ) : '' ) + styleStr.join( '; ' ); + + // Write the attributes. + for ( i in attributes ) + html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[ i ] ) + '" ' ); + + // Write the content HTML. + html.push( '>', innerHTML, '' ); + + // Add contents to the parent HTML array. + htmlList.push( html.join( '' ) ); + + ( this._ || ( this._ = {} ) ).dialog = dialog; + + // Override isChanged if it is defined in element definition. + if ( typeof elementDefinition.isChanged == 'boolean' ) + this.isChanged = function() { + return elementDefinition.isChanged; + }; + if ( typeof elementDefinition.isChanged == 'function' ) + this.isChanged = elementDefinition.isChanged; + + // Overload 'get(set)Value' on definition. + if ( typeof elementDefinition.setValue == 'function' ) { + this.setValue = CKEDITOR.tools.override( this.setValue, function( org ) { + return function( val ) { + org.call( this, elementDefinition.setValue.call( this, val ) ); + }; + } ); + } + + if ( typeof elementDefinition.getValue == 'function' ) { + this.getValue = CKEDITOR.tools.override( this.getValue, function( org ) { + return function() { + return elementDefinition.getValue.call( this, org.call( this ) ); + }; + } ); + } + + // Add events. + CKEDITOR.event.implementOn( this ); + + this.registerEvents( elementDefinition ); + if ( this.accessKeyUp && this.accessKeyDown && elementDefinition.accessKey ) + registerAccessKey( this, dialog, 'CTRL+' + elementDefinition.accessKey ); + + var me = this; + dialog.on( 'load', function() { + var input = me.getInputElement(); + if ( input ) { + var focusClass = me.type in { 'checkbox': 1, 'ratio': 1 } && CKEDITOR.env.ie && CKEDITOR.env.version < 8 ? 'cke_dialog_ui_focused' : ''; + input.on( 'focus', function() { + dialog._.tabBarMode = false; + dialog._.hasFocus = true; + me.fire( 'focus' ); + focusClass && this.addClass( focusClass ); + + } ); + + input.on( 'blur', function() { + me.fire( 'blur' ); + focusClass && this.removeClass( focusClass ); + } ); + } + } ); + + // Completes this object with everything we have in the + // definition. + CKEDITOR.tools.extend( this, elementDefinition ); + + // Register the object as a tab focus if it can be included. + if ( this.keyboardFocusable ) { + this.tabIndex = elementDefinition.tabIndex || 0; + + this.focusIndex = dialog._.focusList.push( this ) - 1; + this.on( 'focus', function() { + dialog._.currentFocusIndex = me.focusIndex; + } ); + } + }, + + /** + * Horizontal layout box for dialog UI elements, auto-expends to available width of container. + * + * @class CKEDITOR.ui.dialog.hbox + * @extends CKEDITOR.ui.dialog.uiElement + * @constructor Creates a hbox class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog object. + * @param {Array} childObjList + * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. + * @param {Array} childHtmlList + * Array of HTML code that correspond to the HTML output of all the + * objects in childObjList. + * @param {Array} htmlList + * Array of HTML code that this element will output to. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `widths` (Optional) The widths of child cells. + * * `height` (Optional) The height of the layout. + * * `padding` (Optional) The padding width inside child cells. + * * `align` (Optional) The alignment of the whole layout. + */ + hbox: function( dialog, childObjList, childHtmlList, htmlList, elementDefinition ) { + if ( arguments.length < 4 ) + return; + + this._ || ( this._ = {} ); + + var children = this._.children = childObjList, + widths = elementDefinition && elementDefinition.widths || null, + height = elementDefinition && elementDefinition.height || null, + styles = {}, + i; + /** @ignore */ + var innerHTML = function() { + var html = [ '' ]; + for ( i = 0; i < childHtmlList.length; i++ ) { + var className = 'cke_dialog_ui_hbox_child', + styles = []; + if ( i === 0 ) { + className = 'cke_dialog_ui_hbox_first'; + } + if ( i == childHtmlList.length - 1 ) { + className = 'cke_dialog_ui_hbox_last'; + } + + html.push( ' 0 ) { + html.push( 'style="' + styles.join( '; ' ) + '" ' ); + } + html.push( '>', childHtmlList[ i ], '' ); + } + html.push( '' ); + return html.join( '' ); + }; + + var attribs = { role: 'presentation' }; + elementDefinition && elementDefinition.align && ( attribs.align = elementDefinition.align ); + + CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type: 'hbox' }, htmlList, 'table', styles, attribs, innerHTML ); + }, + + /** + * Vertical layout box for dialog UI elements. + * + * @class CKEDITOR.ui.dialog.vbox + * @extends CKEDITOR.ui.dialog.hbox + * @constructor Creates a vbox class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog object. + * @param {Array} childObjList + * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. + * @param {Array} childHtmlList + * Array of HTML code that correspond to the HTML output of all the + * objects in childObjList. + * @param {Array} htmlList Array of HTML code that this element will output to. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `width` (Optional) The width of the layout. + * * `heights` (Optional) The heights of individual cells. + * * `align` (Optional) The alignment of the layout. + * * `padding` (Optional) The padding width inside child cells. + * * `expand` (Optional) Whether the layout should expand + * vertically to fill its container. + */ + vbox: function( dialog, childObjList, childHtmlList, htmlList, elementDefinition ) { + if ( arguments.length < 3 ) + return; + + this._ || ( this._ = {} ); + + var children = this._.children = childObjList, + width = elementDefinition && elementDefinition.width || null, + heights = elementDefinition && elementDefinition.heights || null; + /** @ignore */ + var innerHTML = function() { + var html = [ '' ); + for ( var i = 0; i < childHtmlList.length; i++ ) { + var styles = []; + html.push( '' ); + } + html.push( '
    0 ) + html.push( 'style="', styles.join( '; ' ), '" ' ); + html.push( ' class="cke_dialog_ui_vbox_child">', childHtmlList[ i ], '
    ' ); + return html.join( '' ); + }; + CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type: 'vbox' }, htmlList, 'div', null, { role: 'presentation' }, innerHTML ); + } + }; + } )(); + + /** @class CKEDITOR.ui.dialog.uiElement */ + CKEDITOR.ui.dialog.uiElement.prototype = { + /** + * Gets the root DOM element of this dialog UI object. + * + * uiElement.getElement().hide(); + * + * @returns {CKEDITOR.dom.element} Root DOM element of UI object. + */ + getElement: function() { + return CKEDITOR.document.getById( this.domId ); + }, + + /** + * Gets the DOM element that the user inputs values. + * + * This function is used by {@link #setValue}, {@link #getValue} and {@link #focus}. It should + * be overrided in child classes where the input element isn't the root + * element. + * + * var rawValue = textInput.getInputElement().$.value; + * + * @returns {CKEDITOR.dom.element} The element where the user input values. + */ + getInputElement: function() { + return this.getElement(); + }, + + /** + * Gets the parent dialog object containing this UI element. + * + * var dialog = uiElement.getDialog(); + * + * @returns {CKEDITOR.dialog} Parent dialog object. + */ + getDialog: function() { + return this._.dialog; + }, + + /** + * Sets the value of this dialog UI object. + * + * uiElement.setValue( 'Dingo' ); + * + * @chainable + * @param {Object} value The new value. + * @param {Boolean} noChangeEvent Internal commit, to supress `change` event on this element. + */ + setValue: function( value, noChangeEvent ) { + this.getInputElement().setValue( value ); + !noChangeEvent && this.fire( 'change', { value: value } ); + return this; + }, + + /** + * Gets the current value of this dialog UI object. + * + * var myValue = uiElement.getValue(); + * + * @returns {Object} The current value. + */ + getValue: function() { + return this.getInputElement().getValue(); + }, + + /** + * Tells whether the UI object's value has changed. + * + * if ( uiElement.isChanged() ) + * confirm( 'Value changed! Continue?' ); + * + * @returns {Boolean} `true` if changed, `false` if not changed. + */ + isChanged: function() { + // Override in input classes. + return false; + }, + + /** + * Selects the parent tab of this element. Usually called by focus() or overridden focus() methods. + * + * focus : function() { + * this.selectParentTab(); + * // do something else. + * } + * + * @chainable + */ + selectParentTab: function() { + var element = this.getInputElement(), + cursor = element, + tabId; + while ( ( cursor = cursor.getParent() ) && cursor.$.className.search( 'cke_dialog_page_contents' ) == -1 ) { + + } + + // Some widgets don't have parent tabs (e.g. OK and Cancel buttons). + if ( !cursor ) + return this; + + tabId = cursor.getAttribute( 'name' ); + // Avoid duplicate select. + if ( this._.dialog._.currentTabId != tabId ) + this._.dialog.selectPage( tabId ); + return this; + }, + + /** + * Puts the focus to the UI object. Switches tabs if the UI object isn't in the active tab page. + * + * uiElement.focus(); + * + * @chainable + */ + focus: function() { + this.selectParentTab().getInputElement().focus(); + return this; + }, + + /** + * Registers the `on*` event handlers defined in the element definition. + * + * The default behavior of this function is: + * + * 1. If the on* event is defined in the class's eventProcesors list, + * then the registration is delegated to the corresponding function + * in the eventProcessors list. + * 2. If the on* event is not defined in the eventProcessors list, then + * register the event handler under the corresponding DOM event of + * the UI element's input DOM element (as defined by the return value + * of {@link #getInputElement}). + * + * This function is only called at UI element instantiation, but can + * be overridded in child classes if they require more flexibility. + * + * @chainable + * @param {CKEDITOR.dialog.definition.uiElement} definition The UI element + * definition. + */ + registerEvents: function( definition ) { + var regex = /^on([A-Z]\w+)/, + match; + + var registerDomEvent = function( uiElement, dialog, eventName, func ) { + dialog.on( 'load', function() { + uiElement.getInputElement().on( eventName, func, uiElement ); + } ); + }; + + for ( var i in definition ) { + if ( !( match = i.match( regex ) ) ) + continue; + if ( this.eventProcessors[ i ] ) + this.eventProcessors[ i ].call( this, this._.dialog, definition[ i ] ); + else + registerDomEvent( this, this._.dialog, match[ 1 ].toLowerCase(), definition[ i ] ); + } + + return this; + }, + + /** + * The event processor list used by + * {@link CKEDITOR.ui.dialog.uiElement#getInputElement} at UI element + * instantiation. The default list defines three `on*` events: + * + * 1. `onLoad` - Called when the element's parent dialog opens for the + * first time. + * 2. `onShow` - Called whenever the element's parent dialog opens. + * 3. `onHide` - Called whenever the element's parent dialog closes. + * + * // This connects the 'click' event in CKEDITOR.ui.dialog.button to onClick + * // handlers in the UI element's definitions. + * CKEDITOR.ui.dialog.button.eventProcessors = CKEDITOR.tools.extend( {}, + * CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors, + * { onClick : function( dialog, func ) { this.on( 'click', func ); } }, + * true + * ); + * + * @property {Object} + */ + eventProcessors: { + onLoad: function( dialog, func ) { + dialog.on( 'load', func, this ); + }, + + onShow: function( dialog, func ) { + dialog.on( 'show', func, this ); + }, + + onHide: function( dialog, func ) { + dialog.on( 'hide', func, this ); + } + }, + + /** + * The default handler for a UI element's access key down event, which + * tries to put focus to the UI element. + * + * Can be overridded in child classes for more sophisticaed behavior. + * + * @param {CKEDITOR.dialog} dialog The parent dialog object. + * @param {String} key The key combination pressed. Since access keys + * are defined to always include the `CTRL` key, its value should always + * include a `'CTRL+'` prefix. + */ + accessKeyDown: function() { + this.focus(); + }, + + /** + * The default handler for a UI element's access key up event, which + * does nothing. + * + * Can be overridded in child classes for more sophisticated behavior. + * + * @param {CKEDITOR.dialog} dialog The parent dialog object. + * @param {String} key The key combination pressed. Since access keys + * are defined to always include the `CTRL` key, its value should always + * include a `'CTRL+'` prefix. + */ + accessKeyUp: function() {}, + + /** + * Disables a UI element. + */ + disable: function() { + var element = this.getElement(), + input = this.getInputElement(); + input.setAttribute( 'disabled', 'true' ); + element.addClass( 'cke_disabled' ); + }, + + /** + * Enables a UI element. + */ + enable: function() { + var element = this.getElement(), + input = this.getInputElement(); + input.removeAttribute( 'disabled' ); + element.removeClass( 'cke_disabled' ); + }, + + /** + * Determines whether an UI element is enabled or not. + * + * @returns {Boolean} Whether the UI element is enabled. + */ + isEnabled: function() { + return !this.getElement().hasClass( 'cke_disabled' ); + }, + + /** + * Determines whether an UI element is visible or not. + * + * @returns {Boolean} Whether the UI element is visible. + */ + isVisible: function() { + return this.getInputElement().isVisible(); + }, + + /** + * Determines whether an UI element is focus-able or not. + * Focus-able is defined as being both visible and enabled. + * + * @returns {Boolean} Whether the UI element can be focused. + */ + isFocusable: function() { + if ( !this.isEnabled() || !this.isVisible() ) + return false; + return true; + } + }; + + /** @class CKEDITOR.ui.dialog.hbox */ + CKEDITOR.ui.dialog.hbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement(), { + /** + * Gets a child UI element inside this container. + * + * var checkbox = hbox.getChild( [0,1] ); + * checkbox.setValue( true ); + * + * @param {Array/Number} indices An array or a single number to indicate the child's + * position in the container's descendant tree. Omit to get all the children in an array. + * @returns {Array/CKEDITOR.ui.dialog.uiElement} Array of all UI elements in the container + * if no argument given, or the specified UI element if indices is given. + */ + getChild: function( indices ) { + // If no arguments, return a clone of the children array. + if ( arguments.length < 1 ) + return this._.children.concat(); + + // If indices isn't array, make it one. + if ( !indices.splice ) + indices = [ indices ]; + + // Retrieve the child element according to tree position. + if ( indices.length < 2 ) + return this._.children[ indices[ 0 ] ]; + else + return ( this._.children[ indices[ 0 ] ] && this._.children[ indices[ 0 ] ].getChild ) ? this._.children[ indices[ 0 ] ].getChild( indices.slice( 1, indices.length ) ) : null; + } + }, true ); + + CKEDITOR.ui.dialog.vbox.prototype = new CKEDITOR.ui.dialog.hbox(); + + ( function() { + var commonBuilder = { + build: function( dialog, elementDefinition, output ) { + var children = elementDefinition.children, + child, + childHtmlList = [], + childObjList = []; + for ( var i = 0; + ( i < children.length && ( child = children[ i ] ) ); i++ ) { + var childHtml = []; + childHtmlList.push( childHtml ); + childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) ); + } + return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, childObjList, childHtmlList, output, elementDefinition ); + } + }; + + CKEDITOR.dialog.addUIElement( 'hbox', commonBuilder ); + CKEDITOR.dialog.addUIElement( 'vbox', commonBuilder ); + } )(); + + /** + * Generic dialog command. It opens a specific dialog when executed. + * + * // Register the "link" command, which opens the "link" dialog. + * editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) ); + * + * @class + * @constructor Creates a dialogCommand class instance. + * @extends CKEDITOR.commandDefinition + * @param {String} dialogName The name of the dialog to open when executing + * this command. + * @param {Object} [ext] Additional command definition's properties. + */ + CKEDITOR.dialogCommand = function( dialogName, ext ) { + this.dialogName = dialogName; + CKEDITOR.tools.extend( this, ext, true ); + }; + + CKEDITOR.dialogCommand.prototype = { + exec: function( editor ) { + editor.openDialog( this.dialogName ); + }, + + // Dialog commands just open a dialog ui, thus require no undo logic, + // undo support should dedicate to specific dialog implementation. + canUndo: false, + + editorFocus: 1 + }; + + ( function() { + var notEmptyRegex = /^([a]|[^a])+$/, + integerRegex = /^\d*$/, + numberRegex = /^\d*(?:\.\d+)?$/, + htmlLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/, + cssLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i, + inlineStyleRegex = /^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/; + + CKEDITOR.VALIDATE_OR = 1; + CKEDITOR.VALIDATE_AND = 2; + + CKEDITOR.dialog.validate = { + functions: function() { + var args = arguments; + return function() { + /** + * It's important for validate functions to be able to accept the value + * as argument in addition to this.getValue(), so that it is possible to + * combine validate functions together to make more sophisticated + * validators. + */ + var value = this && this.getValue ? this.getValue() : args[ 0 ]; + + var msg, + relation = CKEDITOR.VALIDATE_AND, + functions = [], + i; + + for ( i = 0; i < args.length; i++ ) { + if ( typeof args[ i ] == 'function' ) + functions.push( args[ i ] ); + else + break; + } + + if ( i < args.length && typeof args[ i ] == 'string' ) { + msg = args[ i ]; + i++; + } + + if ( i < args.length && typeof args[ i ] == 'number' ) + relation = args[ i ]; + + var passed = ( relation == CKEDITOR.VALIDATE_AND ? true : false ); + for ( i = 0; i < functions.length; i++ ) { + if ( relation == CKEDITOR.VALIDATE_AND ) + passed = passed && functions[ i ]( value ); + else + passed = passed || functions[ i ]( value ); + } + + return !passed ? msg : true; + }; + }, + + regex: function( regex, msg ) { + /* + * Can be greatly shortened by deriving from functions validator if code size + * turns out to be more important than performance. + */ + return function() { + var value = this && this.getValue ? this.getValue() : arguments[ 0 ]; + return !regex.test( value ) ? msg : true; + }; + }, + + notEmpty: function( msg ) { + return this.regex( notEmptyRegex, msg ); + }, + + integer: function( msg ) { + return this.regex( integerRegex, msg ); + }, + + 'number': function( msg ) { + return this.regex( numberRegex, msg ); + }, + + 'cssLength': function( msg ) { + return this.functions( function( val ) { + return cssLengthRegex.test( CKEDITOR.tools.trim( val ) ); + }, msg ); + }, + + 'htmlLength': function( msg ) { + return this.functions( function( val ) { + return htmlLengthRegex.test( CKEDITOR.tools.trim( val ) ); + }, msg ); + }, + + 'inlineStyle': function( msg ) { + return this.functions( function( val ) { + return inlineStyleRegex.test( CKEDITOR.tools.trim( val ) ); + }, msg ); + }, + + equals: function( value, msg ) { + return this.functions( function( val ) { + return val == value; + }, msg ); + }, + + notEqual: function( value, msg ) { + return this.functions( function( val ) { + return val != value; + }, msg ); + } + }; + + CKEDITOR.on( 'instanceDestroyed', function( evt ) { + // Remove dialog cover on last instance destroy. + if ( CKEDITOR.tools.isEmpty( CKEDITOR.instances ) ) { + var currentTopDialog; + while ( ( currentTopDialog = CKEDITOR.dialog._.currentTop ) ) + currentTopDialog.hide(); + removeCovers(); + } + + var dialogs = evt.editor._.storedDialogs; + for ( var name in dialogs ) + dialogs[ name ].destroy(); + + } ); + + } )(); + + // Extend the CKEDITOR.editor class with dialog specific functions. + CKEDITOR.tools.extend( CKEDITOR.editor.prototype, { + /** + * Loads and opens a registered dialog. + * + * CKEDITOR.instances.editor1.openDialog( 'smiley' ); + * + * @member CKEDITOR.editor + * @param {String} dialogName The registered name of the dialog. + * @param {Function} callback The function to be invoked after dialog instance created. + * @returns {CKEDITOR.dialog} The dialog object corresponding to the dialog displayed. + * `null` if the dialog name is not registered. + * @see CKEDITOR.dialog#add + */ + openDialog: function( dialogName, callback ) { + var dialog = null, dialogDefinitions = CKEDITOR.dialog._.dialogDefinitions[ dialogName ]; + + if ( CKEDITOR.dialog._.currentTop === null ) + showCover( this ); + + // If the dialogDefinition is already loaded, open it immediately. + if ( typeof dialogDefinitions == 'function' ) { + var storedDialogs = this._.storedDialogs || ( this._.storedDialogs = {} ); + + dialog = storedDialogs[ dialogName ] || ( storedDialogs[ dialogName ] = new CKEDITOR.dialog( this, dialogName ) ); + + callback && callback.call( dialog, dialog ); + dialog.show(); + + } else if ( dialogDefinitions == 'failed' ) { + hideCover( this ); + throw new Error( '[CKEDITOR.dialog.openDialog] Dialog "' + dialogName + '" failed when loading definition.' ); + } else if ( typeof dialogDefinitions == 'string' ) { + + CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), + function() { + var dialogDefinition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ]; + // In case of plugin error, mark it as loading failed. + if ( typeof dialogDefinition != 'function' ) + CKEDITOR.dialog._.dialogDefinitions[ dialogName ] = 'failed'; + + this.openDialog( dialogName, callback ); + }, this, 0, 1 ); + } + + CKEDITOR.skin.loadPart( 'dialog' ); + + return dialog; + } + } ); +} )(); + +CKEDITOR.plugins.add( 'dialog', { + requires: 'dialogui', + init: function( editor ) { + editor.on( 'doubleclick', function( evt ) { + if ( evt.data.dialog ) + editor.openDialog( evt.data.dialog ); + }, null, null, 999 ); + } +} ); + +// Dialog related configurations. + +/** + * The color of the dialog background cover. It should be a valid CSS color string. + * + * config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)'; + * + * @cfg {String} [dialog_backgroundCoverColor='white'] + * @member CKEDITOR.config + */ + +/** + * The opacity of the dialog background cover. It should be a number within the + * range `[0.0, 1.0]`. + * + * config.dialog_backgroundCoverOpacity = 0.7; + * + * @cfg {Number} [dialog_backgroundCoverOpacity=0.5] + * @member CKEDITOR.config + */ + +/** + * If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened. + * + * config.dialog_startupFocusTab = true; + * + * @cfg {Boolean} [dialog_startupFocusTab=false] + * @member CKEDITOR.config + */ + +/** + * The distance of magnetic borders used in moving and resizing dialogs, + * measured in pixels. + * + * config.dialog_magnetDistance = 30; + * + * @cfg {Number} [dialog_magnetDistance=20] + * @member CKEDITOR.config + */ + +/** + * The guideline to follow when generating the dialog buttons. There are 3 possible options: + * + * * `'OS'` - the buttons will be displayed in the default order of the user's OS; + * * `'ltr'` - for Left-To-Right order; + * * `'rtl'` - for Right-To-Left order. + * + * Example: + * + * config.dialog_buttonsOrder = 'rtl'; + * + * @since 3.5 + * @cfg {String} [dialog_buttonsOrder='OS'] + * @member CKEDITOR.config + */ + +/** + * The dialog contents to removed. It's a string composed by dialog name and tab name with a colon between them. + * + * Separate each pair with semicolon (see example). + * + * **Note:** All names are case-sensitive. + * + * **Note:** Be cautious when specifying dialog tabs that are mandatory, + * like `'info'`, dialog functionality might be broken because of this! + * + * config.removeDialogTabs = 'flash:advanced;image:Link'; + * + * @since 3.5 + * @cfg {String} [removeDialogTabs=''] + * @member CKEDITOR.config + */ + +/** + * Tells if user should not be asked to confirm close, if any dialog field was modified. + * By default it is set to `false` meaning that the confirmation dialog will be shown. + * + * config.dialog_noConfirmCancel = true; + * + * @since 4.3 + * @cfg {Boolean} [dialog_noConfirmCancel=false] + * @member CKEDITOR.config + */ + +/** + * Event fired when a dialog definition is about to be used to create a dialog into + * an editor instance. This event makes it possible to customize the definition + * before creating it. + * + * Note that this event is called only the first time a specific dialog is + * opened. Successive openings will use the cached dialog, and this event will + * not get fired. + * + * @event dialogDefinition + * @member CKEDITOR + * @param {CKEDITOR.dialog.definition} data The dialog defination that + * is being loaded. + * @param {CKEDITOR.editor} editor The editor instance that will use the dialog. + */ + +/** + * Event fired when a tab is going to be selected in a dialog. + * + * @event selectPage + * @member CKEDITOR.dialog + * @param data + * @param {String} data.page The id of the page that it's gonna be selected. + * @param {String} data.currentPage The id of the current page. + */ + +/** + * Event fired when the user tries to dismiss a dialog. + * + * @event cancel + * @member CKEDITOR.dialog + * @param data + * @param {Boolean} data.hide Whether the event should proceed or not. + */ + +/** + * Event fired when the user tries to confirm a dialog. + * + * @event ok + * @member CKEDITOR.dialog + * @param data + * @param {Boolean} data.hide Whether the event should proceed or not. + */ + +/** + * Event fired when a dialog is shown. + * + * @event show + * @member CKEDITOR.dialog + */ + +/** + * Event fired when a dialog is shown. + * + * @event dialogShow + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param {CKEDITOR.dialog} data The opened dialog instance. + */ + +/** + * Event fired when a dialog is hidden. + * + * @event hide + * @member CKEDITOR.dialog + */ + +/** + * Event fired when a dialog is hidden. + * + * @event dialogHide + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param {CKEDITOR.dialog} data The hidden dialog instance. + */ + +/** + * Event fired when a dialog is being resized. The event is fired on + * both the {@link CKEDITOR.dialog} object and the dialog instance + * since 3.5.3, previously it was only available in the global object. + * + * @static + * @event resize + * @member CKEDITOR.dialog + * @param data + * @param {CKEDITOR.dialog} data.dialog The dialog being resized (if + * it is fired on the dialog itself, this parameter is not sent). + * @param {String} data.skin The skin name. + * @param {Number} data.width The new width. + * @param {Number} data.height The new height. + */ + +/** + * Event fired when a dialog is being resized. The event is fired on + * both the {@link CKEDITOR.dialog} object and the dialog instance + * since 3.5.3, previously it was only available in the global object. + * + * @since 3.5 + * @event resize + * @member CKEDITOR.dialog + * @param data + * @param {Number} data.width The new width. + * @param {Number} data.height The new height. + */ + +/** + * Event fired when the dialog state changes, usually by {@link CKEDITOR.dialog#setState}. + * + * @since 4.5 + * @event state + * @member CKEDITOR.dialog + * @param data + * @param {Number} data The new state. Either {@link CKEDITOR#DIALOG_STATE_IDLE} or {@link CKEDITOR#DIALOG_STATE_BUSY}. + */ diff --git a/sources/plugins/dialog/samples/assets/my_dialog.js b/sources/plugins/dialog/samples/assets/my_dialog.js new file mode 100644 index 0000000..6239dea --- /dev/null +++ b/sources/plugins/dialog/samples/assets/my_dialog.js @@ -0,0 +1,49 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +CKEDITOR.dialog.add( 'myDialog', function() { + return { + title: 'My Dialog', + minWidth: 400, + minHeight: 200, + contents: [ + { + id: 'tab1', + label: 'First Tab', + title: 'First Tab', + elements: [ + { + id: 'input1', + type: 'text', + label: 'Text Field' + }, + { + id: 'select1', + type: 'select', + label: 'Select Field', + items: [ + [ 'option1', 'value1' ], + [ 'option2', 'value2' ] + ] + } + ] + }, + { + id: 'tab2', + label: 'Second Tab', + title: 'Second Tab', + elements: [ + { + id: 'button1', + type: 'button', + label: 'Button Field' + } + ] + } + ] + }; +} ); + +// %LEAVE_UNMINIFIED% %REMOVE_LINE% diff --git a/sources/plugins/dialog/samples/dialog.html b/sources/plugins/dialog/samples/dialog.html new file mode 100644 index 0000000..0f22a1a --- /dev/null +++ b/sources/plugins/dialog/samples/dialog.html @@ -0,0 +1,190 @@ + + + + + + Using API to Customize Dialog Windows — CKEditor Sample + + + + + + + + + +

    + CKEditor Samples » Using CKEditor Dialog API +

    +
    + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
    +
    +

    + This sample shows how to use the + CKEditor Dialog API + to customize CKEditor dialog windows without changing the original editor code. + The following customizations are being done in the example below: +

    +

    + For details on how to create this setup check the source code of this sample page. +

    +
    +

    A custom dialog is added to the editors using the pluginsLoaded event, from an external dialog definition file:

    +
      +
    1. Creating a custom dialog window – "My Dialog" dialog window opened with the "My Dialog" toolbar button.
    2. +
    3. Creating a custom button – Add button to open the dialog with "My Dialog" toolbar button.
    4. +
    + + +

    The below editor modify the dialog definition of the above added dialog using the dialogDefinition event:

    +
      +
    1. Adding dialog tab – Add new tab "My Tab" to dialog window.
    2. +
    3. Removing a dialog window tab – Remove "Second Tab" page from the dialog window.
    4. +
    5. Adding dialog window fields – Add "My Custom Field" to the dialog window.
    6. +
    7. Removing dialog window field – Remove "Select Field" selection field from the dialog window.
    8. +
    9. Setting default values for dialog window fields – Set default value of "Text Field" text field.
    10. +
    11. Setup initial focus for dialog window – Put initial focus on "My Custom Field" text field.
    12. +
    + + + + + diff --git a/sources/plugins/dialogadvtab/plugin.js b/sources/plugins/dialogadvtab/plugin.js new file mode 100644 index 0000000..460b534 --- /dev/null +++ b/sources/plugins/dialogadvtab/plugin.js @@ -0,0 +1,196 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +( function() { + + function setupAdvParams( element ) { + var attrName = this.att; + + var value = element && element.hasAttribute( attrName ) && element.getAttribute( attrName ) || ''; + + if ( value !== undefined ) + this.setValue( value ); + } + + function commitAdvParams() { + // Dialogs may use different parameters in the commit list, so, by + // definition, we take the first CKEDITOR.dom.element available. + var element; + + for ( var i = 0; i < arguments.length; i++ ) { + if ( arguments[ i ] instanceof CKEDITOR.dom.element ) { + element = arguments[ i ]; + break; + } + } + + if ( element ) { + var attrName = this.att, + value = this.getValue(); + + if ( value ) + element.setAttribute( attrName, value ); + else + element.removeAttribute( attrName, value ); + } + } + + var defaultTabConfig = { id: 1, dir: 1, classes: 1, styles: 1 }; + + CKEDITOR.plugins.add( 'dialogadvtab', { + requires: 'dialog', + + // Returns allowed content rule for the content created by this plugin. + allowedContent: function( tabConfig ) { + if ( !tabConfig ) + tabConfig = defaultTabConfig; + + var allowedAttrs = []; + if ( tabConfig.id ) + allowedAttrs.push( 'id' ); + if ( tabConfig.dir ) + allowedAttrs.push( 'dir' ); + + var allowed = ''; + + if ( allowedAttrs.length ) + allowed += '[' + allowedAttrs.join( ',' ) + ']'; + + if ( tabConfig.classes ) + allowed += '(*)'; + if ( tabConfig.styles ) + allowed += '{*}'; + + return allowed; + }, + + // @param tabConfig + // id, dir, classes, styles + createAdvancedTab: function( editor, tabConfig, element ) { + if ( !tabConfig ) + tabConfig = defaultTabConfig; + + var lang = editor.lang.common; + + var result = { + id: 'advanced', + label: lang.advancedTab, + title: lang.advancedTab, + elements: [ { + type: 'vbox', + padding: 1, + children: [] + } ] + }; + + var contents = []; + + if ( tabConfig.id || tabConfig.dir ) { + if ( tabConfig.id ) { + contents.push( { + id: 'advId', + att: 'id', + type: 'text', + requiredContent: element ? element + '[id]' : null, + label: lang.id, + setup: setupAdvParams, + commit: commitAdvParams + } ); + } + + if ( tabConfig.dir ) { + contents.push( { + id: 'advLangDir', + att: 'dir', + type: 'select', + requiredContent: element ? element + '[dir]' : null, + label: lang.langDir, + 'default': '', + style: 'width:100%', + items: [ + [ lang.notSet, '' ], + [ lang.langDirLTR, 'ltr' ], + [ lang.langDirRTL, 'rtl' ] + ], + setup: setupAdvParams, + commit: commitAdvParams + } ); + } + + result.elements[ 0 ].children.push( { + type: 'hbox', + widths: [ '50%', '50%' ], + children: [].concat( contents ) + } ); + } + + if ( tabConfig.styles || tabConfig.classes ) { + contents = []; + + if ( tabConfig.styles ) { + contents.push( { + id: 'advStyles', + att: 'style', + type: 'text', + requiredContent: element ? element + '{cke-xyz}' : null, + label: lang.styles, + 'default': '', + + validate: CKEDITOR.dialog.validate.inlineStyle( lang.invalidInlineStyle ), + onChange: function() {}, + + getStyle: function( name, defaultValue ) { + var match = this.getValue().match( new RegExp( '(?:^|;)\\s*' + name + '\\s*:\\s*([^;]*)', 'i' ) ); + return match ? match[ 1 ] : defaultValue; + }, + + updateStyle: function( name, value ) { + var styles = this.getValue(); + + var tmp = editor.document.createElement( 'span' ); + tmp.setAttribute( 'style', styles ); + tmp.setStyle( name, value ); + styles = CKEDITOR.tools.normalizeCssText( tmp.getAttribute( 'style' ) ); + + this.setValue( styles, 1 ); + }, + + setup: setupAdvParams, + + commit: commitAdvParams + + } ); + } + + if ( tabConfig.classes ) { + contents.push( { + type: 'hbox', + widths: [ '45%', '55%' ], + children: [ { + id: 'advCSSClasses', + att: 'class', + type: 'text', + requiredContent: element ? element + '(cke-xyz)' : null, + label: lang.cssClasses, + 'default': '', + setup: setupAdvParams, + commit: commitAdvParams + + } ] + } ); + } + + result.elements[ 0 ].children.push( { + type: 'hbox', + widths: [ '50%', '50%' ], + children: [].concat( contents ) + } ); + } + + return result; + } + } ); + +} )(); diff --git a/sources/plugins/dialogui/plugin.js b/sources/plugins/dialogui/plugin.js new file mode 100644 index 0000000..cf91407 --- /dev/null +++ b/sources/plugins/dialogui/plugin.js @@ -0,0 +1,1530 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview The Dialog User Interface plugin. + */ + +CKEDITOR.plugins.add( 'dialogui', { + onLoad: function() { + + var initPrivateObject = function( elementDefinition ) { + this._ || ( this._ = {} ); + this._[ 'default' ] = this._.initValue = elementDefinition[ 'default' ] || ''; + this._.required = elementDefinition.required || false; + var args = [ this._ ]; + for ( var i = 1; i < arguments.length; i++ ) + args.push( arguments[ i ] ); + args.push( true ); + CKEDITOR.tools.extend.apply( CKEDITOR.tools, args ); + return this._; + }, + textBuilder = { + build: function( dialog, elementDefinition, output ) { + return new CKEDITOR.ui.dialog.textInput( dialog, elementDefinition, output ); + } + }, + commonBuilder = { + build: function( dialog, elementDefinition, output ) { + return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, elementDefinition, output ); + } + }, + containerBuilder = { + build: function( dialog, elementDefinition, output ) { + var children = elementDefinition.children, + child, + childHtmlList = [], + childObjList = []; + for ( var i = 0; + ( i < children.length && ( child = children[ i ] ) ); i++ ) { + var childHtml = []; + childHtmlList.push( childHtml ); + childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) ); + } + return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, childObjList, childHtmlList, output, elementDefinition ); + } + }, + commonPrototype = { + isChanged: function() { + return this.getValue() != this.getInitValue(); + }, + + reset: function( noChangeEvent ) { + this.setValue( this.getInitValue(), noChangeEvent ); + }, + + setInitValue: function() { + this._.initValue = this.getValue(); + }, + + resetInitValue: function() { + this._.initValue = this._[ 'default' ]; + }, + + getInitValue: function() { + return this._.initValue; + } + }, + commonEventProcessors = CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors, { + onChange: function( dialog, func ) { + if ( !this._.domOnChangeRegistered ) { + dialog.on( 'load', function() { + this.getInputElement().on( 'change', function() { + // Make sure 'onchange' doesn't get fired after dialog closed. (#5719) + if ( !dialog.parts.dialog.isVisible() ) + return; + + this.fire( 'change', { value: this.getValue() } ); + }, this ); + }, this ); + this._.domOnChangeRegistered = true; + } + + this.on( 'change', func ); + } + }, true ), + eventRegex = /^on([A-Z]\w+)/, + cleanInnerDefinition = function( def ) { + // An inner UI element should not have the parent's type, title or events. + for ( var i in def ) { + if ( eventRegex.test( i ) || i == 'title' || i == 'type' ) + delete def[ i ]; + } + return def; + }, + // @context {CKEDITOR.dialog.uiElement} UI element (textarea or textInput) + // @param {CKEDITOR.dom.event} evt + toggleBidiKeyUpHandler = function( evt ) { + var keystroke = evt.data.getKeystroke(); + + // ALT + SHIFT + Home for LTR direction. + if ( keystroke == CKEDITOR.SHIFT + CKEDITOR.ALT + 36 ) + this.setDirectionMarker( 'ltr' ); + + // ALT + SHIFT + End for RTL direction. + else if ( keystroke == CKEDITOR.SHIFT + CKEDITOR.ALT + 35 ) + this.setDirectionMarker( 'rtl' ); + }; + + CKEDITOR.tools.extend( CKEDITOR.ui.dialog, { + /** + * Base class for all dialog window elements with a textual label on the left. + * + * @class CKEDITOR.ui.dialog.labeledElement + * @extends CKEDITOR.ui.dialog.uiElement + * @constructor Creates a labeledElement class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `label` (Required) The label string. + * * `labelLayout` (Optional) Put 'horizontal' here if the + * label element is to be laid out horizontally. Otherwise a vertical + * layout will be used. + * * `widths` (Optional) This applies only to horizontal + * layouts — a two-element array of lengths to specify the widths of the + * label and the content element. + * * `role` (Optional) Value for the `role` attribute. + * * `includeLabel` (Optional) If set to `true`, the `aria-labelledby` attribute + * will be included. + * + * @param {Array} htmlList The list of HTML code to output to. + * @param {Function} contentHtml + * A function returning the HTML code string to be added inside the content + * cell. + */ + labeledElement: function( dialog, elementDefinition, htmlList, contentHtml ) { + if ( arguments.length < 4 ) + return; + + var _ = initPrivateObject.call( this, elementDefinition ); + _.labelId = CKEDITOR.tools.getNextId() + '_label'; + this._.children = []; + + var innerHTML = function() { + var html = [], + requiredClass = elementDefinition.required ? ' cke_required' : ''; + if ( elementDefinition.labelLayout != 'horizontal' ) { + html.push( + '', + '' ); + } else { + var hboxDefinition = { + type: 'hbox', + widths: elementDefinition.widths, + padding: 0, + children: [ { + type: 'html', + html: '' + }, + { + type: 'html', + html: '' + + contentHtml.call( this, dialog, elementDefinition ) + + '' + } ] + }; + CKEDITOR.dialog._.uiElementBuilders.hbox.build( dialog, hboxDefinition, html ); + } + return html.join( '' ); + }; + var attributes = { role: elementDefinition.role || 'presentation' }; + + if ( elementDefinition.includeLabel ) + attributes[ 'aria-labelledby' ] = _.labelId; + + CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'div', null, attributes, innerHTML ); + }, + + /** + * A text input with a label. This UI element class represents both the + * single-line text inputs and password inputs in dialog boxes. + * + * @class CKEDITOR.ui.dialog.textInput + * @extends CKEDITOR.ui.dialog.labeledElement + * @constructor Creates a textInput class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `default` (Optional) The default value. + * * `validate` (Optional) The validation function. + * * `maxLength` (Optional) The maximum length of text box contents. + * * `size` (Optional) The size of the text box. This is + * usually overridden by the size defined by the skin, though. + * + * @param {Array} htmlList List of HTML code to output to. + */ + textInput: function( dialog, elementDefinition, htmlList ) { + if ( arguments.length < 3 ) + return; + + initPrivateObject.call( this, elementDefinition ); + var domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textInput', + attributes = { 'class': 'cke_dialog_ui_input_' + elementDefinition.type, id: domId, type: elementDefinition.type }; + + // Set the validator, if any. + if ( elementDefinition.validate ) + this.validate = elementDefinition.validate; + + // Set the max length and size. + if ( elementDefinition.maxLength ) + attributes.maxlength = elementDefinition.maxLength; + if ( elementDefinition.size ) + attributes.size = elementDefinition.size; + + if ( elementDefinition.inputStyle ) + attributes.style = elementDefinition.inputStyle; + + // If user presses Enter in a text box, it implies clicking OK for the dialog. + var me = this, + keyPressedOnMe = false; + dialog.on( 'load', function() { + me.getInputElement().on( 'keydown', function( evt ) { + if ( evt.data.getKeystroke() == 13 ) + keyPressedOnMe = true; + } ); + + // Lower the priority this 'keyup' since 'ok' will close the dialog.(#3749) + me.getInputElement().on( 'keyup', function( evt ) { + if ( evt.data.getKeystroke() == 13 && keyPressedOnMe ) { + dialog.getButton( 'ok' ) && setTimeout( function() { + dialog.getButton( 'ok' ).click(); + }, 0 ); + keyPressedOnMe = false; + } + + if ( me.bidi ) + toggleBidiKeyUpHandler.call( me, evt ); + }, null, null, 1000 ); + } ); + + var innerHTML = function() { + // IE BUG: Text input fields in IE at 100% would exceed a or inline + // container's width, so need to wrap it inside a
    . + var html = [ '' ); + return html.join( '' ); + }; + CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); + }, + + /** + * A text area with a label at the top or on the left. + * + * @class CKEDITOR.ui.dialog.textarea + * @extends CKEDITOR.ui.dialog.labeledElement + * @constructor Creates a textarea class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * + * The element definition. Accepted fields: + * + * * `rows` (Optional) The number of rows displayed. + * Defaults to 5 if not defined. + * * `cols` (Optional) The number of cols displayed. + * Defaults to 20 if not defined. Usually overridden by skins. + * * `default` (Optional) The default value. + * * `validate` (Optional) The validation function. + * + * @param {Array} htmlList List of HTML code to output to. + */ + textarea: function( dialog, elementDefinition, htmlList ) { + if ( arguments.length < 3 ) + return; + + initPrivateObject.call( this, elementDefinition ); + var me = this, + domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textarea', + attributes = {}; + + if ( elementDefinition.validate ) + this.validate = elementDefinition.validate; + + // Generates the essential attributes for the textarea tag. + attributes.rows = elementDefinition.rows || 5; + attributes.cols = elementDefinition.cols || 20; + + attributes[ 'class' ] = 'cke_dialog_ui_input_textarea ' + ( elementDefinition[ 'class' ] || '' ); + + if ( typeof elementDefinition.inputStyle != 'undefined' ) + attributes.style = elementDefinition.inputStyle; + + if ( elementDefinition.dir ) + attributes.dir = elementDefinition.dir; + + if ( me.bidi ) { + dialog.on( 'load', function() { + me.getInputElement().on( 'keyup', toggleBidiKeyUpHandler ); + }, me ); + } + + var innerHTML = function() { + attributes[ 'aria-labelledby' ] = this._.labelId; + this._.required && ( attributes[ 'aria-required' ] = this._.required ); + var html = [ '' ); + return html.join( '' ); + }; + CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); + }, + + /** + * A single checkbox with a label on the right. + * + * @class CKEDITOR.ui.dialog.checkbox + * @extends CKEDITOR.ui.dialog.uiElement + * @constructor Creates a checkbox class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `checked` (Optional) Whether the checkbox is checked + * on instantiation. Defaults to `false`. + * * `validate` (Optional) The validation function. + * * `label` (Optional) The checkbox label. + * + * @param {Array} htmlList List of HTML code to output to. + */ + checkbox: function( dialog, elementDefinition, htmlList ) { + if ( arguments.length < 3 ) + return; + + var _ = initPrivateObject.call( this, elementDefinition, { 'default': !!elementDefinition[ 'default' ] } ); + + if ( elementDefinition.validate ) + this.validate = elementDefinition.validate; + + var innerHTML = function() { + var myDefinition = CKEDITOR.tools.extend( + {}, + elementDefinition, + { + id: elementDefinition.id ? elementDefinition.id + '_checkbox' : CKEDITOR.tools.getNextId() + '_checkbox' + }, + true + ), + html = []; + + var labelId = CKEDITOR.tools.getNextId() + '_label'; + var attributes = { 'class': 'cke_dialog_ui_checkbox_input', type: 'checkbox', 'aria-labelledby': labelId }; + cleanInnerDefinition( myDefinition ); + if ( elementDefinition[ 'default' ] ) + attributes.checked = 'checked'; + + if ( typeof myDefinition.inputStyle != 'undefined' ) + myDefinition.style = myDefinition.inputStyle; + + _.checkbox = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'input', null, attributes ); + html.push( + ' ' + ); + return html.join( '' ); + }; + + CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'span', null, null, innerHTML ); + }, + + /** + * A group of radio buttons. + * + * @class CKEDITOR.ui.dialog.radio + * @extends CKEDITOR.ui.dialog.labeledElement + * @constructor Creates a radio class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `default` (Required) The default value. + * * `validate` (Optional) The validation function. + * * `items` (Required) An array of options. Each option + * is a one- or two-item array of format `[ 'Description', 'Value' ]`. If `'Value'` + * is missing, then the value would be assumed to be the same as the description. + * + * @param {Array} htmlList List of HTML code to output to. + */ + radio: function( dialog, elementDefinition, htmlList ) { + if ( arguments.length < 3 ) + return; + + initPrivateObject.call( this, elementDefinition ); + + if ( !this._[ 'default' ] ) + this._[ 'default' ] = this._.initValue = elementDefinition.items[ 0 ][ 1 ]; + + if ( elementDefinition.validate ) + this.validate = elementDefinition.validate; + + var children = [], + me = this; + + var innerHTML = function() { + var inputHtmlList = [], + html = [], + commonName = ( elementDefinition.id ? elementDefinition.id : CKEDITOR.tools.getNextId() ) + '_radio'; + + for ( var i = 0; i < elementDefinition.items.length; i++ ) { + var item = elementDefinition.items[ i ], + title = item[ 2 ] !== undefined ? item[ 2 ] : item[ 0 ], + value = item[ 1 ] !== undefined ? item[ 1 ] : item[ 0 ], + inputId = CKEDITOR.tools.getNextId() + '_radio_input', + labelId = inputId + '_label', + + inputDefinition = CKEDITOR.tools.extend( {}, elementDefinition, { + id: inputId, + title: null, + type: null + }, true ), + + labelDefinition = CKEDITOR.tools.extend( {}, inputDefinition, { + title: title + }, true ), + + inputAttributes = { + type: 'radio', + 'class': 'cke_dialog_ui_radio_input', + name: commonName, + value: value, + 'aria-labelledby': labelId + }, + + inputHtml = []; + + if ( me._[ 'default' ] == value ) + inputAttributes.checked = 'checked'; + + cleanInnerDefinition( inputDefinition ); + cleanInnerDefinition( labelDefinition ); + + if ( typeof inputDefinition.inputStyle != 'undefined' ) + inputDefinition.style = inputDefinition.inputStyle; + + // Make inputs of radio type focusable (#10866). + inputDefinition.keyboardFocusable = true; + + children.push( new CKEDITOR.ui.dialog.uiElement( dialog, inputDefinition, inputHtml, 'input', null, inputAttributes ) ); + + inputHtml.push( ' ' ); + + new CKEDITOR.ui.dialog.uiElement( dialog, labelDefinition, inputHtml, 'label', null, { + id: labelId, + 'for': inputAttributes.id + }, item[ 0 ] ); + + inputHtmlList.push( inputHtml.join( '' ) ); + } + + new CKEDITOR.ui.dialog.hbox( dialog, children, inputHtmlList, html ); + + return html.join( '' ); + }; + + // Adding a role="radiogroup" to definition used for wrapper. + elementDefinition.role = 'radiogroup'; + elementDefinition.includeLabel = true; + + CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); + this._.children = children; + }, + + /** + * A button with a label inside. + * + * @class CKEDITOR.ui.dialog.button + * @extends CKEDITOR.ui.dialog.uiElement + * @constructor Creates a button class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `label` (Required) The button label. + * * `disabled` (Optional) Set to `true` if you want the + * button to appear in the disabled state. + * + * @param {Array} htmlList List of HTML code to output to. + */ + button: function( dialog, elementDefinition, htmlList ) { + if ( !arguments.length ) + return; + + if ( typeof elementDefinition == 'function' ) + elementDefinition = elementDefinition( dialog.getParentEditor() ); + + initPrivateObject.call( this, elementDefinition, { disabled: elementDefinition.disabled || false } ); + + // Add OnClick event to this input. + CKEDITOR.event.implementOn( this ); + + var me = this; + + // Register an event handler for processing button clicks. + dialog.on( 'load', function() { + var element = this.getElement(); + + ( function() { + element.on( 'click', function( evt ) { + me.click(); + // #9958 + evt.data.preventDefault(); + } ); + + element.on( 'keydown', function( evt ) { + if ( evt.data.getKeystroke() in { 32: 1 } ) { + me.click(); + evt.data.preventDefault(); + } + } ); + } )(); + + element.unselectable(); + }, this ); + + var outerDefinition = CKEDITOR.tools.extend( {}, elementDefinition ); + delete outerDefinition.style; + + var labelId = CKEDITOR.tools.getNextId() + '_label'; + CKEDITOR.ui.dialog.uiElement.call( this, dialog, outerDefinition, htmlList, 'a', null, { + style: elementDefinition.style, + href: 'javascript:void(0)', // jshint ignore:line + title: elementDefinition.label, + hidefocus: 'true', + 'class': elementDefinition[ 'class' ], + role: 'button', + 'aria-labelledby': labelId + }, '' + + CKEDITOR.tools.htmlEncode( elementDefinition.label ) + + '' ); + }, + + /** + * A select box. + * + * @class CKEDITOR.ui.dialog.select + * @extends CKEDITOR.ui.dialog.uiElement + * @constructor Creates a button class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `default` (Required) The default value. + * * `validate` (Optional) The validation function. + * * `items` (Required) An array of options. Each option + * is a one- or two-item array of format `[ 'Description', 'Value' ]`. If `'Value'` + * is missing, then the value would be assumed to be the same as the + * description. + * * `multiple` (Optional) Set this to `true` if you would like + * to have a multiple-choice select box. + * * `size` (Optional) The number of items to display in + * the select box. + * + * @param {Array} htmlList List of HTML code to output to. + */ + select: function( dialog, elementDefinition, htmlList ) { + if ( arguments.length < 3 ) + return; + + var _ = initPrivateObject.call( this, elementDefinition ); + + if ( elementDefinition.validate ) + this.validate = elementDefinition.validate; + + _.inputId = CKEDITOR.tools.getNextId() + '_select'; + + var innerHTML = function() { + var myDefinition = CKEDITOR.tools.extend( + {}, + elementDefinition, + { + id: ( elementDefinition.id ? elementDefinition.id + '_select' : CKEDITOR.tools.getNextId() + '_select' ) + }, + true + ), + html = [], + innerHTML = [], + attributes = { 'id': _.inputId, 'class': 'cke_dialog_ui_input_select', 'aria-labelledby': this._.labelId }; + + html.push( '' ); + + return html.join( '' ); + }; + + CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); + }, + + /** + * A file upload input. + * + * @class CKEDITOR.ui.dialog.file + * @extends CKEDITOR.ui.dialog.labeledElement + * @constructor Creates a file class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `validate` (Optional) The validation function. + * + * @param {Array} htmlList List of HTML code to output to. + */ + file: function( dialog, elementDefinition, htmlList ) { + if ( arguments.length < 3 ) + return; + + if ( elementDefinition[ 'default' ] === undefined ) + elementDefinition[ 'default' ] = ''; + + var _ = CKEDITOR.tools.extend( initPrivateObject.call( this, elementDefinition ), { definition: elementDefinition, buttons: [] } ); + + if ( elementDefinition.validate ) + this.validate = elementDefinition.validate; + + /** @ignore */ + var innerHTML = function() { + _.frameId = CKEDITOR.tools.getNextId() + '_fileInput'; + + var html = [ + '' ); + + return html.join( '' ); + }; + + // IE BUG: Parent container does not resize to contain the iframe automatically. + dialog.on( 'load', function() { + var iframe = CKEDITOR.document.getById( _.frameId ), + contentDiv = iframe.getParent(); + contentDiv.addClass( 'cke_dialog_ui_input_file' ); + } ); + + CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML ); + }, + + /** + * A button for submitting the file in a file upload input. + * + * @class CKEDITOR.ui.dialog.fileButton + * @extends CKEDITOR.ui.dialog.button + * @constructor Creates a fileButton class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `for` (Required) The file input's page and element ID + * to associate with, in a two-item array format: `[ 'page_id', 'element_id' ]`. + * * `validate` (Optional) The validation function. + * + * @param {Array} htmlList List of HTML code to output to. + */ + fileButton: function( dialog, elementDefinition, htmlList ) { + var me = this; + if ( arguments.length < 3 ) + return; + + initPrivateObject.call( this, elementDefinition ); + + if ( elementDefinition.validate ) + this.validate = elementDefinition.validate; + + var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition ); + var onClick = myDefinition.onClick; + myDefinition.className = ( myDefinition.className ? myDefinition.className + ' ' : '' ) + 'cke_dialog_ui_button'; + myDefinition.onClick = function( evt ) { + var target = elementDefinition[ 'for' ]; // [ pageId, elementId ] + if ( !onClick || onClick.call( this, evt ) !== false ) { + dialog.getContentElement( target[ 0 ], target[ 1 ] ).submit(); + this.disable(); + } + }; + + dialog.on( 'load', function() { + dialog.getContentElement( elementDefinition[ 'for' ][ 0 ], elementDefinition[ 'for' ][ 1 ] )._.buttons.push( me ); + } ); + + CKEDITOR.ui.dialog.button.call( this, dialog, myDefinition, htmlList ); + }, + + html: ( function() { + var myHtmlRe = /^\s*<[\w:]+\s+([^>]*)?>/, + theirHtmlRe = /^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/, + emptyTagRe = /\/$/; + /** + * A dialog window element made from raw HTML code. + * + * @class CKEDITOR.ui.dialog.html + * @extends CKEDITOR.ui.dialog.uiElement + * @constructor Creates a html class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition Element definition. + * Accepted fields: + * + * * `html` (Required) HTML code of this element. + * + * @param {Array} htmlList List of HTML code to be added to the dialog's content area. + */ + return function( dialog, elementDefinition, htmlList ) { + if ( arguments.length < 3 ) + return; + + var myHtmlList = [], + myHtml, + theirHtml = elementDefinition.html, + myMatch, theirMatch; + + // If the HTML input doesn't contain any tags at the beginning, add a tag around it. + if ( theirHtml.charAt( 0 ) != '<' ) + theirHtml = '' + theirHtml + ''; + + // Look for focus function in definition. + var focus = elementDefinition.focus; + if ( focus ) { + var oldFocus = this.focus; + this.focus = function() { + ( typeof focus == 'function' ? focus : oldFocus ).call( this ); + this.fire( 'focus' ); + }; + if ( elementDefinition.isFocusable ) { + var oldIsFocusable = this.isFocusable; + this.isFocusable = oldIsFocusable; + } + this.keyboardFocusable = true; + } + + CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, myHtmlList, 'span', null, null, '' ); + + // Append the attributes created by the uiElement call to the real HTML. + myHtml = myHtmlList.join( '' ); + myMatch = myHtml.match( myHtmlRe ); + theirMatch = theirHtml.match( theirHtmlRe ) || [ '', '', '' ]; + + if ( emptyTagRe.test( theirMatch[ 1 ] ) ) { + theirMatch[ 1 ] = theirMatch[ 1 ].slice( 0, -1 ); + theirMatch[ 2 ] = '/' + theirMatch[ 2 ]; + } + + htmlList.push( [ theirMatch[ 1 ], ' ', myMatch[ 1 ] || '', theirMatch[ 2 ] ].join( '' ) ); + }; + } )(), + + /** + * Form fieldset for grouping dialog UI elements. + * + * @class CKEDITOR.ui.dialog.fieldset + * @extends CKEDITOR.ui.dialog.uiElement + * @constructor Creates a fieldset class instance. + * @param {CKEDITOR.dialog} dialog Parent dialog window object. + * @param {Array} childObjList + * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container. + * @param {Array} childHtmlList Array of HTML code that corresponds to the HTML output of all the + * objects in childObjList. + * @param {Array} htmlList Array of HTML code that this element will output to. + * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition + * The element definition. Accepted fields: + * + * * `label` (Optional) The legend of the this fieldset. + * * `children` (Required) An array of dialog window field definitions which will be grouped inside this fieldset. + * + */ + fieldset: function( dialog, childObjList, childHtmlList, htmlList, elementDefinition ) { + var legendLabel = elementDefinition.label; + /** @ignore */ + var innerHTML = function() { + var html = []; + legendLabel && html.push( '' + legendLabel + '' ); + for ( var i = 0; i < childHtmlList.length; i++ ) + html.push( childHtmlList[ i ] ); + return html.join( '' ); + }; + + this._ = { children: childObjList }; + CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'fieldset', null, null, innerHTML ); + } + + }, true ); + + CKEDITOR.ui.dialog.html.prototype = new CKEDITOR.ui.dialog.uiElement(); + + /** @class CKEDITOR.ui.dialog.labeledElement */ + CKEDITOR.ui.dialog.labeledElement.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement(), { + /** + * Sets the label text of the element. + * + * @param {String} label The new label text. + * @returns {CKEDITOR.ui.dialog.labeledElement} The current labeled element. + */ + setLabel: function( label ) { + var node = CKEDITOR.document.getById( this._.labelId ); + if ( node.getChildCount() < 1 ) + ( new CKEDITOR.dom.text( label, CKEDITOR.document ) ).appendTo( node ); + else + node.getChild( 0 ).$.nodeValue = label; + return this; + }, + + /** + * Retrieves the current label text of the elment. + * + * @returns {String} The current label text. + */ + getLabel: function() { + var node = CKEDITOR.document.getById( this._.labelId ); + if ( !node || node.getChildCount() < 1 ) + return ''; + else + return node.getChild( 0 ).getText(); + }, + + /** + * Defines the `onChange` event for UI element definitions. + * @property {Object} + */ + eventProcessors: commonEventProcessors + }, true ); + + /** @class CKEDITOR.ui.dialog.button */ + CKEDITOR.ui.dialog.button.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement(), { + /** + * Simulates a click to the button. + * + * @returns {Object} Return value of the `click` event. + */ + click: function() { + if ( !this._.disabled ) + return this.fire( 'click', { dialog: this._.dialog } ); + return false; + }, + + /** + * Enables the button. + */ + enable: function() { + this._.disabled = false; + var element = this.getElement(); + element && element.removeClass( 'cke_disabled' ); + }, + + /** + * Disables the button. + */ + disable: function() { + this._.disabled = true; + this.getElement().addClass( 'cke_disabled' ); + }, + + /** + * Checks whether a field is visible. + * + * @returns {Boolean} + */ + isVisible: function() { + return this.getElement().getFirst().isVisible(); + }, + + /** + * Checks whether a field is enabled. Fields can be disabled by using the + * {@link #disable} method and enabled by using the {@link #enable} method. + * + * @returns {Boolean} + */ + isEnabled: function() { + return !this._.disabled; + }, + + /** + * Defines the `onChange` event and `onClick` for button element definitions. + * + * @property {Object} + */ + eventProcessors: CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors, { + onClick: function( dialog, func ) { + this.on( 'click', function() { + func.apply( this, arguments ); + } ); + } + }, true ), + + /** + * Handler for the element's access key up event. Simulates a click to + * the button. + */ + accessKeyUp: function() { + this.click(); + }, + + /** + * Handler for the element's access key down event. Simulates a mouse + * down to the button. + */ + accessKeyDown: function() { + this.focus(); + }, + + keyboardFocusable: true + }, true ); + + /** @class CKEDITOR.ui.dialog.textInput */ + CKEDITOR.ui.dialog.textInput.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement(), { + /** + * Gets the text input DOM element under this UI object. + * + * @returns {CKEDITOR.dom.element} The DOM element of the text input. + */ + getInputElement: function() { + return CKEDITOR.document.getById( this._.inputId ); + }, + + /** + * Puts focus into the text input. + */ + focus: function() { + var me = this.selectParentTab(); + + // GECKO BUG: setTimeout() is needed to workaround invisible selections. + setTimeout( function() { + var element = me.getInputElement(); + element && element.$.focus(); + }, 0 ); + }, + + /** + * Selects all the text in the text input. + */ + select: function() { + var me = this.selectParentTab(); + + // GECKO BUG: setTimeout() is needed to workaround invisible selections. + setTimeout( function() { + var e = me.getInputElement(); + if ( e ) { + e.$.focus(); + e.$.select(); + } + }, 0 ); + }, + + /** + * Handler for the text input's access key up event. Makes a `select()` + * call to the text input. + */ + accessKeyUp: function() { + this.select(); + }, + + /** + * Sets the value of this text input object. + * + * uiElement.setValue( 'Blamo' ); + * + * @param {Object} value The new value. + * @returns {CKEDITOR.ui.dialog.textInput} The current UI element. + */ + setValue: function( value ) { + if ( this.bidi ) { + var marker = value && value.charAt( 0 ), + dir = ( marker == '\u202A' ? 'ltr' : marker == '\u202B' ? 'rtl' : null ); + + if ( dir ) { + value = value.slice( 1 ); + } + + // Set the marker or reset it (if dir==null). + this.setDirectionMarker( dir ); + } + + if ( !value ) { + value = ''; + } + + return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply( this, arguments ); + }, + + /** + * Gets the value of this text input object. + * + * @returns {String} The value. + */ + getValue: function() { + var value = CKEDITOR.ui.dialog.uiElement.prototype.getValue.call( this ); + + if ( this.bidi && value ) { + var dir = this.getDirectionMarker(); + if ( dir ) { + value = ( dir == 'ltr' ? '\u202A' : '\u202B' ) + value; + } + } + + return value; + }, + + /** + * Sets the text direction marker and the `dir` attribute of the input element. + * + * @since 4.5 + * @param {String} dir The text direction. Pass `null` to reset. + */ + setDirectionMarker: function( dir ) { + var inputElement = this.getInputElement(); + + if ( dir ) { + inputElement.setAttributes( { + dir: dir, + 'data-cke-dir-marker': dir + } ); + // Don't remove the dir attribute if this field hasn't got the marker, + // because the dir attribute could be set independently. + } else if ( this.getDirectionMarker() ) { + inputElement.removeAttributes( [ 'dir', 'data-cke-dir-marker' ] ); + } + }, + + /** + * Gets the value of the text direction marker. + * + * @since 4.5 + * @returns {String} `'ltr'`, `'rtl'` or `null` if the marker is not set. + */ + getDirectionMarker: function() { + return this.getInputElement().data( 'cke-dir-marker' ); + }, + + keyboardFocusable: true + }, commonPrototype, true ); + + CKEDITOR.ui.dialog.textarea.prototype = new CKEDITOR.ui.dialog.textInput(); + + /** @class CKEDITOR.ui.dialog.select */ + CKEDITOR.ui.dialog.select.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement(), { + /** + * Gets the DOM element of the select box. + * + * @returns {CKEDITOR.dom.element} The `` element of this file input. + * + * @returns {CKEDITOR.dom.element} The file input element. + */ + getInputElement: function() { + var frameDocument = CKEDITOR.document.getById( this._.frameId ).getFrameDocument(); + return frameDocument.$.forms.length > 0 ? new CKEDITOR.dom.element( frameDocument.$.forms[ 0 ].elements[ 0 ] ) : this.getElement(); + }, + + /** + * Uploads the file in the file input. + * + * @returns {CKEDITOR.ui.dialog.file} This object. + */ + submit: function() { + this.getInputElement().getParent().$.submit(); + return this; + }, + + /** + * Gets the action assigned to the form. + * + * @returns {String} The value of the action. + */ + getAction: function() { + return this.getInputElement().getParent().$.action; + }, + + /** + * The events must be applied to the inner input element, and + * this must be done when the iframe and form have been loaded. + */ + registerEvents: function( definition ) { + var regex = /^on([A-Z]\w+)/, + match; + + var registerDomEvent = function( uiElement, dialog, eventName, func ) { + uiElement.on( 'formLoaded', function() { + uiElement.getInputElement().on( eventName, func, uiElement ); + } ); + }; + + for ( var i in definition ) { + if ( !( match = i.match( regex ) ) ) + continue; + + if ( this.eventProcessors[ i ] ) + this.eventProcessors[ i ].call( this, this._.dialog, definition[ i ] ); + else + registerDomEvent( this, this._.dialog, match[ 1 ].toLowerCase(), definition[ i ] ); + } + + return this; + }, + + /** + * Redraws the file input and resets the file path in the file input. + * The redrawing logic is necessary because non-IE browsers tend to clear + * the `' ); + + var frameDocTpl = CKEDITOR.addTemplate( 'panel-frame-inner', '' + + '' + + '{css}' + + '' + + '<\/html>' ); + + /** @class CKEDITOR.ui.panel */ + CKEDITOR.ui.panel.prototype = { + /** + * Renders the combo. + * + * @param {CKEDITOR.editor} editor The editor instance which this button is + * to be used by. + * @param {Array} [output] The output array to which append the HTML relative + * to this button. + */ + render: function( editor, output ) { + this.getHolderElement = function() { + var holder = this._.holder; + + if ( !holder ) { + if ( this.isFramed ) { + var iframe = this.document.getById( this.id + '_frame' ), + parentDiv = iframe.getParent(), + doc = iframe.getFrameDocument(); + + // Make it scrollable on iOS. (#8308) + CKEDITOR.env.iOS && parentDiv.setStyles( { + 'overflow': 'scroll', + '-webkit-overflow-scrolling': 'touch' + } ); + + var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function() { + this.isLoaded = true; + if ( this.onLoad ) + this.onLoad(); + }, this ) ); + + doc.write( frameDocTpl.output( CKEDITOR.tools.extend( { + css: CKEDITOR.tools.buildStyleHtml( this.css ), + onload: 'window.parent.CKEDITOR.tools.callFunction(' + onLoad + ');' + }, data ) ) ); + + var win = doc.getWindow(); + + // Register the CKEDITOR global. + win.$.CKEDITOR = CKEDITOR; + + // Arrow keys for scrolling is only preventable with 'keypress' event in Opera (#4534). + doc.on( 'keydown', function( evt ) { + var keystroke = evt.data.getKeystroke(), + dir = this.document.getById( this.id ).getAttribute( 'dir' ); + + // Delegate key processing to block. + if ( this._.onKeyDown && this._.onKeyDown( keystroke ) === false ) { + evt.data.preventDefault(); + return; + } + + // ESC/ARROW-LEFT(ltr) OR ARROW-RIGHT(rtl) + if ( keystroke == 27 || keystroke == ( dir == 'rtl' ? 39 : 37 ) ) { + if ( this.onEscape && this.onEscape( keystroke ) === false ) + evt.data.preventDefault(); + } + }, this ); + + holder = doc.getBody(); + holder.unselectable(); + CKEDITOR.env.air && CKEDITOR.tools.callFunction( onLoad ); + } else { + holder = this.document.getById( this.id ); + } + + this._.holder = holder; + } + + return holder; + }; + + var data = { + editorId: editor.id, + id: this.id, + langCode: editor.langCode, + dir: editor.lang.dir, + cls: this.className, + frame: '', + env: CKEDITOR.env.cssClass, + 'z-index': editor.config.baseFloatZIndex + 1 + }; + + if ( this.isFramed ) { + // With IE, the custom domain has to be taken care at first, + // for other browers, the 'src' attribute should be left empty to + // trigger iframe's 'load' event. + var src = + CKEDITOR.env.air ? 'javascript:void(0)' : // jshint ignore:line + CKEDITOR.env.ie ? 'javascript:void(function(){' + encodeURIComponent( // jshint ignore:line + 'document.open();' + + // In IE, the document domain must be set any time we call document.open(). + '(' + CKEDITOR.tools.fixDomain + ')();' + + 'document.close();' + ) + '}())' : + ''; + + data.frame = frameTpl.output( { + id: this.id + '_frame', + src: src + } ); + } + + var html = panelTpl.output( data ); + + if ( output ) + output.push( html ); + + return html; + }, + + /** + * @todo + */ + addBlock: function( name, block ) { + block = this._.blocks[ name ] = block instanceof CKEDITOR.ui.panel.block ? block : new CKEDITOR.ui.panel.block( this.getHolderElement(), block ); + + if ( !this._.currentBlock ) + this.showBlock( name ); + + return block; + }, + + /** + * @todo + */ + getBlock: function( name ) { + return this._.blocks[ name ]; + }, + + /** + * @todo + */ + showBlock: function( name ) { + var blocks = this._.blocks, + block = blocks[ name ], + current = this._.currentBlock; + + // ARIA role works better in IE on the body element, while on the iframe + // for FF. (#8864) + var holder = !this.forceIFrame || CKEDITOR.env.ie ? this._.holder : this.document.getById( this.id + '_frame' ); + + if ( current ) + current.hide(); + + this._.currentBlock = block; + + CKEDITOR.fire( 'ariaWidget', holder ); + + // Reset the focus index, so it will always go into the first one. + block._.focusIndex = -1; + + this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block ); + + block.show(); + + return block; + }, + + /** + * @todo + */ + destroy: function() { + this.element && this.element.remove(); + } + }; + + /** + * @class + * + * @todo class and all methods + */ + CKEDITOR.ui.panel.block = CKEDITOR.tools.createClass( { + /** + * Creates a block class instances. + * + * @constructor + * @todo + */ + $: function( blockHolder, blockDefinition ) { + this.element = blockHolder.append( blockHolder.getDocument().createElement( 'div', { + attributes: { + 'tabindex': -1, + 'class': 'cke_panel_block' + }, + styles: { + display: 'none' + } + } ) ); + + // Copy all definition properties to this object. + if ( blockDefinition ) + CKEDITOR.tools.extend( this, blockDefinition ); + + // Set the a11y attributes of this element ... + this.element.setAttributes( { + 'role': this.attributes.role || 'presentation', + 'aria-label': this.attributes[ 'aria-label' ], + 'title': this.attributes.title || this.attributes[ 'aria-label' ] + } ); + + this.keys = {}; + + this._.focusIndex = -1; + + // Disable context menu for panels. + this.element.disableContextMenu(); + }, + + _: { + + /** + * Mark the item specified by the index as current activated. + */ + markItem: function( index ) { + if ( index == -1 ) + return; + var links = this.element.getElementsByTag( 'a' ); + var item = links.getItem( this._.focusIndex = index ); + + // Safari need focus on the iframe window first(#3389), but we need + // lock the blur to avoid hiding the panel. + if ( CKEDITOR.env.webkit ) + item.getDocument().getWindow().focus(); + item.focus(); + + this.onMark && this.onMark( item ); + } + }, + + proto: { + show: function() { + this.element.setStyle( 'display', '' ); + }, + + hide: function() { + if ( !this.onHide || this.onHide.call( this ) !== true ) + this.element.setStyle( 'display', 'none' ); + }, + + onKeyDown: function( keystroke, noCycle ) { + var keyAction = this.keys[ keystroke ]; + switch ( keyAction ) { + // Move forward. + case 'next': + var index = this._.focusIndex, + links = this.element.getElementsByTag( 'a' ), + link; + + while ( ( link = links.getItem( ++index ) ) ) { + // Move the focus only if the element is marked with + // the _cke_focus and it it's visible (check if it has + // width). + if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth ) { + this._.focusIndex = index; + link.focus(); + break; + } + } + + // If no link was found, cycle and restart from the top. (#11125) + if ( !link && !noCycle ) { + this._.focusIndex = -1; + return this.onKeyDown( keystroke, 1 ); + } + + return false; + + // Move backward. + case 'prev': + index = this._.focusIndex; + links = this.element.getElementsByTag( 'a' ); + + while ( index > 0 && ( link = links.getItem( --index ) ) ) { + // Move the focus only if the element is marked with + // the _cke_focus and it it's visible (check if it has + // width). + if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth ) { + this._.focusIndex = index; + link.focus(); + break; + } + + // Make sure link is null when the loop ends and nothing was + // found (#11125). + link = null; + } + + // If no link was found, cycle and restart from the bottom. (#11125) + if ( !link && !noCycle ) { + this._.focusIndex = links.count(); + return this.onKeyDown( keystroke, 1 ); + } + + return false; + + case 'click': + case 'mouseup': + index = this._.focusIndex; + link = index >= 0 && this.element.getElementsByTag( 'a' ).getItem( index ); + + if ( link ) + link.$[ keyAction ] ? link.$[ keyAction ]() : link.$[ 'on' + keyAction ](); + + return false; + } + + return true; + } + } + } ); + +} )(); + +/** + * Fired when a panel is added to the document. + * + * @event ariaWidget + * @member CKEDITOR + * @param {Object} data The element wrapping the panel. + */ diff --git a/sources/plugins/popup/plugin.js b/sources/plugins/popup/plugin.js new file mode 100644 index 0000000..352d239 --- /dev/null +++ b/sources/plugins/popup/plugin.js @@ -0,0 +1,65 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +CKEDITOR.plugins.add( 'popup' ); + +CKEDITOR.tools.extend( CKEDITOR.editor.prototype, { + /** + * Opens Browser in a popup. The `width` and `height` parameters accept + * numbers (pixels) or percent (of screen size) values. + * + * @member CKEDITOR.editor + * @param {String} url The url of the external file browser. + * @param {Number/String} [width='80%'] Popup window width. + * @param {Number/String} [height='70%'] Popup window height. + * @param {String} [options='location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes'] + * Popup window features. + */ + popup: function( url, width, height, options ) { + width = width || '80%'; + height = height || '70%'; + + if ( typeof width == 'string' && width.length > 1 && width.substr( width.length - 1, 1 ) == '%' ) + width = parseInt( window.screen.width * parseInt( width, 10 ) / 100, 10 ); + + if ( typeof height == 'string' && height.length > 1 && height.substr( height.length - 1, 1 ) == '%' ) + height = parseInt( window.screen.height * parseInt( height, 10 ) / 100, 10 ); + + if ( width < 640 ) + width = 640; + + if ( height < 420 ) + height = 420; + + var top = parseInt( ( window.screen.height - height ) / 2, 10 ), + left = parseInt( ( window.screen.width - width ) / 2, 10 ); + + options = ( options || 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes' ) + ',width=' + width + + ',height=' + height + + ',top=' + top + + ',left=' + left; + + var popupWindow = window.open( '', null, options, true ); + + // Blocked by a popup blocker. + if ( !popupWindow ) + return false; + + try { + // Chrome is problematic with moveTo/resizeTo, but it's not really needed here (#8855). + var ua = navigator.userAgent.toLowerCase(); + if ( ua.indexOf( ' chrome/' ) == -1 ) { + popupWindow.moveTo( left, top ); + popupWindow.resizeTo( width, height ); + } + popupWindow.focus(); + popupWindow.location.href = url; + } catch ( e ) { + popupWindow = window.open( url, null, options, true ); + } + + return true; + } +} ); diff --git a/sources/plugins/removeformat/icons/hidpi/removeformat.png b/sources/plugins/removeformat/icons/hidpi/removeformat.png new file mode 100644 index 0000000000000000000000000000000000000000..069587874b1f4e49fc0905ead042c9ef329f41d9 GIT binary patch literal 1219 zcmZ{je>f9(9LK-*8?A@Tljvl-%jt=;O^3Oyp^3%F40V}lm^4mheoa`l%a6D&61y9> zM~eK+m@eI}(S_%%MhYQ`3nwM!xcq20f8HN`KF{ak9x8}RKx!w z*yQ7^GR=P^>VR$PrIHP+D9VfnS?ro6szVugJSq?ARjxv5u=Y##;o@%GjI}&_bQ`4_ zNx6k=ylZ#Dy+cNTzL1n>Hj*oA>ofZ)lWMMqb~Py_ID-?c6gC=yix04EVu@8EPFTIt z)zwvS_h{z_9hP?#j;=wE%Vmt6avk@?m7-{O3!JAh$`*%Eby^@)tCD>73X!ONj02Rn zQVD;FD4d^`_iIfcIn~yZ4?PX26vz<{Cu?qEVnUje3B?h)>dH0bR&!*!&Rtqm;xurEt=^sDM$D_CcfvW!*fi)=rix!I=Uk*1ym zCg$PV>2Ar63+?0OPXo=DL#)`}leUZOilYs|U{VHZr0>Mi8t$65(oA%4PI|9z;kjmD z7$HkLBM|J<#vP1|iHSjo2vf}_9SxW=7RgiziQqH`6vDEzvunK~5)vA}=3vDyjB)_P z^wrXmfXa)nXH(#5<(f*YMr(QXcM!qn^KU+Z|8)p_<><&iz;&e;mJDNZXN=LTljHh% z1$KS2jDfemFZSJ#w zZRmwvlS)}3wI%%L#M5;_n0Y7lD6Ds}JwCqM0?NCnSdKiJr;2<1M(NoWsSba~m?LxF z|HQLPv)+P8QD|GuE3R8sxpQm}Rtl-5q*!Qba`N&W8coDv%szC5Pn_Ln*-l#Vi>pPL zO!tyj!n_wUKF5~4_pb^v>1!NY)8x)vD1Dtu?wp#k4X`arFc__?Ek(5`m1x{~Me8{W z)u4JkPI`?0R;ylj7u4({2VQ%9IZu5LD^3A6J;ch`;qC;~xjKbSMHXK+ykK*vDe+2C zQ4#X=@SpN^Lsd}6P`a*Fv77{a`mZJpHQU#g4VvccZa_LL>|ko@6#?n<_uo7*n_^D2W+T0OWaf?_lt1=uPhLjfn}3pvH(c@w zyH39EEakyM%%8UiV3#UpLhoD#Lyc_{pW)gN!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e4!yXJYh$H zw*B=bcE{DdF9@_Nof1|^@zT2W`EbAl_6LehDVjp>9Xuz7cqm*{u-d)YbVo z%QQaZnjLFY(q3DZR{pR4*?iflsVAMM*>dc4{~-6_|C^t7j$$*<=-uA7m+9FgJBH;9 zlkT+%>|;9a8WZsw z;Cl0Dvx)J6qMbF9kHpEGdh^ckUJ$!N%ZFW?+Ydi~3jjr!|# z`tEtY2}}Eygm?bm$y~4sePOtN9+TukTbvu5~Tr&N@^qlog8fND|hsa1pzd3ErfBwVju>Shzj}}=UojsFrTkJvSlJwhezuorZ z+kEql=7Ie1zsr71e!KAwFe+3_Tq8 style from + // This is [some text to show the] problem + // ... where [ and ] represent the selection, must result: + // This is [some text to show the] problem + // The strategy is simple, we just break the partial nodes before the + // removal logic, having something that could be represented this way: + // This is [some text to show the] problem + + var breakParent = function( node ) { + // Let's start checking the start boundary. + var path = editor.elementPath( node ), + pathElements = path.elements; + + for ( var i = 1, pathElement; pathElement = pathElements[ i ]; i++ ) { + if ( pathElement.equals( path.block ) || pathElement.equals( path.blockLimit ) ) + break; + + // If this element can be removed (even partially). + if ( tagsRegex.test( pathElement.getName() ) && filter( editor, pathElement ) ) + node.breakParent( pathElement ); + } + }; + + breakParent( startNode ); + if ( endNode ) { + breakParent( endNode ); + + // Navigate through all nodes between the bookmarks. + currentNode = startNode.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT ); + + while ( currentNode ) { + // If we have reached the end of the selection, stop looping. + if ( currentNode.equals( endNode ) ) + break; + + if ( currentNode.isReadOnly() ) { + // In case of non-editable we're skipping to the next sibling *elmenet*. + + // We need to be aware that endNode can be nested within current non-editable. + // This condition tests if currentNode (non-editable) contains endNode. If it does + // then we should break the filtering + if ( currentNode.getPosition( endNode ) & CKEDITOR.POSITION_CONTAINS ) { + break; + } + + currentNode = currentNode.getNext( isElement ); + continue; + } + + // Cache the next node to be processed. Do it now, because + // currentNode may be removed. + var nextNode = currentNode.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ), + isFakeElement = currentNode.getName() == 'img' && currentNode.data( 'cke-realelement' ); + + // This node must not be a fake element, and must not be read-only. + if ( !isFakeElement && filter( editor, currentNode ) ) { + // Remove elements nodes that match with this style rules. + if ( tagsRegex.test( currentNode.getName() ) ) + currentNode.remove( 1 ); + else { + currentNode.removeAttributes( removeAttributes ); + editor.fire( 'removeFormatCleanup', currentNode ); + } + } + + currentNode = nextNode; + } + } + + range.moveToBookmark( bookmark ); + } + + // The selection path may not changed, but we should force a selection + // change event to refresh command states, due to the above attribution change. (#9238) + editor.forceNextSelectionCheck(); + editor.getSelection().selectRanges( ranges ); + } + } + }, + + // Perform the remove format filters on the passed element. + // @param {CKEDITOR.editor} editor + // @param {CKEDITOR.dom.element} element + filter: function( editor, element ) { + // If editor#addRemoveFotmatFilter hasn't been executed yet value is not initialized. + var filters = editor._.removeFormatFilters || []; + for ( var i = 0; i < filters.length; i++ ) { + if ( filters[ i ]( element ) === false ) + return false; + } + return true; + } +}; + +/** + * Add to a collection of functions to decide whether a specific + * element should be considered as formatting element and thus + * could be removed during `removeFormat` command. + * + * **Note:** Only available with the existence of `removeformat` plugin. + * + * // Don't remove empty span. + * editor.addRemoveFormatFilter( function( element ) { + * return !( element.is( 'span' ) && CKEDITOR.tools.isEmpty( element.getAttributes() ) ); + * } ); + * + * @since 3.3 + * @member CKEDITOR.editor + * @param {Function} func The function to be called, which will be passed a {CKEDITOR.dom.element} element to test. + */ +CKEDITOR.editor.prototype.addRemoveFormatFilter = function( func ) { + if ( !this._.removeFormatFilters ) + this._.removeFormatFilters = []; + + this._.removeFormatFilters.push( func ); +}; + +/** + * A comma separated list of elements to be removed when executing the `remove + * format` command. Note that only inline elements are allowed. + * + * @cfg + * @member CKEDITOR.config + */ +CKEDITOR.config.removeFormatTags = 'b,big,cite,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var'; + +/** + * A comma separated list of elements attributes to be removed when executing + * the `remove format` command. + * + * @cfg + * @member CKEDITOR.config + */ +CKEDITOR.config.removeFormatAttributes = 'class,style,lang,width,height,align,hspace,valign'; + +/** + * Fired after an element was cleaned by the removeFormat plugin. + * + * @event removeFormatCleanup + * @member CKEDITOR.editor + * @param {CKEDITOR.editor} editor This editor instance. + * @param data + * @param {CKEDITOR.dom.element} data.element The element that was cleaned up. + */ diff --git a/sources/plugins/resize/plugin.js b/sources/plugins/resize/plugin.js new file mode 100644 index 0000000..095ee12 --- /dev/null +++ b/sources/plugins/resize/plugin.js @@ -0,0 +1,187 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +CKEDITOR.plugins.add( 'resize', { + init: function( editor ) { + function dragHandler( evt ) { + var dx = evt.data.$.screenX - origin.x, + dy = evt.data.$.screenY - origin.y, + width = startSize.width, + height = startSize.height, + internalWidth = width + dx * ( resizeDir == 'rtl' ? -1 : 1 ), + internalHeight = height + dy; + + if ( resizeHorizontal ) + width = Math.max( config.resize_minWidth, Math.min( internalWidth, config.resize_maxWidth ) ); + + if ( resizeVertical ) + height = Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) ); + + // DO NOT impose fixed size with single direction resize. (#6308) + editor.resize( resizeHorizontal ? width : null, height ); + } + + function dragEndHandler() { + CKEDITOR.document.removeListener( 'mousemove', dragHandler ); + CKEDITOR.document.removeListener( 'mouseup', dragEndHandler ); + + if ( editor.document ) { + editor.document.removeListener( 'mousemove', dragHandler ); + editor.document.removeListener( 'mouseup', dragEndHandler ); + } + } + + var config = editor.config; + var spaceId = editor.ui.spaceId( 'resizer' ); + + // Resize in the same direction of chrome, + // which is identical to dir of editor element. (#6614) + var resizeDir = editor.element ? editor.element.getDirection( 1 ) : 'ltr'; + + !config.resize_dir && ( config.resize_dir = 'vertical' ); + ( config.resize_maxWidth === undefined ) && ( config.resize_maxWidth = 3000 ); + ( config.resize_maxHeight === undefined ) && ( config.resize_maxHeight = 3000 ); + ( config.resize_minWidth === undefined ) && ( config.resize_minWidth = 750 ); + ( config.resize_minHeight === undefined ) && ( config.resize_minHeight = 250 ); + + if ( config.resize_enabled !== false ) { + var container = null, + origin, startSize, + resizeHorizontal = ( config.resize_dir == 'both' || config.resize_dir == 'horizontal' ) && ( config.resize_minWidth != config.resize_maxWidth ), + resizeVertical = ( config.resize_dir == 'both' || config.resize_dir == 'vertical' ) && ( config.resize_minHeight != config.resize_maxHeight ); + + var mouseDownFn = CKEDITOR.tools.addFunction( function( $event ) { + if ( !container ) + container = editor.getResizable(); + + startSize = { width: container.$.offsetWidth || 0, height: container.$.offsetHeight || 0 }; + origin = { x: $event.screenX, y: $event.screenY }; + + config.resize_minWidth > startSize.width && ( config.resize_minWidth = startSize.width ); + config.resize_minHeight > startSize.height && ( config.resize_minHeight = startSize.height ); + + CKEDITOR.document.on( 'mousemove', dragHandler ); + CKEDITOR.document.on( 'mouseup', dragEndHandler ); + + if ( editor.document ) { + editor.document.on( 'mousemove', dragHandler ); + editor.document.on( 'mouseup', dragEndHandler ); + } + + $event.preventDefault && $event.preventDefault(); + } ); + + editor.on( 'destroy', function() { + CKEDITOR.tools.removeFunction( mouseDownFn ); + } ); + + editor.on( 'uiSpace', function( event ) { + if ( event.data.space == 'bottom' ) { + var direction = ''; + if ( resizeHorizontal && !resizeVertical ) + direction = ' cke_resizer_horizontal'; + if ( !resizeHorizontal && resizeVertical ) + direction = ' cke_resizer_vertical'; + + var resizerHtml = + '' + + // BLACK LOWER RIGHT TRIANGLE (ltr) + // BLACK LOWER LEFT TRIANGLE (rtl) + ( resizeDir == 'ltr' ? '\u25E2' : '\u25E3' ) + + ''; + + // Always sticks the corner of botttom space. + resizeDir == 'ltr' && direction == 'ltr' ? event.data.html += resizerHtml : event.data.html = resizerHtml + event.data.html; + } + }, editor, null, 100 ); + + // Toggle the visibility of the resizer when an editor is being maximized or minimized. + editor.on( 'maximize', function( event ) { + editor.ui.space( 'resizer' )[ event.data == CKEDITOR.TRISTATE_ON ? 'hide' : 'show' ](); + } ); + } + } +} ); + +/** + * The minimum editor width, in pixels, when resizing the editor interface by using the resize handle. + * Note: It falls back to editor's actual width if it is smaller than the default value. + * + * Read more in the [documentation](#!/guide/dev_resize) + * and see the [SDK sample](http://sdk.ckeditor.com/samples/resize.html). + * + * config.resize_minWidth = 500; + * + * @cfg {Number} [resize_minWidth=750] + * @member CKEDITOR.config + */ + +/** + * The minimum editor height, in pixels, when resizing the editor interface by using the resize handle. + * Note: It falls back to editor's actual height if it is smaller than the default value. + * + * Read more in the [documentation](#!/guide/dev_resize) + * and see the [SDK sample](http://sdk.ckeditor.com/samples/resize.html). + * + * config.resize_minHeight = 600; + * + * @cfg {Number} [resize_minHeight=250] + * @member CKEDITOR.config + */ + +/** + * The maximum editor width, in pixels, when resizing the editor interface by using the resize handle. + * + * Read more in the [documentation](#!/guide/dev_resize) + * and see the [SDK sample](http://sdk.ckeditor.com/samples/resize.html). + * + * config.resize_maxWidth = 750; + * + * @cfg {Number} [resize_maxWidth=3000] + * @member CKEDITOR.config + */ + +/** + * The maximum editor height, in pixels, when resizing the editor interface by using the resize handle. + * + * Read more in the [documentation](#!/guide/dev_resize) + * and see the [SDK sample](http://sdk.ckeditor.com/samples/resize.html). + * + * config.resize_maxHeight = 600; + * + * @cfg {Number} [resize_maxHeight=3000] + * @member CKEDITOR.config + */ + +/** + * Whether to enable the resizing feature. If this feature is disabled, the resize handle will not be visible. + * + * Read more in the [documentation](#!/guide/dev_resize) + * and see the [SDK sample](http://sdk.ckeditor.com/samples/resize.html). + * + * config.resize_enabled = false; + * + * @cfg {Boolean} [resize_enabled=true] + * @member CKEDITOR.config + */ + +/** + * The dimensions for which the editor resizing is enabled. Possible values + * are `both`, `vertical`, and `horizontal`. + * + * Read more in the [documentation](#!/guide/dev_resize) + * and see the [SDK sample](http://sdk.ckeditor.com/samples/resize.html). + * + * config.resize_dir = 'both'; + * + * @since 3.3 + * @cfg {String} [resize_dir='vertical'] + * @member CKEDITOR.config + */ diff --git a/sources/plugins/richcombo/plugin.js b/sources/plugins/richcombo/plugin.js new file mode 100644 index 0000000..231a7c7 --- /dev/null +++ b/sources/plugins/richcombo/plugin.js @@ -0,0 +1,434 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +CKEDITOR.plugins.add( 'richcombo', { + requires: 'floatpanel,listblock,button', + + beforeInit: function( editor ) { + editor.ui.addHandler( CKEDITOR.UI_RICHCOMBO, CKEDITOR.ui.richCombo.handler ); + } +} ); + +( function() { + var template = '' + + '{label}' + + '' + + '{label}' + + '' + + '' + + // BLACK DOWN-POINTING TRIANGLE + ( CKEDITOR.env.hc ? '▼' : CKEDITOR.env.air ? ' ' : '' ) + + '' + + '' + + '' + + ''; + + var rcomboTpl = CKEDITOR.addTemplate( 'combo', template ); + + /** + * Button UI element. + * + * @readonly + * @property {String} [='richcombo'] + * @member CKEDITOR + */ + CKEDITOR.UI_RICHCOMBO = 'richcombo'; + + /** + * @class + * @todo + */ + CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass( { + $: function( definition ) { + // Copy all definition properties to this object. + CKEDITOR.tools.extend( this, definition, + // Set defaults. + { + // The combo won't participate in toolbar grouping. + canGroup: false, + title: definition.label, + modes: { wysiwyg: 1 }, + editorFocus: 1 + } ); + + // We don't want the panel definition in this object. + var panelDefinition = this.panel || {}; + delete this.panel; + + this.id = CKEDITOR.tools.getNextNumber(); + + this.document = ( panelDefinition.parent && panelDefinition.parent.getDocument() ) || CKEDITOR.document; + + panelDefinition.className = 'cke_combopanel'; + panelDefinition.block = { + multiSelect: panelDefinition.multiSelect, + attributes: panelDefinition.attributes + }; + panelDefinition.toolbarRelated = true; + + this._ = { + panelDefinition: panelDefinition, + items: {} + }; + }, + + proto: { + renderHtml: function( editor ) { + var output = []; + this.render( editor, output ); + return output.join( '' ); + }, + + /** + * Renders the combo. + * + * @param {CKEDITOR.editor} editor The editor instance which this button is + * to be used by. + * @param {Array} output The output array to which append the HTML relative + * to this button. + */ + render: function( editor, output ) { + var env = CKEDITOR.env; + + var id = 'cke_' + this.id; + var clickFn = CKEDITOR.tools.addFunction( function( el ) { + // Restore locked selection in Opera. + if ( selLocked ) { + editor.unlockSelection( 1 ); + selLocked = 0; + } + instance.execute( el ); + }, this ); + + var combo = this; + var instance = { + id: id, + combo: this, + focus: function() { + var element = CKEDITOR.document.getById( id ).getChild( 1 ); + element.focus(); + }, + execute: function( el ) { + var _ = combo._; + + if ( _.state == CKEDITOR.TRISTATE_DISABLED ) + return; + + combo.createPanel( editor ); + + if ( _.on ) { + _.panel.hide(); + return; + } + + combo.commit(); + var value = combo.getValue(); + if ( value ) + _.list.mark( value ); + else + _.list.unmarkAll(); + + _.panel.showBlock( combo.id, new CKEDITOR.dom.element( el ), 4 ); + }, + clickFn: clickFn + }; + + function updateState() { + // Don't change state while richcombo is active (#11793). + if ( this.getState() == CKEDITOR.TRISTATE_ON ) + return; + + var state = this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED; + + if ( editor.readOnly && !this.readOnly ) + state = CKEDITOR.TRISTATE_DISABLED; + + this.setState( state ); + this.setValue( '' ); + + // Let plugin to disable button. + if ( state != CKEDITOR.TRISTATE_DISABLED && this.refresh ) + this.refresh(); + } + + // Update status when activeFilter, mode, selection or readOnly changes. + editor.on( 'activeFilterChange', updateState, this ); + editor.on( 'mode', updateState, this ); + editor.on( 'selectionChange', updateState, this ); + // If this combo is sensitive to readOnly state, update it accordingly. + !this.readOnly && editor.on( 'readOnly', updateState, this ); + + var keyDownFn = CKEDITOR.tools.addFunction( function( ev, element ) { + ev = new CKEDITOR.dom.event( ev ); + + var keystroke = ev.getKeystroke(); + + // ARROW-DOWN + // This call is duplicated in plugins/toolbar/plugin.js in itemKeystroke(). + // Move focus to the first element after drop down was opened by the arrow down key. + if ( keystroke == 40 ) { + editor.once( 'panelShow', function( evt ) { + evt.data._.panel._.currentBlock.onKeyDown( 40 ); + } ); + } + + switch ( keystroke ) { + case 13: // ENTER + case 32: // SPACE + case 40: // ARROW-DOWN + // Show panel + CKEDITOR.tools.callFunction( clickFn, element ); + break; + default: + // Delegate the default behavior to toolbar button key handling. + instance.onkey( instance, keystroke ); + } + + // Avoid subsequent focus grab on editor document. + ev.preventDefault(); + } ); + + var focusFn = CKEDITOR.tools.addFunction( function() { + instance.onfocus && instance.onfocus(); + } ); + + var selLocked = 0; + + // For clean up + instance.keyDownFn = keyDownFn; + + var params = { + id: id, + name: this.name || this.command, + label: this.label, + title: this.title, + cls: this.className || '', + titleJs: env.gecko && !env.hc ? '' : ( this.title || '' ).replace( "'", '' ), + keydownFn: keyDownFn, + focusFn: focusFn, + clickFn: clickFn + }; + + rcomboTpl.output( params, output ); + + if ( this.onRender ) + this.onRender(); + + return instance; + }, + + createPanel: function( editor ) { + if ( this._.panel ) + return; + + var panelDefinition = this._.panelDefinition, + panelBlockDefinition = this._.panelDefinition.block, + panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(), + namedPanelCls = 'cke_combopanel__' + this.name, + panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ), + list = panel.addListBlock( this.id, panelBlockDefinition ), + me = this; + + panel.onShow = function() { + this.element.addClass( namedPanelCls ); + + me.setState( CKEDITOR.TRISTATE_ON ); + + me._.on = 1; + + me.editorFocus && !editor.focusManager.hasFocus && editor.focus(); + + if ( me.onOpen ) + me.onOpen(); + + // The "panelShow" event is fired assinchronously, after the + // onShow method call. + editor.once( 'panelShow', function() { + list.focus( !list.multiSelect && me.getValue() ); + } ); + }; + + panel.onHide = function( preventOnClose ) { + this.element.removeClass( namedPanelCls ); + + me.setState( me.modes && me.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED ); + + me._.on = 0; + + if ( !preventOnClose && me.onClose ) + me.onClose(); + }; + + panel.onEscape = function() { + // Hide drop-down with focus returned. + panel.hide( 1 ); + }; + + list.onClick = function( value, marked ) { + + if ( me.onClick ) + me.onClick.call( me, value, marked ); + + panel.hide(); + }; + + this._.panel = panel; + this._.list = list; + + panel.getBlock( this.id ).onHide = function() { + me._.on = 0; + me.setState( CKEDITOR.TRISTATE_OFF ); + }; + + if ( this.init ) + this.init(); + }, + + setValue: function( value, text ) { + this._.value = value; + + var textElement = this.document.getById( 'cke_' + this.id + '_text' ); + if ( textElement ) { + if ( !( value || text ) ) { + text = this.label; + textElement.addClass( 'cke_combo_inlinelabel' ); + } else { + textElement.removeClass( 'cke_combo_inlinelabel' ); + } + + textElement.setText( typeof text != 'undefined' ? text : value ); + } + }, + + getValue: function() { + return this._.value || ''; + }, + + unmarkAll: function() { + this._.list.unmarkAll(); + }, + + mark: function( value ) { + this._.list.mark( value ); + }, + + hideItem: function( value ) { + this._.list.hideItem( value ); + }, + + hideGroup: function( groupTitle ) { + this._.list.hideGroup( groupTitle ); + }, + + showAll: function() { + this._.list.showAll(); + }, + + add: function( value, html, text ) { + this._.items[ value ] = text || value; + this._.list.add( value, html, text ); + }, + + startGroup: function( title ) { + this._.list.startGroup( title ); + }, + + commit: function() { + if ( !this._.committed ) { + this._.list.commit(); + this._.committed = 1; + CKEDITOR.ui.fire( 'ready', this ); + } + this._.committed = 1; + }, + + setState: function( state ) { + if ( this._.state == state ) + return; + + var el = this.document.getById( 'cke_' + this.id ); + el.setState( state, 'cke_combo' ); + + state == CKEDITOR.TRISTATE_DISABLED ? + el.setAttribute( 'aria-disabled', true ) : + el.removeAttribute( 'aria-disabled' ); + + this._.state = state; + }, + + getState: function() { + return this._.state; + }, + + enable: function() { + if ( this._.state == CKEDITOR.TRISTATE_DISABLED ) + this.setState( this._.lastState ); + }, + + disable: function() { + if ( this._.state != CKEDITOR.TRISTATE_DISABLED ) { + this._.lastState = this._.state; + this.setState( CKEDITOR.TRISTATE_DISABLED ); + } + } + }, + + /** + * Represents richCombo handler object. + * + * @class CKEDITOR.ui.richCombo.handler + * @singleton + * @extends CKEDITOR.ui.handlerDefinition + */ + statics: { + handler: { + /** + * Transforms a richCombo definition in a {@link CKEDITOR.ui.richCombo} instance. + * + * @param {Object} definition + * @returns {CKEDITOR.ui.richCombo} + */ + create: function( definition ) { + return new CKEDITOR.ui.richCombo( definition ); + } + } + } + } ); + + /** + * @param {String} name + * @param {Object} definition + * @member CKEDITOR.ui + * @todo + */ + CKEDITOR.ui.prototype.addRichCombo = function( name, definition ) { + this.add( name, CKEDITOR.UI_RICHCOMBO, definition ); + }; + +} )(); diff --git a/sources/plugins/showborders/plugin.js b/sources/plugins/showborders/plugin.js new file mode 100644 index 0000000..7dbfb59 --- /dev/null +++ b/sources/plugins/showborders/plugin.js @@ -0,0 +1,174 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview The "show border" plugin. The command display visible outline + * border line around all table elements if table doesn't have a none-zero 'border' attribute specified. + */ + +( function() { + var commandDefinition = { + preserveState: true, + editorFocus: false, + readOnly: 1, + + exec: function( editor ) { + this.toggleState(); + this.refresh( editor ); + }, + + refresh: function( editor ) { + if ( editor.document ) { + var funcName = ( this.state == CKEDITOR.TRISTATE_ON ) ? 'attachClass' : 'removeClass'; + editor.editable()[ funcName ]( 'cke_show_borders' ); + } + } + }; + + var showBorderClassName = 'cke_show_border'; + + CKEDITOR.plugins.add( 'showborders', { + modes: { 'wysiwyg': 1 }, + + onLoad: function() { + var cssStyleText, + cssTemplate = + // TODO: For IE6, we don't have child selector support, + // where nested table cells could be incorrect. + ( CKEDITOR.env.ie6Compat ? [ + '.%1 table.%2,', + '.%1 table.%2 td, .%1 table.%2 th', + '{', + 'border : #d3d3d3 1px dotted', + '}' + ] : [ + '.%1 table.%2,', + '.%1 table.%2 > tr > td, .%1 table.%2 > tr > th,', + '.%1 table.%2 > tbody > tr > td, .%1 table.%2 > tbody > tr > th,', + '.%1 table.%2 > thead > tr > td, .%1 table.%2 > thead > tr > th,', + '.%1 table.%2 > tfoot > tr > td, .%1 table.%2 > tfoot > tr > th', + '{', + 'border : #d3d3d3 1px dotted', + '}' + ] ).join( '' ); + + cssStyleText = cssTemplate.replace( /%2/g, showBorderClassName ).replace( /%1/g, 'cke_show_borders ' ); + + CKEDITOR.addCss( cssStyleText ); + }, + + init: function( editor ) { + + var command = editor.addCommand( 'showborders', commandDefinition ); + command.canUndo = false; + + if ( editor.config.startupShowBorders !== false ) + command.setState( CKEDITOR.TRISTATE_ON ); + + // Refresh the command on setData. + editor.on( 'mode', function() { + if ( command.state != CKEDITOR.TRISTATE_DISABLED ) + command.refresh( editor ); + }, null, null, 100 ); + + // Refresh the command on wysiwyg frame reloads. + editor.on( 'contentDom', function() { + if ( command.state != CKEDITOR.TRISTATE_DISABLED ) + command.refresh( editor ); + } ); + + editor.on( 'removeFormatCleanup', function( evt ) { + var element = evt.data; + if ( editor.getCommand( 'showborders' ).state == CKEDITOR.TRISTATE_ON && element.is( 'table' ) && ( !element.hasAttribute( 'border' ) || parseInt( element.getAttribute( 'border' ), 10 ) <= 0 ) ) + element.addClass( showBorderClassName ); + } ); + }, + + afterInit: function( editor ) { + var dataProcessor = editor.dataProcessor, + dataFilter = dataProcessor && dataProcessor.dataFilter, + htmlFilter = dataProcessor && dataProcessor.htmlFilter; + + if ( dataFilter ) { + dataFilter.addRules( { + elements: { + 'table': function( element ) { + var attributes = element.attributes, + cssClass = attributes[ 'class' ], + border = parseInt( attributes.border, 10 ); + + if ( ( !border || border <= 0 ) && ( !cssClass || cssClass.indexOf( showBorderClassName ) == -1 ) ) + attributes[ 'class' ] = ( cssClass || '' ) + ' ' + showBorderClassName; + } + } + } ); + } + + if ( htmlFilter ) { + htmlFilter.addRules( { + elements: { + 'table': function( table ) { + var attributes = table.attributes, + cssClass = attributes[ 'class' ]; + + cssClass && ( attributes[ 'class' ] = cssClass.replace( showBorderClassName, '' ).replace( /\s{2}/, ' ' ).replace( /^\s+|\s+$/, '' ) ); + } + } + } ); + } + } + } ); + + // Table dialog must be aware of it. + CKEDITOR.on( 'dialogDefinition', function( ev ) { + var dialogName = ev.data.name; + + if ( dialogName == 'table' || dialogName == 'tableProperties' ) { + var dialogDefinition = ev.data.definition, + infoTab = dialogDefinition.getContents( 'info' ), + borderField = infoTab.get( 'txtBorder' ), + originalCommit = borderField.commit; + + borderField.commit = CKEDITOR.tools.override( originalCommit, function( org ) { + return function( data, selectedTable ) { + org.apply( this, arguments ); + var value = parseInt( this.getValue(), 10 ); + selectedTable[ ( !value || value <= 0 ) ? 'addClass' : 'removeClass' ]( showBorderClassName ); + }; + } ); + + var advTab = dialogDefinition.getContents( 'advanced' ), + classField = advTab && advTab.get( 'advCSSClasses' ); + + if ( classField ) { + classField.setup = CKEDITOR.tools.override( classField.setup, function( originalSetup ) { + return function() { + originalSetup.apply( this, arguments ); + this.setValue( this.getValue().replace( /cke_show_border/, '' ) ); + }; + } ); + + classField.commit = CKEDITOR.tools.override( classField.commit, function( originalCommit ) { + return function( data, element ) { + originalCommit.apply( this, arguments ); + + if ( !parseInt( element.getAttribute( 'border' ), 10 ) ) + element.addClass( 'cke_show_border' ); + }; + } ); + } + } + } ); + +} )(); + +/** + * Whether to automatically enable the "show borders" command when the editor loads. + * + * config.startupShowBorders = false; + * + * @cfg {Boolean} [startupShowBorders=true] + * @member CKEDITOR.config + */ diff --git a/sources/plugins/sourcearea/icons/hidpi/source-rtl.png b/sources/plugins/sourcearea/icons/hidpi/source-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..c95da32d352df28f89fe96c15b00946292c5e91c GIT binary patch literal 1018 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zUgGKN%Km_xiC2-KneQA20|V1PPZ!6Kh{IdMZS$`<2+X~CclT+{E*38L<`n^6QWG3B zcr_h>~eyckRxbd|CuJ~%eRmLVbS!5qFhkAE(2 zPresp%`9tlp5e_Ez8SA4{iss*I2vSnz2jzrf~ZWxVr%9NhtC{2ldP1)5M!D9;vaKE zaP8t%{OOju)>98GJpXx4kKz6` zTg#ni?JcdFKeK*Xs$^3%(5tlu5(lEJi;@pN{IIN8Pic1ChUlo*H*?H(OR;q=TJY+{ zT65XtGjA_nzTCOm*jPSe?fj~l-+uqK>+A2A_KA^l2oy=_X}oW-H|~90#k-`V_|gey=x3 z+QmFK>%ukb#GFg-?_KfLkm+yCj%Ll}*-(C=giEe)g3me6=Z`BQJsJOU{|jGe*fn?m zL}2DnEpd$~Nl7e8wMs5Z1yT$~28L$3hK9NZMj?jAR>sCw1_s&&hCuQ<`}Yu{Qt! literal 0 HcmV?d00001 diff --git a/sources/plugins/sourcearea/icons/hidpi/source.png b/sources/plugins/sourcearea/icons/hidpi/source.png new file mode 100644 index 0000000000000000000000000000000000000000..2f3eae1a636b518ac8c706e9b20ef96272d8963f GIT binary patch literal 1041 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zUgGKN%Km_xiC2-KneQA20|T?Dr;B4q#Nnl3d-JY12+W%qYq_yxB46iX#}ExwUJr#S zZ5*6WIWsaV7^ZwGdb@P-g6F&yjUEaUwVWJWr5#<5aYBn$NYHlOLZu$Hyb9#ME(P({3}tmGk-e_?q@+3@+s$Ag&();#+tAFFW&KCRthMQ)8#I;9 z)f%-p9AR+zy6p`E!<1A@_al}J495PQ8F}Y_*X&T(!*ItrR$-2z@}gP>hGZY!MW@}l z9bR;`ZYpOtelK{@PU#!l!r9ylAGqXhs!7)tIB+I7`Amo=>zO^`Ob=5P%CvtO1UJsG zE@D})@wL=Ogv0p!l%UOANAffjUro;4eDvGRaMr$Wty3jdbbUE-i{ZiK-N%~>W?xfa zID77S+R-x%4DvI6ZWMkX$WXK9T9l8;->oViQl*j@1owBH2sYoHWf$mGtKF3pFt@}j z!C144N#LWplAXhmY1fpPj?Jj{ob>0^CZ1Ug;lLy?;kjkT+T!FhxvzU>ZhuoXYuWZS zHpgaoPEvVv>SH|5oVjxk{`$46!^6oXtS#N8Bt>%9o;@)cYu{(AeVrp1*tO`z6jLq- zmxSbG=N`ka^-5JI&%B>48aM5!|I#b9)63Rwy)o;9XcDi&m7iK`=ilxXU7NpIC;C#j z%Y#Rcm_FJ3fAfY}smj@<^utt%glFY0TT;9GW+vw5`uh3%zkU!N9zJ2&N`{7YOw0^> z5}t*7tvsi6CDv6*$=#(S++|;M`r?ZoE-boN^)i&IG?e0ZZRt0g`R2WQY)h})xKvkD(~~*tTKde&0PA-;htk{_7*ZquZ9PAG z_H5m~&N@|$Unx|zbVu`y!H>XX9mMnsU;t?fO$r>#5JNMC9x#cD!C{XNHG{07@FxC8tNJt wg%}!J85>&}7-$<90?F%)Yu=)0$jwj5OsmALVOfkwAW#E?r>mdKI;Vst00l#>_W%F@ literal 0 HcmV?d00001 diff --git a/sources/plugins/sourcearea/icons/source-rtl.png b/sources/plugins/sourcearea/icons/source-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..5353eee7e8092521fdba6b836843034356b06923 GIT binary patch literal 565 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e4|Ihk_ZZhlrc|GDgQaLe@EMfY^q zT+e2xU@Q=emy=GOwo>pL$DZ#JeC_WU{1{_gejKZ|SNnO*dqQfY=F5&J)0enTsr46{ z)TcW4i)Muk58HNzHHOcO56Lqmtlg{h^VU{34=0X?d=9(`a%Z)jIHohC)f*Yk+PdM| zJognw$Ib+)Magh@X3TnKIqltry&{hP#os7AsGr67K)RZt$CxEXYB4YfRZCnWN>UO_ zQmvAUQh^kMk%6I^u7SC(p=F4nv6Zobm5GtIfsvJgfy9LJ3KR{w`6-!cmAExzo;`mA PsDZ)L)z4*}Q$iB}IBm$? literal 0 HcmV?d00001 diff --git a/sources/plugins/sourcearea/icons/source.png b/sources/plugins/sourcearea/icons/source.png new file mode 100644 index 0000000000000000000000000000000000000000..0783e85c6f4aa582ae8dd3a26eb5c72119c441ae GIT binary patch literal 571 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CDO3=9p;3=BX21L>Cx45bDP46hOx7_4S6Fo@?*ia+WGRLhp+?e4~BOF21

    n`aE?cKRRqUbT0%z@cF23;#S?1l}d}#Gl*w`_fkSGs!*O zuR{MBA7Ow0SF_>!KNb%*b?p@ju7Ng8BCa2u+HWyzT>OgRwyDGe_V)HBrXHb(dcc5G zEpd$~Nl7e8wMs5Z1yT$~28L$32IjhkmLZ15R>lTaCPvx@Mpgy}5);ZRP&DM`r(~v8 W;?|IP_WTi`1_n=8KbLh*2~7a?SJ&16 literal 0 HcmV?d00001 diff --git a/sources/plugins/sourcearea/lang/af.js b/sources/plugins/sourcearea/lang/af.js new file mode 100644 index 0000000..a5a499e --- /dev/null +++ b/sources/plugins/sourcearea/lang/af.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'af', { + toolbar: 'Bron' +} ); diff --git a/sources/plugins/sourcearea/lang/ar.js b/sources/plugins/sourcearea/lang/ar.js new file mode 100644 index 0000000..40808ac --- /dev/null +++ b/sources/plugins/sourcearea/lang/ar.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ar', { + toolbar: 'المصدر' +} ); diff --git a/sources/plugins/sourcearea/lang/az.js b/sources/plugins/sourcearea/lang/az.js new file mode 100644 index 0000000..9aeff4b --- /dev/null +++ b/sources/plugins/sourcearea/lang/az.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'az', { + toolbar: 'HTML mənbəyini göstər' +} ); diff --git a/sources/plugins/sourcearea/lang/bg.js b/sources/plugins/sourcearea/lang/bg.js new file mode 100644 index 0000000..4902635 --- /dev/null +++ b/sources/plugins/sourcearea/lang/bg.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'bg', { + toolbar: 'Изходен код' +} ); diff --git a/sources/plugins/sourcearea/lang/bn.js b/sources/plugins/sourcearea/lang/bn.js new file mode 100644 index 0000000..b050458 --- /dev/null +++ b/sources/plugins/sourcearea/lang/bn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'bn', { + toolbar: 'উৎস' +} ); diff --git a/sources/plugins/sourcearea/lang/bs.js b/sources/plugins/sourcearea/lang/bs.js new file mode 100644 index 0000000..c0b5e09 --- /dev/null +++ b/sources/plugins/sourcearea/lang/bs.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'bs', { + toolbar: 'HTML kôd' +} ); diff --git a/sources/plugins/sourcearea/lang/ca.js b/sources/plugins/sourcearea/lang/ca.js new file mode 100644 index 0000000..c958e9b --- /dev/null +++ b/sources/plugins/sourcearea/lang/ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ca', { + toolbar: 'Codi font' +} ); diff --git a/sources/plugins/sourcearea/lang/cs.js b/sources/plugins/sourcearea/lang/cs.js new file mode 100644 index 0000000..dccf574 --- /dev/null +++ b/sources/plugins/sourcearea/lang/cs.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'cs', { + toolbar: 'Zdroj' +} ); diff --git a/sources/plugins/sourcearea/lang/cy.js b/sources/plugins/sourcearea/lang/cy.js new file mode 100644 index 0000000..b8ce201 --- /dev/null +++ b/sources/plugins/sourcearea/lang/cy.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'cy', { + toolbar: 'HTML' +} ); diff --git a/sources/plugins/sourcearea/lang/da.js b/sources/plugins/sourcearea/lang/da.js new file mode 100644 index 0000000..bf02c14 --- /dev/null +++ b/sources/plugins/sourcearea/lang/da.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'da', { + toolbar: 'Kilde' +} ); diff --git a/sources/plugins/sourcearea/lang/de-ch.js b/sources/plugins/sourcearea/lang/de-ch.js new file mode 100644 index 0000000..c039623 --- /dev/null +++ b/sources/plugins/sourcearea/lang/de-ch.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'de-ch', { + toolbar: 'Quellcode' +} ); diff --git a/sources/plugins/sourcearea/lang/de.js b/sources/plugins/sourcearea/lang/de.js new file mode 100644 index 0000000..dfa995f --- /dev/null +++ b/sources/plugins/sourcearea/lang/de.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'de', { + toolbar: 'Quellcode' +} ); diff --git a/sources/plugins/sourcearea/lang/el.js b/sources/plugins/sourcearea/lang/el.js new file mode 100644 index 0000000..0a8d8a8 --- /dev/null +++ b/sources/plugins/sourcearea/lang/el.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'el', { + toolbar: 'Κώδικας' +} ); diff --git a/sources/plugins/sourcearea/lang/en-au.js b/sources/plugins/sourcearea/lang/en-au.js new file mode 100644 index 0000000..10e7843 --- /dev/null +++ b/sources/plugins/sourcearea/lang/en-au.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'en-au', { + toolbar: 'Source' +} ); diff --git a/sources/plugins/sourcearea/lang/en-ca.js b/sources/plugins/sourcearea/lang/en-ca.js new file mode 100644 index 0000000..f5e61da --- /dev/null +++ b/sources/plugins/sourcearea/lang/en-ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'en-ca', { + toolbar: 'Source' +} ); diff --git a/sources/plugins/sourcearea/lang/en-gb.js b/sources/plugins/sourcearea/lang/en-gb.js new file mode 100644 index 0000000..5d876aa --- /dev/null +++ b/sources/plugins/sourcearea/lang/en-gb.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'en-gb', { + toolbar: 'Source' +} ); diff --git a/sources/plugins/sourcearea/lang/en.js b/sources/plugins/sourcearea/lang/en.js new file mode 100644 index 0000000..90a24e9 --- /dev/null +++ b/sources/plugins/sourcearea/lang/en.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'en', { + toolbar: 'Source' +} ); diff --git a/sources/plugins/sourcearea/lang/eo.js b/sources/plugins/sourcearea/lang/eo.js new file mode 100644 index 0000000..613de63 --- /dev/null +++ b/sources/plugins/sourcearea/lang/eo.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'eo', { + toolbar: 'Fonto' +} ); diff --git a/sources/plugins/sourcearea/lang/es.js b/sources/plugins/sourcearea/lang/es.js new file mode 100644 index 0000000..014a967 --- /dev/null +++ b/sources/plugins/sourcearea/lang/es.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'es', { + toolbar: 'Fuente HTML' +} ); diff --git a/sources/plugins/sourcearea/lang/et.js b/sources/plugins/sourcearea/lang/et.js new file mode 100644 index 0000000..9a73ece --- /dev/null +++ b/sources/plugins/sourcearea/lang/et.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'et', { + toolbar: 'Lähtekood' +} ); diff --git a/sources/plugins/sourcearea/lang/eu.js b/sources/plugins/sourcearea/lang/eu.js new file mode 100644 index 0000000..350b3e2 --- /dev/null +++ b/sources/plugins/sourcearea/lang/eu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'eu', { + toolbar: 'Iturburua' +} ); diff --git a/sources/plugins/sourcearea/lang/fa.js b/sources/plugins/sourcearea/lang/fa.js new file mode 100644 index 0000000..40757c0 --- /dev/null +++ b/sources/plugins/sourcearea/lang/fa.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'fa', { + toolbar: 'منبع' +} ); diff --git a/sources/plugins/sourcearea/lang/fi.js b/sources/plugins/sourcearea/lang/fi.js new file mode 100644 index 0000000..fba260e --- /dev/null +++ b/sources/plugins/sourcearea/lang/fi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'fi', { + toolbar: 'Koodi' +} ); diff --git a/sources/plugins/sourcearea/lang/fo.js b/sources/plugins/sourcearea/lang/fo.js new file mode 100644 index 0000000..f384c40 --- /dev/null +++ b/sources/plugins/sourcearea/lang/fo.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'fo', { + toolbar: 'Kelda' +} ); diff --git a/sources/plugins/sourcearea/lang/fr-ca.js b/sources/plugins/sourcearea/lang/fr-ca.js new file mode 100644 index 0000000..707686f --- /dev/null +++ b/sources/plugins/sourcearea/lang/fr-ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'fr-ca', { + toolbar: 'Source' +} ); diff --git a/sources/plugins/sourcearea/lang/fr.js b/sources/plugins/sourcearea/lang/fr.js new file mode 100644 index 0000000..57d4f5f --- /dev/null +++ b/sources/plugins/sourcearea/lang/fr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'fr', { + toolbar: 'Source' +} ); diff --git a/sources/plugins/sourcearea/lang/gl.js b/sources/plugins/sourcearea/lang/gl.js new file mode 100644 index 0000000..c68a1da --- /dev/null +++ b/sources/plugins/sourcearea/lang/gl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'gl', { + toolbar: 'Orixe' +} ); diff --git a/sources/plugins/sourcearea/lang/gu.js b/sources/plugins/sourcearea/lang/gu.js new file mode 100644 index 0000000..a1c9b66 --- /dev/null +++ b/sources/plugins/sourcearea/lang/gu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'gu', { + toolbar: 'મૂળ કે પ્રાથમિક દસ્તાવેજ' +} ); diff --git a/sources/plugins/sourcearea/lang/he.js b/sources/plugins/sourcearea/lang/he.js new file mode 100644 index 0000000..8b0f28d --- /dev/null +++ b/sources/plugins/sourcearea/lang/he.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'he', { + toolbar: 'מקור' +} ); diff --git a/sources/plugins/sourcearea/lang/hi.js b/sources/plugins/sourcearea/lang/hi.js new file mode 100644 index 0000000..0d8cc1b --- /dev/null +++ b/sources/plugins/sourcearea/lang/hi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'hi', { + toolbar: 'सोर्स' +} ); diff --git a/sources/plugins/sourcearea/lang/hr.js b/sources/plugins/sourcearea/lang/hr.js new file mode 100644 index 0000000..dca2202 --- /dev/null +++ b/sources/plugins/sourcearea/lang/hr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'hr', { + toolbar: 'Kôd' +} ); diff --git a/sources/plugins/sourcearea/lang/hu.js b/sources/plugins/sourcearea/lang/hu.js new file mode 100644 index 0000000..9628fe4 --- /dev/null +++ b/sources/plugins/sourcearea/lang/hu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'hu', { + toolbar: 'Forráskód' +} ); diff --git a/sources/plugins/sourcearea/lang/id.js b/sources/plugins/sourcearea/lang/id.js new file mode 100644 index 0000000..f8e25c5 --- /dev/null +++ b/sources/plugins/sourcearea/lang/id.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'id', { + toolbar: 'Sumber' +} ); diff --git a/sources/plugins/sourcearea/lang/is.js b/sources/plugins/sourcearea/lang/is.js new file mode 100644 index 0000000..a90207d --- /dev/null +++ b/sources/plugins/sourcearea/lang/is.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'is', { + toolbar: 'Kóði' +} ); diff --git a/sources/plugins/sourcearea/lang/it.js b/sources/plugins/sourcearea/lang/it.js new file mode 100644 index 0000000..b445a21 --- /dev/null +++ b/sources/plugins/sourcearea/lang/it.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'it', { + toolbar: 'Sorgente' +} ); diff --git a/sources/plugins/sourcearea/lang/ja.js b/sources/plugins/sourcearea/lang/ja.js new file mode 100644 index 0000000..3f026b6 --- /dev/null +++ b/sources/plugins/sourcearea/lang/ja.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ja', { + toolbar: 'ソース' +} ); diff --git a/sources/plugins/sourcearea/lang/ka.js b/sources/plugins/sourcearea/lang/ka.js new file mode 100644 index 0000000..f06b130 --- /dev/null +++ b/sources/plugins/sourcearea/lang/ka.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ka', { + toolbar: 'კოდები' +} ); diff --git a/sources/plugins/sourcearea/lang/km.js b/sources/plugins/sourcearea/lang/km.js new file mode 100644 index 0000000..9cd4769 --- /dev/null +++ b/sources/plugins/sourcearea/lang/km.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'km', { + toolbar: 'អក្សរ​កូដ' +} ); diff --git a/sources/plugins/sourcearea/lang/ko.js b/sources/plugins/sourcearea/lang/ko.js new file mode 100644 index 0000000..26fe7ff --- /dev/null +++ b/sources/plugins/sourcearea/lang/ko.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ko', { + toolbar: '소스' +} ); diff --git a/sources/plugins/sourcearea/lang/ku.js b/sources/plugins/sourcearea/lang/ku.js new file mode 100644 index 0000000..a3f1263 --- /dev/null +++ b/sources/plugins/sourcearea/lang/ku.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ku', { + toolbar: 'سەرچاوە' +} ); diff --git a/sources/plugins/sourcearea/lang/lt.js b/sources/plugins/sourcearea/lang/lt.js new file mode 100644 index 0000000..c3304dc --- /dev/null +++ b/sources/plugins/sourcearea/lang/lt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'lt', { + toolbar: 'Šaltinis' +} ); diff --git a/sources/plugins/sourcearea/lang/lv.js b/sources/plugins/sourcearea/lang/lv.js new file mode 100644 index 0000000..c3ef246 --- /dev/null +++ b/sources/plugins/sourcearea/lang/lv.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'lv', { + toolbar: 'HTML kods' +} ); diff --git a/sources/plugins/sourcearea/lang/mk.js b/sources/plugins/sourcearea/lang/mk.js new file mode 100644 index 0000000..eeccabd --- /dev/null +++ b/sources/plugins/sourcearea/lang/mk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'mk', { + toolbar: 'Source' // MISSING +} ); diff --git a/sources/plugins/sourcearea/lang/mn.js b/sources/plugins/sourcearea/lang/mn.js new file mode 100644 index 0000000..a7c1288 --- /dev/null +++ b/sources/plugins/sourcearea/lang/mn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'mn', { + toolbar: 'Код' +} ); diff --git a/sources/plugins/sourcearea/lang/ms.js b/sources/plugins/sourcearea/lang/ms.js new file mode 100644 index 0000000..f09ac53 --- /dev/null +++ b/sources/plugins/sourcearea/lang/ms.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ms', { + toolbar: 'Sumber' +} ); diff --git a/sources/plugins/sourcearea/lang/nb.js b/sources/plugins/sourcearea/lang/nb.js new file mode 100644 index 0000000..87b75a8 --- /dev/null +++ b/sources/plugins/sourcearea/lang/nb.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'nb', { + toolbar: 'Kilde' +} ); diff --git a/sources/plugins/sourcearea/lang/nl.js b/sources/plugins/sourcearea/lang/nl.js new file mode 100644 index 0000000..dc61f34 --- /dev/null +++ b/sources/plugins/sourcearea/lang/nl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'nl', { + toolbar: 'Broncode' +} ); diff --git a/sources/plugins/sourcearea/lang/no.js b/sources/plugins/sourcearea/lang/no.js new file mode 100644 index 0000000..86f386d --- /dev/null +++ b/sources/plugins/sourcearea/lang/no.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'no', { + toolbar: 'Kilde' +} ); diff --git a/sources/plugins/sourcearea/lang/oc.js b/sources/plugins/sourcearea/lang/oc.js new file mode 100644 index 0000000..90f418f --- /dev/null +++ b/sources/plugins/sourcearea/lang/oc.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'oc', { + toolbar: 'Font' +} ); diff --git a/sources/plugins/sourcearea/lang/pl.js b/sources/plugins/sourcearea/lang/pl.js new file mode 100644 index 0000000..48734a8 --- /dev/null +++ b/sources/plugins/sourcearea/lang/pl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'pl', { + toolbar: 'Źródło dokumentu' +} ); diff --git a/sources/plugins/sourcearea/lang/pt-br.js b/sources/plugins/sourcearea/lang/pt-br.js new file mode 100644 index 0000000..54e3ce1 --- /dev/null +++ b/sources/plugins/sourcearea/lang/pt-br.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'pt-br', { + toolbar: 'Código-Fonte' +} ); diff --git a/sources/plugins/sourcearea/lang/pt.js b/sources/plugins/sourcearea/lang/pt.js new file mode 100644 index 0000000..7fd6c23 --- /dev/null +++ b/sources/plugins/sourcearea/lang/pt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'pt', { + toolbar: 'Fonte' +} ); diff --git a/sources/plugins/sourcearea/lang/ro.js b/sources/plugins/sourcearea/lang/ro.js new file mode 100644 index 0000000..5eb00c4 --- /dev/null +++ b/sources/plugins/sourcearea/lang/ro.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ro', { + toolbar: 'Sursa' +} ); diff --git a/sources/plugins/sourcearea/lang/ru.js b/sources/plugins/sourcearea/lang/ru.js new file mode 100644 index 0000000..304695c --- /dev/null +++ b/sources/plugins/sourcearea/lang/ru.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ru', { + toolbar: 'Источник' +} ); diff --git a/sources/plugins/sourcearea/lang/si.js b/sources/plugins/sourcearea/lang/si.js new file mode 100644 index 0000000..22996eb --- /dev/null +++ b/sources/plugins/sourcearea/lang/si.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'si', { + toolbar: 'මුලාශ්‍රය' +} ); diff --git a/sources/plugins/sourcearea/lang/sk.js b/sources/plugins/sourcearea/lang/sk.js new file mode 100644 index 0000000..aed1c61 --- /dev/null +++ b/sources/plugins/sourcearea/lang/sk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'sk', { + toolbar: 'Zdroj' +} ); diff --git a/sources/plugins/sourcearea/lang/sl.js b/sources/plugins/sourcearea/lang/sl.js new file mode 100644 index 0000000..b9a2b5f --- /dev/null +++ b/sources/plugins/sourcearea/lang/sl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'sl', { + toolbar: 'Izvorna koda' +} ); diff --git a/sources/plugins/sourcearea/lang/sq.js b/sources/plugins/sourcearea/lang/sq.js new file mode 100644 index 0000000..f4512ce --- /dev/null +++ b/sources/plugins/sourcearea/lang/sq.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'sq', { + toolbar: 'Burimi' +} ); diff --git a/sources/plugins/sourcearea/lang/sr-latn.js b/sources/plugins/sourcearea/lang/sr-latn.js new file mode 100644 index 0000000..0d8ebd7 --- /dev/null +++ b/sources/plugins/sourcearea/lang/sr-latn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'sr-latn', { + toolbar: 'Kôd' +} ); diff --git a/sources/plugins/sourcearea/lang/sr.js b/sources/plugins/sourcearea/lang/sr.js new file mode 100644 index 0000000..a872556 --- /dev/null +++ b/sources/plugins/sourcearea/lang/sr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'sr', { + toolbar: 'Kôд' +} ); diff --git a/sources/plugins/sourcearea/lang/sv.js b/sources/plugins/sourcearea/lang/sv.js new file mode 100644 index 0000000..a05d49d --- /dev/null +++ b/sources/plugins/sourcearea/lang/sv.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'sv', { + toolbar: 'Källa' +} ); diff --git a/sources/plugins/sourcearea/lang/th.js b/sources/plugins/sourcearea/lang/th.js new file mode 100644 index 0000000..4afb9bc --- /dev/null +++ b/sources/plugins/sourcearea/lang/th.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'th', { + toolbar: 'ดูรหัส HTML' +} ); diff --git a/sources/plugins/sourcearea/lang/tr.js b/sources/plugins/sourcearea/lang/tr.js new file mode 100644 index 0000000..7a9f70a --- /dev/null +++ b/sources/plugins/sourcearea/lang/tr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'tr', { + toolbar: 'Kaynak' +} ); diff --git a/sources/plugins/sourcearea/lang/tt.js b/sources/plugins/sourcearea/lang/tt.js new file mode 100644 index 0000000..ca05df1 --- /dev/null +++ b/sources/plugins/sourcearea/lang/tt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'tt', { + toolbar: 'Чыганак' +} ); diff --git a/sources/plugins/sourcearea/lang/ug.js b/sources/plugins/sourcearea/lang/ug.js new file mode 100644 index 0000000..791c596 --- /dev/null +++ b/sources/plugins/sourcearea/lang/ug.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'ug', { + toolbar: 'مەنبە' +} ); diff --git a/sources/plugins/sourcearea/lang/uk.js b/sources/plugins/sourcearea/lang/uk.js new file mode 100644 index 0000000..905af47 --- /dev/null +++ b/sources/plugins/sourcearea/lang/uk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'uk', { + toolbar: 'Джерело' +} ); diff --git a/sources/plugins/sourcearea/lang/vi.js b/sources/plugins/sourcearea/lang/vi.js new file mode 100644 index 0000000..df7eb93 --- /dev/null +++ b/sources/plugins/sourcearea/lang/vi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'vi', { + toolbar: 'Mã HTML' +} ); diff --git a/sources/plugins/sourcearea/lang/zh-cn.js b/sources/plugins/sourcearea/lang/zh-cn.js new file mode 100644 index 0000000..a98c869 --- /dev/null +++ b/sources/plugins/sourcearea/lang/zh-cn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'zh-cn', { + toolbar: '源码' +} ); diff --git a/sources/plugins/sourcearea/lang/zh.js b/sources/plugins/sourcearea/lang/zh.js new file mode 100644 index 0000000..043dd11 --- /dev/null +++ b/sources/plugins/sourcearea/lang/zh.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'sourcearea', 'zh', { + toolbar: '原始碼' +} ); diff --git a/sources/plugins/sourcearea/plugin.js b/sources/plugins/sourcearea/plugin.js new file mode 100644 index 0000000..837bc30 --- /dev/null +++ b/sources/plugins/sourcearea/plugin.js @@ -0,0 +1,168 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview The Source Editing Area plugin. It registers the "source" editing + * mode, which displays raw HTML data being edited in the editor. + */ + +( function() { + CKEDITOR.plugins.add( 'sourcearea', { + // jscs:disable maximumLineLength + lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,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', // %REMOVE_LINE_CORE% + // jscs:enable maximumLineLength + icons: 'source,source-rtl', // %REMOVE_LINE_CORE% + hidpi: true, // %REMOVE_LINE_CORE% + init: function( editor ) { + // Source mode in inline editors is only available through the "sourcedialog" plugin. + if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) + return; + + var sourcearea = CKEDITOR.plugins.sourcearea; + + editor.addMode( 'source', function( callback ) { + var contentsSpace = editor.ui.space( 'contents' ), + textarea = contentsSpace.getDocument().createElement( 'textarea' ); + + textarea.setStyles( + CKEDITOR.tools.extend( { + // IE7 has overflow the +

    
    +	
    + +
    +

    Full toolbar configuration

    +

    Below you can see editor with full toolbar, generated automatically by the editor.

    +

    + Note: To create editor instance with full toolbar you don't have to set anything. + Just leave toolbar and toolbarGroups with the default, null values. +

    + +
    
    +	
    + + + + + + diff --git a/sources/plugins/widget/dev/assets/contents.css b/sources/plugins/widget/dev/assets/contents.css new file mode 100644 index 0000000..2cff316 --- /dev/null +++ b/sources/plugins/widget/dev/assets/contents.css @@ -0,0 +1,23 @@ +.mediumBorder { + border-width: 2px; +} +.thickBorder { + border-width: 5px; +} +img.thickBorder, img.mediumBorder { + border-style: solid; + border-color: #CCC; +} +.important.soMuch { + margin: 25px; + padding: 25px; + background: red; + border: none; +} + +span.redMarker { + background-color: red; +} +.invisible { + opacity: 0.1; +} diff --git a/sources/plugins/widget/dev/assets/sample.jpg b/sources/plugins/widget/dev/assets/sample.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a4a77fae83b0f66e77a97f172b4f184e1edac8e7 GIT binary patch literal 17932 zcmbTdbyytDw(#3CxVzinI=D-4cXu5If_w1b1a}DTGH8I{!7X@#6Ce;EK!5~-1wtTP z-m}l$XW#og-*=_{sQ&e;RjXF7lBt$?TzmWi;HxRADg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001 diff --git a/sources/plugins/widget/dev/assets/simplebox/plugin.js b/sources/plugins/widget/dev/assets/simplebox/plugin.js new file mode 100644 index 0000000..43dbad5 --- /dev/null +++ b/sources/plugins/widget/dev/assets/simplebox/plugin.js @@ -0,0 +1,114 @@ +'use strict'; + +// Register the plugin within the editor. +CKEDITOR.plugins.add( 'simplebox', { + // This plugin requires the Widgets System defined in the 'widget' plugin. + requires: 'widget', + + // Register the icon used for the toolbar button. It must be the same + // as the name of the widget. + icons: 'simplebox', + + // The plugin initialization logic goes inside this method. + init: function( editor ) { + // Register the editing dialog. + CKEDITOR.dialog.add( 'simplebox', this.path + 'dialogs/simplebox.js' ); + + // Register the simplebox widget. + editor.widgets.add( 'simplebox', { + // Allow all HTML elements, classes, and styles that this widget requires. + // Read more about the Advanced Content Filter here: + // * http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter + // * http://docs.ckeditor.com/#!/guide/plugin_sdk_integration_with_acf + allowedContent: + 'div(!simplebox,align-left,align-right,align-center){width};' + + 'div(!simplebox-content); h2(!simplebox-title)', + + // Minimum HTML which is required by this widget to work. + requiredContent: 'div(simplebox)', + + // Define two nested editable areas. + editables: { + title: { + // Define CSS selector used for finding the element inside widget element. + selector: '.simplebox-title', + // Define content allowed in this nested editable. Its content will be + // filtered accordingly and the toolbar will be adjusted when this editable + // is focused. + allowedContent: 'br strong em' + }, + content: { + selector: '.simplebox-content' + } + }, + + // Define the template of a new Simple Box widget. + // The template will be used when creating new instances of the Simple Box widget. + template: + '
    ' + + '

    Title

    ' + + '

    Content...

    ' + + '
    ', + + // Define the label for a widget toolbar button which will be automatically + // created by the Widgets System. This button will insert a new widget instance + // created from the template defined above, or will edit selected widget + // (see second part of this tutorial to learn about editing widgets). + // + // Note: In order to be able to translate your widget you should use the + // editor.lang.simplebox.* property. A string was used directly here to simplify this tutorial. + button: 'Create a simple box', + + // Set the widget dialog window name. This enables the automatic widget-dialog binding. + // This dialog window will be opened when creating a new widget or editing an existing one. + dialog: 'simplebox', + + // Check the elements that need to be converted to widgets. + // + // Note: The "element" argument is an instance of http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.element + // so it is not a real DOM element yet. This is caused by the fact that upcasting is performed + // during data processing which is done on DOM represented by JavaScript objects. + upcast: function( element ) { + // Return "true" (that element needs to converted to a Simple Box widget) + // for all
    elements with a "simplebox" class. + return element.name == 'div' && element.hasClass( 'simplebox' ); + }, + + // When a widget is being initialized, we need to read the data ("align" and "width") + // from DOM and set it by using the widget.setData() method. + // More code which needs to be executed when DOM is available may go here. + init: function() { + var width = this.element.getStyle( 'width' ); + if ( width ) + this.setData( 'width', width ); + + if ( this.element.hasClass( 'align-left' ) ) + this.setData( 'align', 'left' ); + if ( this.element.hasClass( 'align-right' ) ) + this.setData( 'align', 'right' ); + if ( this.element.hasClass( 'align-center' ) ) + this.setData( 'align', 'center' ); + }, + + // Listen on the widget#data event which is fired every time the widget data changes + // and updates the widget's view. + // Data may be changed by using the widget.setData() method, which we use in the + // Simple Box dialog window. + data: function() { + // Check whether "width" widget data is set and remove or set "width" CSS style. + // The style is set on widget main element (div.simplebox). + if ( !this.data.width ) + this.element.removeStyle( 'width' ); + else + this.element.setStyle( 'width', this.data.width ); + + // Brutally remove all align classes and set a new one if "align" widget data is set. + this.element.removeClass( 'align-left' ); + this.element.removeClass( 'align-right' ); + this.element.removeClass( 'align-center' ); + if ( this.data.align ) + this.element.addClass( 'align-' + this.data.align ); + } + } ); + } +} ); diff --git a/sources/plugins/widget/dev/console.js b/sources/plugins/widget/dev/console.js new file mode 100644 index 0000000..78db0d0 --- /dev/null +++ b/sources/plugins/widget/dev/console.js @@ -0,0 +1,131 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/* global CKCONSOLE */ + +'use strict'; + +( function() { + + CKCONSOLE.add( 'widget', { + panels: [ + { + type: 'box', + content: '
      ', + + refresh: function( editor ) { + var instances = obj2Array( editor.widgets.instances ); + + return { + header: 'Instances (' + instances.length + ')', + instances: generateInstancesList( instances ) + }; + }, + + refreshOn: function( editor, refresh ) { + editor.widgets.on( 'instanceCreated', function( evt ) { + refresh(); + + evt.data.on( 'data', refresh ); + } ); + + editor.widgets.on( 'instanceDestroyed', refresh ); + } + }, + + { + type: 'box', + content: + '
        ' + + '
      • focused:
      • ' + + '
      • selected:
      • ' + + '
      ', + + refresh: function( editor ) { + var focused = editor.widgets.focused, + selected = editor.widgets.selected, + selectedIds = []; + + for ( var i = 0; i < selected.length; ++i ) + selectedIds.push( selected[ i ].id ); + + return { + header: 'Focus & selection', + focused: focused ? 'id: ' + focused.id : '-', + selected: selectedIds.length ? 'id: ' + selectedIds.join( ', id: ' ) : '-' + }; + }, + + refreshOn: function( editor, refresh ) { + editor.on( 'selectionCheck', refresh, null, null, 999 ); + } + }, + + { + type: 'log', + + on: function( editor, log, logFn ) { + // Add all listeners with high priorities to log + // messages in the correct order when one event depends on another. + // E.g. selectionChange triggers widget selection - if this listener + // for selectionChange will be executed later than that one, then order + // will be incorrect. + + editor.on( 'selectionChange', function( evt ) { + var msg = 'selection change', + sel = evt.data.selection, + el = sel.getSelectedElement(), + widget; + + if ( el && ( widget = editor.widgets.getByElement( el, true ) ) ) + msg += ' (id: ' + widget.id + ')'; + + log( msg ); + }, null, null, 1 ); + + editor.widgets.on( 'instanceDestroyed', function( evt ) { + log( 'instance destroyed (id: ' + evt.data.id + ')' ); + }, null, null, 1 ); + + editor.widgets.on( 'instanceCreated', function( evt ) { + log( 'instance created (id: ' + evt.data.id + ')' ); + }, null, null, 1 ); + + editor.widgets.on( 'widgetFocused', function( evt ) { + log( 'widget focused (id: ' + evt.data.widget.id + ')' ); + }, null, null, 1 ); + + editor.widgets.on( 'widgetBlurred', function( evt ) { + log( 'widget blurred (id: ' + evt.data.widget.id + ')' ); + }, null, null, 1 ); + + editor.widgets.on( 'checkWidgets', logFn( 'checking widgets' ), null, null, 1 ); + editor.widgets.on( 'checkSelection', logFn( 'checking selection' ), null, null, 1 ); + } + } + ] + } ); + + function generateInstancesList( instances ) { + var html = '', + instance; + + for ( var i = 0; i < instances.length; ++i ) { + instance = instances[ i ]; + html += itemTpl.output( { id: instance.id, name: instance.name, data: JSON.stringify( instance.data ) } ); + } + return html; + } + + function obj2Array( obj ) { + var arr = []; + for ( var id in obj ) + arr.push( obj[ id ] ); + + return arr; + } + + var itemTpl = new CKEDITOR.template( '
    • id: {id}, name: {name}, data: {data}
    • ' ); +} )(); diff --git a/sources/plugins/widget/dev/nestedwidgets.html b/sources/plugins/widget/dev/nestedwidgets.html new file mode 100644 index 0000000..0686d2c --- /dev/null +++ b/sources/plugins/widget/dev/nestedwidgets.html @@ -0,0 +1,134 @@ + + + + + + Nested widgets — CKEditor Sample + + + + + + + + + +

      Nested widgets

      + +

      Classic (iframe-based) Sample

      + + +

      Inline Sample

      +
      +

      Simple Box Sample

      + +
      +

      Title

      +
      +

      Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on [[July 20, 1969, at 20:18 UTC]]. Armstrong became the first to step onto the lunar surface 6 hours later on [[July 21 at 02:56 UTC]].

      + +
      + The Eagle +
      The Eagle in lunar orbit
      +
      + +
        +
      • Foo!
      • +
      • Bar!
      • +
      + +

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet orci ut nisi adipiscing ultrices. Sed pellentesque iaculis malesuada. Pellentesque scelerisque, purus non porta dictum, neque urna bibendum dolor, eget tristique ipsum metus fringilla dolor. Nullam sed accumsan sapien. Vestibulum in placerat magna. Sed justo lacus, volutpat rhoncus odio luctus, ornare adipiscing mauris. Vivamus erat sem, egestas et lectus eget, varius cursus odio. Duis posuere lacus sit amet urna bibendum, id iaculis eros ultrices. Vestibulum a ultrices ante.

      +
      +
      + +

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet orci ut nisi adipiscing ultrices. Sed pellentesque iaculis malesuada. Pellentesque scelerisque, purus non porta dictum, neque urna bibendum dolor, eget tristique ipsum metus fringilla dolor. Nullam sed accumsan sapien. Vestibulum in placerat magna. Sed justo lacus, volutpat rhoncus odio luctus, ornare adipiscing mauris. Vivamus erat sem, egestas et lectus eget, varius cursus odio. Duis posuere lacus sit amet urna bibendum, id iaculis eros ultrices. Vestibulum a ultrices ante.

      + +

      Pellentesque vitae eleifend nisl, non accumsan tellus. Maecenas nec libero non tellus tincidunt mollis porttitor sed arcu. Donec ultricies nulla vitae eros lacinia, vel congue sem auctor. Vivamus convallis, urna ac tincidunt malesuada, lectus erat convallis metus, a hendrerit massa augue accumsan magna. Nulla mattis tellus elit, nec congue magna scelerisque eget. Aliquam posuere nisi augue, posuere sodales nisi iaculis eu. Donec fermentum urna id nibh sagittis fermentum sit amet sed enim. Aliquam neque elit, pretium elementum nunc a, faucibus accumsan lorem. Etiam pulvinar odio et hendrerit tincidunt. Suspendisse tempus eros lacus, in convallis velit mollis ut. Aenean congue, justo eleifend ultricies malesuada, nunc nunc molestie mauris, eget placerat libero eros vel nisi. Quisque diam arcu, mollis ac laoreet vitae, varius et sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Duis in vehicula sapien. Nunc feugiat porta elit nec volutpat.

      + +

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet orci ut nisi adipiscing ultrices. Sed pellentesque iaculis malesuada. Pellentesque scelerisque, purus non porta dictum, neque urna bibendum dolor, eget tristique ipsum metus fringilla dolor. Nullam sed accumsan sapien. Vestibulum in placerat magna. Sed justo lacus, volutpat rhoncus odio luctus, ornare adipiscing mauris. Vivamus erat sem, egestas et lectus eget, varius cursus odio. Duis posuere lacus sit amet urna bibendum, id iaculis eros ultrices. Vestibulum a ultrices ante.

      + +
      +

      Title

      +
      +

      The EagleApollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on [[July 20, 1969, at 20:18 UTC]]. Armstrong became the first to step onto the lunar surface 6 hours later on [[July 21 at 02:56 UTC]].

      + +
        +
      • Foo!
      • +
      • Bar!
      • +
      +
      +
      + +

      Ut eget ipsum a sapien porta ultrices. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vivamus mi lacus, pharetra eu bibendum blandit, tristique sit amet leo. Integer eu nulla nec magna vulputate blandit. Praesent mattis quis ante eget adipiscing. Nulla vel tempus risus, in placerat velit. Mauris sed nibh at elit posuere laoreet. Morbi non sapien sed nunc fringilla imperdiet.

      +
      + + + + diff --git a/sources/plugins/widget/dev/widgetstyles.html b/sources/plugins/widget/dev/widgetstyles.html new file mode 100644 index 0000000..8e54b8d --- /dev/null +++ b/sources/plugins/widget/dev/widgetstyles.html @@ -0,0 +1,144 @@ + + + + + + Applying styles to widgets — CKEditor Sample + + + + + + +

      Applying styles to widgets

      + +

      Classic (iframe-based) Sample

      + + +

      Inline Sample

      +
      +

      Apollo 11

      + +
      + Saturn V +
      Roll out of Saturn V on launch pad
      +
      + +

      Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on [[July 20, 1969, at 20:18 UTC]]. Armstrong became the first to step onto the lunar surface 6 hours later on [[July 21 at 02:56 UTC]].

      + +

      Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.

      + +

      Broadcasting and quotes

      + +

      Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

      + +
      +

      One small step for [a] man, one giant leap for mankind.

      +
      + +

      \( \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \)

      + +

      Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

      + +
      +

      [...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

      +
      + +
      + The Eagle +
      The Eagle in lunar orbit
      +
      + +

      Technical details

      + +

      Launched by a Saturn V rocket from Kennedy Space Center in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of NASA's Apollo program. The Apollo spacecraft had three parts:

      + +
        +
      1. Command Module with a cabin for the three astronauts which was the only part which landed back on Earth
      2. +
      3. Service Module which supported the Command Module with propulsion, electrical power, oxygen and water
      4. +
      5. Lunar Module for landing on the Moon.
      6. +
      + +

      After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the Sea of Tranquility. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the Pacific Ocean on July 24.

      +
      + + + + diff --git a/sources/plugins/widget/images/handle.png b/sources/plugins/widget/images/handle.png new file mode 100644 index 0000000000000000000000000000000000000000..ba8cda5b30650babdd9e9b439bf92dd78e7e3425 GIT binary patch literal 220 zcmeAS@N?(olHy`uVBq!ia0vp^{2Q&R(y%F4>B zs;Uq!kbwq_7Top+>f$X4@(X6LuyOG4sc+bE;L!1t|K@(+14@K=x;Tb#Tu;8Rb9cks z#J94nZHsw$wz2W7VVBS|FgP>!0K<|7o;WsvWX2Z8B?>%jY}0rZj)}3g-PxTm;lP0# v3__VH4l5d8H_c`?|H*MfZyGa?!EHvRt#Zd+?pApQG@rrK)z4*}Q$iB}(WFB8 literal 0 HcmV?d00001 diff --git a/sources/plugins/widget/lang/af.js b/sources/plugins/widget/lang/af.js new file mode 100644 index 0000000..e37c598 --- /dev/null +++ b/sources/plugins/widget/lang/af.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'af', { + 'move': 'Klik en trek on te beweeg', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/ar.js b/sources/plugins/widget/lang/ar.js new file mode 100644 index 0000000..0a4f8eb --- /dev/null +++ b/sources/plugins/widget/lang/ar.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'ar', { + 'move': 'إضغط و إسحب للتحريك', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/az.js b/sources/plugins/widget/lang/az.js new file mode 100644 index 0000000..24ddaf3 --- /dev/null +++ b/sources/plugins/widget/lang/az.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'az', { + 'move': 'Tıklayın və aparın', + 'label': '%1 vidjet' +} ); diff --git a/sources/plugins/widget/lang/bg.js b/sources/plugins/widget/lang/bg.js new file mode 100644 index 0000000..9b51458 --- /dev/null +++ b/sources/plugins/widget/lang/bg.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'bg', { + 'move': 'Кликни и влачи, за да преместиш', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/ca.js b/sources/plugins/widget/lang/ca.js new file mode 100644 index 0000000..f46a4f8 --- /dev/null +++ b/sources/plugins/widget/lang/ca.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'ca', { + 'move': 'Clicar i arrossegar per moure', + 'label': '%1 widget' +} ); diff --git a/sources/plugins/widget/lang/cs.js b/sources/plugins/widget/lang/cs.js new file mode 100644 index 0000000..5d9590b --- /dev/null +++ b/sources/plugins/widget/lang/cs.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'cs', { + 'move': 'Klepněte a táhněte pro přesunutí', + 'label': 'Ovládací prvek %1' +} ); diff --git a/sources/plugins/widget/lang/cy.js b/sources/plugins/widget/lang/cy.js new file mode 100644 index 0000000..29dc110 --- /dev/null +++ b/sources/plugins/widget/lang/cy.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'cy', { + 'move': 'Clcio a llusgo i symud', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/da.js b/sources/plugins/widget/lang/da.js new file mode 100644 index 0000000..8dfe785 --- /dev/null +++ b/sources/plugins/widget/lang/da.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'da', { + 'move': 'Klik og træk for at flytte', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/de-ch.js b/sources/plugins/widget/lang/de-ch.js new file mode 100644 index 0000000..a95febb --- /dev/null +++ b/sources/plugins/widget/lang/de-ch.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'de-ch', { + 'move': 'Zum Verschieben anwählen und ziehen', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/de.js b/sources/plugins/widget/lang/de.js new file mode 100644 index 0000000..838ad89 --- /dev/null +++ b/sources/plugins/widget/lang/de.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'de', { + 'move': 'Zum Verschieben anwählen und ziehen', + 'label': '%1 Steuerelement' +} ); diff --git a/sources/plugins/widget/lang/el.js b/sources/plugins/widget/lang/el.js new file mode 100644 index 0000000..863604a --- /dev/null +++ b/sources/plugins/widget/lang/el.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'el', { + 'move': 'Κάνετε κλικ και σύρετε το ποντίκι για να μετακινήστε', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/en-gb.js b/sources/plugins/widget/lang/en-gb.js new file mode 100644 index 0000000..ed09606 --- /dev/null +++ b/sources/plugins/widget/lang/en-gb.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'en-gb', { + 'move': 'Click and drag to move', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/en.js b/sources/plugins/widget/lang/en.js new file mode 100644 index 0000000..5967f4d --- /dev/null +++ b/sources/plugins/widget/lang/en.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'en', { + 'move': 'Click and drag to move', + 'label': '%1 widget' +} ); diff --git a/sources/plugins/widget/lang/eo.js b/sources/plugins/widget/lang/eo.js new file mode 100644 index 0000000..f4979ac --- /dev/null +++ b/sources/plugins/widget/lang/eo.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'eo', { + 'move': 'klaki kaj treni por movi', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/es.js b/sources/plugins/widget/lang/es.js new file mode 100644 index 0000000..d8deb2c --- /dev/null +++ b/sources/plugins/widget/lang/es.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'es', { + 'move': 'Dar clic y arrastrar para mover', + 'label': 'reproductor %1' +} ); diff --git a/sources/plugins/widget/lang/eu.js b/sources/plugins/widget/lang/eu.js new file mode 100644 index 0000000..e128dfe --- /dev/null +++ b/sources/plugins/widget/lang/eu.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'eu', { + 'move': 'Klikatu eta arrastatu lekuz aldatzeko', + 'label': '%1 widget' +} ); diff --git a/sources/plugins/widget/lang/fa.js b/sources/plugins/widget/lang/fa.js new file mode 100644 index 0000000..57ea31f --- /dev/null +++ b/sources/plugins/widget/lang/fa.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'fa', { + 'move': 'کلیک و کشیدن برای جابجایی', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/fi.js b/sources/plugins/widget/lang/fi.js new file mode 100644 index 0000000..759b2cf --- /dev/null +++ b/sources/plugins/widget/lang/fi.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'fi', { + 'move': 'Siirrä klikkaamalla ja raahaamalla', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/fr.js b/sources/plugins/widget/lang/fr.js new file mode 100644 index 0000000..9decbf6 --- /dev/null +++ b/sources/plugins/widget/lang/fr.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'fr', { + 'move': 'Cliquer et glisser pour déplacer', + 'label': 'Élément %1' +} ); diff --git a/sources/plugins/widget/lang/gl.js b/sources/plugins/widget/lang/gl.js new file mode 100644 index 0000000..ef070b6 --- /dev/null +++ b/sources/plugins/widget/lang/gl.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'gl', { + 'move': 'Prema e arrastre para mover', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/he.js b/sources/plugins/widget/lang/he.js new file mode 100644 index 0000000..b8dd2cb --- /dev/null +++ b/sources/plugins/widget/lang/he.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'he', { + 'move': 'לחץ וגרור להזזה', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/hr.js b/sources/plugins/widget/lang/hr.js new file mode 100644 index 0000000..952d800 --- /dev/null +++ b/sources/plugins/widget/lang/hr.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'hr', { + 'move': 'Klikni i povuci da pomakneÅ¡', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/hu.js b/sources/plugins/widget/lang/hu.js new file mode 100644 index 0000000..4721305 --- /dev/null +++ b/sources/plugins/widget/lang/hu.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'hu', { + 'move': 'Kattints és húzd a mozgatáshoz', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/id.js b/sources/plugins/widget/lang/id.js new file mode 100644 index 0000000..ef19392 --- /dev/null +++ b/sources/plugins/widget/lang/id.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'id', { + 'move': 'Tekan dan geser untuk memindahkan', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/it.js b/sources/plugins/widget/lang/it.js new file mode 100644 index 0000000..59b43f6 --- /dev/null +++ b/sources/plugins/widget/lang/it.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'it', { + 'move': 'Fare clic e trascinare per spostare', + 'label': 'Widget %1' +} ); diff --git a/sources/plugins/widget/lang/ja.js b/sources/plugins/widget/lang/ja.js new file mode 100644 index 0000000..a742718 --- /dev/null +++ b/sources/plugins/widget/lang/ja.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'ja', { + 'move': 'ドラッグして移動', + 'label': '%1 ウィジェット' +} ); diff --git a/sources/plugins/widget/lang/km.js b/sources/plugins/widget/lang/km.js new file mode 100644 index 0000000..6c61c73 --- /dev/null +++ b/sources/plugins/widget/lang/km.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'km', { + 'move': 'ចុច​ហើយ​ទាញ​ដើម្បី​ផ្លាស់​ទី', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/ko.js b/sources/plugins/widget/lang/ko.js new file mode 100644 index 0000000..0107a13 --- /dev/null +++ b/sources/plugins/widget/lang/ko.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'ko', { + 'move': '움직이려면 클릭 후 드래그 하세요', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/ku.js b/sources/plugins/widget/lang/ku.js new file mode 100644 index 0000000..2af50cb --- /dev/null +++ b/sources/plugins/widget/lang/ku.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'ku', { + 'move': 'کرتەبکە و ڕایبکێشە بۆ جوڵاندن', + 'label': '%1 ویجێت' +} ); diff --git a/sources/plugins/widget/lang/lv.js b/sources/plugins/widget/lang/lv.js new file mode 100644 index 0000000..e5fc3ac --- /dev/null +++ b/sources/plugins/widget/lang/lv.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'lv', { + 'move': 'KlikÅ¡Ä·ina un velc, lai pārvietotu', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/nb.js b/sources/plugins/widget/lang/nb.js new file mode 100644 index 0000000..af46bc9 --- /dev/null +++ b/sources/plugins/widget/lang/nb.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'nb', { + 'move': 'Klikk og dra for Ã¥ flytte', + 'label': 'Widget %1' +} ); diff --git a/sources/plugins/widget/lang/nl.js b/sources/plugins/widget/lang/nl.js new file mode 100644 index 0000000..56b182c --- /dev/null +++ b/sources/plugins/widget/lang/nl.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'nl', { + 'move': 'Klik en sleep om te verplaatsen', + 'label': '%1 widget' +} ); diff --git a/sources/plugins/widget/lang/no.js b/sources/plugins/widget/lang/no.js new file mode 100644 index 0000000..b86bd7b --- /dev/null +++ b/sources/plugins/widget/lang/no.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'no', { + 'move': 'Klikk og dra for Ã¥ flytte', + 'label': 'Widget %1' +} ); diff --git a/sources/plugins/widget/lang/oc.js b/sources/plugins/widget/lang/oc.js new file mode 100644 index 0000000..10ff842 --- /dev/null +++ b/sources/plugins/widget/lang/oc.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'oc', { + 'move': 'Clicar e lisar per desplaçar', + 'label': 'Element %1' +} ); diff --git a/sources/plugins/widget/lang/pl.js b/sources/plugins/widget/lang/pl.js new file mode 100644 index 0000000..2d90df8 --- /dev/null +++ b/sources/plugins/widget/lang/pl.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'pl', { + 'move': 'Kliknij i przeciągnij, by przenieść.', + 'label': 'Widget %1' +} ); diff --git a/sources/plugins/widget/lang/pt-br.js b/sources/plugins/widget/lang/pt-br.js new file mode 100644 index 0000000..9ce9be4 --- /dev/null +++ b/sources/plugins/widget/lang/pt-br.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'pt-br', { + 'move': 'Click e arraste para mover', + 'label': '%1 widget' +} ); diff --git a/sources/plugins/widget/lang/pt.js b/sources/plugins/widget/lang/pt.js new file mode 100644 index 0000000..422ef93 --- /dev/null +++ b/sources/plugins/widget/lang/pt.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'pt', { + 'move': 'Clique e arraste para mover', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/ru.js b/sources/plugins/widget/lang/ru.js new file mode 100644 index 0000000..d6f36f5 --- /dev/null +++ b/sources/plugins/widget/lang/ru.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'ru', { + 'move': 'Нажмите и перетащите, чтобы переместить', + 'label': '%1 виджет' +} ); diff --git a/sources/plugins/widget/lang/sk.js b/sources/plugins/widget/lang/sk.js new file mode 100644 index 0000000..05acac4 --- /dev/null +++ b/sources/plugins/widget/lang/sk.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'sk', { + 'move': 'Kliknite a potiahnite pre presunutie', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/sl.js b/sources/plugins/widget/lang/sl.js new file mode 100644 index 0000000..96ffd1e --- /dev/null +++ b/sources/plugins/widget/lang/sl.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'sl', { + 'move': 'Kliknite in povlecite, da premaknete', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/sq.js b/sources/plugins/widget/lang/sq.js new file mode 100644 index 0000000..ad46c7d --- /dev/null +++ b/sources/plugins/widget/lang/sq.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'sq', { + 'move': 'Kliko dhe tërhiqe për ta lëvizur', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/sv.js b/sources/plugins/widget/lang/sv.js new file mode 100644 index 0000000..7faff37 --- /dev/null +++ b/sources/plugins/widget/lang/sv.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'sv', { + 'move': 'Klicka och drag för att flytta', + 'label': '%1-widget' +} ); diff --git a/sources/plugins/widget/lang/tr.js b/sources/plugins/widget/lang/tr.js new file mode 100644 index 0000000..92fa952 --- /dev/null +++ b/sources/plugins/widget/lang/tr.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'tr', { + 'move': 'Taşımak için, tıklayın ve sürükleyin', + 'label': '%1 Grafik Beleşeni' +} ); diff --git a/sources/plugins/widget/lang/tt.js b/sources/plugins/widget/lang/tt.js new file mode 100644 index 0000000..30fb31a --- /dev/null +++ b/sources/plugins/widget/lang/tt.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'tt', { + 'move': 'Күчереп куер өчен басып шудырыгыз', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/ug.js b/sources/plugins/widget/lang/ug.js new file mode 100644 index 0000000..fc216c4 --- /dev/null +++ b/sources/plugins/widget/lang/ug.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'ug', { + 'move': 'يۆتكەشتە چېكىپ سۆرەڭ', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/uk.js b/sources/plugins/widget/lang/uk.js new file mode 100644 index 0000000..fab6d5d --- /dev/null +++ b/sources/plugins/widget/lang/uk.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'uk', { + 'move': 'Клікніть і потягніть для переміщення', + 'label': '%1 віджет' +} ); diff --git a/sources/plugins/widget/lang/vi.js b/sources/plugins/widget/lang/vi.js new file mode 100644 index 0000000..2bbe246 --- /dev/null +++ b/sources/plugins/widget/lang/vi.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'vi', { + 'move': 'Nhấp chuột và kéo để di chuyển', + 'label': '%1 widget' // MISSING +} ); diff --git a/sources/plugins/widget/lang/zh-cn.js b/sources/plugins/widget/lang/zh-cn.js new file mode 100644 index 0000000..2381407 --- /dev/null +++ b/sources/plugins/widget/lang/zh-cn.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'zh-cn', { + 'move': '点击并拖拽以移动', + 'label': '%1 小部件' +} ); diff --git a/sources/plugins/widget/lang/zh.js b/sources/plugins/widget/lang/zh.js new file mode 100644 index 0000000..b6e945b --- /dev/null +++ b/sources/plugins/widget/lang/zh.js @@ -0,0 +1,8 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ +CKEDITOR.plugins.setLang( 'widget', 'zh', { + 'move': '拖曳以移動', + 'label': '%1 小工具' +} ); diff --git a/sources/plugins/widget/plugin.js b/sources/plugins/widget/plugin.js new file mode 100644 index 0000000..37374ab --- /dev/null +++ b/sources/plugins/widget/plugin.js @@ -0,0 +1,4126 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview [Widget](http://ckeditor.com/addon/widget) plugin. + */ + +'use strict'; + +( function() { + var DRAG_HANDLER_SIZE = 15; + + CKEDITOR.plugins.add( 'widget', { + // jscs:disable maximumLineLength + lang: 'af,ar,az,bg,ca,cs,cy,da,de,de-ch,el,en,en-gb,eo,es,eu,fa,fi,fr,gl,he,hr,hu,id,it,ja,km,ko,ku,lv,nb,nl,no,oc,pl,pt,pt-br,ru,sk,sl,sq,sv,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% + // jscs:enable maximumLineLength + requires: 'lineutils,clipboard,widgetselection', + onLoad: function() { + CKEDITOR.addCss( + '.cke_widget_wrapper{' + + 'position:relative;' + + 'outline:none' + + '}' + + '.cke_widget_inline{' + + 'display:inline-block' + + '}' + + '.cke_widget_wrapper:hover>.cke_widget_element{' + + 'outline:2px solid yellow;' + + 'cursor:default' + + '}' + + '.cke_widget_wrapper:hover .cke_widget_editable{' + + 'outline:2px solid yellow' + + '}' + + '.cke_widget_wrapper.cke_widget_focused>.cke_widget_element,' + + // We need higher specificity than hover style. + '.cke_widget_wrapper .cke_widget_editable.cke_widget_editable_focused{' + + 'outline:2px solid #ace' + + '}' + + '.cke_widget_editable{' + + 'cursor:text' + + '}' + + '.cke_widget_drag_handler_container{' + + 'position:absolute;' + + 'width:' + DRAG_HANDLER_SIZE + 'px;' + + 'height:0;' + + // Initially drag handler should not be visible, until its position will be + // calculated (#11177). + // We need to hide unpositined handlers, so they don't extend + // widget's outline far to the left (#12024). + 'display:none;' + + 'opacity:0.75;' + + 'transition:height 0s 0.2s;' + // Delay hiding drag handler. + // Prevent drag handler from being misplaced (#11198). + 'line-height:0' + + '}' + + '.cke_widget_wrapper:hover>.cke_widget_drag_handler_container{' + + 'height:' + DRAG_HANDLER_SIZE + 'px;' + + 'transition:none' + + '}' + + '.cke_widget_drag_handler_container:hover{' + + 'opacity:1' + + '}' + + 'img.cke_widget_drag_handler{' + + 'cursor:move;' + + 'width:' + DRAG_HANDLER_SIZE + 'px;' + + 'height:' + DRAG_HANDLER_SIZE + 'px;' + + 'display:inline-block' + + '}' + + '.cke_widget_mask{' + + 'position:absolute;' + + 'top:0;' + + 'left:0;' + + 'width:100%;' + + 'height:100%;' + + 'display:block' + + '}' + + '.cke_editable.cke_widget_dragging, .cke_editable.cke_widget_dragging *{' + + 'cursor:move !important' + + '}' + ); + }, + + beforeInit: function( editor ) { + /** + * An instance of widget repository. It contains all + * {@link CKEDITOR.plugins.widget.repository#registered registered widget definitions} and + * {@link CKEDITOR.plugins.widget.repository#instances initialized instances}. + * + * editor.widgets.add( 'someName', { + * // Widget definition... + * } ); + * + * editor.widgets.registered.someName; // -> Widget definition + * + * @since 4.3 + * @readonly + * @property {CKEDITOR.plugins.widget.repository} widgets + * @member CKEDITOR.editor + */ + editor.widgets = new Repository( editor ); + }, + + afterInit: function( editor ) { + addWidgetButtons( editor ); + setupContextMenu( editor ); + } + } ); + + /** + * Widget repository. It keeps track of all {@link #registered registered widget definitions} and + * {@link #instances initialized instances}. An instance of the repository is available under + * the {@link CKEDITOR.editor#widgets} property. + * + * @class CKEDITOR.plugins.widget.repository + * @mixins CKEDITOR.event + * @constructor Creates a widget repository instance. Note that the widget plugin automatically + * creates a repository instance which is available under the {@link CKEDITOR.editor#widgets} property. + * @param {CKEDITOR.editor} editor The editor instance for which the repository will be created. + */ + function Repository( editor ) { + /** + * The editor instance for which this repository was created. + * + * @readonly + * @property {CKEDITOR.editor} editor + */ + this.editor = editor; + + /** + * A hash of registered widget definitions (definition name => {@link CKEDITOR.plugins.widget.definition}). + * + * To register a definition use the {@link #add} method. + * + * @readonly + */ + this.registered = {}; + + /** + * An object containing initialized widget instances (widget id => {@link CKEDITOR.plugins.widget}). + * + * @readonly + */ + this.instances = {}; + + /** + * An array of selected widget instances. + * + * @readonly + * @property {CKEDITOR.plugins.widget[]} selected + */ + this.selected = []; + + /** + * The focused widget instance. See also {@link CKEDITOR.plugins.widget#event-focus} + * and {@link CKEDITOR.plugins.widget#event-blur} events. + * + * editor.on( 'selectionChange', function() { + * if ( editor.widgets.focused ) { + * // Do something when a widget is focused... + * } + * } ); + * + * @readonly + * @property {CKEDITOR.plugins.widget} focused + */ + this.focused = null; + + /** + * The widget instance that contains the nested editable which is currently focused. + * + * @readonly + * @property {CKEDITOR.plugins.widget} widgetHoldingFocusedEditable + */ + this.widgetHoldingFocusedEditable = null; + + this._ = { + nextId: 0, + upcasts: [], + upcastCallbacks: [], + filters: {} + }; + + setupWidgetsLifecycle( this ); + setupSelectionObserver( this ); + setupMouseObserver( this ); + setupKeyboardObserver( this ); + setupDragAndDrop( this ); + setupNativeCutAndCopy( this ); + } + + Repository.prototype = { + /** + * Minimum interval between selection checks. + * + * @private + */ + MIN_SELECTION_CHECK_INTERVAL: 500, + + /** + * Adds a widget definition to the repository. Fires the {@link CKEDITOR.editor#widgetDefinition} event + * which allows to modify the widget definition which is going to be registered. + * + * @param {String} name The name of the widget definition. + * @param {CKEDITOR.plugins.widget.definition} widgetDef Widget definition. + * @returns {CKEDITOR.plugins.widget.definition} + */ + add: function( name, widgetDef ) { + // Create prototyped copy of original widget definition, so we won't modify it. + widgetDef = CKEDITOR.tools.prototypedCopy( widgetDef ); + widgetDef.name = name; + + widgetDef._ = widgetDef._ || {}; + + this.editor.fire( 'widgetDefinition', widgetDef ); + + if ( widgetDef.template ) + widgetDef.template = new CKEDITOR.template( widgetDef.template ); + + addWidgetCommand( this.editor, widgetDef ); + addWidgetProcessors( this, widgetDef ); + + this.registered[ name ] = widgetDef; + + return widgetDef; + }, + + /** + * Adds a callback for element upcasting. Each callback will be executed + * for every element which is later tested by upcast methods. If a callback + * returns `false`, the element will not be upcasted. + * + * // Images with the "banner" class will not be upcasted (e.g. to the image widget). + * editor.widgets.addUpcastCallback( function( element ) { + * if ( element.name == 'img' && element.hasClass( 'banner' ) ) + * return false; + * } ); + * + * @param {Function} callback + * @param {CKEDITOR.htmlParser.element} callback.element + */ + addUpcastCallback: function( callback ) { + this._.upcastCallbacks.push( callback ); + }, + + /** + * Checks the selection to update widget states (selection and focus). + * + * This method is triggered by the {@link #event-checkSelection} event. + */ + checkSelection: function() { + var sel = this.editor.getSelection(), + selectedElement = sel.getSelectedElement(), + updater = stateUpdater( this ), + widget; + + // Widget is focused so commit and finish checking. + if ( selectedElement && ( widget = this.getByElement( selectedElement, true ) ) ) + return updater.focus( widget ).select( widget ).commit(); + + var range = sel.getRanges()[ 0 ]; + + // No ranges or collapsed range mean that nothing is selected, so commit and finish checking. + if ( !range || range.collapsed ) + return updater.commit(); + + // Range is not empty, so create walker checking for wrappers. + var walker = new CKEDITOR.dom.walker( range ), + wrapper; + + walker.evaluator = Widget.isDomWidgetWrapper; + + while ( ( wrapper = walker.next() ) ) + updater.select( this.getByElement( wrapper ) ); + + updater.commit(); + }, + + /** + * Checks if all widget instances are still present in the DOM. + * Destroys those instances that are not present. + * Reinitializes widgets on widget wrappers for which widget instances + * cannot be found. Takes nested widgets into account, too. + * + * This method triggers the {@link #event-checkWidgets} event whose listeners + * can cancel the method's execution or modify its options. + * + * @param [options] The options object. + * @param {Boolean} [options.initOnlyNew] Initializes widgets only on newly wrapped + * widget elements (those which still have the `cke_widget_new` class). When this option is + * set to `true`, widgets which were invalidated (e.g. by replacing with a cloned DOM structure) + * will not be reinitialized. This makes the check faster. + * @param {Boolean} [options.focusInited] If only one widget is initialized by + * the method, it will be focused. + */ + checkWidgets: function( options ) { + this.fire( 'checkWidgets', CKEDITOR.tools.copy( options || {} ) ); + }, + + /** + * Removes the widget from the editor and moves the selection to the closest + * editable position if the widget was focused before. + * + * @param {CKEDITOR.plugins.widget} widget The widget instance to be deleted. + */ + del: function( widget ) { + if ( this.focused === widget ) { + var editor = widget.editor, + range = editor.createRange(), + found; + + // If haven't found place for caret on the default side, + // try to find it on the other side. + if ( !( found = range.moveToClosestEditablePosition( widget.wrapper, true ) ) ) + found = range.moveToClosestEditablePosition( widget.wrapper, false ); + + if ( found ) + editor.getSelection().selectRanges( [ range ] ); + } + + widget.wrapper.remove(); + this.destroy( widget, true ); + }, + + /** + * Destroys the widget instance and all its nested widgets (widgets inside its nested editables). + * + * @param {CKEDITOR.plugins.widget} widget The widget instance to be destroyed. + * @param {Boolean} [offline] Whether the widget is offline (detached from the DOM tree) — + * in this case the DOM (attributes, classes, etc.) will not be cleaned up. + */ + destroy: function( widget, offline ) { + if ( this.widgetHoldingFocusedEditable === widget ) + setFocusedEditable( this, widget, null, offline ); + + widget.destroy( offline ); + delete this.instances[ widget.id ]; + this.fire( 'instanceDestroyed', widget ); + }, + + /** + * Destroys all widget instances. + * + * @param {Boolean} [offline] Whether the widgets are offline (detached from the DOM tree) — + * in this case the DOM (attributes, classes, etc.) will not be cleaned up. + * @param {CKEDITOR.dom.element} [container] The container within widgets will be destroyed. + * This option will be ignored if the `offline` flag was set to `true`, because in such case + * it is not possible to find widgets within the passed block. + */ + destroyAll: function( offline, container ) { + var widget, + id, + instances = this.instances; + + if ( container && !offline ) { + var wrappers = container.find( '.cke_widget_wrapper' ), + l = wrappers.count(), + i = 0; + + // Length is constant, because this is not a live node list. + // Note: since querySelectorAll returns nodes in document order, + // outer widgets are always placed before their nested widgets and therefore + // are destroyed before them. + for ( ; i < l; ++i ) { + widget = this.getByElement( wrappers.getItem( i ), true ); + // Widget might not be found, because it could be a nested widget, + // which would be destroyed when destroying its parent. + if ( widget ) + this.destroy( widget ); + } + + return; + } + + for ( id in instances ) { + widget = instances[ id ]; + this.destroy( widget, offline ); + } + }, + + /** + * Finalizes a process of widget creation. This includes: + * + * * inserting widget element into editor, + * * marking widget instance as ready (see {@link CKEDITOR.plugins.widget#event-ready}), + * * focusing widget instance. + * + * This method is used by the default widget's command and is called + * after widget's dialog (if set) is closed. It may also be used in a + * customized process of widget creation and insertion. + * + * widget.once( 'edit', function() { + * // Finalize creation only of not ready widgets. + * if ( widget.isReady() ) + * return; + * + * // Cancel edit event to prevent automatic widget insertion. + * evt.cancel(); + * + * CustomDialog.open( widget.data, function saveCallback( savedData ) { + * // Cache the container, because widget may be destroyed while saving data, + * // if this process will require some deep transformations. + * var container = widget.wrapper.getParent(); + * + * widget.setData( savedData ); + * + * // Widget will be retrieved from container and inserted into editor. + * editor.widgets.finalizeCreation( container ); + * } ); + * } ); + * + * @param {CKEDITOR.dom.element/CKEDITOR.dom.documentFragment} container The element + * or document fragment which contains widget wrapper. The container is used, so before + * finalizing creation the widget can be freely transformed (even destroyed and reinitialized). + */ + finalizeCreation: function( container ) { + var wrapper = container.getFirst(); + if ( wrapper && Widget.isDomWidgetWrapper( wrapper ) ) { + this.editor.insertElement( wrapper ); + + var widget = this.getByElement( wrapper ); + // Fire postponed #ready event. + widget.ready = true; + widget.fire( 'ready' ); + widget.focus(); + } + }, + + /** + * Finds a widget instance which contains a given element. The element will be the {@link CKEDITOR.plugins.widget#wrapper wrapper} + * of the returned widget or a descendant of this {@link CKEDITOR.plugins.widget#wrapper wrapper}. + * + * editor.widgets.getByElement( someWidget.wrapper ); // -> someWidget + * editor.widgets.getByElement( someWidget.parts.caption ); // -> someWidget + * + * // Check wrapper only: + * editor.widgets.getByElement( someWidget.wrapper, true ); // -> someWidget + * editor.widgets.getByElement( someWidget.parts.caption, true ); // -> null + * + * @param {CKEDITOR.dom.element} element The element to be checked. + * @param {Boolean} [checkWrapperOnly] If set to `true`, the method will not check wrappers' descendants. + * @returns {CKEDITOR.plugins.widget} The widget instance or `null`. + */ + getByElement: ( function() { + var validWrapperElements = { div: 1, span: 1 }; + function getWidgetId( element ) { + return element.is( validWrapperElements ) && element.data( 'cke-widget-id' ); + } + + return function( element, checkWrapperOnly ) { + if ( !element ) + return null; + + var id = getWidgetId( element ); + + // There's no need to check element parents if element is a wrapper. + if ( !checkWrapperOnly && !id ) { + var limit = this.editor.editable(); + + // Try to find a closest ascendant which is a widget wrapper. + do { + element = element.getParent(); + } while ( element && !element.equals( limit ) && !( id = getWidgetId( element ) ) ); + } + + return this.instances[ id ] || null; + }; + } )(), + + /** + * Initializes a widget on a given element if the widget has not been initialized on it yet. + * + * @param {CKEDITOR.dom.element} element The future widget element. + * @param {String/CKEDITOR.plugins.widget.definition} [widgetDef] Name of a widget or a widget definition. + * The widget definition should be previously registered by using the + * {@link CKEDITOR.plugins.widget.repository#add} method. + * @param [startupData] Widget startup data (has precedence over default one). + * @returns {CKEDITOR.plugins.widget} The widget instance or `null` if a widget could not be initialized on + * a given element. + */ + initOn: function( element, widgetDef, startupData ) { + if ( !widgetDef ) + widgetDef = this.registered[ element.data( 'widget' ) ]; + else if ( typeof widgetDef == 'string' ) + widgetDef = this.registered[ widgetDef ]; + + if ( !widgetDef ) + return null; + + // Wrap element if still wasn't wrapped (was added during runtime by method that skips dataProcessor). + var wrapper = this.wrapElement( element, widgetDef.name ); + + if ( wrapper ) { + // Check if widget wrapper is new (widget hasn't been initialized on it yet). + // This class will be removed by widget constructor to avoid locking snapshot twice. + if ( wrapper.hasClass( 'cke_widget_new' ) ) { + var widget = new Widget( this, this._.nextId++, element, widgetDef, startupData ); + + // Widget could be destroyed when initializing it. + if ( widget.isInited() ) { + this.instances[ widget.id ] = widget; + + return widget; + } else { + return null; + } + } + + // Widget already has been initialized, so try to get widget by element. + // Note - it may happen that other instance will returned than the one created above, + // if for example widget was destroyed and reinitialized. + return this.getByElement( element ); + } + + // No wrapper means that there's no widget for this element. + return null; + }, + + /** + * Initializes widgets on all elements which were wrapped by {@link #wrapElement} and + * have not been initialized yet. + * + * @param {CKEDITOR.dom.element} [container=editor.editable()] The container which will be checked for not + * initialized widgets. Defaults to editor's {@link CKEDITOR.editor#editable editable} element. + * @returns {CKEDITOR.plugins.widget[]} Array of widget instances which have been initialized. + * Note: Only first-level widgets are returned — without nested widgets. + */ + initOnAll: function( container ) { + var newWidgets = ( container || this.editor.editable() ).find( '.cke_widget_new' ), + newInstances = [], + instance; + + for ( var i = newWidgets.count(); i--; ) { + instance = this.initOn( newWidgets.getItem( i ).getFirst( Widget.isDomWidgetElement ) ); + if ( instance ) + newInstances.push( instance ); + } + + return newInstances; + }, + + /** + * Allows to listen to events on specific types of widgets, even if they are not created yet. + * + * Please note that this method inherits parameters from the {@link CKEDITOR.event#method-on} method with one + * extra parameter at the beginning which is the widget name. + * + * editor.widgets.onWidget( 'image', 'action', function( evt ) { + * // Event `action` occurs on `image` widget. + * } ); + * + * @since 4.5 + * @param {String} widgetName + * @param {String} eventName + * @param {Function} listenerFunction + * @param {Object} [scopeObj] + * @param {Object} [listenerData] + * @param {Number} [priority=10] + */ + onWidget: function( widgetName ) { + var args = Array.prototype.slice.call( arguments ); + + args.shift(); + + for ( var i in this.instances ) { + var instance = this.instances[ i ]; + + if ( instance.name == widgetName ) { + instance.on.apply( instance, args ); + } + } + + this.on( 'instanceCreated', function( evt ) { + var widget = evt.data; + + if ( widget.name == widgetName ) { + widget.on.apply( widget, args ); + } + } ); + }, + + /** + * Parses element classes string and returns an object + * whose keys contain class names. Skips all `cke_*` classes. + * + * This method is used by the {@link CKEDITOR.plugins.widget#getClasses} method and + * may be used when overriding that method. + * + * @since 4.4 + * @param {String} classes String (value of `class` attribute). + * @returns {Object} Object containing classes or `null` if no classes found. + */ + parseElementClasses: function( classes ) { + if ( !classes ) + return null; + + classes = CKEDITOR.tools.trim( classes ).split( /\s+/ ); + + var cl, + obj = {}, + hasClasses = 0; + + while ( ( cl = classes.pop() ) ) { + if ( cl.indexOf( 'cke_' ) == -1 ) + obj[ cl ] = hasClasses = 1; + } + + return hasClasses ? obj : null; + }, + + /** + * Wraps an element with a widget's non-editable container. + * + * If this method is called on an {@link CKEDITOR.htmlParser.element}, then it will + * also take care of fixing the DOM after wrapping (the wrapper may not be allowed in element's parent). + * + * @param {CKEDITOR.dom.element/CKEDITOR.htmlParser.element} element The widget element to be wrapped. + * @param {String} [widgetName] The name of the widget definition. Defaults to element's `data-widget` + * attribute value. + * @returns {CKEDITOR.dom.element/CKEDITOR.htmlParser.element} The wrapper element or `null` if + * the widget definition of this name is not registered. + */ + wrapElement: function( element, widgetName ) { + var wrapper = null, + widgetDef, + isInline; + + if ( element instanceof CKEDITOR.dom.element ) { + widgetName = widgetName || element.data( 'widget' ); + widgetDef = this.registered[ widgetName ]; + + if ( !widgetDef ) + return null; + + // Do not wrap already wrapped element. + wrapper = element.getParent(); + if ( wrapper && wrapper.type == CKEDITOR.NODE_ELEMENT && wrapper.data( 'cke-widget-wrapper' ) ) + return wrapper; + + // If attribute isn't already set (e.g. for pasted widget), set it. + if ( !element.hasAttribute( 'data-cke-widget-keep-attr' ) ) + element.data( 'cke-widget-keep-attr', element.data( 'widget' ) ? 1 : 0 ); + + element.data( 'widget', widgetName ); + + isInline = isWidgetInline( widgetDef, element.getName() ); + + wrapper = new CKEDITOR.dom.element( isInline ? 'span' : 'div' ); + wrapper.setAttributes( getWrapperAttributes( isInline, widgetName ) ); + + wrapper.data( 'cke-display-name', widgetDef.pathName ? widgetDef.pathName : element.getName() ); + + // Replace element unless it is a detached one. + if ( element.getParent( true ) ) + wrapper.replace( element ); + element.appendTo( wrapper ); + } + else if ( element instanceof CKEDITOR.htmlParser.element ) { + widgetName = widgetName || element.attributes[ 'data-widget' ]; + widgetDef = this.registered[ widgetName ]; + + if ( !widgetDef ) + return null; + + wrapper = element.parent; + if ( wrapper && wrapper.type == CKEDITOR.NODE_ELEMENT && wrapper.attributes[ 'data-cke-widget-wrapper' ] ) + return wrapper; + + // If attribute isn't already set (e.g. for pasted widget), set it. + if ( !( 'data-cke-widget-keep-attr' in element.attributes ) ) + element.attributes[ 'data-cke-widget-keep-attr' ] = element.attributes[ 'data-widget' ] ? 1 : 0; + if ( widgetName ) + element.attributes[ 'data-widget' ] = widgetName; + + isInline = isWidgetInline( widgetDef, element.name ); + + wrapper = new CKEDITOR.htmlParser.element( isInline ? 'span' : 'div', getWrapperAttributes( isInline, widgetName ) ); + wrapper.attributes[ 'data-cke-display-name' ] = widgetDef.pathName ? widgetDef.pathName : element.name; + + var parent = element.parent, + index; + + // Don't detach already detached element. + if ( parent ) { + index = element.getIndex(); + element.remove(); + } + + wrapper.add( element ); + + // Insert wrapper fixing DOM (splitting parents if wrapper is not allowed inside them). + parent && insertElement( parent, index, wrapper ); + } + + return wrapper; + }, + + // Expose for tests. + _tests_createEditableFilter: createEditableFilter + }; + + CKEDITOR.event.implementOn( Repository.prototype ); + + /** + * An event fired when a widget instance is created, but before it is fully initialized. + * + * @event instanceCreated + * @param {CKEDITOR.plugins.widget} data The widget instance. + */ + + /** + * An event fired when a widget instance was destroyed. + * + * See also {@link CKEDITOR.plugins.widget#event-destroy}. + * + * @event instanceDestroyed + * @param {CKEDITOR.plugins.widget} data The widget instance. + */ + + /** + * An event fired to trigger the selection check. + * + * See the {@link #method-checkSelection} method. + * + * @event checkSelection + */ + + /** + * An event fired by the the {@link #method-checkWidgets} method. + * + * It can be canceled in order to stop the {@link #method-checkWidgets} + * method execution or the event listener can modify the method's options. + * + * @event checkWidgets + * @param [data] + * @param {Boolean} [data.initOnlyNew] Initialize widgets only on newly wrapped + * widget elements (those which still have the `cke_widget_new` class). When this option is + * set to `true`, widgets which were invalidated (e.g. by replacing with a cloned DOM structure) + * will not be reinitialized. This makes the check faster. + * @param {Boolean} [data.focusInited] If only one widget is initialized by + * the method, it will be focused. + */ + + + /** + * An instance of a widget. Together with {@link CKEDITOR.plugins.widget.repository} these + * two classes constitute the core of the Widget System. + * + * Note that neither the repository nor the widget instances can be created by using their constructors. + * A repository instance is automatically set up by the Widget plugin and is accessible under + * {@link CKEDITOR.editor#widgets}, while widget instances are created and destroyed by the repository. + * + * To create a widget, first you need to {@link CKEDITOR.plugins.widget.repository#add register} its + * {@link CKEDITOR.plugins.widget.definition definition}: + * + * editor.widgets.add( 'simplebox', { + * upcast: function( element ) { + * // Defines which elements will become widgets. + * if ( element.hasClass( 'simplebox' ) ) + * return true; + * }, + * init: function() { + * // ... + * } + * } ); + * + * Once the widget definition is registered, widgets will be automatically + * created when loading data: + * + * editor.setData( '
      foo
      ', function() { + * console.log( editor.widgets.instances ); // -> An object containing one instance. + * } ); + * + * It is also possible to create instances during runtime by using a command + * (if a {@link CKEDITOR.plugins.widget.definition#template} property was defined): + * + * // You can execute an automatically defined command to + * // insert a new simplebox widget or edit the one currently focused. + * editor.execCommand( 'simplebox' ); + * + * Note: Since CKEditor 4.5 widget's `startupData` can be passed as the command argument: + * + * editor.execCommand( 'simplebox', { + * startupData: { + * align: 'left' + * } + * } ); + * + * A widget can also be created in a completely custom way: + * + * var element = editor.document.createElement( 'div' ); + * editor.insertElement( element ); + * var widget = editor.widgets.initOn( element, 'simplebox' ); + * + * @since 4.3 + * @class CKEDITOR.plugins.widget + * @mixins CKEDITOR.event + * @extends CKEDITOR.plugins.widget.definition + * @constructor Creates an instance of the widget class. Do not use it directly, but instead initialize widgets + * by using the {@link CKEDITOR.plugins.widget.repository#initOn} method or by the upcasting system. + * @param {CKEDITOR.plugins.widget.repository} widgetsRepo + * @param {Number} id Unique ID of this widget instance. + * @param {CKEDITOR.dom.element} element The widget element. + * @param {CKEDITOR.plugins.widget.definition} widgetDef Widget's registered definition. + * @param [startupData] Initial widget data. This data object will overwrite the default data and + * the data loaded from the DOM. + */ + function Widget( widgetsRepo, id, element, widgetDef, startupData ) { + var editor = widgetsRepo.editor; + + // Extend this widget with widgetDef-specific methods and properties. + CKEDITOR.tools.extend( this, widgetDef, { + /** + * The editor instance. + * + * @readonly + * @property {CKEDITOR.editor} + */ + editor: editor, + + /** + * This widget's unique (per editor instance) ID. + * + * @readonly + * @property {Number} + */ + id: id, + + /** + * Whether this widget is an inline widget (based on an inline element unless + * forced otherwise by {@link CKEDITOR.plugins.widget.definition#inline}). + * + * **Note:** This option does not allow to turn a block element into an inline widget. + * However, it makes it possible to turn an inline element into a block widget or to + * force a correct type in case when automatic recognition fails. + * + * @readonly + * @property {Boolean} + */ + inline: element.getParent().getName() == 'span', + + /** + * The widget element — the element on which the widget was initialized. + * + * @readonly + * @property {CKEDITOR.dom.element} element + */ + element: element, + + /** + * Widget's data object. + * + * The data can only be set by using the {@link #setData} method. + * Changes made to the data fire the {@link #event-data} event. + * + * @readonly + */ + data: CKEDITOR.tools.extend( {}, typeof widgetDef.defaults == 'function' ? widgetDef.defaults() : widgetDef.defaults ), + + /** + * Indicates if a widget is data-ready. Set to `true` when data from all sources + * ({@link CKEDITOR.plugins.widget.definition#defaults}, set in the + * {@link #init} method, loaded from the widget's element and startup data coming from the constructor) + * are finally loaded. This is immediately followed by the first {@link #event-data}. + * + * @readonly + */ + dataReady: false, + + /** + * Whether a widget instance was initialized. This means that: + * + * * An instance was created, + * * Its properties were set, + * * The `init` method was executed. + * + * **Note**: The first {@link #event-data} event could not be fired yet which + * means that the widget's DOM has not been set up yet. Wait for the {@link #event-ready} + * event to be notified when a widget is fully initialized and ready. + * + * **Note**: Use the {@link #isInited} method to check whether a widget is initialized and + * has not been destroyed. + * + * @readonly + */ + inited: false, + + /** + * Whether a widget instance is ready. This means that the widget is {@link #inited} and + * that its DOM was finally set up. + * + * **Note:** Use the {@link #isReady} method to check whether a widget is ready and + * has not been destroyed. + * + * @readonly + */ + ready: false, + + // Revert what widgetDef could override (automatic #edit listener). + edit: Widget.prototype.edit, + + /** + * The nested editable element which is currently focused. + * + * @readonly + * @property {CKEDITOR.plugins.widget.nestedEditable} + */ + focusedEditable: null, + + /** + * The widget definition from which this instance was created. + * + * @readonly + * @property {CKEDITOR.plugins.widget.definition} definition + */ + definition: widgetDef, + + /** + * Link to the widget repository which created this instance. + * + * @readonly + * @property {CKEDITOR.plugins.widget.repository} repository + */ + repository: widgetsRepo, + + draggable: widgetDef.draggable !== false, + + // WAAARNING: Overwrite widgetDef's priv object, because otherwise violent unicorn's gonna visit you. + _: { + downcastFn: ( widgetDef.downcast && typeof widgetDef.downcast == 'string' ) ? + widgetDef.downcasts[ widgetDef.downcast ] : widgetDef.downcast + } + }, true ); + + /** + * An object of widget component elements. + * + * For every `partName => selector` pair in {@link CKEDITOR.plugins.widget.definition#parts}, + * one `partName => element` pair is added to this object during the widget initialization. + * + * @readonly + * @property {Object} parts + */ + + /** + * The template which will be used to create a new widget element (when the widget's command is executed). + * It will be populated with {@link #defaults default values}. + * + * @readonly + * @property {CKEDITOR.template} template + */ + + /** + * The widget wrapper — a non-editable `div` or `span` element (depending on {@link #inline}) + * which is a parent of the {@link #element} and widget compontents like the drag handler and the {@link #mask}. + * It is the outermost widget element. + * + * @readonly + * @property {CKEDITOR.dom.element} wrapper + */ + + widgetsRepo.fire( 'instanceCreated', this ); + + setupWidget( this, widgetDef ); + + this.init && this.init(); + + // Finally mark widget as inited. + this.inited = true; + + setupWidgetData( this, startupData ); + + // If at some point (e.g. in #data listener) widget hasn't been destroyed + // and widget is already attached to document then fire #ready. + if ( this.isInited() && editor.editable().contains( this.wrapper ) ) { + this.ready = true; + this.fire( 'ready' ); + } + } + + Widget.prototype = { + /** + * Adds a class to the widget element. This method is used by + * the {@link #applyStyle} method and should be overridden by widgets + * which should handle classes differently (e.g. add them to other elements). + * + * Since 4.6.0 this method also adds a corresponding class prefixed with {@link #WRAPPER_CLASS_PREFIX} + * to the widget wrapper element. + * + * **Note**: This method should not be used directly. Use the {@link #setData} method to + * set the `classes` property. Read more in the {@link #setData} documentation. + * + * See also: {@link #removeClass}, {@link #hasClass}, {@link #getClasses}. + * + * @since 4.4 + * @param {String} className The class name to be added. + */ + addClass: function( className ) { + this.element.addClass( className ); + this.wrapper.addClass( Widget.WRAPPER_CLASS_PREFIX + className ); + }, + + /** + * Applies the specified style to the widget. It is highly recommended to use the + * {@link CKEDITOR.editor#applyStyle} or {@link CKEDITOR.style#apply} methods instead of + * using this method directly, because unlike editor's and style's methods, this one + * does not perform any checks. + * + * By default this method handles only classes defined in the style. It clones existing + * classes which are stored in the {@link #property-data widget data}'s `classes` property, + * adds new classes, and calls the {@link #setData} method if at least one new class was added. + * Then, using the {@link #event-data} event listener widget applies modifications passing + * new classes to the {@link #addClass} method. + * + * If you need to handle classes differently than in the default way, you can override the + * {@link #addClass} and related methods. You can also handle other style properties than `classes` + * by overriding this method. + * + * See also: {@link #checkStyleActive}, {@link #removeStyle}. + * + * @since 4.4 + * @param {CKEDITOR.style} style The custom widget style to be applied. + */ + applyStyle: function( style ) { + applyRemoveStyle( this, style, 1 ); + }, + + /** + * Checks if the specified style is applied to this widget. It is highly recommended to use the + * {@link CKEDITOR.style#checkActive} method instead of using this method directly, + * because unlike style's method, this one does not perform any checks. + * + * By default this method handles only classes defined in the style and passes + * them to the {@link #hasClass} method. You can override these methods to handle classes + * differently or to handle more of the style properties. + * + * See also: {@link #applyStyle}, {@link #removeStyle}. + * + * @since 4.4 + * @param {CKEDITOR.style} style The custom widget style to be checked. + * @returns {Boolean} Whether the style is applied to this widget. + */ + checkStyleActive: function( style ) { + var classes = getStyleClasses( style ), + cl; + + if ( !classes ) + return false; + + while ( ( cl = classes.pop() ) ) { + if ( !this.hasClass( cl ) ) + return false; + } + return true; + }, + + /** + * Destroys this widget instance. + * + * Use {@link CKEDITOR.plugins.widget.repository#destroy} when possible instead of this method. + * + * This method fires the {#event-destroy} event. + * + * @param {Boolean} [offline] Whether a widget is offline (detached from the DOM tree) — + * in this case the DOM (attributes, classes, etc.) will not be cleaned up. + */ + destroy: function( offline ) { + this.fire( 'destroy' ); + + if ( this.editables ) { + for ( var name in this.editables ) + this.destroyEditable( name, offline ); + } + + if ( !offline ) { + if ( this.element.data( 'cke-widget-keep-attr' ) == '0' ) + this.element.removeAttribute( 'data-widget' ); + this.element.removeAttributes( [ 'data-cke-widget-data', 'data-cke-widget-keep-attr' ] ); + this.element.removeClass( 'cke_widget_element' ); + this.element.replace( this.wrapper ); + } + + this.wrapper = null; + }, + + /** + * Destroys a nested editable and all nested widgets. + * + * @param {String} editableName Nested editable name. + * @param {Boolean} [offline] See {@link #method-destroy} method. + */ + destroyEditable: function( editableName, offline ) { + var editable = this.editables[ editableName ]; + + editable.removeListener( 'focus', onEditableFocus ); + editable.removeListener( 'blur', onEditableBlur ); + this.editor.focusManager.remove( editable ); + + if ( !offline ) { + this.repository.destroyAll( false, editable ); + editable.removeClass( 'cke_widget_editable' ); + editable.removeClass( 'cke_widget_editable_focused' ); + editable.removeAttributes( [ 'contenteditable', 'data-cke-widget-editable', 'data-cke-enter-mode' ] ); + } + + delete this.editables[ editableName ]; + }, + + /** + * Starts widget editing. + * + * This method fires the {@link CKEDITOR.plugins.widget#event-edit} event + * which may be canceled in order to prevent it from opening a dialog window. + * + * The dialog window name is obtained from the event's data `dialog` property or + * from {@link CKEDITOR.plugins.widget.definition#dialog}. + * + * @returns {Boolean} Returns `true` if a dialog window was opened. + */ + edit: function() { + var evtData = { dialog: this.dialog }, + that = this; + + // Edit event was blocked or there's no dialog to be automatically opened. + if ( this.fire( 'edit', evtData ) === false || !evtData.dialog ) + return false; + + this.editor.openDialog( evtData.dialog, function( dialog ) { + var showListener, + okListener; + + // Allow to add a custom dialog handler. + if ( that.fire( 'dialog', dialog ) === false ) + return; + + showListener = dialog.on( 'show', function() { + dialog.setupContent( that ); + } ); + + okListener = dialog.on( 'ok', function() { + // Commit dialog's fields, but prevent from + // firing data event for every field. Fire only one, + // bulk event at the end. + var dataChanged, + dataListener = that.on( 'data', function( evt ) { + dataChanged = 1; + evt.cancel(); + }, null, null, 0 ); + + // Create snapshot preceeding snapshot with changed widget... + // TODO it should not be required, but it is and I found similar + // code in dialog#ok listener in dialog/plugin.js. + that.editor.fire( 'saveSnapshot' ); + dialog.commitContent( that ); + + dataListener.removeListener(); + if ( dataChanged ) { + that.fire( 'data', that.data ); + that.editor.fire( 'saveSnapshot' ); + } + } ); + + dialog.once( 'hide', function() { + showListener.removeListener(); + okListener.removeListener(); + } ); + } ); + + return true; + }, + + /** + * Returns widget element classes parsed to an object. This method + * is used to populate the `classes` property of widget's {@link #property-data}. + * + * This method reuses {@link CKEDITOR.plugins.widget.repository#parseElementClasses}. + * It should be overriden if a widget should handle classes differently (e.g. on other elements). + * + * See also: {@link #removeClass}, {@link #addClass}, {@link #hasClass}. + * + * @since 4.4 + * @returns {Object} + */ + getClasses: function() { + return this.repository.parseElementClasses( this.element.getAttribute( 'class' ) ); + }, + + /** + * Checks if the widget element has specified class. This method is used by + * the {@link #checkStyleActive} method and should be overriden by widgets + * which should handle classes differently (e.g. on other elements). + * + * See also: {@link #removeClass}, {@link #addClass}, {@link #getClasses}. + * + * @since 4.4 + * @param {String} className The class to be checked. + * @param {Boolean} Whether a widget has specified class. + */ + hasClass: function( className ) { + return this.element.hasClass( className ); + }, + + /** + * Initializes a nested editable. + * + * **Note**: Only elements from {@link CKEDITOR.dtd#$editable} may become editables. + * + * @param {String} editableName The nested editable name. + * @param {CKEDITOR.plugins.widget.nestedEditable.definition} definition The definition of the nested editable. + * @returns {Boolean} Whether an editable was successfully initialized. + */ + initEditable: function( editableName, definition ) { + // Don't fetch just first element which matched selector but look for a correct one. (#13334) + var editable = this._findOneNotNested( definition.selector ); + + if ( editable && editable.is( CKEDITOR.dtd.$editable ) ) { + editable = new NestedEditable( this.editor, editable, { + filter: createEditableFilter.call( this.repository, this.name, editableName, definition ) + } ); + this.editables[ editableName ] = editable; + + editable.setAttributes( { + contenteditable: 'true', + 'data-cke-widget-editable': editableName, + 'data-cke-enter-mode': editable.enterMode + } ); + + if ( editable.filter ) + editable.data( 'cke-filter', editable.filter.id ); + + editable.addClass( 'cke_widget_editable' ); + // This class may be left when d&ding widget which + // had focused editable. Clean this class here, not in + // cleanUpWidgetElement for performance and code size reasons. + editable.removeClass( 'cke_widget_editable_focused' ); + + if ( definition.pathName ) + editable.data( 'cke-display-name', definition.pathName ); + + this.editor.focusManager.add( editable ); + editable.on( 'focus', onEditableFocus, this ); + CKEDITOR.env.ie && editable.on( 'blur', onEditableBlur, this ); + + // Finally, process editable's data. This data wasn't processed when loading + // editor's data, becuase they need to be processed separately, with its own filters and settings. + editable._.initialSetData = true; + editable.setData( editable.getHtml() ); + + return true; + } + + return false; + }, + + /** + * Looks inside wrapper element to find a node that + * matches given selector and is not nested in other widget. (#13334) + * + * @since 4.5 + * @private + * @param {String} selector Selector to match. + * @returns {CKEDITOR.dom.element} Matched element or `null` if a node has not been found. + */ + _findOneNotNested: function( selector ) { + var matchedElements = this.wrapper.find( selector ), + match, + closestWrapper; + + for ( var i = 0; i < matchedElements.count(); i++ ) { + match = matchedElements.getItem( i ); + closestWrapper = match.getAscendant( Widget.isDomWidgetWrapper ); + + // The closest ascendant-wrapper of this match defines to which widget + // this match belongs. If the ascendant is this widget's wrapper + // it means that the match is not nested in other widget. + if ( this.wrapper.equals( closestWrapper ) ) { + return match; + } + } + + return null; + }, + + /** + * Checks if a widget has already been initialized and has not been destroyed yet. + * + * See {@link #inited} for more details. + * + * @returns {Boolean} + */ + isInited: function() { + return !!( this.wrapper && this.inited ); + }, + + /** + * Checks if a widget is ready and has not been destroyed yet. + * + * See {@link #property-ready} for more details. + * + * @returns {Boolean} + */ + isReady: function() { + return this.isInited() && this.ready; + }, + + /** + * Focuses a widget by selecting it. + */ + focus: function() { + var sel = this.editor.getSelection(); + + // Fake the selection before focusing editor, to avoid unpreventable viewports scrolling + // on Webkit/Blink/IE which is done because there's no selection or selection was somewhere else than widget. + if ( sel ) { + var isDirty = this.editor.checkDirty(); + + sel.fake( this.wrapper ); + + !isDirty && this.editor.resetDirty(); + } + + // Always focus editor (not only when focusManger.hasFocus is false) (because of #10483). + this.editor.focus(); + }, + + /** + * Removes a class from the widget element. This method is used by + * the {@link #removeStyle} method and should be overriden by widgets + * which should handle classes differently (e.g. on other elements). + * + * **Note**: This method should not be used directly. Use the {@link #setData} method to + * set the `classes` property. Read more in the {@link #setData} documentation. + * + * See also: {@link #hasClass}, {@link #addClass}. + * + * @since 4.4 + * @param {String} className The class to be removed. + */ + removeClass: function( className ) { + this.element.removeClass( className ); + this.wrapper.removeClass( Widget.WRAPPER_CLASS_PREFIX + className ); + }, + + /** + * Removes the specified style from the widget. It is highly recommended to use the + * {@link CKEDITOR.editor#removeStyle} or {@link CKEDITOR.style#remove} methods instead of + * using this method directly, because unlike editor's and style's methods, this one + * does not perform any checks. + * + * Read more about how applying/removing styles works in the {@link #applyStyle} method documentation. + * + * See also {@link #checkStyleActive}, {@link #applyStyle}, {@link #getClasses}. + * + * @since 4.4 + * @param {CKEDITOR.style} style The custom widget style to be removed. + */ + removeStyle: function( style ) { + applyRemoveStyle( this, style, 0 ); + }, + + /** + * Sets widget value(s) in the {@link #property-data} object. + * If the given value(s) modifies current ones, the {@link #event-data} event is fired. + * + * this.setData( 'align', 'left' ); + * this.data.align; // -> 'left' + * + * this.setData( { align: 'right', opened: false } ); + * this.data.align; // -> 'right' + * this.data.opened; // -> false + * + * Set values are stored in {@link #element}'s attribute (`data-cke-widget-data`), + * in a JSON string, therefore {@link #property-data} should contain + * only serializable data. + * + * **Note:** A special data property, `classes`, exists. It contains an object with + * classes which were returned by the {@link #getClasses} method during the widget initialization. + * This property is then used by the {@link #applyStyle} and {@link #removeStyle} methods. + * When it is changed (the reference to object must be changed!), the widget updates its classes by + * using the {@link #addClass} and {@link #removeClass} methods. + * + * // Adding a new class. + * var classes = CKEDITOR.tools.clone( widget.data.classes ); + * classes.newClass = 1; + * widget.setData( 'classes', classes ); + * + * // Removing a class. + * var classes = CKEDITOR.tools.clone( widget.data.classes ); + * delete classes.newClass; + * widget.setData( 'classes', classes ); + * + * @param {String/Object} keyOrData + * @param {Object} value + * @chainable + */ + setData: function( key, value ) { + var data = this.data, + modified = 0; + + if ( typeof key == 'string' ) { + if ( data[ key ] !== value ) { + data[ key ] = value; + modified = 1; + } + } + else { + var newData = key; + + for ( key in newData ) { + if ( data[ key ] !== newData[ key ] ) { + modified = 1; + data[ key ] = newData[ key ]; + } + } + } + + // Block firing data event and overwriting data element before setupWidgetData is executed. + if ( modified && this.dataReady ) { + writeDataToElement( this ); + this.fire( 'data', data ); + } + + return this; + }, + + /** + * Changes the widget's focus state. This method is executed automatically after + * a widget was focused by the {@link #method-focus} method or the selection was moved + * out of the widget. + * + * This is a low-level method which is not integrated with e.g. the undo manager. + * Use the {@link #method-focus} method instead. + * + * @param {Boolean} selected Whether to select or deselect this widget. + * @chainable + */ + setFocused: function( focused ) { + this.wrapper[ focused ? 'addClass' : 'removeClass' ]( 'cke_widget_focused' ); + this.fire( focused ? 'focus' : 'blur' ); + return this; + }, + + /** + * Changes the widget's select state. This method is executed automatically after + * a widget was selected by the {@link #method-focus} method or the selection + * was moved out of the widget. + * + * This is a low-level method which is not integrated with e.g. the undo manager. + * Use the {@link #method-focus} method instead or simply change the selection. + * + * @param {Boolean} selected Whether to select or deselect this widget. + * @chainable + */ + setSelected: function( selected ) { + this.wrapper[ selected ? 'addClass' : 'removeClass' ]( 'cke_widget_selected' ); + this.fire( selected ? 'select' : 'deselect' ); + return this; + }, + + /** + * Repositions drag handler according to the widget's element position. Should be called from events, like mouseover. + */ + updateDragHandlerPosition: function() { + var editor = this.editor, + domElement = this.element.$, + oldPos = this._.dragHandlerOffset, + newPos = { + x: domElement.offsetLeft, + y: domElement.offsetTop - DRAG_HANDLER_SIZE + }; + + if ( oldPos && newPos.x == oldPos.x && newPos.y == oldPos.y ) + return; + + // We need to make sure that dirty state is not changed (#11487). + var initialDirty = editor.checkDirty(); + + editor.fire( 'lockSnapshot' ); + this.dragHandlerContainer.setStyles( { + top: newPos.y + 'px', + left: newPos.x + 'px', + display: 'block' + } ); + editor.fire( 'unlockSnapshot' ); + !initialDirty && editor.resetDirty(); + + this._.dragHandlerOffset = newPos; + } + }; + + CKEDITOR.event.implementOn( Widget.prototype ); + + /** + * Gets the {@link #isDomNestedEditable nested editable} + * (returned as a {@link CKEDITOR.dom.element}, not as a {@link CKEDITOR.plugins.widget.nestedEditable}) + * closest to the `node` or the `node` if it is a nested editable itself. + * + * @since 4.5 + * @static + * @param {CKEDITOR.dom.element} guard Stop ancestor search on this node (usually editor's editable). + * @param {CKEDITOR.dom.node} node Start the search from this node. + * @returns {CKEDITOR.dom.element/null} Element or `null` if not found. + */ + Widget.getNestedEditable = function( guard, node ) { + if ( !node || node.equals( guard ) ) + return null; + + if ( Widget.isDomNestedEditable( node ) ) + return node; + + return Widget.getNestedEditable( guard, node.getParent() ); + }; + + /** + * Checks whether the `node` is a widget's drag handle element. + * + * @since 4.5 + * @static + * @param {CKEDITOR.dom.node} node + * @returns {Boolean} + */ + Widget.isDomDragHandler = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && node.hasAttribute( 'data-cke-widget-drag-handler' ); + }; + + /** + * Checks whether the `node` is a container of the widget's drag handle element. + * + * @since 4.5 + * @static + * @param {CKEDITOR.dom.node} node + * @returns {Boolean} + */ + Widget.isDomDragHandlerContainer = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && node.hasClass( 'cke_widget_drag_handler_container' ); + }; + + /** + * Checks whether the `node` is a {@link CKEDITOR.plugins.widget#editables nested editable}. + * Note that this function only checks whether it is the right element, not whether + * the passed `node` is an instance of {@link CKEDITOR.plugins.widget.nestedEditable}. + * + * @since 4.5 + * @static + * @param {CKEDITOR.dom.node} node + * @returns {Boolean} + */ + Widget.isDomNestedEditable = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && node.hasAttribute( 'data-cke-widget-editable' ); + }; + + /** + * Checks whether the `node` is a {@link CKEDITOR.plugins.widget#element widget element}. + * + * @since 4.5 + * @static + * @param {CKEDITOR.dom.node} node + * @returns {Boolean} + */ + Widget.isDomWidgetElement = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && node.hasAttribute( 'data-widget' ); + }; + + /** + * Checks whether the `node` is a {@link CKEDITOR.plugins.widget#wrapper widget wrapper}. + * + * @since 4.5 + * @static + * @param {CKEDITOR.dom.element} node + * @returns {Boolean} + */ + Widget.isDomWidgetWrapper = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && node.hasAttribute( 'data-cke-widget-wrapper' ); + }; + + /** + * Checks whether the `node` is a {@link CKEDITOR.plugins.widget#element widget element}. + * + * @since 4.5 + * @static + * @param {CKEDITOR.htmlParser.node} node + * @returns {Boolean} + */ + Widget.isParserWidgetElement = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && !!node.attributes[ 'data-widget' ]; + }; + + /** + * Checks whether the `node` is a {@link CKEDITOR.plugins.widget#wrapper widget wrapper}. + * + * @since 4.5 + * @static + * @param {CKEDITOR.htmlParser.element} node + * @returns {Boolean} + */ + Widget.isParserWidgetWrapper = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && !!node.attributes[ 'data-cke-widget-wrapper' ]; + }; + + /** + * Prefix added to wrapper classes. Each class added to the widget element by the {@link #addClass} + * method will also be added to the wrapper prefixed with it. + * + * @since 4.6.0 + * @static + * @readonly + * @property {String} [='cke_widget_wrapper_'] + */ + Widget.WRAPPER_CLASS_PREFIX = 'cke_widget_wrapper_'; + + /** + * An event fired when a widget is ready (fully initialized). This event is fired after: + * + * * {@link #init} is called, + * * The first {@link #event-data} event is fired, + * * A widget is attached to the document. + * + * Therefore, in case of widget creation with a command which opens a dialog window, this event + * will be delayed after the dialog window is closed and the widget is finally inserted into the document. + * + * **Note**: If your widget does not use automatic dialog window binding (i.e. you open the dialog window manually) + * or another situation in which the widget wrapper is not attached to document at the time when it is + * initialized occurs, you need to take care of firing {@link #event-ready} yourself. + * + * See also {@link #property-ready} and {@link #property-inited} properties, and + * {@link #isReady} and {@link #isInited} methods. + * + * @event ready + */ + + /** + * An event fired when a widget is about to be destroyed, but before it is + * fully torn down. + * + * @event destroy + */ + + /** + * An event fired when a widget is focused. + * + * Widget can be focused by executing {@link #method-focus}. + * + * @event focus + */ + + /** + * An event fired when a widget is blurred. + * + * @event blur + */ + + /** + * An event fired when a widget is selected. + * + * @event select + */ + + /** + * An event fired when a widget is deselected. + * + * @event deselect + */ + + /** + * An event fired by the {@link #method-edit} method. It can be canceled + * in order to stop the default action (opening a dialog window and/or + * {@link CKEDITOR.plugins.widget.repository#finalizeCreation finalizing widget creation}). + * + * @event edit + * @param data + * @param {String} data.dialog Defaults to {@link CKEDITOR.plugins.widget.definition#dialog} + * and can be changed or set by the listener. + */ + + /** + * An event fired when a dialog window for widget editing is opened. + * This event can be canceled in order to handle the editing dialog in a custom manner. + * + * @event dialog + * @param {CKEDITOR.dialog} data The opened dialog window instance. + */ + + /** + * An event fired when a key is pressed on a focused widget. + * This event is forwarded from the {@link CKEDITOR.editor#key} event and + * has the ability to block editor keystrokes if it is canceled. + * + * @event key + * @param data + * @param {Number} data.keyCode A number representing the key code (or combination). + */ + + /** + * An event fired when a widget is double clicked. + * + * **Note:** If a default editing action is executed on double click (i.e. a widget has a + * {@link CKEDITOR.plugins.widget.definition#dialog dialog} defined and the {@link #event-doubleclick} event was not + * canceled), this event will be automatically canceled, so a listener added with the default priority (10) + * will not be executed. Use a listener with low priority (e.g. 5) to be sure that it will be executed. + * + * widget.on( 'doubleclick', function( evt ) { + * console.log( 'widget#doubleclick' ); + * }, null, null, 5 ); + * + * If your widget handles double click in a special way (so the default editing action is not executed), + * make sure you cancel this event, because otherwise it will be propagated to {@link CKEDITOR.editor#doubleclick} + * and another feature may step in (e.g. a Link dialog window may be opened if your widget was inside a link). + * + * @event doubleclick + * @param data + * @param {CKEDITOR.dom.element} data.element The double-clicked element. + */ + + /** + * An event fired when the context menu is opened for a widget. + * + * @event contextMenu + * @param data The object containing context menu options to be added + * for this widget. See {@link CKEDITOR.plugins.contextMenu#addListener}. + */ + + /** + * An event fired when the widget data changed. See the {@link #setData} method and the {@link #property-data} property. + * + * @event data + */ + + + + /** + * The wrapper class for editable elements inside widgets. + * + * Do not use directly. Use {@link CKEDITOR.plugins.widget.definition#editables} or + * {@link CKEDITOR.plugins.widget#initEditable}. + * + * @class CKEDITOR.plugins.widget.nestedEditable + * @extends CKEDITOR.dom.element + * @constructor + * @param {CKEDITOR.editor} editor + * @param {CKEDITOR.dom.element} element + * @param config + * @param {CKEDITOR.filter} [config.filter] + */ + function NestedEditable( editor, element, config ) { + // Call the base constructor. + CKEDITOR.dom.element.call( this, element.$ ); + this.editor = editor; + this._ = {}; + var filter = this.filter = config.filter; + + // If blockless editable - always use BR mode. + if ( !CKEDITOR.dtd[ this.getName() ].p ) + this.enterMode = this.shiftEnterMode = CKEDITOR.ENTER_BR; + else { + this.enterMode = filter ? filter.getAllowedEnterMode( editor.enterMode ) : editor.enterMode; + this.shiftEnterMode = filter ? filter.getAllowedEnterMode( editor.shiftEnterMode, true ) : editor.shiftEnterMode; + } + } + + NestedEditable.prototype = CKEDITOR.tools.extend( CKEDITOR.tools.prototypedCopy( CKEDITOR.dom.element.prototype ), { + /** + * Sets the editable data. The data will be passed through the {@link CKEDITOR.editor#dataProcessor} + * and the {@link CKEDITOR.editor#filter}. This ensures that the data was filtered and prepared to be + * edited like the {@link CKEDITOR.editor#method-setData editor data}. + * + * Before content is changed, all nested widgets are destroyed. Afterwards, after new content is loaded, + * all nested widgets are initialized. + * + * @param {String} data + */ + setData: function( data ) { + // For performance reasons don't call destroyAll when initializing a nested editable, + // because there are no widgets inside. + if ( !this._.initialSetData ) { + // Destroy all nested widgets before setting data. + this.editor.widgets.destroyAll( false, this ); + } + this._.initialSetData = false; + + data = this.editor.dataProcessor.toHtml( data, { + context: this.getName(), + filter: this.filter, + enterMode: this.enterMode + } ); + this.setHtml( data ); + + this.editor.widgets.initOnAll( this ); + }, + + /** + * Gets the editable data. Like {@link #setData}, this method will process and filter the data. + * + * @returns {String} + */ + getData: function() { + return this.editor.dataProcessor.toDataFormat( this.getHtml(), { + context: this.getName(), + filter: this.filter, + enterMode: this.enterMode + } ); + } + } ); + + /** + * The editor instance. + * + * @readonly + * @property {CKEDITOR.editor} editor + */ + + /** + * The filter instance if allowed content rules were defined. + * + * @readonly + * @property {CKEDITOR.filter} filter + */ + + /** + * The enter mode active in this editable. + * It is determined from editable's name (whether it is a blockless editable), + * its allowed content rules (if defined) and the default editor's mode. + * + * @readonly + * @property {Number} enterMode + */ + + /** + * The shift enter move active in this editable. + * + * @readonly + * @property {Number} shiftEnterMode + */ + + + // + // REPOSITORY helpers ----------------------------------------------------- + // + + function addWidgetButtons( editor ) { + var widgets = editor.widgets.registered, + widget, + widgetName, + widgetButton; + + for ( widgetName in widgets ) { + widget = widgets[ widgetName ]; + + // Create button if defined. + widgetButton = widget.button; + if ( widgetButton && editor.ui.addButton ) { + editor.ui.addButton( CKEDITOR.tools.capitalize( widget.name, true ), { + label: widgetButton, + command: widget.name, + toolbar: 'insert,10' + } ); + } + } + } + + // Create a command creating and editing widget. + // + // @param editor + // @param {CKEDITOR.plugins.widget.definition} widgetDef + function addWidgetCommand( editor, widgetDef ) { + editor.addCommand( widgetDef.name, { + exec: function( editor, commandData ) { + var focused = editor.widgets.focused; + // If a widget of the same type is focused, start editing. + if ( focused && focused.name == widgetDef.name ) + focused.edit(); + // Otherwise... + // ... use insert method is was defined. + else if ( widgetDef.insert ) + widgetDef.insert(); + // ... or create a brand-new widget from template. + else if ( widgetDef.template ) { + var defaults = typeof widgetDef.defaults == 'function' ? widgetDef.defaults() : widgetDef.defaults, + element = CKEDITOR.dom.element.createFromHtml( widgetDef.template.output( defaults ) ), + instance, + wrapper = editor.widgets.wrapElement( element, widgetDef.name ), + temp = new CKEDITOR.dom.documentFragment( wrapper.getDocument() ); + + // Append wrapper to a temporary document. This will unify the environment + // in which #data listeners work when creating and editing widget. + temp.append( wrapper ); + instance = editor.widgets.initOn( element, widgetDef, commandData && commandData.startupData ); + + // Instance could be destroyed during initialization. + // In this case finalize creation if some new widget + // was left in temporary document fragment. + if ( !instance ) { + finalizeCreation(); + return; + } + + // Listen on edit to finalize widget insertion. + // + // * If dialog was set, then insert widget after dialog was successfully saved or destroy this + // temporary instance. + // * If dialog wasn't set and edit wasn't canceled, insert widget. + var editListener = instance.once( 'edit', function( evt ) { + if ( evt.data.dialog ) { + instance.once( 'dialog', function( evt ) { + var dialog = evt.data, + okListener, + cancelListener; + + // Finalize creation AFTER (20) new data was set. + okListener = dialog.once( 'ok', finalizeCreation, null, null, 20 ); + + cancelListener = dialog.once( 'cancel', function( evt ) { + if ( !( evt.data && evt.data.hide === false ) ) { + editor.widgets.destroy( instance, true ); + } + } ); + + dialog.once( 'hide', function() { + okListener.removeListener(); + cancelListener.removeListener(); + } ); + } ); + } else { + // Dialog hasn't been set, so insert widget now. + finalizeCreation(); + } + }, null, null, 999 ); + + instance.edit(); + + // Remove listener in case someone canceled it before this + // listener was executed. + editListener.removeListener(); + } + + function finalizeCreation() { + editor.widgets.finalizeCreation( temp ); + } + }, + + allowedContent: widgetDef.allowedContent, + requiredContent: widgetDef.requiredContent, + contentForms: widgetDef.contentForms, + contentTransformations: widgetDef.contentTransformations + } ); + } + + function addWidgetProcessors( widgetsRepo, widgetDef ) { + var upcast = widgetDef.upcast, + upcasts, + priority = widgetDef.upcastPriority || 10; + + if ( !upcast ) + return; + + // Multiple upcasts defined in string. + if ( typeof upcast == 'string' ) { + upcasts = upcast.split( ',' ); + while ( upcasts.length ) { + addUpcast( widgetDef.upcasts[ upcasts.pop() ], widgetDef.name, priority ); + } + } + // Single rule which is automatically activated. + else { + addUpcast( upcast, widgetDef.name, priority ); + } + + function addUpcast( upcast, name, priority ) { + // Find index of the first higher (in terms of value) priority upcast. + var index = CKEDITOR.tools.getIndex( widgetsRepo._.upcasts, function( element ) { + return element[ 2 ] > priority; + } ); + // Add at the end if it is the highest priority so far. + if ( index < 0 ) { + index = widgetsRepo._.upcasts.length; + } + + widgetsRepo._.upcasts.splice( index, 0, [ upcast, name, priority ] ); + } + } + + function blurWidget( widgetsRepo, widget ) { + widgetsRepo.focused = null; + + if ( widget.isInited() ) { + var isDirty = widget.editor.checkDirty(); + + // Widget could be destroyed in the meantime - e.g. data could be set. + widgetsRepo.fire( 'widgetBlurred', { widget: widget } ); + widget.setFocused( false ); + + !isDirty && widget.editor.resetDirty(); + } + } + + function checkWidgets( evt ) { + var options = evt.data; + + if ( this.editor.mode != 'wysiwyg' ) + return; + + var editable = this.editor.editable(), + instances = this.instances, + newInstances, i, count, wrapper, notYetInitialized; + + if ( !editable ) + return; + + // Remove widgets which have no corresponding elements in DOM. + for ( i in instances ) { + // #13410 Remove widgets that are ready. This prevents from destroying widgets that are during loading process. + if ( instances[ i ].isReady() && !editable.contains( instances[ i ].wrapper ) ) + this.destroy( instances[ i ], true ); + } + + // Init on all (new) if initOnlyNew option was passed. + if ( options && options.initOnlyNew ) + newInstances = this.initOnAll(); + else { + var wrappers = editable.find( '.cke_widget_wrapper' ); + newInstances = []; + + // Create widgets on existing wrappers if they do not exists. + for ( i = 0, count = wrappers.count(); i < count; i++ ) { + wrapper = wrappers.getItem( i ); + notYetInitialized = !this.getByElement( wrapper, true ); + + // Check if: + // * there's no instance for this widget + // * wrapper is not inside some temporary element like copybin (#11088) + // * it was a nested widget's wrapper which has been detached from DOM, + // when nested editable has been initialized (it overwrites its innerHTML + // and initializes nested widgets). + if ( notYetInitialized && !findParent( wrapper, isDomTemp ) && editable.contains( wrapper ) ) { + // Add cke_widget_new class because otherwise + // widget will not be created on such wrapper. + wrapper.addClass( 'cke_widget_new' ); + newInstances.push( this.initOn( wrapper.getFirst( Widget.isDomWidgetElement ) ) ); + } + } + } + + // If only single widget was initialized and focusInited was passed, focus it. + if ( options && options.focusInited && newInstances.length == 1 ) + newInstances[ 0 ].focus(); + } + + // Unwraps widget element and clean up element. + // + // This function is used to clean up pasted widgets. + // It should have similar result to widget#destroy plus + // some additional adjustments, specific for pasting. + // + // @param {CKEDITOR.htmlParser.element} el + function cleanUpWidgetElement( el ) { + var parent = el.parent; + if ( parent.type == CKEDITOR.NODE_ELEMENT && parent.attributes[ 'data-cke-widget-wrapper' ] ) + parent.replaceWith( el ); + } + + // Similar to cleanUpWidgetElement, but works on DOM and finds + // widget elements by its own. + // + // Unlike cleanUpWidgetElement it will wrap element back. + // + // @param {CKEDITOR.dom.element} container + function cleanUpAllWidgetElements( widgetsRepo, container ) { + var wrappers = container.find( '.cke_widget_wrapper' ), + wrapper, element, + i = 0, + l = wrappers.count(); + + for ( ; i < l; ++i ) { + wrapper = wrappers.getItem( i ); + element = wrapper.getFirst( Widget.isDomWidgetElement ); + // If wrapper contains widget element - unwrap it and wrap again. + if ( element.type == CKEDITOR.NODE_ELEMENT && element.data( 'widget' ) ) { + element.replace( wrapper ); + widgetsRepo.wrapElement( element ); + } else { + // Otherwise - something is wrong... clean this up. + wrapper.remove(); + } + } + } + + // Creates {@link CKEDITOR.filter} instance for given widget, editable and rules. + // + // Once filter for widget-editable pair is created it is cached, so the same instance + // will be returned when method is executed again. + // + // @param {String} widgetName + // @param {String} editableName + // @param {CKEDITOR.plugins.widget.nestedEditableDefinition} editableDefinition The nested editable definition. + // @returns {CKEDITOR.filter} Filter instance or `null` if rules are not defined. + // @context CKEDITOR.plugins.widget.repository + function createEditableFilter( widgetName, editableName, editableDefinition ) { + if ( !editableDefinition.allowedContent ) + return null; + + var editables = this._.filters[ widgetName ]; + + if ( !editables ) + this._.filters[ widgetName ] = editables = {}; + + var filter = editables[ editableName ]; + + if ( !filter ) + editables[ editableName ] = filter = new CKEDITOR.filter( editableDefinition.allowedContent ); + + return filter; + } + + // Creates an iterator function which when executed on all + // elements in DOM tree will gather elements that should be wrapped + // and initialized as widgets. + function createUpcastIterator( widgetsRepo ) { + var toBeWrapped = [], + upcasts = widgetsRepo._.upcasts, + upcastCallbacks = widgetsRepo._.upcastCallbacks; + + return { + toBeWrapped: toBeWrapped, + + iterator: function( element ) { + var upcast, upcasted, + data, + i, + upcastsLength, + upcastCallbacksLength; + + // Wrapper found - find widget element, add it to be + // cleaned up (unwrapped) and wrapped and stop iterating in this branch. + if ( 'data-cke-widget-wrapper' in element.attributes ) { + element = element.getFirst( Widget.isParserWidgetElement ); + + if ( element ) + toBeWrapped.push( [ element ] ); + + // Do not iterate over descendants. + return false; + } + // Widget element found - add it to be cleaned up (just in case) + // and wrapped and stop iterating in this branch. + else if ( 'data-widget' in element.attributes ) { + toBeWrapped.push( [ element ] ); + + // Do not iterate over descendants. + return false; + } + else if ( ( upcastsLength = upcasts.length ) ) { + // Ignore elements with data-cke-widget-upcasted to avoid multiple upcasts (#11533). + // Do not iterate over descendants. + if ( element.attributes[ 'data-cke-widget-upcasted' ] ) + return false; + + // Check element with upcast callbacks first. + // If any of them return false abort upcasting. + for ( i = 0, upcastCallbacksLength = upcastCallbacks.length; i < upcastCallbacksLength; ++i ) { + if ( upcastCallbacks[ i ]( element ) === false ) + return; + // Return nothing in order to continue iterating over ascendants. + // See http://dev.ckeditor.com/ticket/11186#comment:6 + } + + for ( i = 0; i < upcastsLength; ++i ) { + upcast = upcasts[ i ]; + data = {}; + + if ( ( upcasted = upcast[ 0 ]( element, data ) ) ) { + // If upcast function returned element, upcast this one. + // It can be e.g. a new element wrapping the original one. + if ( upcasted instanceof CKEDITOR.htmlParser.element ) + element = upcasted; + + // Set initial data attr with data from upcast method. + element.attributes[ 'data-cke-widget-data' ] = encodeURIComponent( JSON.stringify( data ) ); + element.attributes[ 'data-cke-widget-upcasted' ] = 1; + + toBeWrapped.push( [ element, upcast[ 1 ] ] ); + + // Do not iterate over descendants. + return false; + } + } + } + } + }; + } + + // Finds a first parent that matches query. + // + // @param {CKEDITOR.dom.element} element + // @param {Function} query + function findParent( element, query ) { + var parent = element; + + while ( ( parent = parent.getParent() ) ) { + if ( query( parent ) ) + return true; + } + return false; + } + + function getWrapperAttributes( inlineWidget, name ) { + return { + // tabindex="-1" means that it can receive focus by code. + tabindex: -1, + contenteditable: 'false', + 'data-cke-widget-wrapper': 1, + 'data-cke-filter': 'off', + // Class cke_widget_new marks widgets which haven't been initialized yet. + 'class': 'cke_widget_wrapper cke_widget_new cke_widget_' + + ( inlineWidget ? 'inline' : 'block' ) + + ( name ? ' cke_widget_' + name : '' ) + }; + } + + // Inserts element at given index. + // It will check DTD and split ancestor elements up to the first + // that can contain this element. + // + // @param {CKEDITOR.htmlParser.element} parent + // @param {Number} index + // @param {CKEDITOR.htmlParser.element} element + function insertElement( parent, index, element ) { + // Do not split doc fragment... + if ( parent.type == CKEDITOR.NODE_ELEMENT ) { + var parentAllows = CKEDITOR.dtd[ parent.name ]; + // Parent element is known (included in DTD) and cannot contain + // this element. + if ( parentAllows && !parentAllows[ element.name ] ) { + var parent2 = parent.split( index ), + parentParent = parent.parent; + + // Element will now be inserted at right parent's index. + index = parent2.getIndex(); + + // If left part of split is empty - remove it. + if ( !parent.children.length ) { + index -= 1; + parent.remove(); + } + + // If right part of split is empty - remove it. + if ( !parent2.children.length ) + parent2.remove(); + + // Try inserting as grandpas' children. + return insertElement( parentParent, index, element ); + } + } + + // Finally we can add this element. + parent.add( element, index ); + } + + // Checks whether for the given widget definition and element widget should be created in inline or block mode. + // + // See also: {@link CKEDITOR.plugins.widget.definition#inline} and {@link CKEDITOR.plugins.widget#element}. + // + // @param {CKEDITOR.plugins.widget.definition} widgetDef The widget definition. + // @param {String} elementName The name of the widget element. + // @returns {Boolean} + function isWidgetInline( widgetDef, elementName ) { + return typeof widgetDef.inline == 'boolean' ? widgetDef.inline : !!CKEDITOR.dtd.$inline[ elementName ]; + } + + // @param {CKEDITOR.dom.element} + // @returns {Boolean} + function isDomTemp( element ) { + return element.hasAttribute( 'data-cke-temp' ); + } + + function onEditableKey( widget, keyCode ) { + var focusedEditable = widget.focusedEditable, + range; + + // CTRL+A. + if ( keyCode == CKEDITOR.CTRL + 65 ) { + var bogus = focusedEditable.getBogus(); + + range = widget.editor.createRange(); + range.selectNodeContents( focusedEditable ); + // Exclude bogus if exists. + if ( bogus ) + range.setEndAt( bogus, CKEDITOR.POSITION_BEFORE_START ); + + range.select(); + // Cancel event - block default. + return false; + } + // DEL or BACKSPACE. + else if ( keyCode == 8 || keyCode == 46 ) { + var ranges = widget.editor.getSelection().getRanges(); + + range = ranges[ 0 ]; + + // Block del or backspace if at editable's boundary. + return !( ranges.length == 1 && range.collapsed && + range.checkBoundaryOfElement( focusedEditable, CKEDITOR[ keyCode == 8 ? 'START' : 'END' ] ) ); + } + } + + function setFocusedEditable( widgetsRepo, widget, editableElement, offline ) { + var editor = widgetsRepo.editor; + + editor.fire( 'lockSnapshot' ); + + if ( editableElement ) { + var editableName = editableElement.data( 'cke-widget-editable' ), + editableInstance = widget.editables[ editableName ]; + + widgetsRepo.widgetHoldingFocusedEditable = widget; + widget.focusedEditable = editableInstance; + editableElement.addClass( 'cke_widget_editable_focused' ); + + if ( editableInstance.filter ) + editor.setActiveFilter( editableInstance.filter ); + editor.setActiveEnterMode( editableInstance.enterMode, editableInstance.shiftEnterMode ); + } else { + if ( !offline ) + widget.focusedEditable.removeClass( 'cke_widget_editable_focused' ); + + widget.focusedEditable = null; + widgetsRepo.widgetHoldingFocusedEditable = null; + editor.setActiveFilter( null ); + editor.setActiveEnterMode( null, null ); + } + + editor.fire( 'unlockSnapshot' ); + } + + function setupContextMenu( editor ) { + if ( !editor.contextMenu ) + return; + + editor.contextMenu.addListener( function( element ) { + var widget = editor.widgets.getByElement( element, true ); + + if ( widget ) + return widget.fire( 'contextMenu', {} ); + } ); + } + + // And now we've got two problems - original problem and RegExp. + // Some softeners: + // * FF tends to copy all blocks up to the copybin container. + // * IE tends to copy only the copybin, without its container. + // * We use spans on IE and blockless editors, but divs in other cases. + var pasteReplaceRegex = new RegExp( + '^' + + '(?:<(?:div|span)(?: data-cke-temp="1")?(?: id="cke_copybin")?(?: data-cke-temp="1")?>)?' + + '(?:<(?:div|span)(?: style="[^"]+")?>)?' + + ']*data-cke-copybin-start="1"[^>]*>.?([\\s\\S]+)]*data-cke-copybin-end="1"[^>]*>.?' + + '(?:)?' + + '(?:)?' + + '$', + // IE8 prefers uppercase when browsers stick to lowercase HTML (#13460). + 'i' + ); + + function pasteReplaceFn( match, wrapperHtml ) { + // Avoid polluting pasted data with any whitspaces, + // what's going to break check whether only one widget was pasted. + return CKEDITOR.tools.trim( wrapperHtml ); + } + + function setupDragAndDrop( widgetsRepo ) { + var editor = widgetsRepo.editor, + lineutils = CKEDITOR.plugins.lineutils; + + // These listeners handle inline and block widgets drag and drop. + // The only thing we need to do to make block widgets custom drag and drop functionality + // is to fire those events with the right properties (like the target which must be the drag handle). + editor.on( 'dragstart', function( evt ) { + var target = evt.data.target; + + if ( Widget.isDomDragHandler( target ) ) { + var widget = widgetsRepo.getByElement( target ); + + evt.data.dataTransfer.setData( 'cke/widget-id', widget.id ); + + // IE needs focus. + editor.focus(); + + // and widget need to be focused on drag start (#12172#comment:10). + widget.focus(); + } + } ); + + editor.on( 'drop', function( evt ) { + var dataTransfer = evt.data.dataTransfer, + id = dataTransfer.getData( 'cke/widget-id' ), + transferType = dataTransfer.getTransferType( editor ), + dragRange = editor.createRange(), + sourceWidget; + + // Disable cross-editor drag & drop for widgets - #13599. + if ( id !== '' && transferType === CKEDITOR.DATA_TRANSFER_CROSS_EDITORS ) { + evt.cancel(); + return; + } + + if ( id === '' || transferType != CKEDITOR.DATA_TRANSFER_INTERNAL ) { + return; + } + + sourceWidget = widgetsRepo.instances[ id ]; + if ( !sourceWidget ) { + return; + } + + dragRange.setStartBefore( sourceWidget.wrapper ); + dragRange.setEndAfter( sourceWidget.wrapper ); + evt.data.dragRange = dragRange; + + // [IE8-9] Reset state of the clipboard#fixSplitNodesAfterDrop fix because by setting evt.data.dragRange + // (see above) after drop happened we do not need it. That fix is needed only if dragRange was created + // before drop (before text node was split). + delete CKEDITOR.plugins.clipboard.dragStartContainerChildCount; + delete CKEDITOR.plugins.clipboard.dragEndContainerChildCount; + + evt.data.dataTransfer.setData( 'text/html', editor.editable().getHtmlFromRange( dragRange ).getHtml() ); + editor.widgets.destroy( sourceWidget, true ); + } ); + + editor.on( 'contentDom', function() { + var editable = editor.editable(); + + // Register Lineutils's utilities as properties of repo. + CKEDITOR.tools.extend( widgetsRepo, { + finder: new lineutils.finder( editor, { + lookups: { + // Element is block but not list item and not in nested editable. + 'default': function( el ) { + if ( el.is( CKEDITOR.dtd.$listItem ) ) + return; + + if ( !el.is( CKEDITOR.dtd.$block ) ) + return; + + // Allow drop line inside, but never before or after nested editable (#12006). + if ( Widget.isDomNestedEditable( el ) ) + return; + + // Do not allow droping inside the widget being dragged (#13397). + if ( widgetsRepo._.draggedWidget.wrapper.contains( el ) ) { + return; + } + + // If element is nested editable, make sure widget can be dropped there (#12006). + var nestedEditable = Widget.getNestedEditable( editable, el ); + if ( nestedEditable ) { + var draggedWidget = widgetsRepo._.draggedWidget; + + // Don't let the widget to be dropped into its own nested editable. + if ( widgetsRepo.getByElement( nestedEditable ) == draggedWidget ) + return; + + var filter = CKEDITOR.filter.instances[ nestedEditable.data( 'cke-filter' ) ], + draggedRequiredContent = draggedWidget.requiredContent; + + // There will be no relation if the filter of nested editable does not allow + // requiredContent of dragged widget. + if ( filter && draggedRequiredContent && !filter.check( draggedRequiredContent ) ) + return; + } + + return CKEDITOR.LINEUTILS_BEFORE | CKEDITOR.LINEUTILS_AFTER; + } + } + } ), + locator: new lineutils.locator( editor ), + liner: new lineutils.liner( editor, { + lineStyle: { + cursor: 'move !important', + 'border-top-color': '#666' + }, + tipLeftStyle: { + 'border-left-color': '#666' + }, + tipRightStyle: { + 'border-right-color': '#666' + } + } ) + }, true ); + } ); + } + + // Setup mouse observer which will trigger: + // * widget focus on widget click, + // * widget#doubleclick forwarded from editor#doubleclick. + function setupMouseObserver( widgetsRepo ) { + var editor = widgetsRepo.editor; + + editor.on( 'contentDom', function() { + var editable = editor.editable(), + evtRoot = editable.isInline() ? editable : editor.document, + widget, + mouseDownOnDragHandler; + + editable.attachListener( evtRoot, 'mousedown', function( evt ) { + var target = evt.data.getTarget(); + + // #10887 Clicking scrollbar in IE8 will invoke event with empty target object. + if ( !target.type ) + return false; + + widget = widgetsRepo.getByElement( target ); + mouseDownOnDragHandler = 0; // Reset. + + // Widget was clicked, but not editable nested in it. + if ( widget ) { + // Ignore mousedown on drag and drop handler if the widget is inline. + // Block widgets are handled by Lineutils. + if ( widget.inline && target.type == CKEDITOR.NODE_ELEMENT && target.hasAttribute( 'data-cke-widget-drag-handler' ) ) { + mouseDownOnDragHandler = 1; + + // When drag handler is pressed we have to clear current selection if it wasn't already on this widget. + // Otherwise, the selection may be in a fillingChar, which prevents dragging a widget. (#13284, see comment 8 and 9.) + if ( widgetsRepo.focused != widget ) + editor.getSelection().removeAllRanges(); + + return; + } + + if ( !Widget.getNestedEditable( widget.wrapper, target ) ) { + evt.data.preventDefault(); + if ( !CKEDITOR.env.ie ) + widget.focus(); + } else { + // Reset widget so mouseup listener is not confused. + widget = null; + } + } + } ); + + // Focus widget on mouseup if mousedown was fired on drag handler. + // Note: mouseup won't be fired at all if widget was dragged and dropped, so + // this code will be executed only when drag handler was clicked. + editable.attachListener( evtRoot, 'mouseup', function() { + // Check if widget is not destroyed (if widget is destroyed the wrapper will be null). + if ( mouseDownOnDragHandler && widget && widget.wrapper ) { + mouseDownOnDragHandler = 0; + widget.focus(); + } + } ); + + // On IE it is not enough to block mousedown. If widget wrapper (element with + // contenteditable=false attribute) is clicked directly (it is a target), + // then after mouseup/click IE will select that element. + // It is not possible to prevent that default action, + // so we force fake selection after everything happened. + if ( CKEDITOR.env.ie ) { + editable.attachListener( evtRoot, 'mouseup', function() { + setTimeout( function() { + // Check if widget is not destroyed (if widget is destroyed the wrapper will be null) and + // in editable contains widget (it could be dragged and removed). + if ( widget && widget.wrapper && editable.contains( widget.wrapper ) ) { + widget.focus(); + widget = null; + } + } ); + } ); + } + } ); + + editor.on( 'doubleclick', function( evt ) { + var widget = widgetsRepo.getByElement( evt.data.element ); + + // Not in widget or in nested editable. + if ( !widget || Widget.getNestedEditable( widget.wrapper, evt.data.element ) ) + return; + + return widget.fire( 'doubleclick', { element: evt.data.element } ); + }, null, null, 1 ); + } + + // Setup editor#key observer which will forward it + // to focused widget. + function setupKeyboardObserver( widgetsRepo ) { + var editor = widgetsRepo.editor; + + editor.on( 'key', function( evt ) { + var focused = widgetsRepo.focused, + widgetHoldingFocusedEditable = widgetsRepo.widgetHoldingFocusedEditable, + ret; + + if ( focused ) + ret = focused.fire( 'key', { keyCode: evt.data.keyCode } ); + else if ( widgetHoldingFocusedEditable ) + ret = onEditableKey( widgetHoldingFocusedEditable, evt.data.keyCode ); + + return ret; + }, null, null, 1 ); + } + + // Setup copybin on native copy and cut events in order to handle copy and cut commands + // if user accepted security alert on IEs. + // Note: when copying or cutting using keystroke, copySingleWidget will be first executed + // by the keydown listener. Conflict between two calls will be resolved by copy_bin existence check. + function setupNativeCutAndCopy( widgetsRepo ) { + var editor = widgetsRepo.editor; + + editor.on( 'contentDom', function() { + var editable = editor.editable(); + + editable.attachListener( editable, 'copy', eventListener ); + editable.attachListener( editable, 'cut', eventListener ); + } ); + + function eventListener( evt ) { + if ( widgetsRepo.focused ) + copySingleWidget( widgetsRepo.focused, evt.name == 'cut' ); + } + } + + // Setup selection observer which will trigger: + // * widget select & focus on selection change, + // * nested editable focus (related properites and classes) on selection change, + // * deselecting and blurring all widgets on data, + // * blurring widget on editor blur. + function setupSelectionObserver( widgetsRepo ) { + var editor = widgetsRepo.editor; + + editor.on( 'selectionCheck', function() { + widgetsRepo.fire( 'checkSelection' ); + } ); + + widgetsRepo.on( 'checkSelection', widgetsRepo.checkSelection, widgetsRepo ); + + editor.on( 'selectionChange', function( evt ) { + var nestedEditable = Widget.getNestedEditable( editor.editable(), evt.data.selection.getStartElement() ), + newWidget = nestedEditable && widgetsRepo.getByElement( nestedEditable ), + oldWidget = widgetsRepo.widgetHoldingFocusedEditable; + + if ( oldWidget ) { + if ( oldWidget !== newWidget || !oldWidget.focusedEditable.equals( nestedEditable ) ) { + setFocusedEditable( widgetsRepo, oldWidget, null ); + + if ( newWidget && nestedEditable ) + setFocusedEditable( widgetsRepo, newWidget, nestedEditable ); + } + } + // It may happen that there's no widget even if editable was found - + // e.g. if selection was automatically set in editable although widget wasn't initialized yet. + else if ( newWidget && nestedEditable ) { + setFocusedEditable( widgetsRepo, newWidget, nestedEditable ); + } + } ); + + // Invalidate old widgets early - immediately on dataReady. + editor.on( 'dataReady', function() { + // Deselect and blur all widgets. + stateUpdater( widgetsRepo ).commit(); + } ); + + editor.on( 'blur', function() { + var widget; + + if ( ( widget = widgetsRepo.focused ) ) + blurWidget( widgetsRepo, widget ); + + if ( ( widget = widgetsRepo.widgetHoldingFocusedEditable ) ) + setFocusedEditable( widgetsRepo, widget, null ); + } ); + } + + // Set up actions like: + // * processing in toHtml/toDataFormat, + // * pasting handling, + // * insertion handling, + // * editable reload handling (setData, mode switch, undo/redo), + // * DOM invalidation handling, + // * widgets checks. + function setupWidgetsLifecycle( widgetsRepo ) { + setupWidgetsLifecycleStart( widgetsRepo ); + setupWidgetsLifecycleEnd( widgetsRepo ); + + widgetsRepo.on( 'checkWidgets', checkWidgets ); + widgetsRepo.editor.on( 'contentDomInvalidated', widgetsRepo.checkWidgets, widgetsRepo ); + } + + function setupWidgetsLifecycleEnd( widgetsRepo ) { + var editor = widgetsRepo.editor, + downcastingSessions = {}; + + // Listen before htmlDP#htmlFilter is applied to cache all widgets, because we'll + // loose data-cke-* attributes. + editor.on( 'toDataFormat', function( evt ) { + // To avoid conflicts between htmlDP#toDF calls done at the same time + // (e.g. nestedEditable#getData called during downcasting some widget) + // mark every toDataFormat event chain with the downcasting session id. + var id = CKEDITOR.tools.getNextNumber(), + toBeDowncasted = []; + evt.data.downcastingSessionId = id; + downcastingSessions[ id ] = toBeDowncasted; + + evt.data.dataValue.forEach( function( element ) { + var attrs = element.attributes, + widget, widgetElement; + + // Wrapper. + // Perform first part of downcasting (cleanup) and cache widgets, + // because after applying DP's filter all data-cke-* attributes will be gone. + if ( 'data-cke-widget-id' in attrs ) { + widget = widgetsRepo.instances[ attrs[ 'data-cke-widget-id' ] ]; + if ( widget ) { + widgetElement = element.getFirst( Widget.isParserWidgetElement ); + toBeDowncasted.push( { + wrapper: element, + element: widgetElement, + widget: widget, + editables: {} + } ); + + // If widget did not have data-cke-widget attribute before upcasting remove it. + if ( widgetElement.attributes[ 'data-cke-widget-keep-attr' ] != '1' ) + delete widgetElement.attributes[ 'data-widget' ]; + } + } + // Nested editable. + else if ( 'data-cke-widget-editable' in attrs ) { + // Save the reference to this nested editable in the closest widget to be downcasted. + // Nested editables are downcasted in the successive toDataFormat to create an opportunity + // for dataFilter's "excludeNestedEditable" option to do its job (that option relies on + // contenteditable="true" attribute) (#11372). + toBeDowncasted[ toBeDowncasted.length - 1 ].editables[ attrs[ 'data-cke-widget-editable' ] ] = element; + + // Don't check children - there won't be next wrapper or nested editable which we + // should process in this session. + return false; + } + }, CKEDITOR.NODE_ELEMENT, true ); + }, null, null, 8 ); + + // Listen after dataProcessor.htmlFilter and ACF were applied + // so wrappers securing widgets' contents are removed after all filtering was done. + editor.on( 'toDataFormat', function( evt ) { + // Ignore some unmarked sessions. + if ( !evt.data.downcastingSessionId ) + return; + + var toBeDowncasted = downcastingSessions[ evt.data.downcastingSessionId ], + toBe, widget, widgetElement, retElement, editableElement, e; + + while ( ( toBe = toBeDowncasted.shift() ) ) { + widget = toBe.widget; + widgetElement = toBe.element; + retElement = widget._.downcastFn && widget._.downcastFn.call( widget, widgetElement ); + + // Replace nested editables' content with their output data. + for ( e in toBe.editables ) { + editableElement = toBe.editables[ e ]; + + delete editableElement.attributes.contenteditable; + editableElement.setHtml( widget.editables[ e ].getData() ); + } + + // Returned element always defaults to widgetElement. + if ( !retElement ) + retElement = widgetElement; + + toBe.wrapper.replaceWith( retElement ); + } + }, null, null, 13 ); + + + editor.on( 'contentDomUnload', function() { + widgetsRepo.destroyAll( true ); + } ); + } + + function setupWidgetsLifecycleStart( widgetsRepo ) { + var editor = widgetsRepo.editor, + processedWidgetOnly, + snapshotLoaded; + + // Listen after ACF (so data are filtered), + // but before dataProcessor.dataFilter was applied (so we can secure widgets' internals). + editor.on( 'toHtml', function( evt ) { + var upcastIterator = createUpcastIterator( widgetsRepo ), + toBeWrapped; + + evt.data.dataValue.forEach( upcastIterator.iterator, CKEDITOR.NODE_ELEMENT, true ); + + // Clean up and wrap all queued elements. + while ( ( toBeWrapped = upcastIterator.toBeWrapped.pop() ) ) { + cleanUpWidgetElement( toBeWrapped[ 0 ] ); + widgetsRepo.wrapElement( toBeWrapped[ 0 ], toBeWrapped[ 1 ] ); + } + + // Used to determine whether only widget was pasted. + if ( evt.data.protectedWhitespaces ) { + // Whitespaces are protected by wrapping content with spans. Take the middle node only. + processedWidgetOnly = evt.data.dataValue.children.length == 3 && + Widget.isParserWidgetWrapper( evt.data.dataValue.children[ 1 ] ); + } else { + processedWidgetOnly = evt.data.dataValue.children.length == 1 && + Widget.isParserWidgetWrapper( evt.data.dataValue.children[ 0 ] ); + } + }, null, null, 8 ); + + editor.on( 'dataReady', function() { + // Clean up all widgets loaded from snapshot. + if ( snapshotLoaded ) + cleanUpAllWidgetElements( widgetsRepo, editor.editable() ); + snapshotLoaded = 0; + + // Some widgets were destroyed on contentDomUnload, + // some on loadSnapshot, but that does not include + // e.g. setHtml on inline editor or widgets removed just + // before setting data. + widgetsRepo.destroyAll( true ); + widgetsRepo.initOnAll(); + } ); + + // Set flag so dataReady will know that additional + // cleanup is needed, because snapshot containing widgets was loaded. + editor.on( 'loadSnapshot', function( evt ) { + // Primitive but sufficient check which will prevent from executing + // heavier cleanUpAllWidgetElements if not needed. + if ( ( /data-cke-widget/ ).test( evt.data ) ) + snapshotLoaded = 1; + + widgetsRepo.destroyAll( true ); + }, null, null, 9 ); + + // Handle pasted single widget. + editor.on( 'paste', function( evt ) { + var data = evt.data; + + data.dataValue = data.dataValue.replace( pasteReplaceRegex, pasteReplaceFn ); + + // If drag'n'drop kind of paste into nested editable (data.range), selection is set AFTER + // data is pasted, which means editor has no chance to change activeFilter's context. + // As a result, pasted data is filtered with default editor's filter instead of NE's and + // funny things get inserted. Changing the filter by analysis of the paste range below (#13186). + if ( data.range ) { + // Check if pasting into nested editable. + var nestedEditable = Widget.getNestedEditable( editor.editable(), data.range.startContainer ); + + if ( nestedEditable ) { + // Retrieve the filter from NE's data and set it active before editor.insertHtml is done + // in clipboard plugin. + var filter = CKEDITOR.filter.instances[ nestedEditable.data( 'cke-filter' ) ]; + + if ( filter ) { + editor.setActiveFilter( filter ); + } + } + } + } ); + + // Listen with high priority to check widgets after data was inserted. + editor.on( 'afterInsertHtml', function( evt ) { + if ( evt.data.intoRange ) { + widgetsRepo.checkWidgets( { initOnlyNew: true } ); + } else { + editor.fire( 'lockSnapshot' ); + // Init only new for performance reason. + // Focus inited if only widget was processed. + widgetsRepo.checkWidgets( { initOnlyNew: true, focusInited: processedWidgetOnly } ); + + editor.fire( 'unlockSnapshot' ); + } + } ); + } + + // Helper for coordinating which widgets should be + // selected/deselected and which one should be focused/blurred. + function stateUpdater( widgetsRepo ) { + var currentlySelected = widgetsRepo.selected, + toBeSelected = [], + toBeDeselected = currentlySelected.slice( 0 ), + focused = null; + + return { + select: function( widget ) { + if ( CKEDITOR.tools.indexOf( currentlySelected, widget ) < 0 ) + toBeSelected.push( widget ); + + var index = CKEDITOR.tools.indexOf( toBeDeselected, widget ); + if ( index >= 0 ) + toBeDeselected.splice( index, 1 ); + + return this; + }, + + focus: function( widget ) { + focused = widget; + return this; + }, + + commit: function() { + var focusedChanged = widgetsRepo.focused !== focused, + widget, isDirty; + + widgetsRepo.editor.fire( 'lockSnapshot' ); + + if ( focusedChanged && ( widget = widgetsRepo.focused ) ) + blurWidget( widgetsRepo, widget ); + + while ( ( widget = toBeDeselected.pop() ) ) { + currentlySelected.splice( CKEDITOR.tools.indexOf( currentlySelected, widget ), 1 ); + // Widget could be destroyed in the meantime - e.g. data could be set. + if ( widget.isInited() ) { + isDirty = widget.editor.checkDirty(); + + widget.setSelected( false ); + + !isDirty && widget.editor.resetDirty(); + } + } + + if ( focusedChanged && focused ) { + isDirty = widgetsRepo.editor.checkDirty(); + + widgetsRepo.focused = focused; + widgetsRepo.fire( 'widgetFocused', { widget: focused } ); + focused.setFocused( true ); + + !isDirty && widgetsRepo.editor.resetDirty(); + } + + while ( ( widget = toBeSelected.pop() ) ) { + currentlySelected.push( widget ); + widget.setSelected( true ); + } + + widgetsRepo.editor.fire( 'unlockSnapshot' ); + } + }; + } + + + // + // WIDGET helpers --------------------------------------------------------- + // + + // LEFT, RIGHT, UP, DOWN, DEL, BACKSPACE - unblock default fake sel handlers. + var keystrokesNotBlockedByWidget = { 37: 1, 38: 1, 39: 1, 40: 1, 8: 1, 46: 1 }; + + // Applies or removes style's classes from widget. + // @param {CKEDITOR.style} style Custom widget style. + // @param {Boolean} apply Whether to apply or remove style. + function applyRemoveStyle( widget, style, apply ) { + var changed = 0, + classes = getStyleClasses( style ), + updatedClasses = widget.data.classes || {}, + cl; + + // Ee... Something is wrong with this style. + if ( !classes ) + return; + + // Clone, because we need to break reference. + updatedClasses = CKEDITOR.tools.clone( updatedClasses ); + + while ( ( cl = classes.pop() ) ) { + if ( apply ) { + if ( !updatedClasses[ cl ] ) + changed = updatedClasses[ cl ] = 1; + } else { + if ( updatedClasses[ cl ] ) { + delete updatedClasses[ cl ]; + changed = 1; + } + } + } + if ( changed ) + widget.setData( 'classes', updatedClasses ); + } + + function cancel( evt ) { + evt.cancel(); + } + + function copySingleWidget( widget, isCut ) { + var editor = widget.editor, + doc = editor.document; + + // We're still handling previous copy/cut. + // When keystroke is used to copy/cut this will also prevent + // conflict with copySingleWidget called again for native copy/cut event. + if ( doc.getById( 'cke_copybin' ) ) + return; + + // [IE] Use span for copybin and its container to avoid bug with expanding editable height by + // absolutely positioned element. + var copybinName = ( editor.blockless || CKEDITOR.env.ie ) ? 'span' : 'div', + copybin = doc.createElement( copybinName ), + copybinContainer = doc.createElement( copybinName ), + // IE8 always jumps to the end of document. + needsScrollHack = CKEDITOR.env.ie && CKEDITOR.env.version < 9; + + copybinContainer.setAttributes( { + id: 'cke_copybin', + 'data-cke-temp': '1' + } ); + + // Position copybin element outside current viewport. + copybin.setStyles( { + position: 'absolute', + width: '1px', + height: '1px', + overflow: 'hidden' + } ); + + copybin.setStyle( editor.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-5000px' ); + + var range = editor.createRange(); + range.setStartBefore( widget.wrapper ); + range.setEndAfter( widget.wrapper ); + + copybin.setHtml( + '\u200b' + + editor.editable().getHtmlFromRange( range ).getHtml() + + '\u200b' ); + + // Save snapshot with the current state. + editor.fire( 'saveSnapshot' ); + + // Ignore copybin. + editor.fire( 'lockSnapshot' ); + + copybinContainer.append( copybin ); + editor.editable().append( copybinContainer ); + + var listener1 = editor.on( 'selectionChange', cancel, null, null, 0 ), + listener2 = widget.repository.on( 'checkSelection', cancel, null, null, 0 ); + + if ( needsScrollHack ) { + var docElement = doc.getDocumentElement().$, + scrollTop = docElement.scrollTop; + } + + // Once the clone of the widget is inside of copybin, select + // the entire contents. This selection will be copied by the + // native browser's clipboard system. + range = editor.createRange(); + range.selectNodeContents( copybin ); + range.select(); + + if ( needsScrollHack ) + docElement.scrollTop = scrollTop; + + setTimeout( function() { + // [IE] Focus widget before removing copybin to avoid scroll jump. + if ( !isCut ) + widget.focus(); + + copybinContainer.remove(); + + listener1.removeListener(); + listener2.removeListener(); + + editor.fire( 'unlockSnapshot' ); + + if ( isCut ) { + widget.repository.del( widget ); + editor.fire( 'saveSnapshot' ); + } + }, 100 ); // Use 100ms, so Chrome (@Mac) will be able to grab the content. + } + + // Extracts classes array from style instance. + function getStyleClasses( style ) { + var attrs = style.getDefinition().attributes, + classes = attrs && attrs[ 'class' ]; + + return classes ? classes.split( /\s+/ ) : null; + } + + // [IE] Force keeping focus because IE sometimes forgets to fire focus on main editable + // when blurring nested editable. + // @context widget + function onEditableBlur() { + var active = CKEDITOR.document.getActive(), + editor = this.editor, + editable = editor.editable(); + + // If focus stays within editor override blur and set currentActive because it should be + // automatically changed to editable on editable#focus but it is not fired. + if ( ( editable.isInline() ? editable : editor.document.getWindow().getFrame() ).equals( active ) ) + editor.focusManager.focus( editable ); + } + + // Force selectionChange when editable was focused. + // Similar to hack in selection.js#~620. + // @context widget + function onEditableFocus() { + // Gecko does not support 'DOMFocusIn' event on which we unlock selection + // in selection.js to prevent selection locking when entering nested editables. + if ( CKEDITOR.env.gecko ) + this.editor.unlockSelection(); + + // We don't need to force selectionCheck on Webkit, because on Webkit + // we do that on DOMFocusIn in selection.js. + if ( !CKEDITOR.env.webkit ) { + this.editor.forceNextSelectionCheck(); + this.editor.selectionChange( 1 ); + } + } + + // Setup listener on widget#data which will update (remove/add) classes + // by comparing newly set classes with the old ones. + function setupDataClassesListener( widget ) { + // Note: previousClasses and newClasses may be null! + // Tip: for ( cl in null ) is correct. + var previousClasses = null; + + widget.on( 'data', function() { + var newClasses = this.data.classes, + cl; + + // When setting new classes one need to remember + // that he must break reference. + if ( previousClasses == newClasses ) + return; + + for ( cl in previousClasses ) { + // Avoid removing and adding classes again. + if ( !( newClasses && newClasses[ cl ] ) ) + this.removeClass( cl ); + } + for ( cl in newClasses ) + this.addClass( cl ); + + previousClasses = newClasses; + } ); + } + + // Add a listener to data event that will set/change widget's label (#14539). + function setupA11yListener( widget ) { + // Note, the function gets executed in a context of widget instance. + function getLabelDefault() { + return this.editor.lang.widget.label.replace( /%1/, this.pathName || this.element.getName() ); + } + + // Setting a listener on data is enough, there's no need to perform it on widget initialization, as + // setupWidgetData fires this event anyway. + widget.on( 'data', function() { + // In some cases widget might get destroyed in an earlier data listener. For instance, image2 plugin, does + // so when changing its internal state. + if ( !widget.wrapper ) { + return; + } + + var label = this.getLabel ? this.getLabel() : getLabelDefault.call( this ); + + widget.wrapper.setAttribute( 'role', 'region' ); + widget.wrapper.setAttribute( 'aria-label', label ); + }, null, null, 9999 ); + } + + function setupDragHandler( widget ) { + if ( !widget.draggable ) + return; + + var editor = widget.editor, + // Use getLast to find wrapper's direct descendant (#12022). + container = widget.wrapper.getLast( Widget.isDomDragHandlerContainer ), + img; + + // Reuse drag handler if already exists (#11281). + if ( container ) + img = container.findOne( 'img' ); + else { + container = new CKEDITOR.dom.element( 'span', editor.document ); + container.setAttributes( { + 'class': 'cke_reset cke_widget_drag_handler_container', + // Split background and background-image for IE8 which will break on rgba(). + style: 'background:rgba(220,220,220,0.5);background-image:url(' + editor.plugins.widget.path + 'images/handle.png)' + } ); + + img = new CKEDITOR.dom.element( 'img', editor.document ); + img.setAttributes( { + 'class': 'cke_reset cke_widget_drag_handler', + 'data-cke-widget-drag-handler': '1', + src: CKEDITOR.tools.transparentImageData, + width: DRAG_HANDLER_SIZE, + title: editor.lang.widget.move, + height: DRAG_HANDLER_SIZE, + role: 'presentation' + } ); + widget.inline && img.setAttribute( 'draggable', 'true' ); + + container.append( img ); + widget.wrapper.append( container ); + } + + // Preventing page reload when dropped content on widget wrapper (#13015). + // Widget is not editable so by default drop on it isn't allowed what means that + // browser handles it (there's no editable#drop event). If there's no drop event we cannot block + // the drop, so page is reloaded. This listener enables drop on widget wrappers. + widget.wrapper.on( 'dragover', function( evt ) { + evt.data.preventDefault(); + } ); + + widget.wrapper.on( 'mouseenter', widget.updateDragHandlerPosition, widget ); + setTimeout( function() { + widget.on( 'data', widget.updateDragHandlerPosition, widget ); + }, 50 ); + + if ( !widget.inline ) { + img.on( 'mousedown', onBlockWidgetDrag, widget ); + + // On IE8 'dragstart' is propagated to editable, so editor#dragstart is fired twice on block widgets. + if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) { + img.on( 'dragstart', function( evt ) { + evt.data.preventDefault( true ); + } ); + } + } + + widget.dragHandlerContainer = container; + } + + function onBlockWidgetDrag( evt ) { + var finder = this.repository.finder, + locator = this.repository.locator, + liner = this.repository.liner, + editor = this.editor, + editable = editor.editable(), + listeners = [], + sorted = [], + locations, + y; + + // Mark dragged widget for repository#finder. + this.repository._.draggedWidget = this; + + // Harvest all possible relations and display some closest. + var relations = finder.greedySearch(), + + buffer = CKEDITOR.tools.eventsBuffer( 50, function() { + locations = locator.locate( relations ); + + // There's only a single line displayed for D&D. + sorted = locator.sort( y, 1 ); + + if ( sorted.length ) { + liner.prepare( relations, locations ); + liner.placeLine( sorted[ 0 ] ); + liner.cleanup(); + } + } ); + + // Let's have the "dragging cursor" over entire editable. + editable.addClass( 'cke_widget_dragging' ); + + // Cache mouse position so it is re-used in events buffer. + listeners.push( editable.on( 'mousemove', function( evt ) { + y = evt.data.$.clientY; + buffer.input(); + } ) ); + + // Fire drag start as it happens during the native D&D. + editor.fire( 'dragstart', { target: evt.sender } ); + + function onMouseUp() { + var l; + + buffer.reset(); + + // Stop observing events. + while ( ( l = listeners.pop() ) ) + l.removeListener(); + + onBlockWidgetDrop.call( this, sorted, evt.sender ); + } + + // Mouseup means "drop". This is when the widget is being detached + // from DOM and placed at range determined by the line (location). + listeners.push( editor.document.once( 'mouseup', onMouseUp, this ) ); + + // Prevent calling 'onBlockWidgetDrop' twice in the inline editor. + // `removeListener` does not work if it is called at the same time event is fired. + if ( !editable.isInline() ) { + // Mouseup may occur when user hovers the line, which belongs to + // the outer document. This is, of course, a valid listener too. + listeners.push( CKEDITOR.document.once( 'mouseup', onMouseUp, this ) ); + } + } + + function onBlockWidgetDrop( sorted, dragTarget ) { + var finder = this.repository.finder, + liner = this.repository.liner, + editor = this.editor, + editable = this.editor.editable(); + + if ( !CKEDITOR.tools.isEmpty( liner.visible ) ) { + // Retrieve range for the closest location. + var dropRange = finder.getRange( sorted[ 0 ] ); + + // Focus widget (it could lost focus after mousedown+mouseup) + // and save this state as the one where we want to be taken back when undoing. + this.focus(); + + // Drag range will be set in the drop listener. + editor.fire( 'drop', { + dropRange: dropRange, + target: dropRange.startContainer + } ); + } + + // Clean-up custom cursor for editable. + editable.removeClass( 'cke_widget_dragging' ); + + // Clean-up all remaining lines. + liner.hideVisible(); + + // Clean-up drag & drop. + editor.fire( 'dragend', { target: dragTarget } ); + } + + function setupEditables( widget ) { + var editableName, + editableDef, + definedEditables = widget.editables; + + widget.editables = {}; + + if ( !widget.editables ) + return; + + for ( editableName in definedEditables ) { + editableDef = definedEditables[ editableName ]; + widget.initEditable( editableName, typeof editableDef == 'string' ? { selector: editableDef } : editableDef ); + } + } + + function setupMask( widget ) { + if ( !widget.mask ) + return; + + // Reuse mask if already exists (#11281). + var img = widget.wrapper.findOne( '.cke_widget_mask' ); + + if ( !img ) { + img = new CKEDITOR.dom.element( 'img', widget.editor.document ); + img.setAttributes( { + src: CKEDITOR.tools.transparentImageData, + 'class': 'cke_reset cke_widget_mask' + } ); + widget.wrapper.append( img ); + } + + widget.mask = img; + } + + // Replace parts object containing: + // partName => selector pairs + // with: + // partName => element pairs + function setupParts( widget ) { + if ( widget.parts ) { + var parts = {}, + el, partName; + + for ( partName in widget.parts ) { + el = widget.wrapper.findOne( widget.parts[ partName ] ); + parts[ partName ] = el; + } + widget.parts = parts; + } + } + + function setupWidget( widget, widgetDef ) { + setupWrapper( widget ); + setupParts( widget ); + setupEditables( widget ); + setupMask( widget ); + setupDragHandler( widget ); + setupDataClassesListener( widget ); + setupA11yListener( widget ); + + // #11145: [IE8] Non-editable content of widget is draggable. + if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) { + widget.wrapper.on( 'dragstart', function( evt ) { + var target = evt.data.getTarget(); + + // Allow text dragging inside nested editables or dragging inline widget's drag handler. + if ( !Widget.getNestedEditable( widget, target ) && !( widget.inline && Widget.isDomDragHandler( target ) ) ) + evt.data.preventDefault(); + } ); + } + + widget.wrapper.removeClass( 'cke_widget_new' ); + widget.element.addClass( 'cke_widget_element' ); + + widget.on( 'key', function( evt ) { + var keyCode = evt.data.keyCode; + + // ENTER. + if ( keyCode == 13 ) { + widget.edit(); + // CTRL+C or CTRL+X. + } else if ( keyCode == CKEDITOR.CTRL + 67 || keyCode == CKEDITOR.CTRL + 88 ) { + copySingleWidget( widget, keyCode == CKEDITOR.CTRL + 88 ); + return; // Do not preventDefault. + } else if ( keyCode in keystrokesNotBlockedByWidget || ( CKEDITOR.CTRL & keyCode ) || ( CKEDITOR.ALT & keyCode ) ) { + // Pass chosen keystrokes to other plugins or default fake sel handlers. + // Pass all CTRL/ALT keystrokes. + return; + } + + return false; + }, null, null, 999 ); + // Listen with high priority so it's possible + // to overwrite this callback. + + widget.on( 'doubleclick', function( evt ) { + if ( widget.edit() ) { + // We have to cancel event if edit method opens a dialog, otherwise + // link plugin may open extra dialog (#12140). + evt.cancel(); + } + } ); + + if ( widgetDef.data ) + widget.on( 'data', widgetDef.data ); + + if ( widgetDef.edit ) + widget.on( 'edit', widgetDef.edit ); + } + + function setupWidgetData( widget, startupData ) { + var widgetDataAttr = widget.element.data( 'cke-widget-data' ); + + if ( widgetDataAttr ) + widget.setData( JSON.parse( decodeURIComponent( widgetDataAttr ) ) ); + if ( startupData ) + widget.setData( startupData ); + + // Populate classes if they are not preset. + if ( !widget.data.classes ) + widget.setData( 'classes', widget.getClasses() ); + + // Unblock data and... + widget.dataReady = true; + + // Write data to element because this was blocked when data wasn't ready. + writeDataToElement( widget ); + + // Fire data event first time, because this was blocked when data wasn't ready. + widget.fire( 'data', widget.data ); + } + + function setupWrapper( widget ) { + // Retrieve widget wrapper. Assign an id to it. + var wrapper = widget.wrapper = widget.element.getParent(); + wrapper.setAttribute( 'data-cke-widget-id', widget.id ); + } + + function writeDataToElement( widget ) { + widget.element.data( 'cke-widget-data', encodeURIComponent( JSON.stringify( widget.data ) ) ); + } + + // + // WIDGET STYLE HANDLER --------------------------------------------------- + // + + ( function() { + // Styles categorized by group. It is used to prevent applying styles for the same group being used together. + var styleGroups = {}; + + /** + * The class representing a widget style. It is an {@link CKEDITOR#STYLE_OBJECT object} like + * the styles handler for widgets. + * + * **Note:** This custom style handler does not support all methods of the {@link CKEDITOR.style} class. + * Not supported methods: {@link #applyToRange}, {@link #removeFromRange}, {@link #applyToObject}. + * + * @since 4.4 + * @class CKEDITOR.style.customHandlers.widget + * @extends CKEDITOR.style + */ + CKEDITOR.style.addCustomHandler( { + type: 'widget', + + setup: function( styleDefinition ) { + /** + * The name of widget to which this style can be applied. + * It is extracted from style definition's `widget` property. + * + * @property {String} widget + */ + this.widget = styleDefinition.widget; + + /** + * An array of groups that this style belongs to. + * Styles assigned to the same group cannot be combined. + * + * @since 4.6.2 + * @property {Array} group + */ + this.group = typeof styleDefinition.group == 'string' ? [ styleDefinition.group ] : styleDefinition.group; + + // Store style categorized by its group. + // It is used to prevent enabling two styles from same group. + if ( this.group ) { + saveStyleGroup( this ); + } + }, + + apply: function( editor ) { + var widget; + + // Before CKEditor 4.4 wasn't a required argument, so we need to + // handle a case when it wasn't provided. + if ( !( editor instanceof CKEDITOR.editor ) ) + return; + + // Theoretically we could bypass checkApplicable, get widget from + // widgets.focused and check its name, what would be faster, but then + // this custom style would work differently than the default style + // which checks if it's applicable before applying or removing itself. + if ( this.checkApplicable( editor.elementPath(), editor ) ) { + widget = editor.widgets.focused; + + // Remove other styles from the same group. + if ( this.group ) { + this.removeStylesFromSameGroup( editor ); + } + + widget.applyStyle( this ); + } + }, + + remove: function( editor ) { + // Before CKEditor 4.4 wasn't a required argument, so we need to + // handle a case when it wasn't provided. + if ( !( editor instanceof CKEDITOR.editor ) ) + return; + + if ( this.checkApplicable( editor.elementPath(), editor ) ) + editor.widgets.focused.removeStyle( this ); + }, + + /** + * Removes all styles that belong to the same group as this style. This method will neither add nor remove + * the current style. + * Returns `true` if any style was removed, otherwise returns `false`. + * + * @since 4.6.2 + * @param {CKEDITOR.editor} editor + * @returns {Boolean} + */ + removeStylesFromSameGroup: function( editor ) { + var stylesFromSameGroup, + path, + removed = false; + + // Before CKEditor 4.4 wasn't a required argument, so we need to + // handle a case when it wasn't provided. + if ( !( editor instanceof CKEDITOR.editor ) ) + return false; + + path = editor.elementPath(); + if ( this.checkApplicable( path, editor ) ) { + // Iterate over each group. + for ( var i = 0, l = this.group.length; i < l; i++ ) { + stylesFromSameGroup = styleGroups[ this.widget ][ this.group[ i ] ]; + // Iterate over each style from group. + for ( var j = 0; j < stylesFromSameGroup.length; j++ ) { + if ( stylesFromSameGroup[ j ] !== this && stylesFromSameGroup[ j ].checkActive( path, editor ) ) { + editor.widgets.focused.removeStyle( stylesFromSameGroup[ j ] ); + removed = true; + } + } + } + } + + return removed; + }, + + checkActive: function( elementPath, editor ) { + return this.checkElementMatch( elementPath.lastElement, 0, editor ); + }, + + checkApplicable: function( elementPath, editor ) { + // Before CKEditor 4.4 wasn't a required argument, so we need to + // handle a case when it wasn't provided. + if ( !( editor instanceof CKEDITOR.editor ) ) + return false; + + return this.checkElement( elementPath.lastElement ); + }, + + checkElementMatch: checkElementMatch, + + checkElementRemovable: checkElementMatch, + + /** + * Checks if an element is a {@link CKEDITOR.plugins.widget#wrapper wrapper} of a + * widget whose name matches the {@link #widget widget name} specified in the style definition. + * + * @param {CKEDITOR.dom.element} element + * @returns {Boolean} + */ + checkElement: function( element ) { + if ( !Widget.isDomWidgetWrapper( element ) ) + return false; + + var widgetElement = element.getFirst( Widget.isDomWidgetElement ); + return widgetElement && widgetElement.data( 'widget' ) == this.widget; + }, + + buildPreview: function( label ) { + return label || this._.definition.name; + }, + + /** + * Returns allowed content rules which should be registered for this style. + * Uses widget's {@link CKEDITOR.plugins.widget.definition#styleableElements} to make a rule + * allowing classes on specified elements or use widget's + * {@link CKEDITOR.plugins.widget.definition#styleToAllowedContentRules} method to transform a style + * into allowed content rules. + * + * @param {CKEDITOR.editor} The editor instance. + * @returns {CKEDITOR.filter.allowedContentRules} + */ + toAllowedContentRules: function( editor ) { + if ( !editor ) + return null; + + var widgetDef = editor.widgets.registered[ this.widget ], + classes, + rule = {}; + + if ( !widgetDef ) + return null; + + if ( widgetDef.styleableElements ) { + classes = this.getClassesArray(); + if ( !classes ) + return null; + + rule[ widgetDef.styleableElements ] = { + classes: classes, + propertiesOnly: true + }; + return rule; + } + if ( widgetDef.styleToAllowedContentRules ) + return widgetDef.styleToAllowedContentRules( this ); + return null; + }, + + /** + * Returns classes defined in the style in form of an array. + * + * @returns {String[]} + */ + getClassesArray: function() { + var classes = this._.definition.attributes && this._.definition.attributes[ 'class' ]; + + return classes ? CKEDITOR.tools.trim( classes ).split( /\s+/ ) : null; + }, + + /** + * Not implemented. + * + * @method applyToRange + */ + applyToRange: notImplemented, + + /** + * Not implemented. + * + * @method removeFromRange + */ + removeFromRange: notImplemented, + + /** + * Not implemented. + * + * @method applyToObject + */ + applyToObject: notImplemented + } ); + + function notImplemented() {} + + // @context style + function checkElementMatch( element, fullMatch, editor ) { + // Before CKEditor 4.4 wasn't a required argument, so we need to + // handle a case when it wasn't provided. + if ( !editor ) + return false; + + if ( !this.checkElement( element ) ) + return false; + + var widget = editor.widgets.getByElement( element, true ); + return widget && widget.checkStyleActive( this ); + } + + // Save and categorize style by its group. + function saveStyleGroup( style ) { + var widgetName = style.widget, + group; + + if ( !styleGroups[ widgetName ] ) { + styleGroups[ widgetName ] = {}; + } + + for ( var i = 0, l = style.group.length; i < l; i++ ) { + group = style.group[ i ]; + if ( !styleGroups[ widgetName ][ group ] ) { + styleGroups[ widgetName ][ group ] = []; + } + + styleGroups[ widgetName ][ group ].push( style ); + } + } + + } )(); + + // + // EXPOSE PUBLIC API ------------------------------------------------------ + // + + CKEDITOR.plugins.widget = Widget; + Widget.repository = Repository; + Widget.nestedEditable = NestedEditable; +} )(); + +/** + * An event fired when a widget definition is registered by the {@link CKEDITOR.plugins.widget.repository#add} method. + * It is possible to modify the definition being registered. + * + * @event widgetDefinition + * @member CKEDITOR.editor + * @param {CKEDITOR.plugins.widget.definition} data Widget definition. + */ + +/** + * This is an abstract class that describes the definition of a widget. + * It is a type of {@link CKEDITOR.plugins.widget.repository#add} method's second argument. + * + * Widget instances inherit from registered widget definitions, although not in a prototypal way. + * They are simply extended with corresponding widget definitions. Note that not all properties of + * the widget definition become properties of a widget. Some, like {@link #data} or {@link #edit}, become + * widget's events listeners. + * + * @class CKEDITOR.plugins.widget.definition + * @abstract + * @mixins CKEDITOR.feature + */ + +/** + * Widget definition name. It is automatically set when the definition is + * {@link CKEDITOR.plugins.widget.repository#add registered}. + * + * @property {String} name + */ + +/** + * The method executed while initializing a widget, after a widget instance + * is created, but before it is ready. It is executed before the first + * {@link CKEDITOR.plugins.widget#event-data} is fired so it is common to + * use the `init` method to populate widget data with information loaded from + * the DOM, like for exmaple: + * + * init: function() { + * this.setData( 'width', this.element.getStyle( 'width' ) ); + * + * if ( this.parts.caption.getStyle( 'display' ) != 'none' ) + * this.setData( 'showCaption', true ); + * } + * + * @property {Function} init + */ + +/** + * The function to be used to upcast an element to this widget or a + * comma-separated list of upcast methods from the {@link #upcasts} object. + * + * The upcast function **is not** executed in the widget context (because the widget + * does not exist yet) and two arguments are passed: + * + * * `element` ({@link CKEDITOR.htmlParser.element}) – The element to be checked. + * * `data` (`Object`) – The object which can be extended with data which will then be passed to the widget. + * + * An element will be upcasted if a function returned `true` or an instance of + * a {@link CKEDITOR.htmlParser.element} if upcasting meant DOM structure changes + * (in this case the widget will be initialized on the returned element). + * + * @property {String/Function} upcast + */ + +/** + * The object containing functions which can be used to upcast this widget. + * Only those pointed by the {@link #upcast} property will be used. + * + * In most cases it is appropriate to use {@link #upcast} directly, + * because majority of widgets need just one method. + * However, in some cases the widget author may want to expose more than one variant + * and then this property may be used. + * + * upcasts: { + * // This function may upcast only figure elements. + * figure: function() { + * // ... + * }, + * // This function may upcast only image elements. + * image: function() { + * // ... + * }, + * // More variants... + * } + * + * // Then, widget user may choose which upcast methods will be enabled. + * editor.on( 'widgetDefinition', function( evt ) { + * if ( evt.data.name == 'image' ) + * evt.data.upcast = 'figure,image'; // Use both methods. + * } ); + * + * @property {Object} upcasts + */ + +/** + * The {@link #upcast} method(s) priority. The upcast with a lower priority number will be called before + * the one with a higher number. The default priority is `10`. + * + * @since 4.5 + * @property {Number} [upcastPriority=10] + */ + +/** + * The function to be used to downcast this widget or + * a name of the downcast option from the {@link #downcasts} object. + * + * The downcast funciton will be executed in the {@link CKEDITOR.plugins.widget} context + * and with `widgetElement` ({@link CKEDITOR.htmlParser.element}) argument which is + * the widget's main element. + * + * The function may return an instance of the {@link CKEDITOR.htmlParser.node} class if the widget + * needs to be downcasted to a different node than the widget's main element. + * + * @property {String/Function} downcast + */ + +/** + * The object containing functions which can be used to downcast this widget. + * Only the one pointed by the {@link #downcast} property will be used. + * + * In most cases it is appropriate to use {@link #downcast} directly, + * because majority of widgets have just one variant of downcasting (or none at all). + * However, in some cases the widget author may want to expose more than one variant + * and then this property may be used. + * + * downcasts: { + * // This downcast may transform the widget into the figure element. + * figure: function() { + * // ... + * }, + * // This downcast may transform the widget into the image element with data-* attributes. + * image: function() { + * // ... + * } + * } + * + * // Then, the widget user may choose one of the downcast options when setting up his editor. + * editor.on( 'widgetDefinition', function( evt ) { + * if ( evt.data.name == 'image' ) + * evt.data.downcast = 'figure'; + * } ); + * + * @property downcasts + */ + +/** + * If set, it will be added as the {@link CKEDITOR.plugins.widget#event-edit} event listener. + * This means that it will be executed when a widget is being edited. + * See the {@link CKEDITOR.plugins.widget#method-edit} method. + * + * @property {Function} edit + */ + +/** + * If set, it will be added as the {@link CKEDITOR.plugins.widget#event-data} event listener. + * This means that it will be executed every time the {@link CKEDITOR.plugins.widget#property-data widget data} changes. + * + * @property {Function} data + */ + +/** + * The method to be executed when the widget's command is executed in order to insert a new widget + * (widget of this type is not focused). If not defined, then the default action will be + * performed which means that: + * + * * An instance of the widget will be created in a detached {@link CKEDITOR.dom.documentFragment document fragment}, + * * The {@link CKEDITOR.plugins.widget#method-edit} method will be called to trigger widget editing, + * * The widget element will be inserted into DOM. + * + * @property {Function} insert + */ + +/** + * The name of a dialog window which will be opened on {@link CKEDITOR.plugins.widget#method-edit}. + * If not defined, then the {@link CKEDITOR.plugins.widget#method-edit} method will not perform any action and + * widget's command will insert a new widget without opening a dialog window first. + * + * @property {String} dialog + */ + +/** + * The template which will be used to create a new widget element (when the widget's command is executed). + * This string is populated with {@link #defaults default values} by using the {@link CKEDITOR.template} format. + * Therefore it has to be a valid {@link CKEDITOR.template} argument. + * + * @property {String} template + */ + +/** + * The data object which will be used to populate the data of a newly created widget. + * See {@link CKEDITOR.plugins.widget#property-data}. + * + * defaults: { + * showCaption: true, + * align: 'none' + * } + * + * @property defaults + */ + +/** + * An object containing definitions of widget components (part name => CSS selector). + * + * parts: { + * image: 'img', + * caption: 'div.caption' + * } + * + * @property parts + */ + +/** + * An object containing definitions of nested editables (editable name => {@link CKEDITOR.plugins.widget.nestedEditable.definition}). + * Note that editables *have to* be defined in the same order as they are in DOM / {@link CKEDITOR.plugins.widget.definition#template template}. + * Otherwise errors will occur when nesting widgets inside each other. + * + * editables: { + * header: 'h1', + * content: { + * selector: 'div.content', + * allowedContent: 'p strong em; a[!href]' + * } + * } + * + * @property editables + */ + +/** + * The function used to obtain an accessibility label for the widget. It might be used to make + * the widget labels as precise as possible, since it has access to the widget instance. + * + * If not specified, the default implementation will use the {@link #pathName} or the main + * {@link CKEDITOR.plugins.widget#element element} tag name. + * + * @property {Function} getLabel + */ + +/** + * The widget name displayed in the elements path. + * + * @property {String} pathName + */ + +/** + * If set to `true`, the widget's element will be covered with a transparent mask. + * This will prevent its content from being clickable, which matters in case + * of special elements like embedded Flash or iframes that generate a separate "context". + * + * @property {Boolean} mask + */ + +/** + * If set to `true/false`, it will force the widget to be either an inline or a block widget. + * If not set, the widget type will be determined from the widget element. + * + * Widget type influences whether a block (`div`) or an inline (`span`) element is used + * for the wrapper. + * + * @property {Boolean} inline + */ + +/** + * The label for the widget toolbar button. + * + * editor.widgets.add( 'simplebox', { + * button: 'Create a simple box' + * } ); + * + * editor.widgets.add( 'simplebox', { + * button: editor.lang.simplebox.title + * } ); + * + * @property {String} button + */ + +/** + * Whether widget should be draggable. Defaults to `true`. + * If set to `false` drag handler will not be displayed when hovering widget. + * + * @property {Boolean} draggable + */ + +/** + * Names of element(s) (separated by spaces) for which the {@link CKEDITOR.filter} should allow classes + * defined in the widget styles. For example if your widget is upcasted from a simple `
      ` + * element, then in order to make it styleable you can set: + * + * editor.widgets.add( 'customWidget', { + * upcast: function( element ) { + * return element.name == 'div'; + * }, + * + * // ... + * + * styleableElements: 'div' + * } ); + * + * Then, when the following style is defined: + * + * { + * name: 'Thick border', type: 'widget', widget: 'customWidget', + * attributes: { 'class': 'thickBorder' } + * } + * + * a rule allowing the `thickBorder` class for `div` elements will be registered in the {@link CKEDITOR.filter}. + * + * If you need to have more freedom when transforming widget style to allowed content rules, + * you can use the {@link #styleToAllowedContentRules} callback. + * + * @since 4.4 + * @property {String} styleableElements + */ + +/** + * Function transforming custom widget's {@link CKEDITOR.style} instance into + * {@link CKEDITOR.filter.allowedContentRules}. It may be used when a static + * {@link #styleableElements} property is not enough to inform the {@link CKEDITOR.filter} + * what HTML features should be enabled when allowing the given style. + * + * In most cases, when style's classes just have to be added to element name(s) used by + * the widget element, it is recommended to use simpler {@link #styleableElements} property. + * + * In order to get parsed classes from the style definition you can use + * {@link CKEDITOR.style.customHandlers.widget#getClassesArray}. + * + * For example, if you want to use the [object format of allowed content rules](#!/guide/dev_allowed_content_rules-section-object-format), + * to specify `match` validator, your implementation could look like this: + * + * editor.widgets.add( 'customWidget', { + * // ... + * + * styleToAllowedContentRules: funciton( style ) { + * // Retrieve classes defined in the style. + * var classes = style.getClassesArray(); + * + * // Do something crazy - for example return allowed content rules in object format, + * // with custom match property and propertiesOnly flag. + * return { + * h1: { + * match: isWidgetElement, + * propertiesOnly: true, + * classes: classes + * } + * }; + * } + * } ); + * + * @since 4.4 + * @property {Function} styleToAllowedContentRules + * @param {CKEDITOR.style.customHandlers.widget} style The style to be transformed. + * @returns {CKEDITOR.filter.allowedContentRules} + */ + +/** + * This is an abstract class that describes the definition of a widget's nested editable. + * It is a type of values in the {@link CKEDITOR.plugins.widget.definition#editables} object. + * + * In the simplest case the definition is a string which is a CSS selector used to + * find an element that will become a nested editable inside the widget. Note that + * the widget element can be a nested editable, too. + * + * In the more advanced case a definition is an object with a required `selector` property. + * + * editables: { + * header: 'h1', + * content: { + * selector: 'div.content', + * allowedContent: 'p strong em; a[!href]' + * } + * } + * + * @class CKEDITOR.plugins.widget.nestedEditable.definition + * @abstract + */ + +/** + * The CSS selector used to find an element which will become a nested editable. + * + * @property {String} selector + */ + +/** + * The [Advanced Content Filter](#!/guide/dev_advanced_content_filter) rules + * which will be used to limit the content allowed in this nested editable. + * This option is similar to {@link CKEDITOR.config#allowedContent} and one can + * use it to limit the editor features available in the nested editable. + * + * @property {CKEDITOR.filter.allowedContentRules} allowedContent + */ + +/** + * Nested editable name displayed in elements path. + * + * @property {String} pathName + */ diff --git a/sources/plugins/widgetselection/plugin.js b/sources/plugins/widgetselection/plugin.js new file mode 100644 index 0000000..b7aa6a0 --- /dev/null +++ b/sources/plugins/widgetselection/plugin.js @@ -0,0 +1,366 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview A plugin created to handle ticket #11064. While the issue is caused by native WebKit/Blink behaviour, + * this plugin can be easily detached or modified when the issue is fixed in the browsers without changing the core. + * When Ctrl/Cmd + A is pressed to select all content it does not work due to a bug in + * Webkit/Blink if a non-editable element is at the beginning or the end of the content. + */ + +( function() { + 'use strict'; + + CKEDITOR.plugins.add( 'widgetselection', { + + init: function( editor ) { + if ( CKEDITOR.env.webkit ) { + var widgetselection = CKEDITOR.plugins.widgetselection; + + editor.on( 'contentDom', function( evt ) { + + var editor = evt.editor, + doc = editor.document, + editable = editor.editable(); + + editable.attachListener( doc, 'keydown', function( evt ) { + var data = evt.data.$; + + // Ctrl/Cmd + A + if ( evt.data.getKey() == 65 && ( CKEDITOR.env.mac && data.metaKey || !CKEDITOR.env.mac && data.ctrlKey ) ) { + + // Defer the call so the selection is already changed by the pressed keys. + CKEDITOR.tools.setTimeout( function() { + + // Manage filler elements on keydown. If there is no need + // to add fillers, we need to check and clean previously used once. + if ( !widgetselection.addFillers( editable ) ) { + widgetselection.removeFillers( editable ); + } + }, 0 ); + } + }, null, null, -1 ); + + // Check and clean previously used fillers. + editor.on( 'selectionCheck', function( evt ) { + widgetselection.removeFillers( evt.editor.editable() ); + } ); + + // Remove fillers on paste before data gets inserted into editor. + editor.on( 'paste', function( evt ) { + evt.data.dataValue = widgetselection.cleanPasteData( evt.data.dataValue ); + } ); + + if ( 'selectall' in editor.plugins ) { + widgetselection.addSelectAllIntegration( editor ); + } + } ); + } + } + } ); + + /** + * A set of helper methods for the Widget Selection plugin. + * + * @property widgetselection + * @member CKEDITOR.plugins + * @since 4.6.1 + */ + CKEDITOR.plugins.widgetselection = { + + /** + * The start filler element reference. + * + * @property {CKEDITOR.dom.element} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + startFiller: null, + + /** + * The end filler element reference. + * + * @property {CKEDITOR.dom.element} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + endFiller: null, + + /** + * An attribute which identifies the filler element. + * + * @property {String} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + fillerAttribute: 'data-cke-filler-webkit', + + /** + * The default content of the filler element. Note: The filler needs to have `visible` content. + * Unprintable elements or empty content do not help as a workaround. + * + * @property {String} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + fillerContent: ' ', + + /** + * Tag name which is used to create fillers. + * + * @property {String} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + fillerTagName: 'div', + + /** + * Adds a filler before or after a non-editable element at the beginning or the end of the `editable`. + * + * @param {CKEDITOR.editable} editable + * @returns {Boolean} + * @member CKEDITOR.plugins.widgetselection + */ + addFillers: function( editable ) { + var editor = editable.editor; + + // Whole content should be selected, if not fix the selection manually. + if ( !this.isWholeContentSelected( editable ) && editable.getChildCount() > 0 ) { + + var firstChild = editable.getFirst( filterTempElements ), + lastChild = editable.getLast( filterTempElements ); + + // Check if first element is editable. If not prepend with filler. + if ( firstChild && firstChild.type == CKEDITOR.NODE_ELEMENT && !firstChild.isEditable() ) { + this.startFiller = this.createFiller(); + editable.append( this.startFiller, 1 ); + } + + // Check if last element is editable. If not append filler. + if ( lastChild && lastChild.type == CKEDITOR.NODE_ELEMENT && !lastChild.isEditable() ) { + this.endFiller = this.createFiller( true ); + editable.append( this.endFiller, 0 ); + } + + // Reselect whole content after any filler was added. + if ( this.hasFiller( editable ) ) { + var rangeAll = editor.createRange(); + rangeAll.selectNodeContents( editable ); + rangeAll.select(); + return true; + } + } + return false; + }, + + /** + * Removes filler elements or updates their references. + * + * It will **not remove** filler elements if the whole content is selected, as it would break the + * selection. + * + * @param {CKEDITOR.editable} editable + * @member CKEDITOR.plugins.widgetselection + */ + removeFillers: function( editable ) { + // If startFiller or endFiller exists and not entire content is selected it means the selection + // just changed from selected all. We need to remove fillers and set proper selection/content. + if ( this.hasFiller( editable ) && !this.isWholeContentSelected( editable ) ) { + + var startFillerContent = editable.findOne( this.fillerTagName + '[' + this.fillerAttribute + '=start]' ), + endFillerContent = editable.findOne( this.fillerTagName + '[' + this.fillerAttribute + '=end]' ); + + if ( this.startFiller && startFillerContent && this.startFiller.equals( startFillerContent ) ) { + this.removeFiller( this.startFiller, editable ); + } else { + // The start filler is still present but it is a different element than previous one. It means the + // undo recreating entirely selected content was performed. We need to update filler reference. + this.startFiller = startFillerContent; + } + + if ( this.endFiller && endFillerContent && this.endFiller.equals( endFillerContent ) ) { + this.removeFiller( this.endFiller, editable ); + } else { + // Same as with start filler. + this.endFiller = endFillerContent; + } + } + }, + + /** + * Removes fillers from the paste data. + * + * @param {String} data + * @returns {String} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + cleanPasteData: function( data ) { + if ( data && data.length ) { + data = data + .replace( this.createFillerRegex(), '' ) + .replace( this.createFillerRegex( true ), '' ); + } + return data; + }, + + /** + * Checks if the entire content of the given editable is selected. + * + * @param {CKEDITOR.editable} editable + * @returns {Boolean} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + isWholeContentSelected: function( editable ) { + + var range = editable.editor.getSelection().getRanges()[ 0 ]; + if ( range ) { + + if ( range && range.collapsed ) { + return false; + + } else { + var rangeClone = range.clone(); + rangeClone.enlarge( CKEDITOR.ENLARGE_ELEMENT ); + + return !!( rangeClone && editable && rangeClone.startContainer && rangeClone.endContainer && + rangeClone.startOffset === 0 && rangeClone.endOffset === editable.getChildCount() && + rangeClone.startContainer.equals( editable ) && rangeClone.endContainer.equals( editable ) ); + } + } + return false; + }, + + /** + * Checks if there is any filler element in the given editable. + * + * @param {CKEDITOR.editable} editable + * @returns {Boolean} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + hasFiller: function( editable ) { + return editable.find( this.fillerTagName + '[' + this.fillerAttribute + ']' ).count() > 0; + }, + + /** + * Creates a filler element. + * + * @param {Boolean} [onEnd] If filler will be placed on end or beginning of the content. + * @returns {CKEDITOR.dom.element} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + createFiller: function( onEnd ) { + var filler = new CKEDITOR.dom.element( this.fillerTagName ); + filler.setHtml( this.fillerContent ); + filler.setAttribute( this.fillerAttribute, onEnd ? 'end' : 'start' ); + filler.setAttribute( 'data-cke-temp', 1 ); + filler.setStyles( { + display: 'block', + width: 0, + height: 0, + padding: 0, + border: 0, + margin: 0, + position: 'absolute', + top: 0, + left: '-9999px', + opacity: 0, + overflow: 'hidden' + } ); + + return filler; + }, + + /** + * Removes the specific filler element from the given editable. If the filler contains any content (typed or pasted), + * it replaces the current editable content. If not, the caret is placed before the first or after the last editable + * element (depends if the filler was at the beginning or the end). + * + * @param {CKEDITOR.dom.element} filler + * @param {CKEDITOR.editable} editable + * @member CKEDITOR.plugins.widgetselection + * @private + */ + removeFiller: function( filler, editable ) { + if ( filler ) { + var editor = editable.editor, + currentRange = editable.editor.getSelection().getRanges()[ 0 ], + currentPath = currentRange.startPath(), + range = editor.createRange(), + insertedHtml, + fillerOnStart, + manuallyHandleCaret; + + if ( currentPath.contains( filler ) ) { + insertedHtml = filler.getHtml(); + manuallyHandleCaret = true; + } + + fillerOnStart = filler.getAttribute( this.fillerAttribute ) == 'start'; + filler.remove(); + filler = null; + + if ( insertedHtml && insertedHtml.length > 0 && insertedHtml != this.fillerContent ) { + editable.insertHtmlIntoRange( insertedHtml, editor.getSelection().getRanges()[ 0 ] ); + range.setStartAt( editable.getChild( editable.getChildCount() - 1 ), CKEDITOR.POSITION_BEFORE_END ); + editor.getSelection().selectRanges( [ range ] ); + + } else if ( manuallyHandleCaret ) { + if ( fillerOnStart ) { + range.setStartAt( editable.getFirst().getNext(), CKEDITOR.POSITION_AFTER_START ); + } else { + range.setEndAt( editable.getLast().getPrevious(), CKEDITOR.POSITION_BEFORE_END ); + } + editable.editor.getSelection().selectRanges( [ range ] ); + } + } + }, + + /** + * Creates a regular expression which will match the filler HTML in the text. + * + * @param {Boolean} [onEnd] Whether a regular expression should be created for the filler at the beginning or + * the end of the content. + * @returns {RegExp} + * @member CKEDITOR.plugins.widgetselection + * @private + */ + createFillerRegex: function( onEnd ) { + var matcher = this.createFiller( onEnd ).getOuterHtml() + .replace( /style="[^"]*"/gi, 'style="[^"]*"' ) + .replace( />[^<]*[^<]*<' ); + + return new RegExp( ( !onEnd ? '^' : '' ) + matcher + ( onEnd ? '$' : '' ) ); + }, + + /** + * Adds an integration for the [Select All](http://ckeditor.com/addon/selectall) plugin to the given `editor`. + * + * @private + * @param {CKEDITOR.editor} editor + * @member CKEDITOR.plugins.widgetselection + */ + addSelectAllIntegration: function( editor ) { + var widgetselection = this; + + editor.editable().attachListener( editor, 'beforeCommandExec', function( evt ) { + var editable = editor.editable(); + + if ( evt.data.name == 'selectAll' && editable ) { + widgetselection.addFillers( editable ); + } + }, null, null, 9999 ); + } + }; + + + function filterTempElements( el ) { + return el.getName && !el.hasAttribute( 'data-cke-temp' ); + } + +} )(); diff --git a/sources/plugins/wysiwygarea/plugin.js b/sources/plugins/wysiwygarea/plugin.js new file mode 100644 index 0000000..962f31e --- /dev/null +++ b/sources/plugins/wysiwygarea/plugin.js @@ -0,0 +1,713 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview The WYSIWYG Area plugin. It registers the "wysiwyg" editing + * mode, which handles the main editing area space. + */ + +( function() { + var framedWysiwyg; + + CKEDITOR.plugins.add( 'wysiwygarea', { + init: function( editor ) { + if ( editor.config.fullPage ) { + editor.addFeature( { + allowedContent: 'html head title; style [media,type]; body (*)[id]; meta link [*]', + requiredContent: 'body' + } ); + } + + editor.addMode( 'wysiwyg', function( callback ) { + var src = 'document.open();' + + // In IE, the document domain must be set any time we call document.open(). + ( CKEDITOR.env.ie ? '(' + CKEDITOR.tools.fixDomain + ')();' : '' ) + + 'document.close();'; + + // With IE, the custom domain has to be taken care at first, + // for other browers, the 'src' attribute should be left empty to + // trigger iframe's 'load' event. + // Microsoft Edge throws "Permission Denied" if treated like an IE (#13441). + if ( CKEDITOR.env.air ) { + src = 'javascript:void(0)'; // jshint ignore:line + } else if ( CKEDITOR.env.ie && !CKEDITOR.env.edge ) { + src = 'javascript:void(function(){' + encodeURIComponent( src ) + '}())'; // jshint ignore:line + } else { + src = ''; + } + + var iframe = CKEDITOR.dom.element.createFromHtml( '' ); + iframe.setStyles( { width: '100%', height: '100%' } ); + iframe.addClass( 'cke_wysiwyg_frame' ).addClass( 'cke_reset' ); + + var contentSpace = editor.ui.space( 'contents' ); + contentSpace.append( iframe ); + + + // Asynchronous iframe loading is only required in IE>8 and Gecko (other reasons probably). + // Do not use it on WebKit as it'll break the browser-back navigation. + var useOnloadEvent = ( CKEDITOR.env.ie && !CKEDITOR.env.edge ) || CKEDITOR.env.gecko; + if ( useOnloadEvent ) + iframe.on( 'load', onLoad ); + + var frameLabel = editor.title, + helpLabel = editor.fire( 'ariaEditorHelpLabel', {} ).label; + + if ( frameLabel ) { + if ( CKEDITOR.env.ie && helpLabel ) + frameLabel += ', ' + helpLabel; + + iframe.setAttribute( 'title', frameLabel ); + } + + if ( helpLabel ) { + var labelId = CKEDITOR.tools.getNextId(), + desc = CKEDITOR.dom.element.createFromHtml( '' + helpLabel + '' ); + + contentSpace.append( desc, 1 ); + iframe.setAttribute( 'aria-describedby', labelId ); + } + + // Remove the ARIA description. + editor.on( 'beforeModeUnload', function( evt ) { + evt.removeListener(); + if ( desc ) + desc.remove(); + } ); + + iframe.setAttributes( { + tabIndex: editor.tabIndex, + allowTransparency: 'true' + } ); + + // Execute onLoad manually for all non IE||Gecko browsers. + !useOnloadEvent && onLoad(); + + editor.fire( 'ariaWidget', iframe ); + + function onLoad( evt ) { + evt && evt.removeListener(); + editor.editable( new framedWysiwyg( editor, iframe.$.contentWindow.document.body ) ); + editor.setData( editor.getData( 1 ), callback ); + } + } ); + } + } ); + + /** + * Adds the path to a stylesheet file to the exisiting {@link CKEDITOR.config#contentsCss} value. + * + * **Note:** This method is available only with the `wysiwygarea` plugin and only affects + * classic editors based on it (so it does not affect inline editors). + * + * editor.addContentsCss( 'assets/contents.css' ); + * + * @since 4.4 + * @param {String} cssPath The path to the stylesheet file which should be added. + * @member CKEDITOR.editor + */ + CKEDITOR.editor.prototype.addContentsCss = function( cssPath ) { + var cfg = this.config, + curContentsCss = cfg.contentsCss; + + // Convert current value into array. + if ( !CKEDITOR.tools.isArray( curContentsCss ) ) + cfg.contentsCss = curContentsCss ? [ curContentsCss ] : []; + + cfg.contentsCss.push( cssPath ); + }; + + function onDomReady( win ) { + var editor = this.editor, + doc = win.document, + body = doc.body; + + // Remove helper scripts from the DOM. + var script = doc.getElementById( 'cke_actscrpt' ); + script && script.parentNode.removeChild( script ); + script = doc.getElementById( 'cke_shimscrpt' ); + script && script.parentNode.removeChild( script ); + script = doc.getElementById( 'cke_basetagscrpt' ); + script && script.parentNode.removeChild( script ); + + body.contentEditable = true; + + if ( CKEDITOR.env.ie ) { + // Don't display the focus border. + body.hideFocus = true; + + // Disable and re-enable the body to avoid IE from + // taking the editing focus at startup. (#141 / #523) + body.disabled = true; + body.removeAttribute( 'disabled' ); + } + + delete this._.isLoadingData; + + // Play the magic to alter element reference to the reloaded one. + this.$ = body; + + doc = new CKEDITOR.dom.document( doc ); + + this.setup(); + this.fixInitialSelection(); + + var editable = this; + + // Without it IE8 has problem with removing selection in nested editable. (#13785) + if ( CKEDITOR.env.ie && !CKEDITOR.env.edge ) { + doc.getDocumentElement().addClass( doc.$.compatMode ); + } + + // Prevent IE/Edge from leaving a new paragraph/div after deleting all contents in body. (#6966, #13142) + if ( CKEDITOR.env.ie && !CKEDITOR.env.edge && editor.enterMode != CKEDITOR.ENTER_P ) { + removeSuperfluousElement( 'p' ); + } else if ( CKEDITOR.env.edge && editor.enterMode != CKEDITOR.ENTER_DIV ) { + removeSuperfluousElement( 'div' ); + } + + // Fix problem with cursor not appearing in Webkit and IE11+ when clicking below the body (#10945, #10906). + // Fix for older IEs (8-10 and QM) is placed inside selection.js. + if ( CKEDITOR.env.webkit || ( CKEDITOR.env.ie && CKEDITOR.env.version > 10 ) ) { + doc.getDocumentElement().on( 'mousedown', function( evt ) { + if ( evt.data.getTarget().is( 'html' ) ) { + // IE needs this timeout. Webkit does not, but it does not cause problems too. + setTimeout( function() { + editor.editable().focus(); + } ); + } + } ); + } + + // Config props: disableObjectResizing and disableNativeTableHandles handler. + objectResizeDisabler( editor ); + + // Enable dragging of position:absolute elements in IE. + try { + editor.document.$.execCommand( '2D-position', false, true ); + } catch ( e ) {} + + if ( CKEDITOR.env.gecko || CKEDITOR.env.ie && editor.document.$.compatMode == 'CSS1Compat' ) { + this.attachListener( this, 'keydown', function( evt ) { + var keyCode = evt.data.getKeystroke(); + + // PageUp OR PageDown + if ( keyCode == 33 || keyCode == 34 ) { + // PageUp/PageDown scrolling is broken in document + // with standard doctype, manually fix it. (#4736) + if ( CKEDITOR.env.ie ) { + setTimeout( function() { + editor.getSelection().scrollIntoView(); + }, 0 ); + } + // Page up/down cause editor selection to leak + // outside of editable thus we try to intercept + // the behavior, while it affects only happen + // when editor contents are not overflowed. (#7955) + else if ( editor.window.$.innerHeight > this.$.offsetHeight ) { + var range = editor.createRange(); + range[ keyCode == 33 ? 'moveToElementEditStart' : 'moveToElementEditEnd' ]( this ); + range.select(); + evt.data.preventDefault(); + } + } + } ); + } + + if ( CKEDITOR.env.ie ) { + // [IE] Iframe will still keep the selection when blurred, if + // focus is moved onto a non-editing host, e.g. link or button, but + // it becomes a problem for the object type selection, since the resizer + // handler attached on it will mark other part of the UI, especially + // for the dialog. (#8157) + // [IE<8 & Opera] Even worse For old IEs, the cursor will not vanish even if + // the selection has been moved to another text input in some cases. (#4716) + // + // Now the range restore is disabled, so we simply force IE to clean + // up the selection before blur. + this.attachListener( doc, 'blur', function() { + // Error proof when the editor is not visible. (#6375) + try { + doc.$.selection.empty(); + } catch ( er ) {} + } ); + } + + if ( CKEDITOR.env.iOS ) { + // [iOS] If touch is bound to any parent of the iframe blur happens on any touch + // event and body becomes the focused element (#10714). + this.attachListener( doc, 'touchend', function() { + win.focus(); + } ); + } + + var title = editor.document.getElementsByTag( 'title' ).getItem( 0 ); + // document.title is malfunctioning on Chrome, so get value from the element (#12402). + title.data( 'cke-title', title.getText() ); + + // [IE] JAWS will not recognize the aria label we used on the iframe + // unless the frame window title string is used as the voice label, + // backup the original one and restore it on output. + if ( CKEDITOR.env.ie ) + editor.document.$.title = this._.docTitle; + + CKEDITOR.tools.setTimeout( function() { + // Editable is ready after first setData. + if ( this.status == 'unloaded' ) + this.status = 'ready'; + + editor.fire( 'contentDom' ); + + if ( this._.isPendingFocus ) { + editor.focus(); + this._.isPendingFocus = false; + } + + setTimeout( function() { + editor.fire( 'dataReady' ); + }, 0 ); + }, 0, this ); + + function removeSuperfluousElement( tagName ) { + var lockRetain = false; + + // Superfluous elements appear after keydown + // and before keyup, so the procedure is as follows: + // 1. On first keydown mark all elements with + // a specified tag name as non-superfluous. + editable.attachListener( editable, 'keydown', function() { + var body = doc.getBody(), + retained = body.getElementsByTag( tagName ); + + if ( !lockRetain ) { + for ( var i = 0; i < retained.count(); i++ ) { + retained.getItem( i ).setCustomData( 'retain', true ); + } + lockRetain = true; + } + }, null, null, 1 ); + + // 2. On keyup remove all elements that were not marked + // as non-superfluous (which means they must have had appeared in the meantime). + // Also we should preserve all temporary elements inserted by editor – otherwise we'd likely + // leak fake selection's content into editable due to removing hidden selection container (#14831). + editable.attachListener( editable, 'keyup', function() { + var elements = doc.getElementsByTag( tagName ); + if ( lockRetain ) { + if ( elements.count() == 1 && !elements.getItem( 0 ).getCustomData( 'retain' ) && + !elements.getItem( 0 ).hasAttribute( 'data-cke-temp' ) ) { + elements.getItem( 0 ).remove( 1 ); + } + lockRetain = false; + } + } ); + } + } + + framedWysiwyg = CKEDITOR.tools.createClass( { + $: function() { + this.base.apply( this, arguments ); + + this._.frameLoadedHandler = CKEDITOR.tools.addFunction( function( win ) { + // Avoid opening design mode in a frame window thread, + // which will cause host page scrolling.(#4397) + CKEDITOR.tools.setTimeout( onDomReady, 0, this, win ); + }, this ); + + this._.docTitle = this.getWindow().getFrame().getAttribute( 'title' ); + }, + + base: CKEDITOR.editable, + + proto: { + setData: function( data, isSnapshot ) { + var editor = this.editor; + + if ( isSnapshot ) { + this.setHtml( data ); + this.fixInitialSelection(); + + // Fire dataReady for the consistency with inline editors + // and because it makes sense. (#10370) + editor.fire( 'dataReady' ); + } + else { + this._.isLoadingData = true; + editor._.dataStore = { id: 1 }; + + var config = editor.config, + fullPage = config.fullPage, + docType = config.docType; + + // Build the additional stuff to be included into . + var headExtra = CKEDITOR.tools.buildStyleHtml( iframeCssFixes() ).replace( / + + + +

      + CKEditor Samples » Replace DIV with CKEditor on the Fly +

      +
      + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
      +
      +

      + This sample shows how to automatically replace <div> elements + with a CKEditor instance on the fly, following user's doubleclick. The content + that was previously placed inside the <div> element will now + be moved into CKEditor editing area. +

      +

      + For details on how to create this setup check the source code of this sample page. +

      +
      +

      + Double-click any of the following <div> elements to transform them into + editor instances. +

      +
      +

      + Part 1 +

      +

      + Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

      +
      +
      +

      + Part 2 +

      +

      + Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

      +

      + Donec velit. Mauris massa. Vestibulum non nulla. Nam suscipit arcu nec elit. Phasellus + sollicitudin iaculis ante. Ut non mauris et sapien tincidunt adipiscing. Vestibulum + vitae leo. Suspendisse nec mi tristique nulla laoreet vulputate. +

      +
      +
      +

      + Part 3 +

      +

      + Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras et ipsum quis mi + semper accumsan. Integer pretium dui id massa. Suspendisse in nisl sit amet urna + rutrum imperdiet. Nulla eu tellus. Donec ante nisi, ullamcorper quis, fringilla + nec, sagittis eleifend, pede. Nulla commodo interdum massa. Donec id metus. Fusce + eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. +

      +
      + + + diff --git a/sources/samples/old/index.html b/sources/samples/old/index.html new file mode 100644 index 0000000..999d110 --- /dev/null +++ b/sources/samples/old/index.html @@ -0,0 +1,111 @@ + + + + + + CKEditor Samples + + + +

      + CKEditor Samples +

      +
      + These samples are not maintained anymore. Check out the brand new samples in CKEditor SDK. +
      +
      +
      +

      + Basic Samples +

      +
      +
      Replace textarea elements by class name
      +
      Automatic replacement of all textarea elements of a given class with a CKEditor instance.
      + +
      Replace textarea elements by code
      +
      Replacement of textarea elements with CKEditor instances by using a JavaScript call.
      + +
      Create editors with jQuery
      +
      Creating standard and inline CKEditor instances with jQuery adapter.
      +
      + +

      + Basic Customization +

      +
      +
      User Interface color
      +
      Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.
      + +
      User Interface languages
      +
      Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.
      +
      + + + + +
      +
      +

      + Inline Editing +

      +
      +
      Massive inline editor creation
      +
      Turn all elements with contentEditable = true attribute into inline editors.
      + +
      Convert element into an inline editor by code
      +
      Conversion of DOM elements into inline CKEditor instances by using a JavaScript call.
      + +
      Replace textarea with inline editor New!
      +
      A form with a textarea that is replaced by an inline editor at runtime.
      + + +
      + +

      + Advanced Samples +

      +
      +
      Data filtering and features activation New!
      +
      Data filtering and automatic features activation basing on configuration.
      + +
      Replace DIV elements on the fly
      +
      Transforming a div element into an instance of CKEditor with a mouse click.
      + +
      Append editor instances
      +
      Appending editor instances to existing DOM elements.
      + +
      Create and destroy editor instances for Ajax applications
      +
      Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.
      + +
      Basic usage of the API
      +
      Using the CKEditor JavaScript API to interact with the editor at runtime.
      + +
      XHTML-compliant style
      +
      Configuring CKEditor to produce XHTML 1.1 compliant attributes and styles.
      + +
      Read-only mode
      +
      Using the readOnly API to block introducing changes to the editor contents.
      + +
      "Tab" key-based navigation
      +
      Navigating among editor instances with tab key.
      + + + + +
      +
      +
      + + + diff --git a/sources/samples/old/inlineall.html b/sources/samples/old/inlineall.html new file mode 100644 index 0000000..8220ea5 --- /dev/null +++ b/sources/samples/old/inlineall.html @@ -0,0 +1,314 @@ + + + + + + Massive inline editing — CKEditor Sample + + + + + + +
      +

      CKEditor Samples » Massive inline editing

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      This sample page demonstrates the inline editing feature - CKEditor instances will be created automatically from page elements with contentEditable attribute set to value true:

      +
      <div contenteditable="true" > ... </div>
      +

      Click inside of any element below to start editing.

      +
      +
      +
      + +
      +
      +
      +

      + Fusce vitae porttitor +

      +

      + + Lorem ipsum dolor sit amet dolor. Duis blandit vestibulum faucibus a, tortor. + +

      +

      + Proin nunc justo felis mollis tincidunt, risus risus pede, posuere cubilia Curae, Nullam euismod, enim. Etiam nibh ultricies dolor ac dignissim erat volutpat. Vivamus fermentum nisl nulla sem in metus. Maecenas wisi. Donec nec erat volutpat. +

      +
      +

      + Fusce vitae porttitor a, euismod convallis nisl, blandit risus tortor, pretium. + Vehicula vitae, imperdiet vel, ornare enim vel sodales rutrum +

      +
      +
      +

      + Libero nunc, rhoncus ante ipsum non ipsum. Nunc eleifend pede turpis id sollicitudin fringilla. Phasellus ultrices, velit ac arcu. +

      +
      +

      Pellentesque nunc. Donec suscipit erat. Pellentesque habitant morbi tristique ullamcorper.

      +

      Mauris mattis feugiat lectus nec mauris. Nullam vitae ante.

      +
      +
      +
      +
      +

      + Integer condimentum sit amet +

      +

      + Aenean nonummy a, mattis varius. Cras aliquet. + Praesent magna non mattis ac, rhoncus nunc, rhoncus eget, cursus pulvinar mollis.

      +

      Proin id nibh. Sed eu libero posuere sed, lectus. Phasellus dui gravida gravida feugiat mattis ac, felis.

      +

      Integer condimentum sit amet, tempor elit odio, a dolor non ante at sapien. Sed ac lectus. Nulla ligula quis eleifend mi, id leo velit pede cursus arcu id nulla ac lectus. Phasellus vestibulum. Nunc viverra enim quis diam.

      +
      +
      +

      + Praesent wisi accumsan sit amet nibh +

      +

      Donec ullamcorper, risus tortor, pretium porttitor. Morbi quam quis lectus non leo.

      +

      Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce gravida, erat vitae augue. Fusce urna fringilla gravida.

      +

      In hac habitasse platea dictumst. Praesent wisi accumsan sit amet nibh. Maecenas orci luctus a, lacinia quam sem, posuere commodo, odio condimentum tempor, pede semper risus. Suspendisse pede. In hac habitasse platea dictumst. Nam sed laoreet sit amet erat. Integer.

      +
      +
      +
      +
      +

      + CKEditor logo +

      +

      Quisque justo neque, mattis sed, fermentum ultrices posuere cubilia Curae, Vestibulum elit metus, quis placerat ut, lectus. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi.

      +

      + Nullam laoreet vel consectetuer tellus suscipit +

      +
        +
      • Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis.
      • +
      • Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi.
      • +
      • Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.
      • +
      +

      Quisque justo neque, mattis sed, fermentum ultrices posuere cubilia Curae, Vestibulum elit metus, quis placerat ut, lectus.

      +

      Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis.

      +

      Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi. Sed in nonummy faucibus turpis. Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.

      +
      +
      +
      +
      + Tags of this article: +

      + inline, editing, floating, CKEditor +

      +
      +
      + + + diff --git a/sources/samples/old/inlinebycode.html b/sources/samples/old/inlinebycode.html new file mode 100644 index 0000000..eea2723 --- /dev/null +++ b/sources/samples/old/inlinebycode.html @@ -0,0 +1,124 @@ + + + + + + Inline Editing by Code — CKEditor Sample + + + + + +

      + CKEditor Samples » Inline Editing by Code +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      + This sample shows how to create an inline editor instance of CKEditor. It is created + with a JavaScript call using the following code: +

      +
      +// This property tells CKEditor to not activate every element with contenteditable=true element.
      +CKEDITOR.disableAutoInline = true;
      +
      +var editor = CKEDITOR.inline( document.getElementById( 'editable' ) );
      +
      +

      + Note that editable in the code above is the id + attribute of the <div> element to be converted into an inline instance. +

      +
      +
      +

      Saturn V carrying Apollo 11 Apollo 11

      + +

      Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

      + +

      Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.

      + +

      Broadcasting and quotes

      + +

      Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

      + +
      +

      One small step for [a] man, one giant leap for mankind.

      +
      + +

      Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

      + +
      +

      [...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

      +
      + +

      Technical details

      + + + + + + + + + + + + + + + + + + + + + + + +
      Mission crew
      PositionAstronaut
      CommanderNeil A. Armstrong
      Command Module PilotMichael Collins
      Lunar Module PilotEdwin "Buzz" E. Aldrin, Jr.
      + +

      Launched by a Saturn V rocket from Kennedy Space Center in Merritt Island, Florida on July 16, Apollo 11 was the fifth manned mission of NASA's Apollo program. The Apollo spacecraft had three parts:

      + +
        +
      1. Command Module with a cabin for the three astronauts which was the only part which landed back on Earth
      2. +
      3. Service Module which supported the Command Module with propulsion, electrical power, oxygen and water
      4. +
      5. Lunar Module for landing on the Moon.
      6. +
      + +

      After being sent to the Moon by the Saturn V's upper stage, the astronauts separated the spacecraft from it and travelled for three days until they entered into lunar orbit. Armstrong and Aldrin then moved into the Lunar Module and landed in the Sea of Tranquility. They stayed a total of about 21 and a half hours on the lunar surface. After lifting off in the upper part of the Lunar Module and rejoining Collins in the Command Module, they returned to Earth and landed in the Pacific Ocean on July 24.

      + +
      +

      Source: Wikipedia.org

      +
      + + + + + diff --git a/sources/samples/old/inlinetextarea.html b/sources/samples/old/inlinetextarea.html new file mode 100644 index 0000000..57e664e --- /dev/null +++ b/sources/samples/old/inlinetextarea.html @@ -0,0 +1,113 @@ + + + + + + Replace Textarea with Inline Editor — CKEditor Sample + + + + + +

      + CKEditor Samples » Replace Textarea with Inline Editor +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      + You can also create an inline editor from a textarea + element. In this case the textarea will be replaced + by a div element with inline editing enabled. +

      +
      +// "article-body" is the name of a textarea element.
      +var editor = CKEDITOR.inline( 'article-body' );
      +
      +
      +
      +

      This is a sample form with some fields

      +

      + Title:
      +

      +

      + Article Body (Textarea converted to CKEditor):
      + +

      +

      + +

      +
      + + + + + diff --git a/sources/samples/old/jquery.html b/sources/samples/old/jquery.html new file mode 100644 index 0000000..2f6d958 --- /dev/null +++ b/sources/samples/old/jquery.html @@ -0,0 +1,103 @@ + + + + + + jQuery Adapter — CKEditor Sample + + + + + + + + +

      + CKEditor Samples » Create Editors with jQuery +

      +
      + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
      +
      +
      +

      + This sample shows how to use the jQuery adapter. + Note that you have to include both CKEditor and jQuery scripts before including the adapter. +

      + +
      +<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
      +<script src="/ckedit../../ckeditor.js"></script>
      +<script src="/ckeditor/adapters/jquery.js"></script>
      +
      + +

      Then you can replace HTML elements with a CKEditor instance using the ckeditor() method.

      + +
      +$( document ).ready( function() {
      +	$( 'textarea#editor1' ).ckeditor();
      +} );
      +
      +
      + +

      Inline Example

      + +
      +

      Saturn V carrying Apollo 11Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

      +

      Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth. +

      Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

      +

      One small step for [a] man, one giant leap for mankind.

      Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

      [...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

      +
      + +
      + +

      Classic (iframe-based) Example

      + + + +

      + + + + + +

      +
      + + + diff --git a/sources/samples/old/readonly.html b/sources/samples/old/readonly.html new file mode 100644 index 0000000..084d6af --- /dev/null +++ b/sources/samples/old/readonly.html @@ -0,0 +1,76 @@ + + + + + + Using the CKEditor Read-Only API — CKEditor Sample + + + + + +

      + CKEditor Samples » Using the CKEditor Read-Only API +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      + This sample shows how to use the + setReadOnly + API to put editor into the read-only state that makes it impossible for users to change the editor contents. +

      +

      + For details on how to create this setup check the source code of this sample page. +

      +
      +
      +

      + +

      +

      + + +

      +
      + + + diff --git a/sources/samples/old/replacebyclass.html b/sources/samples/old/replacebyclass.html new file mode 100644 index 0000000..23652d6 --- /dev/null +++ b/sources/samples/old/replacebyclass.html @@ -0,0 +1,60 @@ + + + + + + Replace Textareas by Class Name — CKEditor Sample + + + + +

      + CKEditor Samples » Replace Textarea Elements by Class Name +

      +
      + This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
      +
      +

      + This sample shows how to automatically replace all <textarea> elements + of a given class with a CKEditor instance. +

      +

      + To replace a <textarea> element, simply assign it the ckeditor + class, as in the code below: +

      +
      +<textarea class="ckeditor" name="editor1"></textarea>
      +
      +

      + Note that other <textarea> attributes (like id or name) need to be adjusted to your document. +

      +
      +
      +

      + + +

      +

      + +

      +
      + + + diff --git a/sources/samples/old/replacebycode.html b/sources/samples/old/replacebycode.html new file mode 100644 index 0000000..a4f4395 --- /dev/null +++ b/sources/samples/old/replacebycode.html @@ -0,0 +1,59 @@ + + + + + + Replace Textarea by Code — CKEditor Sample + + + + +

      + CKEditor Samples » Replace Textarea Elements Using JavaScript Code +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +
      +

      + This editor is using an <iframe> element-based editing area, provided by the Wysiwygarea plugin. +

      +
      +CKEDITOR.replace( 'textarea_id' )
      +
      +
      + + +

      + +

      +
      + + + diff --git a/sources/samples/old/sample.css b/sources/samples/old/sample.css new file mode 100644 index 0000000..3304111 --- /dev/null +++ b/sources/samples/old/sample.css @@ -0,0 +1,357 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre +{ + line-height: 1.5; +} + +body +{ + padding: 10px 30px; +} + +input, textarea, select, option, optgroup, button, td, th +{ + font-size: 100%; +} + +pre +{ + -moz-tab-size: 4; + tab-size: 4; +} + +pre, code, kbd, samp, tt +{ + font-family: monospace,monospace; + font-size: 1em; +} + +body { + width: 960px; + margin: 0 auto; +} + +code +{ + background: #f3f3f3; + border: 1px solid #ddd; + padding: 1px 4px; + border-radius: 3px; +} + +abbr +{ + border-bottom: 1px dotted #555; + cursor: pointer; +} + +.new, .beta +{ + text-transform: uppercase; + font-size: 10px; + font-weight: bold; + padding: 1px 4px; + margin: 0 0 0 5px; + color: #fff; + float: right; + border-radius: 3px; +} + +.new +{ + background: #FF7E00; + border: 1px solid #DA8028; + text-shadow: 0 1px 0 #C97626; + + box-shadow: 0 2px 3px 0 #FFA54E inset; +} + +.beta +{ + background: #18C0DF; + border: 1px solid #19AAD8; + text-shadow: 0 1px 0 #048CAD; + font-style: italic; + + box-shadow: 0 2px 3px 0 #50D4FD inset; +} + +h1.samples +{ + color: #0782C1; + font-size: 200%; + font-weight: normal; + margin: 0; + padding: 0; +} + +h1.samples a +{ + color: #0782C1; + text-decoration: none; + border-bottom: 1px dotted #0782C1; +} + +.samples a:hover +{ + border-bottom: 1px dotted #0782C1; +} + +h2.samples +{ + color: #000000; + font-size: 130%; + margin: 15px 0 0 0; + padding: 0; +} + +p, blockquote, address, form, pre, dl, h1.samples, h2.samples +{ + margin-bottom: 15px; +} + +ul.samples +{ + margin-bottom: 15px; +} + +.clear +{ + clear: both; +} + +fieldset +{ + margin: 0; + padding: 10px; +} + +body, input, textarea +{ + color: #333333; + font-family: Arial, Helvetica, sans-serif; +} + +body +{ + font-size: 75%; +} + +a.samples +{ + color: #189DE1; + text-decoration: none; +} + +form +{ + margin: 0; + padding: 0; +} + +pre.samples +{ + background-color: #F7F7F7; + border: 1px solid #D7D7D7; + overflow: auto; + padding: 0.25em; + white-space: pre-wrap; /* CSS 2.1 */ + word-wrap: break-word; /* IE7 */ +} + +#footer +{ + clear: both; + padding-top: 10px; +} + +#footer hr +{ + margin: 10px 0 15px 0; + height: 1px; + border: solid 1px gray; + border-bottom: none; +} + +#footer p +{ + margin: 0 10px 10px 10px; + float: left; +} + +#footer #copy +{ + float: right; +} + +#outputSample +{ + width: 100%; + table-layout: fixed; +} + +#outputSample thead th +{ + color: #dddddd; + background-color: #999999; + padding: 4px; + white-space: nowrap; +} + +#outputSample tbody th +{ + vertical-align: top; + text-align: left; +} + +#outputSample pre +{ + margin: 0; + padding: 0; +} + +.description +{ + border: 1px dotted #B7B7B7; + margin-bottom: 10px; + padding: 10px 10px 0; + overflow: hidden; +} + +label +{ + display: block; + margin-bottom: 6px; +} + +/** + * CKEditor editables are automatically set with the "cke_editable" class + * plus cke_editable_(inline|themed) depending on the editor type. + */ + +/* Style a bit the inline editables. */ +.cke_editable.cke_editable_inline +{ + cursor: pointer; +} + +/* Once an editable element gets focused, the "cke_focus" class is + added to it, so we can style it differently. */ +.cke_editable.cke_editable_inline.cke_focus +{ + box-shadow: inset 0px 0px 20px 3px #ddd, inset 0 0 1px #000; + outline: none; + background: #eee; + cursor: text; +} + +/* Avoid pre-formatted overflows inline editable. */ +.cke_editable_inline pre +{ + white-space: pre-wrap; + word-wrap: break-word; +} + +/** + * Samples index styles. + */ + +.twoColumns, +.twoColumnsLeft, +.twoColumnsRight +{ + overflow: hidden; +} + +.twoColumnsLeft, +.twoColumnsRight +{ + width: 45%; +} + +.twoColumnsLeft +{ + float: left; +} + +.twoColumnsRight +{ + float: right; +} + +dl.samples +{ + padding: 0 0 0 40px; +} +dl.samples > dt +{ + display: list-item; + list-style-type: disc; + list-style-position: outside; + margin: 0 0 3px; +} +dl.samples > dd +{ + margin: 0 0 3px; +} +.warning +{ + color: #ff0000; + background-color: #FFCCBA; + border: 2px dotted #ff0000; + padding: 15px 10px; + margin: 10px 0; +} + +.warning.deprecated { + font-size: 1.3em; +} + +/* Used on inline samples */ + +blockquote +{ + font-style: italic; + font-family: Georgia, Times, "Times New Roman", serif; + padding: 2px 0; + border-style: solid; + border-color: #ccc; + border-width: 0; +} + +.cke_contents_ltr blockquote +{ + padding-left: 20px; + padding-right: 8px; + border-left-width: 5px; +} + +.cke_contents_rtl blockquote +{ + padding-left: 8px; + padding-right: 20px; + border-right-width: 5px; +} + +img.right { + border: 1px solid #ccc; + float: right; + margin-left: 15px; + padding: 5px; +} + +img.left { + border: 1px solid #ccc; + float: left; + margin-right: 15px; + padding: 5px; +} + +.marker +{ + background-color: Yellow; +} diff --git a/sources/samples/old/sample.js b/sources/samples/old/sample.js new file mode 100644 index 0000000..7d4c74e --- /dev/null +++ b/sources/samples/old/sample.js @@ -0,0 +1,51 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +// Tool scripts for the sample pages. +// This file can be ignored and is not required to make use of CKEditor. + +( function() { + CKEDITOR.on( 'instanceReady', function( ev ) { + // Check for sample compliance. + var editor = ev.editor, + meta = CKEDITOR.document.$.getElementsByName( 'ckeditor-sample-required-plugins' ), + requires = meta.length ? CKEDITOR.dom.element.get( meta[ 0 ] ).getAttribute( 'content' ).split( ',' ) : [], + missing = [], + i; + + if ( requires.length ) { + for ( i = 0; i < requires.length; i++ ) { + if ( !editor.plugins[ requires[ i ] ] ) + missing.push( '' + requires[ i ] + '' ); + } + + if ( missing.length ) { + var warn = CKEDITOR.dom.element.createFromHtml( + '
      ' + + 'To fully experience this demo, the ' + missing.join( ', ' ) + ' plugin' + ( missing.length > 1 ? 's are' : ' is' ) + ' required.' + + '
      ' + ); + warn.insertBefore( editor.container ); + } + } + + // Set icons. + var doc = new CKEDITOR.dom.document( document ), + icons = doc.find( '.button_icon' ); + + for ( i = 0; i < icons.count(); i++ ) { + var icon = icons.getItem( i ), + name = icon.getAttribute( 'data-icon' ), + style = CKEDITOR.skin.getIconStyle( name, ( CKEDITOR.lang.dir == 'rtl' ) ); + + icon.addClass( 'cke_button_icon' ); + icon.addClass( 'cke_button__' + name + '_icon' ); + icon.setAttribute( 'style', style ); + icon.setStyle( 'float', 'none' ); + + } + } ); +} )(); +// %LEAVE_UNMINIFIED% %REMOVE_LINE% diff --git a/sources/samples/old/sample_posteddata.php b/sources/samples/old/sample_posteddata.php new file mode 100644 index 0000000..54e9b7c --- /dev/null +++ b/sources/samples/old/sample_posteddata.php @@ -0,0 +1,16 @@ +
      +
      +-------------------------------------------------------------------------------------------
      +  CKEditor - Posted Data
      +
      +  We are sorry, but your Web server does not support the PHP language used in this script.
      +
      +  Please note that CKEditor can be used with any other server-side language than just PHP.
      +  To save the content created with CKEditor you need to read the POST data on the server
      +  side and write it to a file or the database.
      +
      +  Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
      +  For licensing, see LICENSE.md or http://ckeditor.com/license
      +-------------------------------------------------------------------------------------------
      +
      +
      */ include "assets/posteddata.php"; ?> diff --git a/sources/samples/old/tabindex.html b/sources/samples/old/tabindex.html new file mode 100644 index 0000000..4238f33 --- /dev/null +++ b/sources/samples/old/tabindex.html @@ -0,0 +1,78 @@ + + + + + + TAB Key-Based Navigation — CKEditor Sample + + + + + + +

      + CKEditor Samples » TAB Key-Based Navigation +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      + This sample shows how tab key navigation among editor instances is + affected by the tabIndex attribute from + the original page element. Use TAB key to move between the editors. +

      +
      +

      + +

      +
      +

      + +

      +

      + +

      + + + diff --git a/sources/samples/old/uicolor.html b/sources/samples/old/uicolor.html new file mode 100644 index 0000000..fb61b1f --- /dev/null +++ b/sources/samples/old/uicolor.html @@ -0,0 +1,72 @@ + + + + + + UI Color Picker — CKEditor Sample + + + + +

      + CKEditor Samples » UI Color +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      + This sample shows how to automatically replace <textarea> elements + with a CKEditor instance with an option to change the color of its user interface.
      + Note:The UI skin color feature depends on the CKEditor skin + compatibility. The Moono and Kama skins are examples of skins that work with it. +

      +
      +
      +

      + This editor instance has a UI color value defined in configuration to change the skin color, + To specify the color of the user interface, set the uiColor property: +

      +
      +CKEDITOR.replace( 'textarea_id', {
      +	uiColor: '#14B8C4'
      +});
      +

      + Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

      +

      + + +

      +

      + +

      +
      + + + diff --git a/sources/samples/old/uilanguages.html b/sources/samples/old/uilanguages.html new file mode 100644 index 0000000..76749cb --- /dev/null +++ b/sources/samples/old/uilanguages.html @@ -0,0 +1,122 @@ + + + + + + User Interface Globalization — CKEditor Sample + + + + + +

      + CKEditor Samples » User Interface Languages +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      + This sample shows how to automatically replace <textarea> elements + with a CKEditor instance with an option to change the language of its user interface. +

      +

      + It pulls the language list from CKEditor _languages.js file that contains the list of supported languages and creates + a drop-down list that lets the user change the UI language. +

      +

      + By default, CKEditor automatically localizes the editor to the language of the user. + The UI language can be controlled with two configuration options: + language and + + defaultLanguage. The defaultLanguage setting specifies the + default CKEditor language to be used when a localization suitable for user's settings is not available. +

      +

      + To specify the user interface language that will be used no matter what language is + specified in user's browser or operating system, set the language property: +

      +
      +CKEDITOR.replace( 'textarea_id', {
      +	// Load the German interface.
      +	language: 'de'
      +});
      +

      + Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced. +

      +
      +
      +

      + Available languages ( languages!):
      + +
      + + (You may see strange characters if your system does not support the selected language) + +

      +

      + + +

      +
      + + + diff --git a/sources/samples/old/xhtmlstyle.html b/sources/samples/old/xhtmlstyle.html new file mode 100644 index 0000000..c918766 --- /dev/null +++ b/sources/samples/old/xhtmlstyle.html @@ -0,0 +1,234 @@ + + + + + + XHTML Compliant Output — CKEditor Sample + + + + + + +

      + CKEditor Samples » Producing XHTML Compliant Output +

      +
      + This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
      +
      +

      + This sample shows how to configure CKEditor to output valid + XHTML 1.1 code. + Deprecated elements (<font>, <u>) or attributes + (size, face) will be replaced with XHTML compliant code. +

      +

      + To add a CKEditor instance outputting valid XHTML code, load the editor using a standard + JavaScript call and define CKEditor features to use the XHTML compliant elements and styles. +

      +

      + A snippet of the configuration code can be seen below; check the source of this page for + full definition: +

      +
      +CKEDITOR.replace( 'textarea_id', {
      +	contentsCss: 'assets/outputxhtml.css',
      +
      +	coreStyles_bold: {
      +		element: 'span',
      +		attributes: { 'class': 'Bold' }
      +	},
      +	coreStyles_italic: {
      +		element: 'span',
      +		attributes: { 'class': 'Italic' }
      +	},
      +
      +	...
      +});
      +
      +
      +

      + + + +

      +

      + +

      +
      + + + diff --git a/sources/samples/toolbarconfigurator/bender.js b/sources/samples/toolbarconfigurator/bender.js new file mode 100644 index 0000000..d592866 --- /dev/null +++ b/sources/samples/toolbarconfigurator/bender.js @@ -0,0 +1,52 @@ +/* jshint browser: false, node: true */ + +'use strict'; + +var config = { + + applications: { + ckeditor: { + path: '../../', + files: [ + 'ckeditor.js' + ] + }, + + codemirror: { + path: '.', + files: [ + 'js/lib/codemirror/codemirror.js' + ] + }, + + toolbartool: { + path: '.', + files: [ + 'js/fulltoolbareditor.js', + 'js/abstracttoolbarmodifier.js', + 'js/toolbarmodifier.js', + 'js/toolbartextmodifier.js' + ] + } + }, + + plugins: [ + 'node_modules/benderjs-mocha', + 'node_modules/benderjs-chai' + ], + + framework: 'mocha', + + tests: { + 'main': { + applications: [ 'ckeditor', 'codemirror', 'toolbartool' ], + basePath: 'tests/', + paths: [ + '**', + '!**/_*/**' + ] + } + } +}; + +module.exports = config; diff --git a/sources/samples/toolbarconfigurator/css/fontello.css b/sources/samples/toolbarconfigurator/css/fontello.css new file mode 100644 index 0000000..bb32199 --- /dev/null +++ b/sources/samples/toolbarconfigurator/css/fontello.css @@ -0,0 +1,55 @@ +@font-face { + font-family: 'fontello'; + src: url('../font/fontello.eot?89024372'); + src: url('../font/fontello.eot?89024372#iefix') format('embedded-opentype'), + url('../font/fontello.woff?89024372') format('woff'), + url('../font/fontello.ttf?89024372') format('truetype'), + url('../font/fontello.svg?89024372#fontello') format('svg'); + font-weight: normal; + font-style: normal; +} +/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ +/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ +/* +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'fontello'; + src: url('../font/fontello.svg?89024372#fontello') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "fontello"; + font-style: normal; + font-weight: normal; + speak: none; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} + +.icon-trash:before { content: '\e802'; } /* '' */ +.icon-down-big:before { content: '\e800'; } /* '' */ +.icon-up-big:before { content: '\e801'; } /* '' */ \ No newline at end of file diff --git a/sources/samples/toolbarconfigurator/font/LICENSE.txt b/sources/samples/toolbarconfigurator/font/LICENSE.txt new file mode 100644 index 0000000..b511054 --- /dev/null +++ b/sources/samples/toolbarconfigurator/font/LICENSE.txt @@ -0,0 +1,12 @@ +Font license info + + +## Font Awesome + + Copyright (C) 2012 by Dave Gandy + + Author: Dave Gandy + License: SIL () + Homepage: http://fortawesome.github.com/Font-Awesome/ + + diff --git a/sources/samples/toolbarconfigurator/font/config.json b/sources/samples/toolbarconfigurator/font/config.json new file mode 100644 index 0000000..94809d7 --- /dev/null +++ b/sources/samples/toolbarconfigurator/font/config.json @@ -0,0 +1,28 @@ +{ + "name": "", + "css_prefix_text": "icon-", + "css_use_suffix": false, + "hinting": true, + "units_per_em": 1000, + "ascent": 850, + "glyphs": [ + { + "uid": "f48ae54adfb27d8ada53d0fd9e34ee10", + "css": "trash-empty", + "code": 59392, + "src": "fontawesome" + }, + { + "uid": "1c4068ed75209e21af36017df8871802", + "css": "down-big", + "code": 59393, + "src": "fontawesome" + }, + { + "uid": "95376bf082bfec6ce06ea1cda7bd7ead", + "css": "up-big", + "code": 59394, + "src": "fontawesome" + } + ] +} \ No newline at end of file diff --git a/sources/samples/toolbarconfigurator/font/fontello.eot b/sources/samples/toolbarconfigurator/font/fontello.eot new file mode 100644 index 0000000000000000000000000000000000000000..2732fad4b99afccc74c27aa672ccd40f913b80ca GIT binary patch literal 4988 zcmd^CT}&L;6+U-n|5z{>v%7Y(7~l1;TJ;11yDg zVpn;H>a>bi`B(Z@Bfv`Q*fYSi|jl~N@SeW+BaYM*MUmGV&aB~qZ@nVp6B zCrbO=ftmB2bH97fx#ymHXZEEwqCXxW5~LAd8o6~F!19)0bYZfl?>%iZ)KhQvZ0=d> zXg@7biPor0MOwjM2@TCO1#OY8L$_!HmJrRrvO$})Y_laDrzG{E#*;K{#!`j;>yj1rq};0G5fc0e|M>9%?p!$L*zb$_Ms&hy#4wN^hxNQORMD@ z&5r?*yNt*FmC~FgZqsYfUxDslwQj7_zx>CbV?2^;)@t#iA3WL)U19t`td};+(cV`O zzwc$Vr`9)$>+k&N`#VGjUV=VDLVrWNMQ-wG-_m{w%WE|${z}IMmT7N|(00!?xsaWw zvAc9v)2DW>(G|UsE`m^BFhcffce`WDz{0KV`rhb7z>JTcLcWI4F<(ZU?kKN z4Bip9566VrzWw5zAewn?cB=XU8Bex3=Y;}X+bQ# zqBY?08b`YZTfMAx4V*+|2kls5aD3<3k%^Ajoxo@y2H(#IM)3%Wf%Xv8JKHZF?i5|^ z;a2siNrP(d8a0pz8Hj!-X+P#PQm+}L=_KF!zU*F3`Kx$4$6;nFnn3c5-S4b9Wk z-0V-2*V{Nvjkq!k^VYLh^OvVCUN|>#cC2l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F=%mES9Sp^i3HJnfhGkI_{p^^`2#mdit(Tn6!C@Pb3g7+9E zeXdfOFeb2ba+aTInMRf=6i@!Bz^r3>?h($m&FHm{bp z!oY<*b^>S?9OF1N#;xJ7fpNwWJ%l|LhNuk%4>%B@ASZF<#+tghFZx-aMD5Y>#Nih< zBKf@$v3mVH9|<4sE@wW*D5iPBHY*=?h?L_7@)k!CB-DUCeMF`?*`dq1q#VUD&2c$K z4EBZeMWLNT6ACRmXVfxYJJAd$tB5I~1|5&-dRhzoPQWbcnIAF@ndIq@<9r&;C#zi| zfXY6(Yew?-%)`58n_cgE59cvc^~LKg_Y8WVV-&iZnDUp9LF(U z&qf9Z19nUr$;+BsM56%X0D{4Uxg~7N69Bg59CJ>i=}G1=IL{mg7nsA~Dds!|@HOTz zxX2s^lgwdoi8&(xQ_Nv7%^U`onZw{|=9~eTVGe_@GlxNrISlg5IR$WqISj5chru_P z!{8ZH_3x(nSyt2#%+J~ABv8Sw8kmQnSf)C$%bsP$X3yD(+4DAHYSB~!yVM0%Z0e$o zn7U*mrY@UmaF=?G6`T6JjhMP(Bc`sJapfy2y>s#gAKwX_yyril-%a5~EZ)ff!iS$A za}uXyM(M`-mg`tUb}F;w*SxW+M`Ws<;?+wzHTG(*>d`Z(Gidl;U=?2mxIPd&-%+mD Kt8V<(q5l8`HZgPn literal 0 HcmV?d00001 diff --git a/sources/samples/toolbarconfigurator/font/fontello.svg b/sources/samples/toolbarconfigurator/font/fontello.svg new file mode 100644 index 0000000..33d14ac --- /dev/null +++ b/sources/samples/toolbarconfigurator/font/fontello.svg @@ -0,0 +1,14 @@ + + + +Copyright (C) 2014 by original authors @ fontello.com + + + + + + + + + + \ No newline at end of file diff --git a/sources/samples/toolbarconfigurator/font/fontello.ttf b/sources/samples/toolbarconfigurator/font/fontello.ttf new file mode 100644 index 0000000000000000000000000000000000000000..fbcbf06af5fe25519880166886f3af289acfd960 GIT binary patch literal 4820 zcmd^CTWlNG5uLlsm#CLzk+c)a@}*alWO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;h#-Wo@~5SNg7g)Rp9H?!LUr$d?*)R6xp~`1wKdPS8{J_QkUVkwQl|4 ze2P!D4>ttjA)+yX#!jP4af&EjyQZ{sVct-B+M37V)zVfNxRA$50L?;RT!+SlH4--9 zX9C$n*uLPR<_ZyTAwWS*;>wLZb@N=zvp|X3-tood7d9gK1CQ9f0bY+p40pG)9%Bs4 zJZ+nm4<|&*2?KSDqX`mf&|W?=)12zi)m&1J;hN^W93z~4rhHLo7cqoJ%NC7V#cMa3 z;ZzklCDf1;F)+x>+-iiHJhCuRqK zNCgA!NoC@IjDLy!0`373XjchvQl{#INONtnsGgj_HD0eq1{VWPOd7?@nma^e022U$ z!KAq(Y|CQ+w&fyo&SB_r<}kR#90pG?hryG~c?95V%wceuISi(l!{7>YMggXo!(fIv z46ZVV!BfmR4=~Fd2480mgB)`h|4`kalJ zx?&@yu9|V>D=EEe>K0$$3EaGw-lgA9*g(a<1ypGw3sD`2PZ{_@4oucg5a!mFtzN8-MH2e*ji^AMF4D literal 0 HcmV?d00001 diff --git a/sources/samples/toolbarconfigurator/font/fontello.woff b/sources/samples/toolbarconfigurator/font/fontello.woff new file mode 100644 index 0000000000000000000000000000000000000000..e1d56472f88b35b037149608094afc4bbcf97b50 GIT binary patch literal 2904 zcmY*bc{r5a8-8EQOm-oAc3G0_yAoq$ER)?>YK*a^u}p($QzBc!h>|6VlHJ&{lqiN| z%aSF#WGNzFi12%-@B8QXT-SY_=f1D|InN*GT<1JtXe1H<0Vvp<0Z#hLGx#s3=l>sQ zyOU}F03slj4oAb8vm>4ak03~kg}5HHqWXA+UV4U-B%r(%()b{V!psj+y@PxRkTwDU zOuqqug%Zz7*7xza4AsI0A$j71taaKCOI3R)GL5BLW=s;ZJ zFE&`^13U;`kmd~a4TJi2cV!EU1_fRwK_z{V=OhGU*^^NtK}0X8mJOnSBONKZ83*Jn zPb_}bGpo6|v$@5-tvV(mA{TC~ehRCC$K$YA9M;RbnU$g6%}!ACyvi#qj&mocjk~R@ zdzy>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v>qd;GHU93_*N~CLfDW{%w!18* zjZ|F1B(PiZMT3z+$modrryp=GDX%#!&QQOJGUd%26v zGg!h{b2m-roYdhocL&=0E6-ToBn%0Ayl~wC@nx8@;@5mHP`euW(pSyf^RC_T@9GKm zeyb(m7b)2$h7rS@BQe&bK9(sBKQlK7>&13qX0wAksZ+tXw%u_Jjnv{{&c(C(y*iEDkOA)FBb({PRfl*Nh-4OzMhPaJDL>bo_~y<<^yjv?u@Rc878 z#MD10UTPJ#{gBiB?7iJ{NguPn8lAoO%2L4O;6`MP=2 zvPDA8zBJnU(dCdwyjg6U*Rx>#mo?XyiGg~fo^6_~aZ2xa<+AnxhI}6sbmV{kU@R7x z#aWeClEX90*~hz1-jZTpa1SR$^~JCX3GN5t1H8Y&h`NI5Mo)oLST^K;HUECce{M(2 z9Nhfs4SRBk6$=7!UCfD$ivYm*1OYN$vsY$y_WS7iOLBnMh*&(v31}`M9h&R?S-!uDxe~I&L z^j+IqI0y$OE<{=Uy$85kfHLg+tveABlsL*G${lIhHwI{J1@-LGY5+lfz$eS^qoM); zJ^}Djz@iT5uyv+_U?Qge5HyB*N>qT-hzdsOph_lr7E@b9B`X75kqQG5R2eYV#<{{M h)|m=pL{N{>SsfEVryv3YMICr>r-JDom6<*r{|}rP@vZ;> literal 0 HcmV?d00001 diff --git a/sources/samples/toolbarconfigurator/index.html b/sources/samples/toolbarconfigurator/index.html new file mode 100644 index 0000000..4d31289 --- /dev/null +++ b/sources/samples/toolbarconfigurator/index.html @@ -0,0 +1,446 @@ + + + + + + + + Toolbar Configurator + + + + + + + + + + + + +
      +
      +

      + CKEditor Logo +

      + +
      +
      + +
      +
      +
      +
      +
      +

      + Toolbar Configurator + Help +

      + +
      +
      + Select configurator type + + + + + + + +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      + +
      +
      +
      +
      +
      +
      +
      +
      +
      + +
      +
      +
      +

      What Am I Doing Here?

      + +
      +
      +
      +

      Arrange toolbar groups, toggle button visibility according to your needs and get your toolbar configuration.

      +

      You can replace the content of the config.js file with the generated configuration. If you already set some configuration options you will need to merge both configurations.

      +
      +
      +

      Read more about different ways of setting configuration and do not forget about clearing browser cache.

      +

      Arranging toolbar groups is the recommended way of configuring the toolbar, but if you need more freedom you can use the advanced configurator.

      +
      +
      + +
      + +

      + +

      +
      +
      +
      +
      + +
      +

      + CKEditor – The text editor for the Internet – http://ckeditor.com +

      +

      + Copyright © 2003-2017, CKSource – Frederico Knabben. All rights reserved. +

      +
      + + + + + + + + + + + + + + diff --git a/sources/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js b/sources/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js new file mode 100644 index 0000000..af6cd62 --- /dev/null +++ b/sources/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js @@ -0,0 +1,566 @@ +/* global ToolbarConfigurator */ + +'use strict'; + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create +if ( typeof Object.create != 'function' ) { + ( function() { + var F = function() {}; + Object.create = function( o ) { + if ( arguments.length > 1 ) { + throw Error( 'Second argument not supported' ); + } + if ( o === null ) { + throw Error( 'Cannot set a null [[Prototype]]' ); + } + if ( typeof o != 'object' ) { + throw TypeError( 'Argument must be an object' ); + } + F.prototype = o; + return new F(); + }; + } )(); +} + +// Copy of the divarea plugin (with some enhancements), so we always have some editable mode, regardless of the build's config. +CKEDITOR.plugins.add( 'toolbarconfiguratorarea', { + // Use afterInit to override wysiwygarea's mode. May still fail to override divarea, but divarea is nice. + afterInit: function( editor ) { + editor.addMode( 'wysiwyg', function( callback ) { + var editingBlock = CKEDITOR.dom.element.createFromHtml( '
      ' ); + + var contentSpace = editor.ui.space( 'contents' ); + contentSpace.append( editingBlock ); + + editingBlock = editor.editable( editingBlock ); + + editingBlock.detach = CKEDITOR.tools.override( editingBlock.detach, + function( org ) { + return function() { + org.apply( this, arguments ); + this.remove(); + }; + } ); + + editor.setData( editor.getData( 1 ), callback ); + editor.fire( 'contentDom' ); + } ); + + // Additions to the divarea. + + // Speed up data processing. + editor.dataProcessor.toHtml = function( html ) { + return html; + }; + editor.dataProcessor.toDataFormat = function( html ) { + return html; + }; + + // End of the additions. + } +} ); + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys +if ( !Object.keys ) { + Object.keys = ( function() { + var hasOwnProperty = Object.prototype.hasOwnProperty, + hasDontEnumBug = !( { toString: null } ).propertyIsEnumerable( 'toString' ), + dontEnums = [ + 'toString', + 'toLocaleString', + 'valueOf', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'constructor' + ], + dontEnumsLength = dontEnums.length; + + return function( obj ) { + if ( typeof obj !== 'object' && ( typeof obj !== 'function' || obj === null ) ) + throw new TypeError( 'Object.keys called on non-object' ); + + var result = [], prop, i; + + for ( prop in obj ) { + if ( hasOwnProperty.call( obj, prop ) ) + result.push( prop ); + + } + + if ( hasDontEnumBug ) { + for ( i = 0; i < dontEnumsLength; i++ ) { + if ( hasOwnProperty.call( obj, dontEnums[ i ] ) ) + result.push( dontEnums[ i ] ); + + } + } + return result; + }; + }() ); +} + +( function() { + /** + * @class ToolbarConfigurator.AbstractToolbarModifier + * @param {String} editorId An id of modified editor + * @constructor + */ + function AbstractToolbarModifier( editorId, cfg ) { + this.cfg = cfg || {}; + this.hidden = false; + this.editorId = editorId; + this.fullToolbarEditor = new ToolbarConfigurator.FullToolbarEditor(); + + this.mainContainer = null; + + this.originalConfig = null; + this.actualConfig = null; + + this.waitForReady = false; + this.isEditableVisible = false; + + this.toolbarContainer = null; + this.toolbarButtons = []; + } + + // Expose the class. + ToolbarConfigurator.AbstractToolbarModifier = AbstractToolbarModifier; + + /** + * @param {String} config + */ + AbstractToolbarModifier.prototype.setConfig = function( config ) { + this._onInit( undefined, config, true ); + }; + + /** + * @param {Function} [callback] + */ + AbstractToolbarModifier.prototype.init = function( callback ) { + var that = this; + + this.mainContainer = new CKEDITOR.dom.element( 'div' ); + + if ( this.fullToolbarEditor.editorInstance !== null ) { + throw 'Only one instance of ToolbarModifier is allowed'; + } + + if ( !this.editorInstance ) { + // Do not refresh yet, let's wait for the full toolbar editor (see below). + this._createEditor( false ); + } + + this.editorInstance.once( 'loaded', function() { + that.fullToolbarEditor.init( function() { + that._onInit( callback ); + + if ( typeof that.onRefresh == 'function' ) { + that.onRefresh(); + } + }, that.editorInstance.config ); + } ); + + return this.mainContainer; + }; + + /** + * Called editor initialization finished. + * + * @param {Function} callback + * @param {String} [actualConfig] + * @private + */ + AbstractToolbarModifier.prototype._onInit = function( callback, actualConfig ) { + this.originalConfig = this.editorInstance.config; + + if ( !actualConfig ) { + this.actualConfig = JSON.parse( JSON.stringify( this.originalConfig ) ); + } else { + this.actualConfig = JSON.parse( actualConfig ); + } + + if ( !this.actualConfig.toolbarGroups && !this.actualConfig.toolbar ) { + this.actualConfig.toolbarGroups = getDefaultToolbarGroups( this.editorInstance ); + } + + if ( typeof callback === 'function' ) + callback( this.mainContainer ); + + // Here we are going to keep only `name` and `groups` data from editor `toolbar` property. + function getDefaultToolbarGroups( editor ) { + var toolbarGroups = editor.toolbar, + copy = []; + + var max = toolbarGroups.length; + for ( var i = 0; i < max; i++ ) { + var group = toolbarGroups[ i ]; + + if ( typeof group == 'string' ) { + copy.push( group ); // separator + } else { + copy.push( { + name: group.name, + groups: group.groups ? group.groups.slice() : [] + } ); + } + } + + return copy; + } + }; + + /** + * Creates DOM structure of tool. + * + * @returns {CKEDITOR.dom.element} + * @private + */ + AbstractToolbarModifier.prototype._createModifier = function() { + this.mainContainer.addClass( 'unselectable' ); + + if ( this.modifyContainer ) { + this.modifyContainer.remove(); + } + + this.modifyContainer = new CKEDITOR.dom.element( 'div' ); + this.modifyContainer.addClass( 'toolbarModifier' ); + + this.mainContainer.append( this.modifyContainer ); + + return this.mainContainer; + }; + + /** + * Find editable area in CKEditor instance DOM container + * + * @returns {CKEDITOR.dom.element} + */ + AbstractToolbarModifier.prototype.getEditableArea = function() { + var selector = ( '#' + this.editorInstance.id + '_contents' ); + + return this.editorInstance.container.findOne( selector ); + }; + + /** + * Hide editable area in modified editor by sets its height to 0. + * + * @private + */ + AbstractToolbarModifier.prototype._hideEditable = function() { + var area = this.getEditableArea(); + + this.isEditableVisible = false; + + this.lastEditableAreaHeight = area.getStyle( 'height' ); + area.setStyle( 'height', '0' ); + }; + + /** + * Show editable area in modified editor. + * + * @private + */ + AbstractToolbarModifier.prototype._showEditable = function() { + this.isEditableVisible = true; + + this.getEditableArea().setStyle( 'height', this.lastEditableAreaHeight || 'auto' ); + }; + + /** + * Toggle editable area visibility. + * + * @private + */ + AbstractToolbarModifier.prototype._toggleEditable = function() { + if ( this.isEditableVisible ) + this._hideEditable(); + else + this._showEditable(); + }; + + /** + * Usually called when configuration changes. + * + * @private + */ + AbstractToolbarModifier.prototype._refreshEditor = function() { + var that = this, + status = this.editorInstance.status; + + // Wait for ready only once. + if ( this.waitForReady ) + return; + + // Not ready. + if ( status == 'unloaded' || status == 'loaded' ) { + this.waitForReady = true; + + this.editorInstance.once( 'instanceReady', function() { + refresh(); + }, this ); + // Ready or destroyed. + } else { + refresh(); + } + + function refresh() { + that.editorInstance.destroy(); + that._createEditor( true, that.getActualConfig() ); + that.waitForReady = false; + } + }; + + /** + * Creates editor that can be used to present the toolbar configuration. + * + * @private + */ + AbstractToolbarModifier.prototype._createEditor = function( doRefresh, configOverrides ) { + var that = this; + + this.editorInstance = CKEDITOR.replace( this.editorId ); + + this.editorInstance.on( 'configLoaded', function() { + var config = that.editorInstance.config; + + if ( configOverrides ) { + CKEDITOR.tools.extend( config, configOverrides, true ); + } + + AbstractToolbarModifier.extendPluginsConfig( config ); + } ); + + // Prevent creating any other space than the top one. + this.editorInstance.on( 'uiSpace', function( evt ) { + if ( evt.data.space != 'top' ) { + evt.stop(); + } + }, null, null, -999 ); + + this.editorInstance.once( 'loaded', function() { + var btns = that.editorInstance.ui.instances; + + for ( var i in btns ) { + if ( btns[ i ] ) { + btns[ i ].click = empty; + btns[ i ].onClick = empty; + } + } + + if ( !that.isEditableVisible ) { + that._hideEditable(); + } + + if ( that.currentActive && that.currentActive.name ) { + that._highlightGroup( that.currentActive.name ); + } + + if ( that.hidden ) { + that.hideUI(); + } else { + that.showUI(); + } + + if ( doRefresh && ( typeof that.onRefresh === 'function' ) ) { + that.onRefresh(); + } + } ); + + function empty() {} + }; + + /** + * Always returns copy of config. + * + * @returns {Object} + */ + AbstractToolbarModifier.prototype.getActualConfig = function() { + return JSON.parse( JSON.stringify( this.actualConfig ) ); + }; + + /** + * Creates toolbar in tool. + * + * @private + */ + AbstractToolbarModifier.prototype._createToolbar = function() { + if ( !this.toolbarButtons.length ) { + return; + } + + this.toolbarContainer = new CKEDITOR.dom.element( 'div' ); + this.toolbarContainer.addClass( 'toolbar' ); + + var max = this.toolbarButtons.length; + for ( var i = 0; i < max; i += 1 ) { + this._createToolbarBtn( this.toolbarButtons[ i ] ); + } + }; + + /** + * Create toolbar button and add it to toolbar container + * + * @param {Object} cfg + * @returns {CKEDITOR.dom.element} + * @private + */ + AbstractToolbarModifier.prototype._createToolbarBtn = function( cfg ) { + var btnText = ( typeof cfg.text === 'string' ? cfg.text : cfg.text.inactive ), + btn = ToolbarConfigurator.FullToolbarEditor.createButton( btnText, cfg.cssClass ); + + this.toolbarContainer.append( btn ); + btn.data( 'group', cfg.group ); + btn.addClass( cfg.position ); + btn.on( 'click', function() { + cfg.clickCallback.call( this, btn, cfg ); + }, this ); + + return btn; + }; + + /** + * @private + * @param {Object} config + */ + AbstractToolbarModifier.prototype._fixGroups = function( config ) { + var groups = config.toolbarGroups || []; + + var max = groups.length; + for ( var i = 0; i < max; i += 1 ) { + var currentGroup = groups[ i ]; + + // separator, in config, is in raw format + // need to make it more sophisticated to keep unique id + // for each one + if ( currentGroup == '/' ) { + currentGroup = groups[ i ] = {}; + currentGroup.type = 'separator'; + currentGroup.name = ( 'separator' + CKEDITOR.tools.getNextNumber() ); + continue; + } + + // sometimes subgroups are not set (basic package), so need to + // create them artifically + currentGroup.groups = currentGroup.groups || []; + + // when there is no subgroup with same name like its parent name + // then it have to be added artificially + // in order to maintain consistency between user interface and config + if ( CKEDITOR.tools.indexOf( currentGroup.groups, currentGroup.name ) == -1 ) { + this.editorInstance.ui.addToolbarGroup( currentGroup.name, currentGroup.groups[ currentGroup.groups.length - 1 ], currentGroup.name ); + currentGroup.groups.push( currentGroup.name ); + } + + this._fixSubgroups( currentGroup ); + } + }; + + /** + * Transform subgroup string to object literal + * with keys: {String} name and {Number} totalBtns + * Please note: this method modify Object provided in first argument + * + * input: + * [ + * { groups: [ 'nameOne', 'nameTwo' ] } + * ] + * + * output: + * [ + * { groups: [ { name: 'nameOne', totalBtns: 3 }, { name: 'nameTwo', totalBtns: 5 } ] } + * ] + * + * @param {Object} group + * @private + */ + AbstractToolbarModifier.prototype._fixSubgroups = function( group ) { + var subGroups = group.groups; + + var max = subGroups.length; + for ( var i = 0; i < max; i += 1 ) { + var subgroupName = subGroups[ i ]; + + subGroups[ i ] = { + name: subgroupName, + totalBtns: ToolbarConfigurator.ToolbarModifier.getTotalSubGroupButtonsNumber( subgroupName, this.fullToolbarEditor ) + }; + } + }; + + /** + * Same as JSON.stringify method but returned string is in one line + * + * @param {Object} json + * @param {Object} opts + * @param {Boolean} opts.addSpaces + * @param {Boolean} opts.noQuotesOnKey + * @param {Boolean} opts.singleQuotes + * @returns {Object} + */ + AbstractToolbarModifier.stringifyJSONintoOneLine = function( json, opts ) { + opts = opts || {}; + var stringJSON = JSON.stringify( json, null, '' ); + + // IE8 make new line characters + stringJSON = stringJSON.replace( /\n/g, '' ); + + if ( opts.addSpaces ) { + stringJSON = stringJSON.replace( /(\{|:|,|\[|\])/g, function( sentence ) { + return sentence + ' '; + } ); + + stringJSON = stringJSON.replace( /(\])/g, function( sentence ) { + return ' ' + sentence; + } ); + } + + if ( opts.noQuotesOnKey ) { + stringJSON = stringJSON.replace( /"(\w*)":/g, function( sentence, word ) { + return word + ':'; + } ); + } + + if ( opts.singleQuotes ) { + stringJSON = stringJSON.replace( /\"/g, '\'' ); + } + + return stringJSON; + }; + + /** + * Hide toolbar configurator + */ + AbstractToolbarModifier.prototype.hideUI = function() { + this.hidden = true; + this.mainContainer.hide(); + if ( this.editorInstance.container ) { + this.editorInstance.container.hide(); + } + }; + + /** + * Show toolbar configurator + */ + AbstractToolbarModifier.prototype.showUI = function() { + this.hidden = false; + this.mainContainer.show(); + if ( this.editorInstance.container ) { + this.editorInstance.container.show(); + } + }; + + + /** + * Extends plugins setttings in the specified config with settings useful for + * the toolbar configurator. + * + * @static + */ + AbstractToolbarModifier.extendPluginsConfig = function( config ) { + var extraPlugins = config.extraPlugins; + + // Enable the special, lightweight area to replace wysiwygarea. + config.extraPlugins = ( extraPlugins ? extraPlugins + ',' : '' ) + 'toolbarconfiguratorarea'; + }; +} )(); diff --git a/sources/samples/toolbarconfigurator/js/fulltoolbareditor.js b/sources/samples/toolbarconfigurator/js/fulltoolbareditor.js new file mode 100644 index 0000000..2b9f15f --- /dev/null +++ b/sources/samples/toolbarconfigurator/js/fulltoolbareditor.js @@ -0,0 +1,365 @@ +/* exported ToolbarConfigurator */ +/* global ToolbarConfigurator */ + +'use strict'; + +window.ToolbarConfigurator = {}; + +( function() { + /** + * @class ToolbarConfigurator.FullToolbarEditor + * @constructor + */ + function FullToolbarEditor() { + this.instanceid = 'fte' + CKEDITOR.tools.getNextId(); + this.textarea = new CKEDITOR.dom.element( 'textarea' ); + this.textarea.setAttributes( { + id: this.instanceid, + name: this.instanceid, + contentEditable: true + } ); + + this.buttons = null; + this.editorInstance = null; + } + + // Expose the class. + ToolbarConfigurator.FullToolbarEditor = FullToolbarEditor; + + /** + * @param {Function} callback + * @param {Object} cfg + */ + FullToolbarEditor.prototype.init = function( callback ) { + var that = this; + + document.body.appendChild( this.textarea.$ ); + + CKEDITOR.replace( this.instanceid ); + + this.editorInstance = CKEDITOR.instances[ this.instanceid ]; + + this.editorInstance.once( 'configLoaded', function( e ) { + var cfg = e.editor.config; + + // We want all the buttons. + delete cfg.removeButtons; + delete cfg.toolbarGroups; + delete cfg.toolbar; + ToolbarConfigurator.AbstractToolbarModifier.extendPluginsConfig( cfg ); + + e.editor.once( 'loaded', function() { + that.buttons = FullToolbarEditor.toolbarToButtons( that.editorInstance.toolbar ); + + that.buttonsByGroup = FullToolbarEditor.groupButtons( that.buttons ); + + that.buttonNamesByGroup = that.groupButtonNamesByGroup( that.buttons ); + + e.editor.container.hide(); + + if ( typeof callback === 'function' ) + callback( that.buttons ); + } ); + } ); + }; + + /** + * Group array of button names by their group parents. + * + * @param {Array} buttons + * @returns {Object} + */ + FullToolbarEditor.prototype.groupButtonNamesByGroup = function( buttons ) { + var that = this, + groups = FullToolbarEditor.groupButtons( buttons ); + + for ( var groupName in groups ) { + var currGroup = groups[ groupName ]; + + groups[ groupName ] = FullToolbarEditor.map( currGroup, function( button ) { + return that.getCamelCasedButtonName( button.name ); + } ); + } + + return groups; + }; + + /** + * Returns group literal. + * + * @param {String} name + * @returns {Object} + */ + FullToolbarEditor.prototype.getGroupByName = function( name ) { + var groups = this.editorInstance.config.toolbarGroups || this.getFullToolbarGroupsConfig(); + + var max = groups.length; + for ( var i = 0; i < max; i += 1 ) { + if ( groups[ i ].name === name ) + return groups[ i ]; + } + + return null; + }; + + /** + * @param {String} name + * @returns {String | null} + */ + FullToolbarEditor.prototype.getCamelCasedButtonName = function( name ) { + var items = this.editorInstance.ui.items; + + for ( var key in items ) { + if ( items[ key ].name == name ) + return key; + } + + return null; + }; + + /** + * Returns full toolbarGroups config value which is used when + * there is no toolbarGroups field in config. + * + * @param {Boolean} [pickSeparators=false] + * @returns {Array} + */ + FullToolbarEditor.prototype.getFullToolbarGroupsConfig = function( pickSeparators ) { + pickSeparators = ( pickSeparators === true ? true : false ); + + var result = [], + toolbarGroups = this.editorInstance.toolbar; + + var max = toolbarGroups.length; + for ( var i = 0; i < max; i += 1 ) { + var currentGroup = toolbarGroups[ i ], + copiedGroup = {}; + + if ( typeof currentGroup.name != 'string' ) { + // this is not a group + if ( pickSeparators ) { + result.push( '/' ); + } + continue; + } + + copiedGroup.name = currentGroup.name; + if ( currentGroup.groups ) + copiedGroup.groups = Array.prototype.slice.call( currentGroup.groups ); + + result.push( copiedGroup ); + } + + return result; + }; + + /** + * Filters array items based on checker provided in second argument. + * Returns new array. + * + * @param {Array} arr + * @param {Function} checker + * @returns {Array} + */ + FullToolbarEditor.filter = function( arr, checker ) { + var max = ( arr && arr.length ? arr.length : 0 ), + result = []; + + for ( var i = 0; i < max; i += 1 ) { + if ( checker( arr[ i ] ) ) + result.push( arr[ i ] ); + } + + return result; + }; + + /** + * Simplified http://underscorejs.org/#map functionality + * + * @param {Array | Object} enumerable + * @param {Function} modifier + * @returns {Array | Object} + */ + FullToolbarEditor.map = function( enumerable, modifier ) { + var result; + + if ( CKEDITOR.tools.isArray( enumerable ) ) { + result = []; + + var max = enumerable.length; + for ( var i = 0; i < max; i += 1 ) + result.push( modifier( enumerable[ i ] ) ); + } else { + result = {}; + + for ( var key in enumerable ) + result[ key ] = modifier( enumerable[ key ] ); + } + + return result; + }; + + /** + * Group buttons by their parent names. + * + * @static + * @param {Array} buttons + * @returns {Object} The object (`name => group`) representing CKEDITOR.ui.button or CKEDITOR.ui.richCombo + */ + FullToolbarEditor.groupButtons = function( buttons ) { + var groups = {}; + + var max = buttons.length; + for ( var i = 0; i < max; i += 1 ) { + var currBtn = buttons[ i ], + currBtnGroupName = currBtn.toolbar.split( ',' )[ 0 ]; + + groups[ currBtnGroupName ] = groups[ currBtnGroupName ] || []; + + groups[ currBtnGroupName ].push( currBtn ); + } + + return groups; + }; + + /** + * Pick all buttons from toolbar. + * + * @static + * @param {Array} groups + * @returns {Array} + */ + FullToolbarEditor.toolbarToButtons = function( groups ) { + var buttons = []; + + var max = groups.length; + for ( var i = 0; i < max; i += 1 ) { + var currentGroup = groups[ i ]; + + if ( typeof currentGroup == 'object' ) + buttons = buttons.concat( FullToolbarEditor.groupToButtons( groups[ i ] ) ); + } + + return buttons; + }; + + /** + * Creates HTML button representation for view. + * + * @static + * @param {CKEDITOR.ui.button | CKEDITOR.ui.richCombo} button + * @returns {CKEDITOR.dom.element} + */ + FullToolbarEditor.createToolbarButton = function( button ) { + var $button = new CKEDITOR.dom.element( 'a' ), + icon = FullToolbarEditor.createIcon( button.name, button.icon, button.command ); + + $button.setStyle( 'float', 'none' ); + + $button.addClass( 'cke_' + ( CKEDITOR.lang.dir == 'rtl' ? 'rtl' : 'ltr' ) ); + + if ( button instanceof CKEDITOR.ui.button ) { + $button.addClass( 'cke_button' ); + $button.addClass( 'cke_toolgroup' ); + + $button.append( icon ); + } else if ( CKEDITOR.ui.richCombo && button instanceof CKEDITOR.ui.richCombo ) { + var comboLabel = new CKEDITOR.dom.element( 'span' ), + comboOpen = new CKEDITOR.dom.element( 'span' ), + comboArrow = new CKEDITOR.dom.element( 'span' ); + + $button.addClass( 'cke_combo_button' ); + + comboLabel.addClass( 'cke_combo_text' ); + comboLabel.addClass( 'cke_combo_inlinelabel' ); + comboLabel.setText( button.label ); + + comboOpen.addClass( 'cke_combo_open' ); + comboArrow.addClass( 'cke_combo_arrow' ); + comboOpen.append( comboArrow ); + + $button.append( comboLabel ); + $button.append( comboOpen ); + } + + return $button; + }; + + /** + * Create and return icon element. + * + * @param {String} name + * @param {String} icon + * @param {String} command + * @static + * @returns {CKEDITOR.dom.element} + */ + FullToolbarEditor.createIcon = function( name, icon, command ) { + var iconStyle = CKEDITOR.skin.getIconStyle( name, ( CKEDITOR.lang.dir == 'rtl' ) ); + + // We don't know exactly how to get icon style. Especially for extra plugins, + // Which definition may vary. + iconStyle = iconStyle || CKEDITOR.skin.getIconStyle( icon, ( CKEDITOR.lang.dir == 'rtl' ) ); + iconStyle = iconStyle || CKEDITOR.skin.getIconStyle( command, ( CKEDITOR.lang.dir == 'rtl' ) ); + + var iconElement = new CKEDITOR.dom.element( 'span' ); + + iconElement.addClass( 'cke_button_icon' ); + iconElement.addClass( 'cke_button__' + name + '_icon' ); + iconElement.setAttribute( 'style', iconStyle ); + iconElement.setStyle( 'float', 'none' ); + + return iconElement; + }; + + /** + * Create and return button element + * + * @param {String} text + * @param {String} cssClasses + * @returns {CKEDITOR.dom.element} + */ + FullToolbarEditor.createButton = function( text, cssClasses ) { + var $button = new CKEDITOR.dom.element( 'button' ); + + $button.addClass( 'button-a' ); + + $button.setAttribute( 'type', 'button' ); + + if ( typeof cssClasses == 'string' ) { + cssClasses = cssClasses.split( ' ' ); + + var i = cssClasses.length; + while ( i-- ) { + $button.addClass( cssClasses[ i ] ); + } + } + + $button.setHtml( text ); + + return $button; + }; + + /** + * @static + * @param {Object} group + * @returns {Array} representing HTML buttons for view + */ + FullToolbarEditor.groupToButtons = function( group ) { + var buttons = [], + items = group.items; + + var max = items ? items.length : 0; + for ( var i = 0; i < max; i += 1 ) { + var item = items[ i ]; + + if ( item instanceof CKEDITOR.ui.button || CKEDITOR.ui.richCombo && item instanceof CKEDITOR.ui.richCombo ) { + item.$ = FullToolbarEditor.createToolbarButton( item ); + buttons.push( item ); + } + } + + return buttons; + }; + +} )(); diff --git a/sources/samples/toolbarconfigurator/js/toolbarmodifier.js b/sources/samples/toolbarconfigurator/js/toolbarmodifier.js new file mode 100644 index 0000000..bd33d24 --- /dev/null +++ b/sources/samples/toolbarconfigurator/js/toolbarmodifier.js @@ -0,0 +1,1366 @@ +/* global ToolbarConfigurator, alert */ + +'use strict'; + +( function() { + var AbstractToolbarModifier = ToolbarConfigurator.AbstractToolbarModifier; + + /** + * @class ToolbarConfigurator.ToolbarModifier + * @param {String} editorId An id of modified editor + * @param {Object} cfg + * @extends AbstractToolbarModifier + * @constructor + */ + function ToolbarModifier( editorId, cfg ) { + AbstractToolbarModifier.call( this, editorId, cfg ); + + this.removedButtons = null; + this.originalConfig = null; + this.actualConfig = null; + this.emptyVisible = false; + + // edit, paste, config + this.state = 'edit'; + + this.toolbarButtons = [ + { + text: { + active: 'Hide empty toolbar groups', + inactive: 'Show empty toolbar groups' + }, + group: 'edit', + position: 'left', + cssClass: 'button-a-soft', + clickCallback: function( button, buttonDefinition ) { + var className = 'button-a-background'; + + button[ button.hasClass( className ) ? 'removeClass' : 'addClass' ]( className ); + + this._toggleVisibilityEmptyElements(); + + if ( this.emptyVisible ) { + button.setText( buttonDefinition.text.active ); + } else { + button.setText( buttonDefinition.text.inactive ); + } + } + }, + { + text: 'Add row separator', + group: 'edit', + position: 'left', + cssClass: 'button-a-soft', + clickCallback: function() { + this._addSeparator(); + } + }, + /*{ + text: 'Paste config', + group: 'edit', + position: 'left', + clickCallback: function() { + this.state = 'paste'; + + this.modifyContainer.addClass( 'hidden' ); + this.configContainer.removeClass( 'hidden' ); + this.configContainer.setHtml( '' ); + this.showToolbarBtnsByGroupName( 'config' ); + } + },*/ + { + text: 'Select config', + group: 'config', + position: 'left', + cssClass: 'button-a-soft', + clickCallback: function() { + this.configContainer.findOne( 'textarea' ).$.select(); + } + }, + { + text: 'Back to configurator', + group: 'config', + position: 'right', + cssClass: 'button-a-background', + clickCallback: function() { + if ( this.state === 'paste' ) { + var cfg = this.configContainer.findOne( 'textarea' ).getValue(); + cfg = ToolbarModifier.evaluateToolbarGroupsConfig( cfg ); + + if ( cfg ) { + this.setConfig( cfg ); + } else { + alert( 'Your pasted config is wrong.' ); + } + } + + this.state = 'edit'; + this._showConfigurationTool(); + this.showToolbarBtnsByGroupName( this.state ); + } + }, + { + text: 'Get toolbar config', + group: 'edit', + position: 'right', + cssClass: 'button-a-background icon-pos-left icon-download', + clickCallback: function() { + this.state = 'config'; + this._showConfig(); + this.showToolbarBtnsByGroupName( this.state ); + } + } + ]; + + this.cachedActiveElement = null; + } + + // Expose the class. + ToolbarConfigurator.ToolbarModifier = ToolbarModifier; + + ToolbarModifier.prototype = Object.create( ToolbarConfigurator.AbstractToolbarModifier.prototype ); + + /** + * @returns {Object} + */ + ToolbarModifier.prototype.getActualConfig = function() { + var copy = AbstractToolbarModifier.prototype.getActualConfig.call( this ); + + if ( copy.toolbarGroups ) { + + var max = copy.toolbarGroups.length; + for ( var i = 0; i < max; i += 1 ) { + var currentGroup = copy.toolbarGroups[ i ]; + + copy.toolbarGroups[ i ] = ToolbarModifier.parseGroupToConfigValue( currentGroup ); + } + + } + + return copy; + }; + + /** + * @param {Function} callback + * @param {String} [config] + * @param {Boolean} [forceKeepRemoveButtons=false] + * @private + */ + ToolbarModifier.prototype._onInit = function( callback, config, forceKeepRemoveButtons ) { + forceKeepRemoveButtons = ( forceKeepRemoveButtons === true ); + AbstractToolbarModifier.prototype._onInit.call( this, undefined, config ); + + this.removedButtons = []; + + if ( forceKeepRemoveButtons ) { + if ( this.actualConfig.removeButtons ) { + this.removedButtons = this.actualConfig.removeButtons.split( ',' ); + } else { + this.removedButtons = []; + } + } else { + if ( !( 'removeButtons' in this.originalConfig ) ) { + this.originalConfig.removeButtons = ''; + this.removedButtons = []; + } else { + this.removedButtons = this.originalConfig.removeButtons ? this.originalConfig.removeButtons.split( ',' ) : []; + } + } + + if ( !this.actualConfig.toolbarGroups ) + this.actualConfig.toolbarGroups = this.fullToolbarEditor.getFullToolbarGroupsConfig(); + + this._fixGroups( this.actualConfig ); + this._calculateTotalBtns(); + + this._createModifier(); + this._refreshMoveBtnsAvalibility(); + this._refreshBtnTabIndexes(); + + if ( typeof callback === 'function' ) + callback( this.mainContainer ); + }; + + /** + * @private + */ + ToolbarModifier.prototype._showConfigurationTool = function() { + this.configContainer.addClass( 'hidden' ); + this.modifyContainer.removeClass( 'hidden' ); + }; + + /** + * Show configuration file in tool + * + * @private + */ + ToolbarModifier.prototype._showConfig = function() { + var that = this, + actualConfig = this.getActualConfig(), + cfg = {}; + if ( actualConfig.toolbarGroups ) { + cfg.toolbarGroups = actualConfig.toolbarGroups; + + var groups = prepareGroups( actualConfig.toolbarGroups, this.cfg.trimEmptyGroups ); + + cfg.toolbarGroups = '\n\t\t' + groups.join( ',\n\t\t' ); + } + + function prepareGroups( toolbarGroups, trimEmptyGroups ) { + var groups = [], + max = toolbarGroups.length; + + for ( var i = 0; i < max; i++ ) { + var group = toolbarGroups[ i ]; + + if ( group === '/' ) { + groups.push( '\'/\'' ); + continue; + } + + if ( trimEmptyGroups ) { + var max2 = group.groups.length; + while ( max2-- ) { + var subgroup = group.groups[ max2 ]; + + if ( ToolbarModifier.getTotalSubGroupButtonsNumber( subgroup, that.fullToolbarEditor ) === 0 ) { + group.groups.splice( max2, 1 ); + } + } + } + + if ( !( trimEmptyGroups && group.groups.length === 0 ) ) { + groups.push( AbstractToolbarModifier.stringifyJSONintoOneLine( group, { + addSpaces: true, + noQuotesOnKey: true, + singleQuotes: true + } ) ); + } + } + + return groups; + } + + if ( actualConfig.removeButtons ) { + cfg.removeButtons = actualConfig.removeButtons; + } + + var content = [ + '' + ].join( '' ); + + + + this.modifyContainer.addClass( 'hidden' ); + this.configContainer.removeClass( 'hidden' ); + + this.configContainer.setHtml( content ); + }; + + /** + * Toggle empty groups and subgroups visibility. + * + * @private + */ + ToolbarModifier.prototype._toggleVisibilityEmptyElements = function() { + if ( this.modifyContainer.hasClass( 'empty-visible' ) ) { + this.modifyContainer.removeClass( 'empty-visible' ); + this.emptyVisible = false; + } else { + this.modifyContainer.addClass( 'empty-visible' ); + this.emptyVisible = true; + } + + this._refreshMoveBtnsAvalibility(); + }; + + /** + * Creates HTML main container of modifier. + * + * @returns {CKEDITOR.dom.element} + * @private + */ + ToolbarModifier.prototype._createModifier = function() { + var that = this; + + AbstractToolbarModifier.prototype._createModifier.call( this ); + + this.modifyContainer.setHtml( this._toolbarConfigToListString() ); + + var groupLi = this.modifyContainer.find( 'li[data-type="group"]' ); + + this.modifyContainer.on( 'mouseleave', function() { + this._dehighlightActiveToolGroup(); + }, this ); + + var max = groupLi.count(); + for ( var i = 0; i < max; i += 1 ) { + groupLi.getItem( i ).on( 'mouseenter', onGroupHover ); + } + + function onGroupHover() { + that._highlightGroup( this.data( 'name' ) ); + } + + CKEDITOR.document.on( 'keypress', function( e ) { + var nativeEvent = e.data.$, + keyCode = nativeEvent.keyCode, + spaceOrEnter = ( keyCode === 32 || keyCode === 13 ), + active = new CKEDITOR.dom.element( CKEDITOR.document.$.activeElement ); + + var mainContainer = active.getAscendant( function( node ) { + return node.$ === that.mainContainer.$; + } ); + + if ( !mainContainer || !spaceOrEnter ) { + return; + } + + if ( active.data( 'type' ) === 'button' ) { + active.findOne( 'input' ).$.click(); + } + } ); + + this.modifyContainer.on( 'click', function( e ) { + var origEvent = e.data.$, + target = new CKEDITOR.dom.element( ( origEvent.target || origEvent.srcElement ) ), + relativeGroupOrSeparatorLi = ToolbarModifier.getGroupOrSeparatorLiAncestor( target ); + + if ( !relativeGroupOrSeparatorLi ) { + return; + } + + that.cachedActiveElement = document.activeElement; + + // checkbox clicked + if ( target.$ instanceof HTMLInputElement ) + that._handleCheckboxClicked( target ); + + // link clicked + else if ( target.$ instanceof HTMLButtonElement ) { + if ( origEvent.preventDefault ) + origEvent.preventDefault(); + else + origEvent.returnValue = false; + + var result = that._handleAnchorClicked( target.$ ); + + if ( result && result.action == 'remove' ) + return; + + } + + var elementType = relativeGroupOrSeparatorLi.data( 'type' ), + elementName = relativeGroupOrSeparatorLi.data( 'name' ); + + that._setActiveElement( elementType, elementName ); + + if ( that.cachedActiveElement ) + that.cachedActiveElement.focus(); + } ); + + if ( !this.toolbarContainer ) { + this._createToolbar(); + this.toolbarContainer.insertBefore( this.mainContainer.getChildren().getItem( 0 ) ); + } + + this.showToolbarBtnsByGroupName( 'edit' ); + + if ( !this.configContainer ) { + this.configContainer = new CKEDITOR.dom.element( 'div' ); + this.configContainer.addClass( 'configContainer' ); + this.configContainer.addClass( 'hidden' ); + + this.mainContainer.append( this.configContainer ); + } + + return this.mainContainer; + }; + + /** + * Show toolbar buttons related to group name provided in argument + * and hide other buttons + * Please note: this method works on toolbar in tool, which is located + * on top of the tool + * + * @param {String} groupName + */ + ToolbarModifier.prototype.showToolbarBtnsByGroupName = function( groupName ) { + if ( !this.toolbarContainer ) { + return; + } + + var allButtons = this.toolbarContainer.find( 'button' ); + + var max = allButtons.count(); + for ( var i = 0; i < max; i += 1 ) { + var currentBtn = allButtons.getItem( i ); + + if ( currentBtn.data( 'group' ) == groupName ) + currentBtn.removeClass( 'hidden' ); + else + currentBtn.addClass( 'hidden' ); + + } + }; + + /** + * Parse group "model" to configuration value + * + * @param {Object} group + * @returns {Object} + * @private + */ + ToolbarModifier.parseGroupToConfigValue = function( group ) { + if ( group.type == 'separator' ) { + return '/'; + } + + var groups = group.groups, + max = groups.length; + + delete group.totalBtns; + for ( var i = 0; i < max; i += 1 ) { + groups[ i ] = groups[ i ].name; + } + + return group; + }; + + /** + * Find closest Li ancestor in DOM tree which is group or separator element + * + * @param {CKEDITOR.dom.element} element + * @returns {CKEDITOR.dom.element} + */ + ToolbarModifier.getGroupOrSeparatorLiAncestor = function( element ) { + if ( element.$ instanceof HTMLLIElement && element.data( 'type' ) == 'group' ) + return element; + else { + return ToolbarModifier.getFirstAncestor( element, function( ancestor ) { + var type = ancestor.data( 'type' ); + + return ( type == 'group' || type == 'separator' ); + } ); + } + }; + + /** + * Set active element in tool by provided type and name. + * + * @param {String} type + * @param {String} name + */ + ToolbarModifier.prototype._setActiveElement = function( type, name ) { + // clear current active element + if ( this.currentActive ) + this.currentActive.elem.removeClass( 'active' ); + + if ( type === null ) { + this._dehighlightActiveToolGroup(); + this.currentActive = null; + return; + } + + var liElem = this.mainContainer.findOne( 'ul[data-type=table-body] li[data-type="' + type + '"][data-name="' + name + '"]' ); + + liElem.addClass( 'active' ); + + // setup model + this.currentActive = { + type: type, + name: name, + elem: liElem + }; + + // highlight group in toolbar + if ( type == 'group' ) + this._highlightGroup( name ); + + if ( type == 'separator' ) + this._dehighlightActiveToolGroup(); + }; + + /** + * @returns {CKEDITOR.dom.element|null} + */ + ToolbarModifier.prototype.getActiveToolGroup = function() { + if ( this.editorInstance.container ) + return this.editorInstance.container.findOne( '.cke_toolgroup.active, .cke_toolbar.active' ); + else + return null; + }; + + /** + * @private + */ + ToolbarModifier.prototype._dehighlightActiveToolGroup = function() { + var currentActive = this.getActiveToolGroup(); + + if ( currentActive ) + currentActive.removeClass( 'active' ); + + // @see ToolbarModifier.prototype._highlightGroup. + if ( this.editorInstance.container ) { + this.editorInstance.container.removeClass( 'some-toolbar-active' ); + } + }; + + /** + * Highlight group by its name, and dehighlight current group. + * + * @param {String} name + */ + ToolbarModifier.prototype._highlightGroup = function( name ) { + if ( !this.editorInstance.container ) + return; + + var foundBtnName = this.getFirstEnabledButtonInGroup( name ), + foundBtn = this.editorInstance.container.findOne( '.cke_button__' + foundBtnName + ', .cke_combo__' + foundBtnName ); + + this._dehighlightActiveToolGroup(); + + // Helpful to dim other toolbar groups if one is highlighted. + if ( this.editorInstance.container ) { + this.editorInstance.container.addClass( 'some-toolbar-active' ); + } + + if ( foundBtn ) { + var btnToolbar = ToolbarModifier.getFirstAncestor( foundBtn, function( ancestor ) { + return ancestor.hasClass( 'cke_toolbar' ); + } ); + + if ( btnToolbar ) + btnToolbar.addClass( 'active' ); + } + }; + + /** + * @param {String} groupName + * @return {String|null} + */ + ToolbarModifier.prototype.getFirstEnabledButtonInGroup = function( groupName ) { + var groups = this.actualConfig.toolbarGroups, + groupIndex = this.getGroupIndex( groupName ), + group = groups[ groupIndex ]; + + if ( groupIndex === -1 ) { + return null; + } + + var max = group.groups ? group.groups.length : 0; + for ( var i = 0; i < max; i += 1 ) { + var currSubgroupName = group.groups[ i ].name, + firstEnabled = this.getFirstEnabledButtonInSubgroup( currSubgroupName ); + + if ( firstEnabled ) + return firstEnabled; + } + return null; + }; + + /** + * @param {String} subgroupName + * @returns {String|null} + */ + ToolbarModifier.prototype.getFirstEnabledButtonInSubgroup = function( subgroupName ) { + var subgroupBtns = this.fullToolbarEditor.buttonsByGroup[ subgroupName ]; + + var max = subgroupBtns ? subgroupBtns.length : 0; + for ( var i = 0; i < max; i += 1 ) { + var currBtnName = subgroupBtns[ i ].name; + if ( !this.isButtonRemoved( currBtnName ) ) + return currBtnName; + } + + return null; + }; + + /** + * Sets up parameters and call adequate action. + * + * @param {CKEDITOR.dom.element} checkbox + * @private + */ + ToolbarModifier.prototype._handleCheckboxClicked = function( checkbox ) { + var closestLi = checkbox.getAscendant( 'li' ), + elementName = closestLi.data( 'name' ), + aboutToAddToRemoved = !checkbox.$.checked; + + if ( aboutToAddToRemoved ) + this._addButtonToRemoved( elementName ); + else + this._removeButtonFromRemoved( elementName ); + }; + + /** + * Sets up parameters and call adequate action. + * + * @param {HTMLAnchorElement} anchor + * @private + */ + ToolbarModifier.prototype._handleAnchorClicked = function( anchor ) { + var anchorDOM = new CKEDITOR.dom.element( anchor ), + relativeLi = anchorDOM.getAscendant( 'li' ), + relativeUl = relativeLi.getAscendant( 'ul' ), + elementType = relativeLi.data( 'type' ), + elementName = relativeLi.data( 'name' ), + direction = anchorDOM.data( 'direction' ), + nearestLi = ( direction === 'up' ? relativeLi.getPrevious() : relativeLi.getNext() ), + groupName, + subgroupName, + newIndex; + + // nothing to do + if ( anchorDOM.hasClass( 'disabled' ) ) + return null; + + // remove separator and nothing else + if ( anchorDOM.hasClass( 'remove' ) ) { + relativeLi.remove(); + this._removeSeparator( relativeLi.data( 'name' ) ); + this._setActiveElement( null ); + return { action: 'remove' }; + } + + if ( !anchorDOM.hasClass( 'move' ) || !nearestLi ) + return { action: null }; + + // move group or separator + if ( elementType === 'group' || elementType === 'separator' ) { + groupName = elementName; + newIndex = this._moveGroup( direction, groupName ); + } + + // move subgroup + if ( elementType === 'subgroup' ) { + subgroupName = elementName; + groupName = relativeLi.getAscendant( 'li' ).data( 'name' ); + newIndex = this._moveSubgroup( direction, groupName, subgroupName ); + } + + // Visual effect + if ( direction === 'up' ) + relativeLi.insertBefore( relativeUl.getChild( newIndex ) ); + + if ( direction === 'down' ) + relativeLi.insertAfter( relativeUl.getChild( newIndex ) ); + + // Should know whether there is next li element after modifications. + var nextLi = relativeLi; + + // We are looking for next li element in list (to check whether current one is the last one) + var found; + while ( nextLi = ( direction === 'up' ? nextLi.getPrevious() : nextLi.getNext() ) ) { + if ( !this.emptyVisible && nextLi.hasClass( 'empty' ) ) { + continue; + } + + found = nextLi; + break; + } + + // If not found, it means that we reached end. + if ( !found ) { + var selector = ( '[data-direction="' + ( direction === 'up' ? 'down' : 'up' ) + '"]' ); + + // Shifting direction. + this.cachedActiveElement = anchorDOM.getParent().findOne( selector ); + } + + this._refreshMoveBtnsAvalibility(); + this._refreshBtnTabIndexes(); + + return { + action: 'move' + }; + }; + + /** + * First element can not be moved up, and last element can not be moved down, + * so they are disabled. + */ + ToolbarModifier.prototype._refreshMoveBtnsAvalibility = function() { + var that = this, + disabledBtns = this.mainContainer.find( 'ul[data-type=table-body] li > p > span > button.move.disabled' ); + + // enabling all disabled buttons + var max = disabledBtns.count(); + for ( var i = 0; i < max; i += 1 ) { + var currentBtn = disabledBtns.getItem( i ); + currentBtn.removeClass( 'disabled' ); + } + + + function disableElementsInLists( ulList ) { + var max = ulList.count(); + for ( i = 0; i < max; i += 1 ) { + that._disableElementsInList( ulList.getItem( i ) ); + } + } + + // Disable buttons in toolbars. + disableElementsInLists( this.mainContainer.find( 'ul[data-type=table-body]' ) ); + + // Disable buttons in toolbar groups. + disableElementsInLists( this.mainContainer.find( 'ul[data-type=table-body] > li > ul' ) ); + }; + + /** + * @private + */ + ToolbarModifier.prototype._refreshBtnTabIndexes = function() { + var tabindexed = this.mainContainer.find( '[data-tab="true"]' ); + + var max = tabindexed.count(); + for ( var i = 0; i < max; i++ ) { + var item = tabindexed.getItem( i ), + disabled = item.hasClass( 'disabled' ); + + item.setAttribute( 'tabindex', disabled ? -1 : i ); + } + }; + + /** + * Disable buttons to move elements up and down which should be disabled. + * + * @param {CKEDITOR.dom.element} ul + * @private + */ + ToolbarModifier.prototype._disableElementsInList = function( ul ) { + var liList = ul.getChildren(); + + if ( !liList.count() ) + return; + + var firstDisabled, lastDisabled; + if ( this.emptyVisible ) { + firstDisabled = ul.getFirst(); + lastDisabled = ul.getLast(); + } else { + firstDisabled = ul.getFirst( isNotEmptyChecker ); + lastDisabled = ul.getLast( isNotEmptyChecker ); + } + + function isNotEmptyChecker( element ) { + return !element.hasClass( 'empty' ); + } + + if ( firstDisabled ) + var firstDisabledBtn = firstDisabled.findOne( 'p button[data-direction="up"]' ); + + if ( lastDisabled ) + var lastDisabledBtn = lastDisabled.findOne( 'p button[data-direction="down"]' ); + + if ( firstDisabledBtn ) { + firstDisabledBtn.addClass( 'disabled' ); + firstDisabledBtn.setAttribute( 'tabindex', '-1' ); + } + + if ( lastDisabledBtn ) { + lastDisabledBtn.addClass( 'disabled' ); + lastDisabledBtn.setAttribute( 'tabindex', '-1' ); + } + }; + + /** + * Gets group index in actual config toolbarGroups + * + * @param {String} name + * @returns {Number} + */ + ToolbarModifier.prototype.getGroupIndex = function( name ) { + var groups = this.actualConfig.toolbarGroups; + + var max = groups.length; + for ( var i = 0; i < max; i += 1 ) { + if ( groups[ i ].name === name ) + return i; + } + + return -1; + }; + + /** + * Handle adding separator. + * + * @private + */ + ToolbarModifier.prototype._addSeparator = function() { + var separatorIndex = this._determineSeparatorToAddIndex(), + separator = ToolbarModifier.createSeparatorLiteral(), + domSeparator = CKEDITOR.dom.element.createFromHtml( ToolbarModifier.getToolbarSeparatorString( separator ) ); + + this.actualConfig.toolbarGroups.splice( separatorIndex, 0, separator ); + + domSeparator.insertBefore( this.modifyContainer.findOne( 'ul[data-type=table-body]' ).getChild( separatorIndex ) ); + + this._setActiveElement( 'separator', separator.name ); + this._refreshMoveBtnsAvalibility(); + this._refreshBtnTabIndexes(); + this._refreshEditor(); + }; + + /** + * Handle removing separator. + * + * @param {String} name + */ + ToolbarModifier.prototype._removeSeparator = function( name ) { + var separatorIndex = CKEDITOR.tools.indexOf( this.actualConfig.toolbarGroups, function( group ) { + return group.type == 'separator' && group.name == name; + } ); + + this.actualConfig.toolbarGroups.splice( separatorIndex, 1 ); + + this._refreshMoveBtnsAvalibility(); + this._refreshBtnTabIndexes(); + this._refreshEditor(); + }; + + /** + * Determine index where separator should be added, based on currently selected element. + * + * @returns {Number} + * @private + */ + ToolbarModifier.prototype._determineSeparatorToAddIndex = function() { + if ( !this.currentActive ) + return 0; + + var groupLi; + if ( this.currentActive.elem.data( 'type' ) == 'group' || this.currentActive.elem.data( 'type' ) == 'separator' ) + groupLi = this.currentActive.elem; + else + groupLi = this.currentActive.elem.getAscendant( 'li' ); + + return groupLi.getIndex(); + }; + + /** + * @param {Array} elementsArray + * @param {Number} elementIndex + * @param {String} direction + * @returns {Number} + * @private + */ + ToolbarModifier.prototype._moveElement = function( elementsArray, elementIndex, direction ) { + var nextIndex; + + if ( this.emptyVisible ) + nextIndex = ( direction == 'down' ? elementIndex + 1 : elementIndex - 1 ); + else { + // When empty elements are not visible, there is need to skip them. + nextIndex = ToolbarModifier.getFirstElementIndexWith( elementsArray, elementIndex, direction, isEmptyOrSeparatorChecker ); + } + + function isEmptyOrSeparatorChecker( element ) { + return element.totalBtns || element.type == 'separator'; + } + + var offset = nextIndex - elementIndex; + + return ToolbarModifier.moveTo( offset, elementsArray, elementIndex ); + }; + + /** + * Moves group located in config level up or down and refresh editor. + * + * @param {String} direction + * @param {String} groupName + * @returns {Number} + */ + ToolbarModifier.prototype._moveGroup = function( direction, groupName ) { + var groupIndex = this.getGroupIndex( groupName ), + groups = this.actualConfig.toolbarGroups, + newIndex = this._moveElement( groups, groupIndex, direction ); + + this._refreshMoveBtnsAvalibility(); + this._refreshBtnTabIndexes(); + this._refreshEditor(); + + return newIndex; + }; + + /** + * Moves subgroup located in config level up or down and refresh editor. + * + * @param {String} direction + * @param {String} groupName + * @param {String} subgroupName + * @private + */ + ToolbarModifier.prototype._moveSubgroup = function( direction, groupName, subgroupName ) { + var groupIndex = this.getGroupIndex( groupName ), + groups = this.actualConfig.toolbarGroups, + group = groups[ groupIndex ], + subgroupIndex = CKEDITOR.tools.indexOf( group.groups, function( subgroup ) { + return subgroup.name == subgroupName; + } ), + newIndex = this._moveElement( group.groups, subgroupIndex, direction ); + + this._refreshEditor(); + + return newIndex; + }; + + /** + * Set `totalBtns` property in `actualConfig.toolbarGroups` elements. + * + * @private + */ + ToolbarModifier.prototype._calculateTotalBtns = function() { + var groups = this.actualConfig.toolbarGroups; + + var i = groups.length; + // from the end + while ( i-- ) { + var currentGroup = groups[ i ], + totalBtns = ToolbarModifier.getTotalGroupButtonsNumber( currentGroup, this.fullToolbarEditor ); + + if ( currentGroup.type == 'separator' ) { + // nothing to do with separator + continue; + } + + currentGroup.totalBtns = totalBtns; + } + }; + + /** + * Add button to removeButtons field in config and refresh editor. + * + * @param {String} buttonName + * @private + */ + ToolbarModifier.prototype._addButtonToRemoved = function( buttonName ) { + if ( CKEDITOR.tools.indexOf( this.removedButtons, buttonName ) != -1 ) + throw 'Button already added to removed'; + + this.removedButtons.push( buttonName ); + this.actualConfig.removeButtons = this.removedButtons.join( ',' ); + this._refreshEditor(); + }; + + /** + * Remove button from removeButtons field in config and refresh editor. + * + * @param {String} buttonName + * @private + */ + ToolbarModifier.prototype._removeButtonFromRemoved = function( buttonName ) { + var foundAtIndex = CKEDITOR.tools.indexOf( this.removedButtons, buttonName ); + + if ( foundAtIndex === -1 ) + throw 'Trying to remove button from removed, but not found'; + + this.removedButtons.splice( foundAtIndex, 1 ); + this.actualConfig.removeButtons = this.removedButtons.join( ',' ); + this._refreshEditor(); + }; + + /** + * Parse group "model" to configuration value + * + * @param {Object} group + * @returns {Object} + * @static + */ + ToolbarModifier.parseGroupToConfigValue = function( group ) { + if ( group.type == 'separator' ) { + return '/'; + } + + var groups = group.groups, + max = groups.length; + + delete group.totalBtns; + for ( var i = 0; i < max; i += 1 ) { + groups[ i ] = groups[ i ].name; + } + + return group; + }; + + /** + * Find closest Li ancestor in DOM tree which is group or separator element + * + * @param {CKEDITOR.dom.element} element + * @returns {CKEDITOR.dom.element} + * @static + */ + ToolbarModifier.getGroupOrSeparatorLiAncestor = function( element ) { + if ( element.$ instanceof HTMLLIElement && element.data( 'type' ) == 'group' ) + return element; + else { + return ToolbarModifier.getFirstAncestor( element, function( ancestor ) { + var type = ancestor.data( 'type' ); + + return ( type == 'group' || type == 'separator' ); + } ); + } + }; + + /** + * Create separator literal with unique id. + * + * @public + * @static + * @return {Object} + */ + ToolbarModifier.createSeparatorLiteral = function() { + return { + type: 'separator', + name: ( 'separator' + CKEDITOR.tools.getNextNumber() ) + }; + }; + + /** + * Creates HTML unordered list string based on toolbarGroups field in config. + * + * @returns {String} + * @static + */ + ToolbarModifier.prototype._toolbarConfigToListString = function() { + var groups = this.actualConfig.toolbarGroups || [], + listString = '
        '; + + var max = groups.length; + for ( var i = 0; i < max; i += 1 ) { + var currentGroup = groups[ i ]; + + if ( currentGroup.type === 'separator' ) + listString += ToolbarModifier.getToolbarSeparatorString( currentGroup ); + else + listString += this._getToolbarGroupString( currentGroup ); + } + + listString += '
      '; + + var headerString = ToolbarModifier.getToolbarHeaderString(); + + return headerString + listString; + }; + + /** + * Created HTML group list element based on group field in config. + * + * @param {Object} group + * @returns {String} + * @private + */ + ToolbarModifier.prototype._getToolbarGroupString = function( group ) { + var subgroups = group.groups, + groupString = ''; + + groupString += [ + '
    • ' + ].join( '' ); + groupString += ToolbarModifier.getToolbarElementPreString( group ) + '
        '; + + var max = subgroups.length; + + for ( var i = 0; i < max; i += 1 ) { + var currentSubgroup = subgroups[ i ], + subgroupBtns = this.fullToolbarEditor.buttonsByGroup[ currentSubgroup.name ]; + + groupString += this._getToolbarSubgroupString( currentSubgroup, subgroupBtns ); + } + groupString += '
    • '; + + return groupString; + }; + + /** + * @param {Object} separator + * @returns {String} + * @static + */ + ToolbarModifier.getToolbarSeparatorString = function( separator ) { + return [ + '
    • ', + ToolbarModifier.getToolbarElementPreString( 'row separator' ), + '
    • ' + ].join( '' ); + }; + + /** + * @returns {string} + */ + ToolbarModifier.getToolbarHeaderString = function() { + return '
        ' + + '
      • ' + + '

        Toolbars

        ' + + '
          ' + + '
        • ' + + '

          Toolbar groups

          ' + + '

          Toolbar group items

          ' + + '
        • ' + + '
        ' + + '
      • ' + + '
      '; + }; + + /** + * Find and return first ancestor of element provided in first argument + * which match the criteria checked in function provided in second argument. + * + * @param {CKEDITOR.dom.element} element + * @param {Function} checker + * @returns {CKEDITOR.dom.element|null} + */ + ToolbarModifier.getFirstAncestor = function( element, checker ) { + var ancestors = element.getParents(), + i = ancestors.length; + + while ( i-- ) { + if ( checker( ancestors[ i ] ) ) + return ancestors[ i ]; + } + + return null; + }; + + /** + * Looking through array elements start from index provided in second argument + * and go 'up' or 'down' in array + * last argument is condition checker which should return Boolean value + * + * User cases: + * + * ToolbarModifier.getFirstElementIndexWith( [3, 4, 8, 1, 4], 2, 'down', function( elem ) { return elem == 4; } ); // 4 + * ToolbarModifier.getFirstElementIndexWith( [3, 4, 8, 1, 4], 2, 'up', function( elem ) { return elem == 4; } ); // 1 + * + * @param {Array} array + * @param {Number} i + * @param {String} direction 'up' or 'down' + * @param {Function} conditionChecker + * @static + * @returns {Number} index of found element + */ + ToolbarModifier.getFirstElementIndexWith = function( array, i, direction, conditionChecker ) { + function whileChecker() { + var result; + if ( direction === 'up' ) + result = i--; + else + result = ( ++i < array.length ); + + return result; + } + + while ( whileChecker() ) { + if ( conditionChecker( array[ i ] ) ) + return i; + + } + + return -1; + }; + + /** + * Moves array element at index level up or down. + * + * @static + * @param {String} direction + * @param {Array} array + * @param {Number} index + * @returns {Number} + */ + ToolbarModifier.moveTo = function( offset, array, index ) { + var element, newIndex; + + if ( index !== -1 ) + element = array.splice( index, 1 )[ 0 ]; + + newIndex = index + offset; + + array.splice( newIndex, 0, element ); + + return newIndex; + }; + + /** + * @static + * @param {Object} subgroup + * @returns {Number} + */ + ToolbarModifier.getTotalSubGroupButtonsNumber = function( subgroup, fullToolbarEditor ) { + var subgroupName = ( typeof subgroup == 'string' ? subgroup : subgroup.name ), + subgroupBtns = fullToolbarEditor.buttonsByGroup[ subgroupName ]; + + return ( subgroupBtns ? subgroupBtns.length : 0 ); + }; + + /** + * Returns all buttons number in group which are nested in subgroups also. + * + * @param {Object} group + * @param {ToolbarModifier.FullToolbarEditor} + * @static + * @returns {Number} + */ + ToolbarModifier.getTotalGroupButtonsNumber = function( group, fullToolbarEditor ) { + var total = 0, + subgroups = group.groups; + + var max = subgroups ? subgroups.length : 0; + for ( var i = 0; i < max; i += 1 ) + total += ToolbarModifier.getTotalSubGroupButtonsNumber( subgroups[ i ], fullToolbarEditor ); + + return total; + }; + + /** + * Creates HTML subgroup list element based on subgroup field in config. + * + * @param {Object} subgroup + * @param {Array} groupBtns + * @returns {String} + * @private + */ + ToolbarModifier.prototype._getToolbarSubgroupString = function( subgroup, groupBtns ) { + var subgroupString = ''; + + subgroupString += [ + '
    • ' + ].join( '' ); + subgroupString += ToolbarModifier.getToolbarElementPreString( subgroup.name ); + subgroupString += '
        '; + + var max = groupBtns ? groupBtns.length : 0; + for ( var i = 0; i < max; i += 1 ) + subgroupString += this.getButtonString( groupBtns[ i ] ); + + subgroupString += '
      '; + + subgroupString += '
    • '; + + return subgroupString; + }; + + /** + * @param {String} buttonName + * @returns {String|null} + * @private + */ + ToolbarModifier.prototype._getConfigButtonName = function( buttonName ) { + var items = this.fullToolbarEditor.editorInstance.ui.items; + + var name; + for ( name in items ) { + if ( items[ name ].name == buttonName ) + return name; + } + + return null; + }; + + /** + * @param {String} buttonName + * @returns {Boolean} + */ + ToolbarModifier.prototype.isButtonRemoved = function( buttonName ) { + return CKEDITOR.tools.indexOf( this.removedButtons, this._getConfigButtonName( buttonName ) ) != -1; + }; + + /** + * @param {CKEDITOR.ui.button/CKEDITOR.ui.richCombo} button + * @returns {String} + * @public + */ + ToolbarModifier.prototype.getButtonString = function( button ) { + var checked = ( this.isButtonRemoved( button.name ) ? '' : 'checked="checked"' ); + + return [ + '
    • ', + '', + '
    • ' + ].join( '' ); + }; + + /** + * Creates group header string. + * + * @param {Object|String} group + * @returns {String} + * @static + */ + ToolbarModifier.getToolbarElementPreString = function( group ) { + var name = ( group.name ? group.name : group ); + + return [ + '

      ', + '', + '', + '', + ( name == 'row separator' ? '' : '' ), + name, + '', + '

      ' + ].join( '' ); + }; + + /** + * @static + * @param {String} cfg + * @returns {String} + */ + ToolbarModifier.evaluateToolbarGroupsConfig = function( cfg ) { + cfg = ( function( cfg ) { + var config = {}, result; + + /*jshint -W002 */ + try { + result = eval( '(' + cfg + ')' ); + } catch ( e ) { + try { + result = eval( cfg ); + } catch ( e ) { + return null; + } + } + /*jshint +W002 */ + + if ( config.toolbarGroups && typeof config.toolbarGroups.length === 'number' ) { + return JSON.stringify( config ); + } else if ( result && typeof result.length === 'number' ) { + return JSON.stringify( { toolbarGroups: result } ); + } else if ( result && result.toolbarGroups ) { + return JSON.stringify( result ); + } else { + return null; + } + + }( cfg ) ); + + return cfg; + }; + + return ToolbarModifier; +} )(); + diff --git a/sources/samples/toolbarconfigurator/js/toolbartextmodifier.js b/sources/samples/toolbarconfigurator/js/toolbartextmodifier.js new file mode 100644 index 0000000..4c14dd2 --- /dev/null +++ b/sources/samples/toolbarconfigurator/js/toolbartextmodifier.js @@ -0,0 +1,623 @@ +/* global CodeMirror, ToolbarConfigurator */ + +'use strict'; + +( function() { + var AbstractToolbarModifier = ToolbarConfigurator.AbstractToolbarModifier, + FullToolbarEditor = ToolbarConfigurator.FullToolbarEditor; + + /** + * @class ToolbarConfigurator.ToolbarTextModifier + * @param {String} editorId An id of modified editor + * @extends AbstractToolbarModifier + * @constructor + */ + function ToolbarTextModifier( editorId ) { + AbstractToolbarModifier.call( this, editorId ); + + this.codeContainer = null; + this.hintContainer = null; + } + + // Expose the class. + ToolbarConfigurator.ToolbarTextModifier = ToolbarTextModifier; + + ToolbarTextModifier.prototype = Object.create( AbstractToolbarModifier.prototype ); + + /** + * @param {Function} callback + * @param {String} [config] + * @private + */ + ToolbarTextModifier.prototype._onInit = function( callback, config ) { + AbstractToolbarModifier.prototype._onInit.call( this, undefined, config ); + + this._createModifier( config ? this.actualConfig : undefined ); + + if ( typeof callback === 'function' ) + callback( this.mainContainer ); + }; + + /** + * Creates HTML main container of modifier. + * + * @param {String} cfg + * @returns {CKEDITOR.dom.element} + * @private + */ + ToolbarTextModifier.prototype._createModifier = function( cfg ) { + var that = this; + + this._createToolbar(); + + if ( this.toolbarContainer ) { + this.mainContainer.append( this.toolbarContainer ); + } + + AbstractToolbarModifier.prototype._createModifier.call( this ); + + this._setupActualConfig( cfg ); + + var toolbarCfg = this.actualConfig.toolbar, + cfgValue; + + if ( CKEDITOR.tools.isArray( toolbarCfg ) ) { + var stringifiedToolbar = '[\n\t\t' + FullToolbarEditor.map( toolbarCfg, function( json ) { + return AbstractToolbarModifier.stringifyJSONintoOneLine( json, { + addSpaces: true, + noQuotesOnKey: true, + singleQuotes: true + } ); + } ).join( ',\n\t\t' ) + '\n\t]'; + + cfgValue = '\tconfig.toolbar = ' + stringifiedToolbar + ';'; + } else { + cfgValue = 'config.toolbar = [];'; + } + + cfgValue = [ + 'CKEDITOR.editorConfig = function( config ) {\n', + cfgValue, + '\n};' + ].join( '' ); + + function hint( cm ) { + var data = setupData( cm ); + + if ( data.charsBetween === null ) { + return; + } + + var unused = that.getUnusedButtonsArray( that.actualConfig.toolbar, true, data.charsBetween ), + to = cm.getCursor(), + from = CodeMirror.Pos( to.line, ( to.ch - ( data.charsBetween.length ) ) ), + token = cm.getTokenAt( to ), + prevToken = cm.getTokenAt( { line: to.line, ch: token.start } ); + + // determine that we are at beginning of group, + // so first key is "name" + if ( prevToken.string === '{' ) + unused = [ 'name' ]; + + // preventing close with special character and move cursor forward + // when no autocomplete + if ( unused.length === 0 ) + return; + + return new HintData( from, to, unused ); + } + + function HintData( from, to, list ) { + this.from = from; + this.to = to; + this.list = list; + this._handlers = []; + } + + function setupData( cm, character ) { + var result = {}; + + result.cur = cm.getCursor(); + result.tok = cm.getTokenAt( result.cur ); + + result[ 'char' ] = character || result.tok.string.charAt( result.tok.string.length - 1 ); + + // Getting string between begin of line and cursor. + var curLineTillCur = cm.getRange( CodeMirror.Pos( result.cur.line, 0 ), result.cur ); + + // Reverse string. + var currLineTillCurReversed = curLineTillCur.split( '' ).reverse().join( '' ); + + // Removing proper string definitions : + // FROM: + // R' ,'odeR' ,'odnU' [ :smeti{ + // ^^^^^^ ^^^^^^ + // TO: + // R' , [ :smeti{ + currLineTillCurReversed = currLineTillCurReversed.replace( /(['|"]\w*['|"])/g, '' ); + + // Matching letters till ' or " character and end string char. + // R' , [ :smeti{ + // ^ + result.charsBetween = currLineTillCurReversed.match( /(^\w*)(['|"])/ ); + + if ( result.charsBetween ) { + result.endChar = result.charsBetween[ 2 ]; + + // And reverse string (bring to original state). + result.charsBetween = result.charsBetween[ 1 ].split( '' ).reverse().join( '' ); + } + + return result; + } + + function complete( cm ) { + setTimeout( function() { + if ( !cm.state.completionActive ) { + CodeMirror.showHint( cm, hint, { + hintsClass: 'toolbar-modifier', + completeSingle: false + } ); + } + }, 100 ); + + return CodeMirror.Pass; + } + + var codeMirrorWrapper = new CKEDITOR.dom.element( 'div' ); + codeMirrorWrapper.addClass( 'codemirror-wrapper' ); + this.modifyContainer.append( codeMirrorWrapper ); + this.codeContainer = CodeMirror( codeMirrorWrapper.$, { + mode: { name: 'javascript', json: true }, + // For some reason (most likely CM's bug) gutter breaks CM's height. + // Refreshing CM does not help. + lineNumbers: false, + lineWrapping: true, + // Trick to make CM autogrow. http://codemirror.net/demo/resize.html + viewportMargin: Infinity, + value: cfgValue, + smartIndent: false, + indentWithTabs: true, + indentUnit: 4, + tabSize: 4, + theme: 'neo', + extraKeys: { + 'Left': complete, + 'Right': complete, + "'''": complete, + "'\"'": complete, + Backspace: complete, + Delete: complete, + 'Shift-Tab': 'indentLess' + } + } ); + + this.codeContainer.on( 'endCompletion', function( cm, completionData ) { + var data = setupData( cm ); + + // preventing close with special character and move cursor forward + // when no autocomplete + if ( completionData === undefined ) + return; + + cm.replaceSelection( data.endChar ); + } ); + + this.codeContainer.on( 'change', function() { + var value = that.codeContainer.getValue(); + + value = that._evaluateValue( value ); + + if ( value !== null ) { + that.actualConfig.toolbar = ( value.toolbar ? value.toolbar : that.actualConfig.toolbar ); + + that._fillHintByUnusedElements(); + that._refreshEditor(); + + that.mainContainer.removeClass( 'invalid' ); + } else { + that.mainContainer.addClass( 'invalid' ); + } + } ); + + this.hintContainer = new CKEDITOR.dom.element( 'div' ); + this.hintContainer.addClass( 'toolbarModifier-hints' ); + + this._fillHintByUnusedElements(); + this.hintContainer.insertBefore( codeMirrorWrapper ); + }; + + /** + * Create DOM string and set to hint container, + * show proper information when no unused element left. + * + * @private + */ + ToolbarTextModifier.prototype._fillHintByUnusedElements = function() { + var unused = this.getUnusedButtonsArray( this.actualConfig.toolbar, true ); + unused = this.groupButtonNamesByGroup( unused ); + + var unusedElements = FullToolbarEditor.map( unused, function( elem ) { + var buttonsList = FullToolbarEditor.map( elem.buttons, function( buttonName ) { + return '' + buttonName + ' '; + } ).join( '' ); + + return [ + '
      ', + '', elem.name, '', + '
      ', + '
      ', + buttonsList, + '
      ' + ].join( '' ); + } ).join( ' ' ); + + var listHeader = [ + '
      Toolbar group
      ', + '
      Unused items
      ' + ].join( '' ); + + var header = '

      Unused toolbar items

      '; + + if ( !unused.length ) { + listHeader = '

      All items are in use.

      '; + } + + this.codeContainer.refresh(); + + this.hintContainer.setHtml( header + '
      ' + listHeader + unusedElements + '
      ' ); + }; + + /** + * @param {String} buttonName + * @returns {String} + */ + ToolbarTextModifier.prototype.getToolbarGroupByButtonName = function( buttonName ) { + var buttonNames = this.fullToolbarEditor.buttonNamesByGroup; + + for ( var groupName in buttonNames ) { + var buttons = buttonNames[ groupName ]; + + var i = buttons.length; + while ( i-- ) { + if ( buttonName === buttons[ i ] ) { + return groupName; + } + } + + } + + return null; + }; + + /** + * Filter all available toolbar elements by array of elements provided in first argument. + * Returns elements which are not used. + * + * @param {Object} toolbar + * @param {Boolean} [sorted=false] + * @param {String} prefix + * @returns {Array} + */ + ToolbarTextModifier.prototype.getUnusedButtonsArray = function( toolbar, sorted, prefix ) { + sorted = ( sorted === true ? true : false ); + var providedElements = ToolbarTextModifier.mapToolbarCfgToElementsList( toolbar ), + allElements = Object.keys( this.fullToolbarEditor.editorInstance.ui.items ); + + // get rid of "-" elements + allElements = FullToolbarEditor.filter( allElements, function( elem ) { + var isSeparator = ( elem === '-' ), + matchPrefix = ( prefix === undefined || elem.toLowerCase().indexOf( prefix.toLowerCase() ) === 0 ); + + return !isSeparator && matchPrefix; + } ); + + var elementsNotUsed = FullToolbarEditor.filter( allElements, function( elem ) { + return CKEDITOR.tools.indexOf( providedElements, elem ) == -1; + } ); + + if ( sorted ) + elementsNotUsed.sort(); + + return elementsNotUsed; + }; + + /** + * + * @param {Array} buttons + * @returns {Array} + */ + ToolbarTextModifier.prototype.groupButtonNamesByGroup = function( buttons ) { + var result = [], + groupedBtns = JSON.parse( JSON.stringify( this.fullToolbarEditor.buttonNamesByGroup ) ); + + for ( var groupName in groupedBtns ) { + var currGroup = groupedBtns[ groupName ]; + currGroup = FullToolbarEditor.filter( currGroup, function( btnName ) { + return CKEDITOR.tools.indexOf( buttons, btnName ) !== -1; + } ); + + if ( currGroup.length ) { + result.push( { + name: groupName, + buttons: currGroup + } ); + } + + } + + return result; + }; + + /** + * Map toolbar config value to flat items list. + * + * input: + * [ + * { name: "basicstyles", items: ["Bold", "Italic"] }, + * { name: "advancedstyles", items: ["Bold", "Outdent", "Indent"] } + * ] + * + * output: + * ["Bold", "Italic", "Outdent", "Indent"] + * + * @param {Object} toolbar + * @returns {Array} + */ + ToolbarTextModifier.mapToolbarCfgToElementsList = function( toolbar ) { + var elements = []; + + var max = toolbar.length; + for ( var i = 0; i < max; i += 1 ) { + if ( !toolbar[ i ] || typeof toolbar[ i ] === 'string' ) + continue; + + elements = elements.concat( FullToolbarEditor.filter( toolbar[ i ].items, checker ) ); + } + + function checker( elem ) { + return elem !== '-'; + } + + return elements; + }; + + /** + * @param {String} cfg + * @private + */ + ToolbarTextModifier.prototype._setupActualConfig = function( cfg ) { + cfg = cfg || this.editorInstance.config; + + // if toolbar already exists in config, there is nothing to do + if ( CKEDITOR.tools.isArray( cfg.toolbar ) ) + return; + + // if toolbar group not present, we need to pick them from full toolbar instance + if ( !cfg.toolbarGroups ) + cfg.toolbarGroups = this.fullToolbarEditor.getFullToolbarGroupsConfig( true ); + + this._fixGroups( cfg ); + + cfg.toolbar = this._mapToolbarGroupsToToolbar( cfg.toolbarGroups, this.actualConfig.removeButtons ); + + this.actualConfig.toolbar = cfg.toolbar; + this.actualConfig.removeButtons = ''; + }; + + /** + * **Please note:** This method modify element provided in first argument. + * + * @param {Array} toolbarGroups + * @returns {Array} + * @private + */ + ToolbarTextModifier.prototype._mapToolbarGroupsToToolbar = function( toolbarGroups, removedBtns ) { + removedBtns = removedBtns || this.editorInstance.config.removedBtns; + removedBtns = typeof removedBtns == 'string' ? removedBtns.split( ',' ) : []; + + // from the end, because array indexes may change + var i = toolbarGroups.length; + while ( i-- ) { + var mappedSubgroup = this._mapToolbarSubgroup( toolbarGroups[ i ], removedBtns ); + + if ( toolbarGroups[ i ].type === 'separator' ) { + toolbarGroups[ i ] = '/'; + continue; + } + + // don't want empty groups + if ( CKEDITOR.tools.isArray( mappedSubgroup ) && mappedSubgroup.length === 0 ) { + toolbarGroups.splice( i, 1 ); + continue; + } + + if ( typeof mappedSubgroup == 'string' ) + toolbarGroups[ i ] = mappedSubgroup; + else { + toolbarGroups[ i ] = { + name: toolbarGroups[ i ].name, + items: mappedSubgroup + }; + } + } + + return toolbarGroups; + }; + + /** + * + * @param {String|Object} group + * @param {Array} removedBtns + * @returns {Array} + * @private + */ + ToolbarTextModifier.prototype._mapToolbarSubgroup = function( group, removedBtns ) { + var totalBtns = 0; + if ( typeof group == 'string' ) + return group; + + var max = group.groups ? group.groups.length : 0, + result = []; + for ( var i = 0; i < max; i += 1 ) { + var currSubgroup = group.groups[ i ]; + + var buttons = this.fullToolbarEditor.buttonsByGroup[ typeof currSubgroup === 'string' ? currSubgroup : currSubgroup.name ] || []; + buttons = this._mapButtonsToButtonsNames( buttons, removedBtns ); + var currTotalBtns = buttons.length; + totalBtns += currTotalBtns; + result = result.concat( buttons ); + + if ( currTotalBtns ) + result.push( '-' ); + } + + if ( result[ result.length - 1 ] == '-' ) + result.pop(); + + return result; + }; + + /** + * + * @param {Array} buttons + * @param {Array} removedBtns + * @returns {Array} + * @private + */ + ToolbarTextModifier.prototype._mapButtonsToButtonsNames = function( buttons, removedBtns ) { + var i = buttons.length; + while ( i-- ) { + var currBtn = buttons[ i ], + camelCasedName; + + if ( typeof currBtn === 'string' ) { + camelCasedName = currBtn; + } else { + camelCasedName = this.fullToolbarEditor.getCamelCasedButtonName( currBtn.name ); + } + + if ( CKEDITOR.tools.indexOf( removedBtns, camelCasedName ) !== -1 ) { + buttons.splice( i, 1 ); + continue; + } + + buttons[ i ] = camelCasedName; + } + + return buttons; + }; + + /** + * @param {String} val + * @returns {Object} + * @private + */ + ToolbarTextModifier.prototype._evaluateValue = function( val ) { + var parsed; + + try { + var config = {}; + ( function() { + var CKEDITOR = Function( 'var CKEDITOR = {}; ' + val + '; return CKEDITOR;' )(); + + CKEDITOR.editorConfig( config ); + parsed = config; + } )(); + + // CKEditor does not handle empty arrays in configuration files + // on IE8 + var i = parsed.toolbar.length; + while ( i-- ) + if ( !parsed.toolbar[ i ] ) parsed.toolbar.splice( i, 1 ); + + } catch ( e ) { + parsed = null; + } + + return parsed; + }; + + /** + * @param {Array} toolbar + * @returns {{toolbarGroups: Array, removeButtons: string}} + */ + ToolbarTextModifier.prototype.mapToolbarToToolbarGroups = function( toolbar ) { + var usedGroups = {}, + removeButtons = [], + toolbarGroups = []; + + var max = toolbar.length; + for ( var i = 0; i < max; i++ ) { + if ( toolbar[ i ] === '/' ) { + toolbarGroups.push( '/' ); + continue; + } + + var items = toolbar[ i ].items; + + var toolbarGroup = {}; + toolbarGroup.name = toolbar[ i ].name; + toolbarGroup.groups = []; + + var max2 = items.length; + for ( var j = 0; j < max2; j++ ) { + var item = items[ j ]; + + if ( item === '-' ) { + continue; + } + + var groupName = this.getToolbarGroupByButtonName( item ); + + var groupIndex = toolbarGroup.groups.indexOf( groupName ); + if ( groupIndex === -1 ) { + toolbarGroup.groups.push( groupName ); + } + + usedGroups[ groupName ] = usedGroups[ groupName ] || {}; + + var buttons = ( usedGroups[ groupName ].buttons = usedGroups[ groupName ].buttons || {} ); + + buttons[ item ] = buttons[ item ] || { used: 0, origin: toolbarGroup.name }; + buttons[ item ].used++; + } + + toolbarGroups.push( toolbarGroup ); + } + + // Handling removed buttons + removeButtons = prepareRemovedButtons( usedGroups, this.fullToolbarEditor.buttonNamesByGroup ); + + function prepareRemovedButtons( usedGroups, buttonNames ) { + var removed = []; + + for ( var groupName in usedGroups ) { + var group = usedGroups[ groupName ]; + var allButtonsInGroup = buttonNames[ groupName ].slice(); + + removed = removed.concat( removeStuffFromArray( allButtonsInGroup, Object.keys( group.buttons ) ) ); + } + + return removed; + } + + function removeStuffFromArray( array, stuff ) { + array = array.slice(); + var i = stuff.length; + + while ( i-- ) { + var atIndex = array.indexOf( stuff[ i ] ); + if ( atIndex !== -1 ) { + array.splice( atIndex, 1 ); + } + } + + return array; + } + + return { toolbarGroups: toolbarGroups, removeButtons: removeButtons.join( ',' ) }; + }; + + return ToolbarTextModifier; +} )(); diff --git a/sources/samples/toolbarconfigurator/less/base.less b/sources/samples/toolbarconfigurator/less/base.less new file mode 100644 index 0000000..0a212ff --- /dev/null +++ b/sources/samples/toolbarconfigurator/less/base.less @@ -0,0 +1,38 @@ +// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +// For licensing, see LICENSE.html or http://cksource.com/ckeditor/license + +@base-font-size: 16px; +@base-line-height: 24px; +@base-line-ratio: 1.8; + +@sample-font-stack: Arial, Helvetica, sans-serif; +@sample-font-stack-monospace: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; +@sample-font-maven: "Maven Pro"; +@sample-font-indie: "Indie Flower"; +@sample-text-color: #575757; + +@sample-link-color: #cf5d4e; +@sample-link-color-hover: lighten( @sample-link-color, -10% ); + +@sample-box-background-color: #f5f5f5; +@sample-box-border-color: #ddd; + +@sample-top-navigation-background: #454545; + +// Standard gaps +@sample-standard-vgap: 1.2em; +@sample-standard-hgap: 1.5em; + +// Generic font-size/line-height mixin. +.font-size( @remSize ) { + @pxSize: round( @remSize * @base-font-size, 2 ); + + @remHeight: round( @remSize * @base-line-ratio, 2 ); + @pxHeight: round( @pxSize * @base-line-ratio, 2 ); + + font-size: ~"@{pxSize}"; + font-size: ~"@{remSize}rem"; + + line-height: ~"@{pxHeight}"; + line-height: ~"@{remHeight}rem"; +} diff --git a/sources/samples/toolbarconfigurator/less/toolbarmodifier.less b/sources/samples/toolbarconfigurator/less/toolbarmodifier.less new file mode 100644 index 0000000..8aa5d08 --- /dev/null +++ b/sources/samples/toolbarconfigurator/less/toolbarmodifier.less @@ -0,0 +1,508 @@ +// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +// For licensing, see LICENSE.html or http://cksource.com/ckeditor/license + +@import "base.less"; + +@modifier-group-hover-color: #fffbe3; +@modifier-group-active-color: #f0fafb; + +@modifier-active-toolbar-color: darken( @modifier-group-hover-color, 10% ); + +@modifier-toolbar-border-color: #ccc; +@modifier-toolbar-group-border-color: #ddd; +@modifier-toolbar-group-vpadding: 2px; +@modifier-toolbar-hgap: 5px; + +@modifier-toolbar-button-color: #e7e7e7; + +#toolbar .cke_toolbar { + pointer-events: none; + .user-select( none ); + cursor: default; +} + +// Dim all but active toolbars if some is active. +.some-toolbar-active .cke_toolbar { + .opacity( .5 ); +} + +.cke_toolbar.active { + position: relative; + + // Active toolbar is always highlighted. + .opacity( 1 ); + + &:after { + content: ''; + display: block; + position: absolute; + top: 0; + right: 6px; + bottom: 5px; + left: 0; + .border-radius( 5px ); + .box-shadow( 0px 0px 15px 3px @modifier-active-toolbar-color ); + } + + .cke_toolgroup { + .box-shadow( none ); + border-color: darken( @modifier-active-toolbar-color, 40% ); + } + + .cke_combo, + .cke_toolgroup { + position: relative; + z-index: 2; + } + + .cke_combo_button { + .box-shadow( none ); + } +} + +.unselectable { + .user-select( none ); +} +.toolbar { + padding: 5px 0; + margin-bottom: 2 * @sample-standard-vgap; + overflow: hidden; + background: #fff; + + button.button-a { + &.cke_button { + cursor: pointer; + + display: inline-block; + padding: 4px 6px; + outline: 0; + border: 1px solid #a6a6a6; + } + + &.hidden { + display: none; + } + + &.left { + float: left; + margin-right: 8px; + } + + &.right { + float: right; + margin-left: 8px; + } + + .highlight { + color: #ffefc1; + } + } +} + +// Styles applied when configurator is hidden and code is being displayed (and vice-versa). +.configContainer.hidden, +.toolbarModifier.hidden, +.toolbarModifier-hints.hidden { + display: none; +} + +.toolbarModifier :focus, +.toolbar button:focus, +.configContainer textarea.configCode:focus { + outline: none; +} + +div.toolbarModifier { + padding: 0; + overflow: hidden; + width: 100%; + position: relative; + display: table; + border-collapse: collapse; + + ::-moz-focus-inner { + border: 0; + } + + .empty { + display: none; + } + + &.empty-visible .empty { + display: table-row; + .opacity( 0.6 ); + } + + // Give empty toolbar groups height similar to height of non empty groups. + // Non empty groups are stretched by contained toolbar buttons. + .empty > p { + line-height: 31px; + } + + // List of toolbars. + & > ul { + padding: 0; + margin: 0; + border-top: 1px solid @modifier-toolbar-border-color; + width: 100%; + + &[data-type="table-header"] { + display: table-header-group; + } + + &[data-type="table-body"] { + display: table-row-group; + } + + // Override global margins and paddings. + p { + padding: 0; + margin: 0; + } + + // A single toolbar. + & > li { + display: table-row; + + &[data-type="header"] { + font-weight: bold; + user-select: none; + cursor: default; + } + + &[data-type="group"], + &[data-type="separator"] { + border-bottom: 1px solid @modifier-toolbar-border-color; + } + + &[data-type="subgroup"] { + border-top: 1px solid #eee; + + &:first-child { + border-top: none; + } + } + + &[data-type="group"].active, + &[data-type="group"]:hover, + &[data-type="separator"].active, + &[data-type="separator"]:hover { + overflow: hidden; + z-index: 2; + } + + &[data-type="group"].active, + &[data-type="separator"].active, + &[data-type="group"].active:hover, + &[data-type="separator"].active:hover { + background: @modifier-group-active-color; + } + + &[data-type="group"]:hover, + &[data-type="separator"]:hover { + background: @modifier-group-hover-color; + } + + &[data-type="separator"] { + &:after { + content: ''; + width: 100%; + } + + background: #f5f5f5; + + & > p { + padding: @modifier-toolbar-group-vpadding @modifier-toolbar-hgap; + } + } + + & > p, & > ul { + display: table-cell; + vertical-align: middle; + } + + // Note: this also controls the list of toolbar groups. + p { + padding-left: @modifier-toolbar-hgap; + min-width: 200px; + + span { + white-space: nowrap; + cursor: default; + + button { + font-size: 12.666px; + margin-right: 5px; + cursor: pointer; + background: #fff; + .border-radius( 5px ); + border: 1px solid #bbb; + padding: 0 7px; + line-height: 12px; + height: 20px; + + &:not(.disabled) { + &:hover, + &:focus { + color: #fff; + background-color: @sample-top-navigation-background; + border-color: transparent; + } + } + + &.move.disabled { + cursor: default; + .opacity( 0.2 ); + } + } + } + } + + // List of toolbar groups. + ul { + border-collapse: collapse; + padding: 0; + width: 100%; + + // A single toolbar group. + li { + display: table-row; + list-style-type: none; + // Resets slightly increased lists' lh which is bigger than button's height + // so it stretches columns. + line-height: 1; + + &[data-type="subgroup"] { + border-top: 1px solid @modifier-toolbar-group-border-color; + + &:first-child { + border-top: 0; + } + + [data-type="button"] { + .border-radius( 3px ); + padding: 0 2px; + + &:focus { + background: rgba(0, 0, 0, 0.04); + } + + input { + vertical-align: middle; + } + } + } + + & > p, & > ul { + display: table-cell; + vertical-align: middle; + } + + // List of buttons in a group. + ul { + padding: 0; + + // A single button in a group. + li { + padding: 0; + display: inline-block; + cursor: pointer; + margin: @modifier-toolbar-group-vpadding 5px @modifier-toolbar-group-vpadding 0; + + // Enforce styles to save space. + .cke_combo_text { + cursor: pointer; + white-space: nowrap; + } + + .cke_toolgroup, + .cke_combo_button { + cursor: pointer; + margin: 0; + vertical-align: middle; + border: 1px solid #ddd; + .font-size( .713 ); + } + } + } + } + } + } + } + + & > .codemirror-wrapper { + overflow-y: auto; + } + + // Advanced configurator: list of unused elements. + &-hints { + float: right; + width: 350px; + min-width: 150px; + overflow-y: auto; + margin-left: @sample-standard-hgap; + + h3 { + .font-size( 1.13 ); + padding: .3*@sample-standard-vgap @sample-standard-hgap; + background: @sample-box-background-color; + border-bottom: 1px solid @sample-box-border-color; + margin-top: 0; + margin-bottom: @sample-standard-vgap; + } + + dl { + //margin-top: 0; + margin-bottom: @sample-standard-vgap; + overflow: hidden; + + .list-header { + font-weight: bold; + border: 0; + padding-bottom: .5*@sample-standard-vgap; + } + + & > p { + text-align: center; + } + + dt { + float: left; + width: 9em; + clear: both; + text-align: right; + border-top: 1px solid @sample-box-border-color; + padding-left: @sample-standard-hgap; + padding-right: .1em; + .box-sizing( border-box ); + + code { + background: none; + border: none; + vertical-align: middle; + } + } + + dd { + margin-left: 10em; + clear: right; + padding-right: @sample-standard-hgap; + + code { + line-height: 2.2em; + } + + &:after { + content: '\00a0'; + display: block; + clear: left; + float: right; + height: 0; + width: 0; + } + } + } + } +} + +.toolbarModifier-hints, +.configContainer textarea.configCode, +.CodeMirror { + .border-radius( 3px ); + border: 1px solid #ccc; + .font-size( .813 ); +} + +.configContainer textarea.configCode, +.CodeMirror pre, +.CodeMirror-linenumber { + .font-size( .813 ); + font-family: @sample-font-stack-monospace; +} + +.CodeMirror pre { + border: none; + padding: 0; + margin: 0; +} + +.configContainer textarea.configCode { + .box-sizing( border-box ); + color: @sample-text-color; + padding: 10px; + width: 100%; + min-height: 500px; + margin: 0; + resize: none; + outline: none; + -moz-tab-size: 4; + tab-size: 4; + white-space: pre; + word-wrap: normal; + overflow: auto; +} + +.CodeMirror-hints.toolbar-modifier { + padding: 0; + color: @sample-text-color; + + .CodeMirror-hint-active { + color: @sample-text-color; + background: @modifier-group-active-color; + } + + .font-size( .875 ); + font-family: @sample-font-stack-monospace; + + & > li:hover { + background: @modifier-group-hover-color; + } +} + +/* Text modifier */ +#toolbarModifierWrapper { + margin-bottom: @sample-standard-vgap; + + .invalid .CodeMirror { + background: #fff8f8; + border-color: red; + } + + .CodeMirror { + // Autogrow. http://codemirror.net/demo/resize.html + height: auto; + // Complementory with std's CodeMirror-lines vertical padding. + // Not needed when we use lines number, but we can't due to a bug in CM. + padding: 0 @sample-standard-vgap/2; + } +} + +.staticContainer { + position: fixed; + top: 0; + width: 100%; + z-index: 10; + + > .grid-container { + max-width: 1044px + 2 * @grid-gutter-width; + + .inner { + background: #fff; + + .toolbar { + margin-bottom: 0; + } + } + } +} + +// Help button to display information about configurator. +#help { + position: relative; + top: -15px; + left: -5px; + + &-content { + display: none; + } +} diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/LICENSE b/sources/samples/toolbarconfigurator/lib/codemirror/LICENSE new file mode 100644 index 0000000..d21bbea --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2014 by Marijn Haverbeke and others + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/README.md b/sources/samples/toolbarconfigurator/lib/codemirror/README.md new file mode 100644 index 0000000..38156a7 --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/README.md @@ -0,0 +1,12 @@ +# CodeMirror +[![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror) +[![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror) +[Funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png?again)](https://marijnhaverbeke.nl/fund/) + +CodeMirror is a JavaScript component that provides a code editor in +the browser. When a mode is available for the language you are coding +in, it will color your code, and optionally help with indentation. + +The project page is http://codemirror.net +The manual is at http://codemirror.net/doc/manual.html +The contributing guidelines are in [CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md) diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.css b/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.css new file mode 100644 index 0000000..ceacd13 --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.css @@ -0,0 +1,325 @@ +/* BASICS */ + +.CodeMirror { + /* Set height, width, borders, and global font properties here */ + font-family: monospace; + height: 300px; + color: black; +} + +/* PADDING */ + +.CodeMirror-lines { + padding: 4px 0; /* Vertical padding around content */ +} +.CodeMirror pre { + padding: 0 4px; /* Horizontal padding of content */ +} + +.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { + background-color: white; /* The little square between H and V scrollbars */ +} + +/* GUTTER */ + +.CodeMirror-gutters { + border-right: 1px solid #ddd; + background-color: #f7f7f7; + white-space: nowrap; +} +.CodeMirror-linenumbers {} +.CodeMirror-linenumber { + padding: 0 3px 0 5px; + min-width: 20px; + text-align: right; + color: #999; + white-space: nowrap; +} + +.CodeMirror-guttermarker { color: black; } +.CodeMirror-guttermarker-subtle { color: #999; } + +/* CURSOR */ + +.CodeMirror div.CodeMirror-cursor { + border-left: 1px solid black; +} +/* Shown when moving in bi-directional text */ +.CodeMirror div.CodeMirror-secondarycursor { + border-left: 1px solid silver; +} +.CodeMirror.cm-fat-cursor div.CodeMirror-cursor { + width: auto; + border: 0; + background: #7e7; +} +.CodeMirror.cm-fat-cursor div.CodeMirror-cursors { + z-index: 1; +} + +.cm-animate-fat-cursor { + width: auto; + border: 0; + -webkit-animation: blink 1.06s steps(1) infinite; + -moz-animation: blink 1.06s steps(1) infinite; + animation: blink 1.06s steps(1) infinite; +} +@-moz-keyframes blink { + 0% { background: #7e7; } + 50% { background: none; } + 100% { background: #7e7; } +} +@-webkit-keyframes blink { + 0% { background: #7e7; } + 50% { background: none; } + 100% { background: #7e7; } +} +@keyframes blink { + 0% { background: #7e7; } + 50% { background: none; } + 100% { background: #7e7; } +} + +/* Can style cursor different in overwrite (non-insert) mode */ +div.CodeMirror-overwrite div.CodeMirror-cursor {} + +.cm-tab { display: inline-block; text-decoration: inherit; } + +.CodeMirror-ruler { + border-left: 1px solid #ccc; + position: absolute; +} + +/* DEFAULT THEME */ + +.cm-s-default .cm-keyword {color: #708;} +.cm-s-default .cm-atom {color: #219;} +.cm-s-default .cm-number {color: #164;} +.cm-s-default .cm-def {color: #00f;} +.cm-s-default .cm-variable, +.cm-s-default .cm-punctuation, +.cm-s-default .cm-property, +.cm-s-default .cm-operator {} +.cm-s-default .cm-variable-2 {color: #05a;} +.cm-s-default .cm-variable-3 {color: #085;} +.cm-s-default .cm-comment {color: #a50;} +.cm-s-default .cm-string {color: #a11;} +.cm-s-default .cm-string-2 {color: #f50;} +.cm-s-default .cm-meta {color: #555;} +.cm-s-default .cm-qualifier {color: #555;} +.cm-s-default .cm-builtin {color: #30a;} +.cm-s-default .cm-bracket {color: #997;} +.cm-s-default .cm-tag {color: #170;} +.cm-s-default .cm-attribute {color: #00c;} +.cm-s-default .cm-header {color: blue;} +.cm-s-default .cm-quote {color: #090;} +.cm-s-default .cm-hr {color: #999;} +.cm-s-default .cm-link {color: #00c;} + +.cm-negative {color: #d44;} +.cm-positive {color: #292;} +.cm-header, .cm-strong {font-weight: bold;} +.cm-em {font-style: italic;} +.cm-link {text-decoration: underline;} +.cm-strikethrough {text-decoration: line-through;} + +.cm-s-default .cm-error {color: #f00;} +.cm-invalidchar {color: #f00;} + +.CodeMirror-composing { border-bottom: 2px solid; } + +/* Default styles for common addons */ + +div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} +div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} +.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); } +.CodeMirror-activeline-background {background: #e8f2ff;} + +/* STOP */ + +/* The rest of this file contains styles related to the mechanics of + the editor. You probably shouldn't touch them. */ + +.CodeMirror { + position: relative; + overflow: hidden; + background: white; +} + +.CodeMirror-scroll { + overflow: scroll !important; /* Things will break if this is overridden */ + /* 30px is the magic margin used to hide the element's real scrollbars */ + /* See overflow: hidden in .CodeMirror */ + margin-bottom: -30px; margin-right: -30px; + padding-bottom: 30px; + height: 100%; + outline: none; /* Prevent dragging from highlighting the element */ + position: relative; +} +.CodeMirror-sizer { + position: relative; + border-right: 30px solid transparent; +} + +/* The fake, visible scrollbars. Used to force redraw during scrolling + before actuall scrolling happens, thus preventing shaking and + flickering artifacts. */ +.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { + position: absolute; + z-index: 6; + display: none; +} +.CodeMirror-vscrollbar { + right: 0; top: 0; + overflow-x: hidden; + overflow-y: scroll; +} +.CodeMirror-hscrollbar { + bottom: 0; left: 0; + overflow-y: hidden; + overflow-x: scroll; +} +.CodeMirror-scrollbar-filler { + right: 0; bottom: 0; +} +.CodeMirror-gutter-filler { + left: 0; bottom: 0; +} + +.CodeMirror-gutters { + position: absolute; left: 0; top: 0; + z-index: 3; +} +.CodeMirror-gutter { + white-space: normal; + height: 100%; + display: inline-block; + margin-bottom: -30px; + /* Hack to make IE7 behave */ + *zoom:1; + *display:inline; +} +.CodeMirror-gutter-wrapper { + position: absolute; + z-index: 4; + height: 100%; +} +.CodeMirror-gutter-elt { + position: absolute; + cursor: default; + z-index: 4; +} +.CodeMirror-gutter-wrapper { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +.CodeMirror-lines { + cursor: text; + min-height: 1px; /* prevents collapsing before first draw */ +} +.CodeMirror pre { + /* Reset some styles that the rest of the page might have set */ + -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; + border-width: 0; + background: transparent; + font-family: inherit; + font-size: inherit; + margin: 0; + white-space: pre; + word-wrap: normal; + line-height: inherit; + color: inherit; + z-index: 2; + position: relative; + overflow: visible; + -webkit-tap-highlight-color: transparent; +} +.CodeMirror-wrap pre { + word-wrap: break-word; + white-space: pre-wrap; + word-break: normal; +} + +.CodeMirror-linebackground { + position: absolute; + left: 0; right: 0; top: 0; bottom: 0; + z-index: 0; +} + +.CodeMirror-linewidget { + position: relative; + z-index: 2; + overflow: auto; +} + +.CodeMirror-widget {} + +.CodeMirror-code { + outline: none; +} + +/* Force content-box sizing for the elements where we expect it */ +.CodeMirror-scroll, +.CodeMirror-sizer, +.CodeMirror-gutter, +.CodeMirror-gutters, +.CodeMirror-linenumber { + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +.CodeMirror-measure { + position: absolute; + width: 100%; + height: 0; + overflow: hidden; + visibility: hidden; +} +.CodeMirror-measure pre { position: static; } + +.CodeMirror div.CodeMirror-cursor { + position: absolute; + border-right: none; + width: 0; +} + +div.CodeMirror-cursors { + visibility: hidden; + position: relative; + z-index: 3; +} +.CodeMirror-focused div.CodeMirror-cursors { + visibility: visible; +} + +.CodeMirror-selected { background: #d9d9d9; } +.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; } +.CodeMirror-crosshair { cursor: crosshair; } +.CodeMirror ::selection { background: #d7d4f0; } +.CodeMirror ::-moz-selection { background: #d7d4f0; } + +.cm-searching { + background: #ffa; + background: rgba(255, 255, 0, .4); +} + +/* IE7 hack to prevent it from returning funny offsetTops on the spans */ +.CodeMirror span { *vertical-align: text-bottom; } + +/* Used to force a border model for a node */ +.cm-force-border { padding-right: .1px; } + +@media print { + /* Hide the cursor when printing */ + .CodeMirror div.CodeMirror-cursors { + visibility: hidden; + } +} + +/* See issue #2901 */ +.cm-tab-wrap-hack:after { content: ''; } + +/* Help users use markselection to safely style text background */ +span.CodeMirror-selectedtext { background: none; } diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js b/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js new file mode 100644 index 0000000..37e2685 --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/codemirror.js @@ -0,0 +1,8738 @@ +// CodeMirror, copyright (c) by Marijn Haverbeke and others +// Distributed under an MIT license: http://codemirror.net/LICENSE + +// This is CodeMirror (http://codemirror.net), a code editor +// implemented in JavaScript on top of the browser's DOM. +// +// You can find some technical background for some of the code below +// at http://marijnhaverbeke.nl/blog/#cm-internals . + +(function(mod) { + if (typeof exports == "object" && typeof module == "object") // CommonJS + module.exports = mod(); + else if (typeof define == "function" && define.amd) // AMD + return define([], mod); + else // Plain browser env + this.CodeMirror = mod(); +})(function() { + "use strict"; + + // BROWSER SNIFFING + + // Kludges for bugs and behavior differences that can't be feature + // detected are enabled based on userAgent etc sniffing. + + var gecko = /gecko\/\d/i.test(navigator.userAgent); + var ie_upto10 = /MSIE \d/.test(navigator.userAgent); + var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent); + var ie = ie_upto10 || ie_11up; + var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : ie_11up[1]); + var webkit = /WebKit\//.test(navigator.userAgent); + var qtwebkit = webkit && /Qt\/\d+\.\d+/.test(navigator.userAgent); + var chrome = /Chrome\//.test(navigator.userAgent); + var presto = /Opera\//.test(navigator.userAgent); + var safari = /Apple Computer/.test(navigator.vendor); + var mac_geMountainLion = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent); + var phantom = /PhantomJS/.test(navigator.userAgent); + + var ios = /AppleWebKit/.test(navigator.userAgent) && /Mobile\/\w+/.test(navigator.userAgent); + // This is woefully incomplete. Suggestions for alternative methods welcome. + var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent); + var mac = ios || /Mac/.test(navigator.platform); + var windows = /win/i.test(navigator.platform); + + var presto_version = presto && navigator.userAgent.match(/Version\/(\d*\.\d*)/); + if (presto_version) presto_version = Number(presto_version[1]); + if (presto_version && presto_version >= 15) { presto = false; webkit = true; } + // Some browsers use the wrong event properties to signal cmd/ctrl on OS X + var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11)); + var captureRightClick = gecko || (ie && ie_version >= 9); + + // Optimize some code when these features are not used. + var sawReadOnlySpans = false, sawCollapsedSpans = false; + + // EDITOR CONSTRUCTOR + + // A CodeMirror instance represents an editor. This is the object + // that user code is usually dealing with. + + function CodeMirror(place, options) { + if (!(this instanceof CodeMirror)) return new CodeMirror(place, options); + + this.options = options = options ? copyObj(options) : {}; + // Determine effective options based on given values and defaults. + copyObj(defaults, options, false); + setGuttersForLineNumbers(options); + + var doc = options.value; + if (typeof doc == "string") doc = new Doc(doc, options.mode); + this.doc = doc; + + var input = new CodeMirror.inputStyles[options.inputStyle](this); + var display = this.display = new Display(place, doc, input); + display.wrapper.CodeMirror = this; + updateGutters(this); + themeChanged(this); + if (options.lineWrapping) + this.display.wrapper.className += " CodeMirror-wrap"; + if (options.autofocus && !mobile) display.input.focus(); + initScrollbars(this); + + this.state = { + keyMaps: [], // stores maps added by addKeyMap + overlays: [], // highlighting overlays, as added by addOverlay + modeGen: 0, // bumped when mode/overlay changes, used to invalidate highlighting info + overwrite: false, + delayingBlurEvent: false, + focused: false, + suppressEdits: false, // used to disable editing during key handlers when in readOnly mode + pasteIncoming: false, cutIncoming: false, // help recognize paste/cut edits in input.poll + draggingText: false, + highlight: new Delayed(), // stores highlight worker timeout + keySeq: null, // Unfinished key sequence + specialChars: null + }; + + var cm = this; + + // Override magic textarea content restore that IE sometimes does + // on our hidden textarea on reload + if (ie && ie_version < 11) setTimeout(function() { cm.display.input.reset(true); }, 20); + + registerEventHandlers(this); + ensureGlobalHandlers(); + + startOperation(this); + this.curOp.forceUpdate = true; + attachDoc(this, doc); + + if ((options.autofocus && !mobile) || cm.hasFocus()) + setTimeout(bind(onFocus, this), 20); + else + onBlur(this); + + for (var opt in optionHandlers) if (optionHandlers.hasOwnProperty(opt)) + optionHandlers[opt](this, options[opt], Init); + maybeUpdateLineNumberWidth(this); + if (options.finishInit) options.finishInit(this); + for (var i = 0; i < initHooks.length; ++i) initHooks[i](this); + endOperation(this); + // Suppress optimizelegibility in Webkit, since it breaks text + // measuring on line wrapping boundaries. + if (webkit && options.lineWrapping && + getComputedStyle(display.lineDiv).textRendering == "optimizelegibility") + display.lineDiv.style.textRendering = "auto"; + } + + // DISPLAY CONSTRUCTOR + + // The display handles the DOM integration, both for input reading + // and content drawing. It holds references to DOM nodes and + // display-related state. + + function Display(place, doc, input) { + var d = this; + this.input = input; + + // Covers bottom-right square when both scrollbars are present. + d.scrollbarFiller = elt("div", null, "CodeMirror-scrollbar-filler"); + d.scrollbarFiller.setAttribute("cm-not-content", "true"); + // Covers bottom of gutter when coverGutterNextToScrollbar is on + // and h scrollbar is present. + d.gutterFiller = elt("div", null, "CodeMirror-gutter-filler"); + d.gutterFiller.setAttribute("cm-not-content", "true"); + // Will contain the actual code, positioned to cover the viewport. + d.lineDiv = elt("div", null, "CodeMirror-code"); + // Elements are added to these to represent selection and cursors. + d.selectionDiv = elt("div", null, null, "position: relative; z-index: 1"); + d.cursorDiv = elt("div", null, "CodeMirror-cursors"); + // A visibility: hidden element used to find the size of things. + d.measure = elt("div", null, "CodeMirror-measure"); + // When lines outside of the viewport are measured, they are drawn in this. + d.lineMeasure = elt("div", null, "CodeMirror-measure"); + // Wraps everything that needs to exist inside the vertically-padded coordinate system + d.lineSpace = elt("div", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv], + null, "position: relative; outline: none"); + // Moved around its parent to cover visible view. + d.mover = elt("div", [elt("div", [d.lineSpace], "CodeMirror-lines")], null, "position: relative"); + // Set to the height of the document, allowing scrolling. + d.sizer = elt("div", [d.mover], "CodeMirror-sizer"); + d.sizerWidth = null; + // Behavior of elts with overflow: auto and padding is + // inconsistent across browsers. This is used to ensure the + // scrollable area is big enough. + d.heightForcer = elt("div", null, null, "position: absolute; height: " + scrollerGap + "px; width: 1px;"); + // Will contain the gutters, if any. + d.gutters = elt("div", null, "CodeMirror-gutters"); + d.lineGutter = null; + // Actual scrollable element. + d.scroller = elt("div", [d.sizer, d.heightForcer, d.gutters], "CodeMirror-scroll"); + d.scroller.setAttribute("tabIndex", "-1"); + // The element in which the editor lives. + d.wrapper = elt("div", [d.scrollbarFiller, d.gutterFiller, d.scroller], "CodeMirror"); + + // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported) + if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; } + if (!webkit && !(gecko && mobile)) d.scroller.draggable = true; + + if (place) { + if (place.appendChild) place.appendChild(d.wrapper); + else place(d.wrapper); + } + + // Current rendered range (may be bigger than the view window). + d.viewFrom = d.viewTo = doc.first; + d.reportedViewFrom = d.reportedViewTo = doc.first; + // Information about the rendered lines. + d.view = []; + d.renderedView = null; + // Holds info about a single rendered line when it was rendered + // for measurement, while not in view. + d.externalMeasured = null; + // Empty space (in pixels) above the view + d.viewOffset = 0; + d.lastWrapHeight = d.lastWrapWidth = 0; + d.updateLineNumbers = null; + + d.nativeBarWidth = d.barHeight = d.barWidth = 0; + d.scrollbarsClipped = false; + + // Used to only resize the line number gutter when necessary (when + // the amount of lines crosses a boundary that makes its width change) + d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null; + // Set to true when a non-horizontal-scrolling line widget is + // added. As an optimization, line widget aligning is skipped when + // this is false. + d.alignWidgets = false; + + d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null; + + // Tracks the maximum line length so that the horizontal scrollbar + // can be kept static when scrolling. + d.maxLine = null; + d.maxLineLength = 0; + d.maxLineChanged = false; + + // Used for measuring wheel scrolling granularity + d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null; + + // True when shift is held down. + d.shift = false; + + // Used to track whether anything happened since the context menu + // was opened. + d.selForContextMenu = null; + + d.activeTouch = null; + + input.init(d); + } + + // STATE UPDATES + + // Used to get the editor into a consistent state again when options change. + + function loadMode(cm) { + cm.doc.mode = CodeMirror.getMode(cm.options, cm.doc.modeOption); + resetModeState(cm); + } + + function resetModeState(cm) { + cm.doc.iter(function(line) { + if (line.stateAfter) line.stateAfter = null; + if (line.styles) line.styles = null; + }); + cm.doc.frontier = cm.doc.first; + startWorker(cm, 100); + cm.state.modeGen++; + if (cm.curOp) regChange(cm); + } + + function wrappingChanged(cm) { + if (cm.options.lineWrapping) { + addClass(cm.display.wrapper, "CodeMirror-wrap"); + cm.display.sizer.style.minWidth = ""; + cm.display.sizerWidth = null; + } else { + rmClass(cm.display.wrapper, "CodeMirror-wrap"); + findMaxLine(cm); + } + estimateLineHeights(cm); + regChange(cm); + clearCaches(cm); + setTimeout(function(){updateScrollbars(cm);}, 100); + } + + // Returns a function that estimates the height of a line, to use as + // first approximation until the line becomes visible (and is thus + // properly measurable). + function estimateHeight(cm) { + var th = textHeight(cm.display), wrapping = cm.options.lineWrapping; + var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3); + return function(line) { + if (lineIsHidden(cm.doc, line)) return 0; + + var widgetsHeight = 0; + if (line.widgets) for (var i = 0; i < line.widgets.length; i++) { + if (line.widgets[i].height) widgetsHeight += line.widgets[i].height; + } + + if (wrapping) + return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th; + else + return widgetsHeight + th; + }; + } + + function estimateLineHeights(cm) { + var doc = cm.doc, est = estimateHeight(cm); + doc.iter(function(line) { + var estHeight = est(line); + if (estHeight != line.height) updateLineHeight(line, estHeight); + }); + } + + function themeChanged(cm) { + cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") + + cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-"); + clearCaches(cm); + } + + function guttersChanged(cm) { + updateGutters(cm); + regChange(cm); + setTimeout(function(){alignHorizontally(cm);}, 20); + } + + // Rebuild the gutter elements, ensure the margin to the left of the + // code matches their width. + function updateGutters(cm) { + var gutters = cm.display.gutters, specs = cm.options.gutters; + removeChildren(gutters); + for (var i = 0; i < specs.length; ++i) { + var gutterClass = specs[i]; + var gElt = gutters.appendChild(elt("div", null, "CodeMirror-gutter " + gutterClass)); + if (gutterClass == "CodeMirror-linenumbers") { + cm.display.lineGutter = gElt; + gElt.style.width = (cm.display.lineNumWidth || 1) + "px"; + } + } + gutters.style.display = i ? "" : "none"; + updateGutterSpace(cm); + } + + function updateGutterSpace(cm) { + var width = cm.display.gutters.offsetWidth; + cm.display.sizer.style.marginLeft = width + "px"; + } + + // Compute the character length of a line, taking into account + // collapsed ranges (see markText) that might hide parts, and join + // other lines onto it. + function lineLength(line) { + if (line.height == 0) return 0; + var len = line.text.length, merged, cur = line; + while (merged = collapsedSpanAtStart(cur)) { + var found = merged.find(0, true); + cur = found.from.line; + len += found.from.ch - found.to.ch; + } + cur = line; + while (merged = collapsedSpanAtEnd(cur)) { + var found = merged.find(0, true); + len -= cur.text.length - found.from.ch; + cur = found.to.line; + len += cur.text.length - found.to.ch; + } + return len; + } + + // Find the longest line in the document. + function findMaxLine(cm) { + var d = cm.display, doc = cm.doc; + d.maxLine = getLine(doc, doc.first); + d.maxLineLength = lineLength(d.maxLine); + d.maxLineChanged = true; + doc.iter(function(line) { + var len = lineLength(line); + if (len > d.maxLineLength) { + d.maxLineLength = len; + d.maxLine = line; + } + }); + } + + // Make sure the gutters options contains the element + // "CodeMirror-linenumbers" when the lineNumbers option is true. + function setGuttersForLineNumbers(options) { + var found = indexOf(options.gutters, "CodeMirror-linenumbers"); + if (found == -1 && options.lineNumbers) { + options.gutters = options.gutters.concat(["CodeMirror-linenumbers"]); + } else if (found > -1 && !options.lineNumbers) { + options.gutters = options.gutters.slice(0); + options.gutters.splice(found, 1); + } + } + + // SCROLLBARS + + // Prepare DOM reads needed to update the scrollbars. Done in one + // shot to minimize update/measure roundtrips. + function measureForScrollbars(cm) { + var d = cm.display, gutterW = d.gutters.offsetWidth; + var docH = Math.round(cm.doc.height + paddingVert(cm.display)); + return { + clientHeight: d.scroller.clientHeight, + viewHeight: d.wrapper.clientHeight, + scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth, + viewWidth: d.wrapper.clientWidth, + barLeft: cm.options.fixedGutter ? gutterW : 0, + docHeight: docH, + scrollHeight: docH + scrollGap(cm) + d.barHeight, + nativeBarWidth: d.nativeBarWidth, + gutterWidth: gutterW + }; + } + + function NativeScrollbars(place, scroll, cm) { + this.cm = cm; + var vert = this.vert = elt("div", [elt("div", null, null, "min-width: 1px")], "CodeMirror-vscrollbar"); + var horiz = this.horiz = elt("div", [elt("div", null, null, "height: 100%; min-height: 1px")], "CodeMirror-hscrollbar"); + place(vert); place(horiz); + + on(vert, "scroll", function() { + if (vert.clientHeight) scroll(vert.scrollTop, "vertical"); + }); + on(horiz, "scroll", function() { + if (horiz.clientWidth) scroll(horiz.scrollLeft, "horizontal"); + }); + + this.checkedOverlay = false; + // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8). + if (ie && ie_version < 8) this.horiz.style.minHeight = this.vert.style.minWidth = "18px"; + } + + NativeScrollbars.prototype = copyObj({ + update: function(measure) { + var needsH = measure.scrollWidth > measure.clientWidth + 1; + var needsV = measure.scrollHeight > measure.clientHeight + 1; + var sWidth = measure.nativeBarWidth; + + if (needsV) { + this.vert.style.display = "block"; + this.vert.style.bottom = needsH ? sWidth + "px" : "0"; + var totalHeight = measure.viewHeight - (needsH ? sWidth : 0); + // A bug in IE8 can cause this value to be negative, so guard it. + this.vert.firstChild.style.height = + Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + "px"; + } else { + this.vert.style.display = ""; + this.vert.firstChild.style.height = "0"; + } + + if (needsH) { + this.horiz.style.display = "block"; + this.horiz.style.right = needsV ? sWidth + "px" : "0"; + this.horiz.style.left = measure.barLeft + "px"; + var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0); + this.horiz.firstChild.style.width = + (measure.scrollWidth - measure.clientWidth + totalWidth) + "px"; + } else { + this.horiz.style.display = ""; + this.horiz.firstChild.style.width = "0"; + } + + if (!this.checkedOverlay && measure.clientHeight > 0) { + if (sWidth == 0) this.overlayHack(); + this.checkedOverlay = true; + } + + return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0}; + }, + setScrollLeft: function(pos) { + if (this.horiz.scrollLeft != pos) this.horiz.scrollLeft = pos; + }, + setScrollTop: function(pos) { + if (this.vert.scrollTop != pos) this.vert.scrollTop = pos; + }, + overlayHack: function() { + var w = mac && !mac_geMountainLion ? "12px" : "18px"; + this.horiz.style.minHeight = this.vert.style.minWidth = w; + var self = this; + var barMouseDown = function(e) { + if (e_target(e) != self.vert && e_target(e) != self.horiz) + operation(self.cm, onMouseDown)(e); + }; + on(this.vert, "mousedown", barMouseDown); + on(this.horiz, "mousedown", barMouseDown); + }, + clear: function() { + var parent = this.horiz.parentNode; + parent.removeChild(this.horiz); + parent.removeChild(this.vert); + } + }, NativeScrollbars.prototype); + + function NullScrollbars() {} + + NullScrollbars.prototype = copyObj({ + update: function() { return {bottom: 0, right: 0}; }, + setScrollLeft: function() {}, + setScrollTop: function() {}, + clear: function() {} + }, NullScrollbars.prototype); + + CodeMirror.scrollbarModel = {"native": NativeScrollbars, "null": NullScrollbars}; + + function initScrollbars(cm) { + if (cm.display.scrollbars) { + cm.display.scrollbars.clear(); + if (cm.display.scrollbars.addClass) + rmClass(cm.display.wrapper, cm.display.scrollbars.addClass); + } + + cm.display.scrollbars = new CodeMirror.scrollbarModel[cm.options.scrollbarStyle](function(node) { + cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller); + // Prevent clicks in the scrollbars from killing focus + on(node, "mousedown", function() { + if (cm.state.focused) setTimeout(function() { cm.display.input.focus(); }, 0); + }); + node.setAttribute("cm-not-content", "true"); + }, function(pos, axis) { + if (axis == "horizontal") setScrollLeft(cm, pos); + else setScrollTop(cm, pos); + }, cm); + if (cm.display.scrollbars.addClass) + addClass(cm.display.wrapper, cm.display.scrollbars.addClass); + } + + function updateScrollbars(cm, measure) { + if (!measure) measure = measureForScrollbars(cm); + var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight; + updateScrollbarsInner(cm, measure); + for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) { + if (startWidth != cm.display.barWidth && cm.options.lineWrapping) + updateHeightsInViewport(cm); + updateScrollbarsInner(cm, measureForScrollbars(cm)); + startWidth = cm.display.barWidth; startHeight = cm.display.barHeight; + } + } + + // Re-synchronize the fake scrollbars with the actual size of the + // content. + function updateScrollbarsInner(cm, measure) { + var d = cm.display; + var sizes = d.scrollbars.update(measure); + + d.sizer.style.paddingRight = (d.barWidth = sizes.right) + "px"; + d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + "px"; + + if (sizes.right && sizes.bottom) { + d.scrollbarFiller.style.display = "block"; + d.scrollbarFiller.style.height = sizes.bottom + "px"; + d.scrollbarFiller.style.width = sizes.right + "px"; + } else d.scrollbarFiller.style.display = ""; + if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) { + d.gutterFiller.style.display = "block"; + d.gutterFiller.style.height = sizes.bottom + "px"; + d.gutterFiller.style.width = measure.gutterWidth + "px"; + } else d.gutterFiller.style.display = ""; + } + + // Compute the lines that are visible in a given viewport (defaults + // the the current scroll position). viewport may contain top, + // height, and ensure (see op.scrollToPos) properties. + function visibleLines(display, doc, viewport) { + var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop; + top = Math.floor(top - paddingTop(display)); + var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight; + + var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom); + // Ensure is a {from: {line, ch}, to: {line, ch}} object, and + // forces those lines into the viewport (if possible). + if (viewport && viewport.ensure) { + var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line; + if (ensureFrom < from) { + from = ensureFrom; + to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight); + } else if (Math.min(ensureTo, doc.lastLine()) >= to) { + from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight); + to = ensureTo; + } + } + return {from: from, to: Math.max(to, from + 1)}; + } + + // LINE NUMBERS + + // Re-align line numbers and gutter marks to compensate for + // horizontal scrolling. + function alignHorizontally(cm) { + var display = cm.display, view = display.view; + if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) return; + var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft; + var gutterW = display.gutters.offsetWidth, left = comp + "px"; + for (var i = 0; i < view.length; i++) if (!view[i].hidden) { + if (cm.options.fixedGutter && view[i].gutter) + view[i].gutter.style.left = left; + var align = view[i].alignable; + if (align) for (var j = 0; j < align.length; j++) + align[j].style.left = left; + } + if (cm.options.fixedGutter) + display.gutters.style.left = (comp + gutterW) + "px"; + } + + // Used to ensure that the line number gutter is still the right + // size for the current document size. Returns true when an update + // is needed. + function maybeUpdateLineNumberWidth(cm) { + if (!cm.options.lineNumbers) return false; + var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display; + if (last.length != display.lineNumChars) { + var test = display.measure.appendChild(elt("div", [elt("div", last)], + "CodeMirror-linenumber CodeMirror-gutter-elt")); + var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW; + display.lineGutter.style.width = ""; + display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1; + display.lineNumWidth = display.lineNumInnerWidth + padding; + display.lineNumChars = display.lineNumInnerWidth ? last.length : -1; + display.lineGutter.style.width = display.lineNumWidth + "px"; + updateGutterSpace(cm); + return true; + } + return false; + } + + function lineNumberFor(options, i) { + return String(options.lineNumberFormatter(i + options.firstLineNumber)); + } + + // Computes display.scroller.scrollLeft + display.gutters.offsetWidth, + // but using getBoundingClientRect to get a sub-pixel-accurate + // result. + function compensateForHScroll(display) { + return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left; + } + + // DISPLAY DRAWING + + function DisplayUpdate(cm, viewport, force) { + var display = cm.display; + + this.viewport = viewport; + // Store some values that we'll need later (but don't want to force a relayout for) + this.visible = visibleLines(display, cm.doc, viewport); + this.editorIsHidden = !display.wrapper.offsetWidth; + this.wrapperHeight = display.wrapper.clientHeight; + this.wrapperWidth = display.wrapper.clientWidth; + this.oldDisplayWidth = displayWidth(cm); + this.force = force; + this.dims = getDimensions(cm); + this.events = []; + } + + DisplayUpdate.prototype.signal = function(emitter, type) { + if (hasHandler(emitter, type)) + this.events.push(arguments); + }; + DisplayUpdate.prototype.finish = function() { + for (var i = 0; i < this.events.length; i++) + signal.apply(null, this.events[i]); + }; + + function maybeClipScrollbars(cm) { + var display = cm.display; + if (!display.scrollbarsClipped && display.scroller.offsetWidth) { + display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth; + display.heightForcer.style.height = scrollGap(cm) + "px"; + display.sizer.style.marginBottom = -display.nativeBarWidth + "px"; + display.sizer.style.borderRightWidth = scrollGap(cm) + "px"; + display.scrollbarsClipped = true; + } + } + + // Does the actual updating of the line display. Bails out + // (returning false) when there is nothing to be done and forced is + // false. + function updateDisplayIfNeeded(cm, update) { + var display = cm.display, doc = cm.doc; + + if (update.editorIsHidden) { + resetView(cm); + return false; + } + + // Bail out if the visible area is already rendered and nothing changed. + if (!update.force && + update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo && + (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) && + display.renderedView == display.view && countDirtyView(cm) == 0) + return false; + + if (maybeUpdateLineNumberWidth(cm)) { + resetView(cm); + update.dims = getDimensions(cm); + } + + // Compute a suitable new viewport (from & to) + var end = doc.first + doc.size; + var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first); + var to = Math.min(end, update.visible.to + cm.options.viewportMargin); + if (display.viewFrom < from && from - display.viewFrom < 20) from = Math.max(doc.first, display.viewFrom); + if (display.viewTo > to && display.viewTo - to < 20) to = Math.min(end, display.viewTo); + if (sawCollapsedSpans) { + from = visualLineNo(cm.doc, from); + to = visualLineEndNo(cm.doc, to); + } + + var different = from != display.viewFrom || to != display.viewTo || + display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth; + adjustView(cm, from, to); + + display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom)); + // Position the mover div to align with the current scroll position + cm.display.mover.style.top = display.viewOffset + "px"; + + var toUpdate = countDirtyView(cm); + if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view && + (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo)) + return false; + + // For big changes, we hide the enclosing element during the + // update, since that speeds up the operations on most browsers. + var focused = activeElt(); + if (toUpdate > 4) display.lineDiv.style.display = "none"; + patchDisplay(cm, display.updateLineNumbers, update.dims); + if (toUpdate > 4) display.lineDiv.style.display = ""; + display.renderedView = display.view; + // There might have been a widget with a focused element that got + // hidden or updated, if so re-focus it. + if (focused && activeElt() != focused && focused.offsetHeight) focused.focus(); + + // Prevent selection and cursors from interfering with the scroll + // width and height. + removeChildren(display.cursorDiv); + removeChildren(display.selectionDiv); + display.gutters.style.height = 0; + + if (different) { + display.lastWrapHeight = update.wrapperHeight; + display.lastWrapWidth = update.wrapperWidth; + startWorker(cm, 400); + } + + display.updateLineNumbers = null; + + return true; + } + + function postUpdateDisplay(cm, update) { + var force = update.force, viewport = update.viewport; + for (var first = true;; first = false) { + if (first && cm.options.lineWrapping && update.oldDisplayWidth != displayWidth(cm)) { + force = true; + } else { + force = false; + // Clip forced viewport to actual scrollable area. + if (viewport && viewport.top != null) + viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)}; + // Updated line heights might result in the drawn area not + // actually covering the viewport. Keep looping until it does. + update.visible = visibleLines(cm.display, cm.doc, viewport); + if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo) + break; + } + if (!updateDisplayIfNeeded(cm, update)) break; + updateHeightsInViewport(cm); + var barMeasure = measureForScrollbars(cm); + updateSelection(cm); + setDocumentHeight(cm, barMeasure); + updateScrollbars(cm, barMeasure); + } + + update.signal(cm, "update", cm); + if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) { + update.signal(cm, "viewportChange", cm, cm.display.viewFrom, cm.display.viewTo); + cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo; + } + } + + function updateDisplaySimple(cm, viewport) { + var update = new DisplayUpdate(cm, viewport); + if (updateDisplayIfNeeded(cm, update)) { + updateHeightsInViewport(cm); + postUpdateDisplay(cm, update); + var barMeasure = measureForScrollbars(cm); + updateSelection(cm); + setDocumentHeight(cm, barMeasure); + updateScrollbars(cm, barMeasure); + update.finish(); + } + } + + function setDocumentHeight(cm, measure) { + cm.display.sizer.style.minHeight = measure.docHeight + "px"; + var total = measure.docHeight + cm.display.barHeight; + cm.display.heightForcer.style.top = total + "px"; + cm.display.gutters.style.height = Math.max(total + scrollGap(cm), measure.clientHeight) + "px"; + } + + // Read the actual heights of the rendered lines, and update their + // stored heights to match. + function updateHeightsInViewport(cm) { + var display = cm.display; + var prevBottom = display.lineDiv.offsetTop; + for (var i = 0; i < display.view.length; i++) { + var cur = display.view[i], height; + if (cur.hidden) continue; + if (ie && ie_version < 8) { + var bot = cur.node.offsetTop + cur.node.offsetHeight; + height = bot - prevBottom; + prevBottom = bot; + } else { + var box = cur.node.getBoundingClientRect(); + height = box.bottom - box.top; + } + var diff = cur.line.height - height; + if (height < 2) height = textHeight(display); + if (diff > .001 || diff < -.001) { + updateLineHeight(cur.line, height); + updateWidgetHeight(cur.line); + if (cur.rest) for (var j = 0; j < cur.rest.length; j++) + updateWidgetHeight(cur.rest[j]); + } + } + } + + // Read and store the height of line widgets associated with the + // given line. + function updateWidgetHeight(line) { + if (line.widgets) for (var i = 0; i < line.widgets.length; ++i) + line.widgets[i].height = line.widgets[i].node.offsetHeight; + } + + // Do a bulk-read of the DOM positions and sizes needed to draw the + // view, so that we don't interleave reading and writing to the DOM. + function getDimensions(cm) { + var d = cm.display, left = {}, width = {}; + var gutterLeft = d.gutters.clientLeft; + for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) { + left[cm.options.gutters[i]] = n.offsetLeft + n.clientLeft + gutterLeft; + width[cm.options.gutters[i]] = n.clientWidth; + } + return {fixedPos: compensateForHScroll(d), + gutterTotalWidth: d.gutters.offsetWidth, + gutterLeft: left, + gutterWidth: width, + wrapperWidth: d.wrapper.clientWidth}; + } + + // Sync the actual display DOM structure with display.view, removing + // nodes for lines that are no longer in view, and creating the ones + // that are not there yet, and updating the ones that are out of + // date. + function patchDisplay(cm, updateNumbersFrom, dims) { + var display = cm.display, lineNumbers = cm.options.lineNumbers; + var container = display.lineDiv, cur = container.firstChild; + + function rm(node) { + var next = node.nextSibling; + // Works around a throw-scroll bug in OS X Webkit + if (webkit && mac && cm.display.currentWheelTarget == node) + node.style.display = "none"; + else + node.parentNode.removeChild(node); + return next; + } + + var view = display.view, lineN = display.viewFrom; + // Loop over the elements in the view, syncing cur (the DOM nodes + // in display.lineDiv) with the view as we go. + for (var i = 0; i < view.length; i++) { + var lineView = view[i]; + if (lineView.hidden) { + } else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet + var node = buildLineElement(cm, lineView, lineN, dims); + container.insertBefore(node, cur); + } else { // Already drawn + while (cur != lineView.node) cur = rm(cur); + var updateNumber = lineNumbers && updateNumbersFrom != null && + updateNumbersFrom <= lineN && lineView.lineNumber; + if (lineView.changes) { + if (indexOf(lineView.changes, "gutter") > -1) updateNumber = false; + updateLineForChanges(cm, lineView, lineN, dims); + } + if (updateNumber) { + removeChildren(lineView.lineNumber); + lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN))); + } + cur = lineView.node.nextSibling; + } + lineN += lineView.size; + } + while (cur) cur = rm(cur); + } + + // When an aspect of a line changes, a string is added to + // lineView.changes. This updates the relevant part of the line's + // DOM structure. + function updateLineForChanges(cm, lineView, lineN, dims) { + for (var j = 0; j < lineView.changes.length; j++) { + var type = lineView.changes[j]; + if (type == "text") updateLineText(cm, lineView); + else if (type == "gutter") updateLineGutter(cm, lineView, lineN, dims); + else if (type == "class") updateLineClasses(lineView); + else if (type == "widget") updateLineWidgets(cm, lineView, dims); + } + lineView.changes = null; + } + + // Lines with gutter elements, widgets or a background class need to + // be wrapped, and have the extra elements added to the wrapper div + function ensureLineWrapped(lineView) { + if (lineView.node == lineView.text) { + lineView.node = elt("div", null, null, "position: relative"); + if (lineView.text.parentNode) + lineView.text.parentNode.replaceChild(lineView.node, lineView.text); + lineView.node.appendChild(lineView.text); + if (ie && ie_version < 8) lineView.node.style.zIndex = 2; + } + return lineView.node; + } + + function updateLineBackground(lineView) { + var cls = lineView.bgClass ? lineView.bgClass + " " + (lineView.line.bgClass || "") : lineView.line.bgClass; + if (cls) cls += " CodeMirror-linebackground"; + if (lineView.background) { + if (cls) lineView.background.className = cls; + else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; } + } else if (cls) { + var wrap = ensureLineWrapped(lineView); + lineView.background = wrap.insertBefore(elt("div", null, cls), wrap.firstChild); + } + } + + // Wrapper around buildLineContent which will reuse the structure + // in display.externalMeasured when possible. + function getLineContent(cm, lineView) { + var ext = cm.display.externalMeasured; + if (ext && ext.line == lineView.line) { + cm.display.externalMeasured = null; + lineView.measure = ext.measure; + return ext.built; + } + return buildLineContent(cm, lineView); + } + + // Redraw the line's text. Interacts with the background and text + // classes because the mode may output tokens that influence these + // classes. + function updateLineText(cm, lineView) { + var cls = lineView.text.className; + var built = getLineContent(cm, lineView); + if (lineView.text == lineView.node) lineView.node = built.pre; + lineView.text.parentNode.replaceChild(built.pre, lineView.text); + lineView.text = built.pre; + if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) { + lineView.bgClass = built.bgClass; + lineView.textClass = built.textClass; + updateLineClasses(lineView); + } else if (cls) { + lineView.text.className = cls; + } + } + + function updateLineClasses(lineView) { + updateLineBackground(lineView); + if (lineView.line.wrapClass) + ensureLineWrapped(lineView).className = lineView.line.wrapClass; + else if (lineView.node != lineView.text) + lineView.node.className = ""; + var textClass = lineView.textClass ? lineView.textClass + " " + (lineView.line.textClass || "") : lineView.line.textClass; + lineView.text.className = textClass || ""; + } + + function updateLineGutter(cm, lineView, lineN, dims) { + if (lineView.gutter) { + lineView.node.removeChild(lineView.gutter); + lineView.gutter = null; + } + var markers = lineView.line.gutterMarkers; + if (cm.options.lineNumbers || markers) { + var wrap = ensureLineWrapped(lineView); + var gutterWrap = lineView.gutter = elt("div", null, "CodeMirror-gutter-wrapper", "left: " + + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + + "px; width: " + dims.gutterTotalWidth + "px"); + cm.display.input.setUneditable(gutterWrap); + wrap.insertBefore(gutterWrap, lineView.text); + if (lineView.line.gutterClass) + gutterWrap.className += " " + lineView.line.gutterClass; + if (cm.options.lineNumbers && (!markers || !markers["CodeMirror-linenumbers"])) + lineView.lineNumber = gutterWrap.appendChild( + elt("div", lineNumberFor(cm.options, lineN), + "CodeMirror-linenumber CodeMirror-gutter-elt", + "left: " + dims.gutterLeft["CodeMirror-linenumbers"] + "px; width: " + + cm.display.lineNumInnerWidth + "px")); + if (markers) for (var k = 0; k < cm.options.gutters.length; ++k) { + var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id]; + if (found) + gutterWrap.appendChild(elt("div", [found], "CodeMirror-gutter-elt", "left: " + + dims.gutterLeft[id] + "px; width: " + dims.gutterWidth[id] + "px")); + } + } + } + + function updateLineWidgets(cm, lineView, dims) { + if (lineView.alignable) lineView.alignable = null; + for (var node = lineView.node.firstChild, next; node; node = next) { + var next = node.nextSibling; + if (node.className == "CodeMirror-linewidget") + lineView.node.removeChild(node); + } + insertLineWidgets(cm, lineView, dims); + } + + // Build a line's DOM representation from scratch + function buildLineElement(cm, lineView, lineN, dims) { + var built = getLineContent(cm, lineView); + lineView.text = lineView.node = built.pre; + if (built.bgClass) lineView.bgClass = built.bgClass; + if (built.textClass) lineView.textClass = built.textClass; + + updateLineClasses(lineView); + updateLineGutter(cm, lineView, lineN, dims); + insertLineWidgets(cm, lineView, dims); + return lineView.node; + } + + // A lineView may contain multiple logical lines (when merged by + // collapsed spans). The widgets for all of them need to be drawn. + function insertLineWidgets(cm, lineView, dims) { + insertLineWidgetsFor(cm, lineView.line, lineView, dims, true); + if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++) + insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false); + } + + function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) { + if (!line.widgets) return; + var wrap = ensureLineWrapped(lineView); + for (var i = 0, ws = line.widgets; i < ws.length; ++i) { + var widget = ws[i], node = elt("div", [widget.node], "CodeMirror-linewidget"); + if (!widget.handleMouseEvents) node.setAttribute("cm-ignore-events", "true"); + positionLineWidget(widget, node, lineView, dims); + cm.display.input.setUneditable(node); + if (allowAbove && widget.above) + wrap.insertBefore(node, lineView.gutter || lineView.text); + else + wrap.appendChild(node); + signalLater(widget, "redraw"); + } + } + + function positionLineWidget(widget, node, lineView, dims) { + if (widget.noHScroll) { + (lineView.alignable || (lineView.alignable = [])).push(node); + var width = dims.wrapperWidth; + node.style.left = dims.fixedPos + "px"; + if (!widget.coverGutter) { + width -= dims.gutterTotalWidth; + node.style.paddingLeft = dims.gutterTotalWidth + "px"; + } + node.style.width = width + "px"; + } + if (widget.coverGutter) { + node.style.zIndex = 5; + node.style.position = "relative"; + if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + "px"; + } + } + + // POSITION OBJECT + + // A Pos instance represents a position within the text. + var Pos = CodeMirror.Pos = function(line, ch) { + if (!(this instanceof Pos)) return new Pos(line, ch); + this.line = line; this.ch = ch; + }; + + // Compare two positions, return 0 if they are the same, a negative + // number when a is less, and a positive number otherwise. + var cmp = CodeMirror.cmpPos = function(a, b) { return a.line - b.line || a.ch - b.ch; }; + + function copyPos(x) {return Pos(x.line, x.ch);} + function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; } + function minPos(a, b) { return cmp(a, b) < 0 ? a : b; } + + // INPUT HANDLING + + function ensureFocus(cm) { + if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); } + } + + function isReadOnly(cm) { + return cm.options.readOnly || cm.doc.cantEdit; + } + + // This will be set to an array of strings when copying, so that, + // when pasting, we know what kind of selections the copied text + // was made out of. + var lastCopied = null; + + function applyTextInput(cm, inserted, deleted, sel, origin) { + var doc = cm.doc; + cm.display.shift = false; + if (!sel) sel = doc.sel; + + var textLines = splitLines(inserted), multiPaste = null; + // When pasing N lines into N selections, insert one line per selection + if (cm.state.pasteIncoming && sel.ranges.length > 1) { + if (lastCopied && lastCopied.join("\n") == inserted) + multiPaste = sel.ranges.length % lastCopied.length == 0 && map(lastCopied, splitLines); + else if (textLines.length == sel.ranges.length) + multiPaste = map(textLines, function(l) { return [l]; }); + } + + // Normal behavior is to insert the new text into every selection + for (var i = sel.ranges.length - 1; i >= 0; i--) { + var range = sel.ranges[i]; + var from = range.from(), to = range.to(); + if (range.empty()) { + if (deleted && deleted > 0) // Handle deletion + from = Pos(from.line, from.ch - deleted); + else if (cm.state.overwrite && !cm.state.pasteIncoming) // Handle overwrite + to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length)); + } + var updateInput = cm.curOp.updateInput; + var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines, + origin: origin || (cm.state.pasteIncoming ? "paste" : cm.state.cutIncoming ? "cut" : "+input")}; + makeChange(cm.doc, changeEvent); + signalLater(cm, "inputRead", cm, changeEvent); + // When an 'electric' character is inserted, immediately trigger a reindent + if (inserted && !cm.state.pasteIncoming && cm.options.electricChars && + cm.options.smartIndent && range.head.ch < 100 && + (!i || sel.ranges[i - 1].head.line != range.head.line)) { + var mode = cm.getModeAt(range.head); + var end = changeEnd(changeEvent); + var indented = false; + if (mode.electricChars) { + for (var j = 0; j < mode.electricChars.length; j++) + if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) { + indented = indentLine(cm, end.line, "smart"); + break; + } + } else if (mode.electricInput) { + if (mode.electricInput.test(getLine(doc, end.line).text.slice(0, end.ch))) + indented = indentLine(cm, end.line, "smart"); + } + if (indented) signalLater(cm, "electricInput", cm, end.line); + } + } + ensureCursorVisible(cm); + cm.curOp.updateInput = updateInput; + cm.curOp.typing = true; + cm.state.pasteIncoming = cm.state.cutIncoming = false; + } + + function copyableRanges(cm) { + var text = [], ranges = []; + for (var i = 0; i < cm.doc.sel.ranges.length; i++) { + var line = cm.doc.sel.ranges[i].head.line; + var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)}; + ranges.push(lineRange); + text.push(cm.getRange(lineRange.anchor, lineRange.head)); + } + return {text: text, ranges: ranges}; + } + + function disableBrowserMagic(field) { + field.setAttribute("autocorrect", "off"); + field.setAttribute("autocapitalize", "off"); + field.setAttribute("spellcheck", "false"); + } + + // TEXTAREA INPUT STYLE + + function TextareaInput(cm) { + this.cm = cm; + // See input.poll and input.reset + this.prevInput = ""; + + // Flag that indicates whether we expect input to appear real soon + // now (after some event like 'keypress' or 'input') and are + // polling intensively. + this.pollingFast = false; + // Self-resetting timeout for the poller + this.polling = new Delayed(); + // Tracks when input.reset has punted to just putting a short + // string into the textarea instead of the full selection. + this.inaccurateSelection = false; + // Used to work around IE issue with selection being forgotten when focus moves away from textarea + this.hasSelection = false; + this.composing = null; + }; + + function hiddenTextarea() { + var te = elt("textarea", null, null, "position: absolute; padding: 0; width: 1px; height: 1em; outline: none"); + var div = elt("div", [te], null, "overflow: hidden; position: relative; width: 3px; height: 0px;"); + // The textarea is kept positioned near the cursor to prevent the + // fact that it'll be scrolled into view on input from scrolling + // our fake cursor out of view. On webkit, when wrap=off, paste is + // very slow. So make the area wide instead. + if (webkit) te.style.width = "1000px"; + else te.setAttribute("wrap", "off"); + // If border: 0; -- iOS fails to open keyboard (issue #1287) + if (ios) te.style.border = "1px solid black"; + disableBrowserMagic(te); + return div; + } + + TextareaInput.prototype = copyObj({ + init: function(display) { + var input = this, cm = this.cm; + + // Wraps and hides input textarea + var div = this.wrapper = hiddenTextarea(); + // The semihidden textarea that is focused when the editor is + // focused, and receives input. + var te = this.textarea = div.firstChild; + display.wrapper.insertBefore(div, display.wrapper.firstChild); + + // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore) + if (ios) te.style.width = "0px"; + + on(te, "input", function() { + if (ie && ie_version >= 9 && input.hasSelection) input.hasSelection = null; + input.poll(); + }); + + on(te, "paste", function() { + // Workaround for webkit bug https://bugs.webkit.org/show_bug.cgi?id=90206 + // Add a char to the end of textarea before paste occur so that + // selection doesn't span to the end of textarea. + if (webkit && !cm.state.fakedLastChar && !(new Date - cm.state.lastMiddleDown < 200)) { + var start = te.selectionStart, end = te.selectionEnd; + te.value += "$"; + // The selection end needs to be set before the start, otherwise there + // can be an intermediate non-empty selection between the two, which + // can override the middle-click paste buffer on linux and cause the + // wrong thing to get pasted. + te.selectionEnd = end; + te.selectionStart = start; + cm.state.fakedLastChar = true; + } + cm.state.pasteIncoming = true; + input.fastPoll(); + }); + + function prepareCopyCut(e) { + if (cm.somethingSelected()) { + lastCopied = cm.getSelections(); + if (input.inaccurateSelection) { + input.prevInput = ""; + input.inaccurateSelection = false; + te.value = lastCopied.join("\n"); + selectInput(te); + } + } else if (!cm.options.lineWiseCopyCut) { + return; + } else { + var ranges = copyableRanges(cm); + lastCopied = ranges.text; + if (e.type == "cut") { + cm.setSelections(ranges.ranges, null, sel_dontScroll); + } else { + input.prevInput = ""; + te.value = ranges.text.join("\n"); + selectInput(te); + } + } + if (e.type == "cut") cm.state.cutIncoming = true; + } + on(te, "cut", prepareCopyCut); + on(te, "copy", prepareCopyCut); + + on(display.scroller, "paste", function(e) { + if (eventInWidget(display, e)) return; + cm.state.pasteIncoming = true; + input.focus(); + }); + + // Prevent normal selection in the editor (we handle our own) + on(display.lineSpace, "selectstart", function(e) { + if (!eventInWidget(display, e)) e_preventDefault(e); + }); + + on(te, "compositionstart", function() { + var start = cm.getCursor("from"); + input.composing = { + start: start, + range: cm.markText(start, cm.getCursor("to"), {className: "CodeMirror-composing"}) + }; + }); + on(te, "compositionend", function() { + if (input.composing) { + input.poll(); + input.composing.range.clear(); + input.composing = null; + } + }); + }, + + prepareSelection: function() { + // Redraw the selection and/or cursor + var cm = this.cm, display = cm.display, doc = cm.doc; + var result = prepareSelection(cm); + + // Move the hidden textarea near the cursor to prevent scrolling artifacts + if (cm.options.moveInputWithCursor) { + var headPos = cursorCoords(cm, doc.sel.primary().head, "div"); + var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect(); + result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10, + headPos.top + lineOff.top - wrapOff.top)); + result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10, + headPos.left + lineOff.left - wrapOff.left)); + } + + return result; + }, + + showSelection: function(drawn) { + var cm = this.cm, display = cm.display; + removeChildrenAndAdd(display.cursorDiv, drawn.cursors); + removeChildrenAndAdd(display.selectionDiv, drawn.selection); + if (drawn.teTop != null) { + this.wrapper.style.top = drawn.teTop + "px"; + this.wrapper.style.left = drawn.teLeft + "px"; + } + }, + + // Reset the input to correspond to the selection (or to be empty, + // when not typing and nothing is selected) + reset: function(typing) { + if (this.contextMenuPending) return; + var minimal, selected, cm = this.cm, doc = cm.doc; + if (cm.somethingSelected()) { + this.prevInput = ""; + var range = doc.sel.primary(); + minimal = hasCopyEvent && + (range.to().line - range.from().line > 100 || (selected = cm.getSelection()).length > 1000); + var content = minimal ? "-" : selected || cm.getSelection(); + this.textarea.value = content; + if (cm.state.focused) selectInput(this.textarea); + if (ie && ie_version >= 9) this.hasSelection = content; + } else if (!typing) { + this.prevInput = this.textarea.value = ""; + if (ie && ie_version >= 9) this.hasSelection = null; + } + this.inaccurateSelection = minimal; + }, + + getField: function() { return this.textarea; }, + + supportsTouch: function() { return false; }, + + focus: function() { + if (this.cm.options.readOnly != "nocursor" && (!mobile || activeElt() != this.textarea)) { + try { this.textarea.focus(); } + catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM + } + }, + + blur: function() { this.textarea.blur(); }, + + resetPosition: function() { + this.wrapper.style.top = this.wrapper.style.left = 0; + }, + + receivedFocus: function() { this.slowPoll(); }, + + // Poll for input changes, using the normal rate of polling. This + // runs as long as the editor is focused. + slowPoll: function() { + var input = this; + if (input.pollingFast) return; + input.polling.set(this.cm.options.pollInterval, function() { + input.poll(); + if (input.cm.state.focused) input.slowPoll(); + }); + }, + + // When an event has just come in that is likely to add or change + // something in the input textarea, we poll faster, to ensure that + // the change appears on the screen quickly. + fastPoll: function() { + var missed = false, input = this; + input.pollingFast = true; + function p() { + var changed = input.poll(); + if (!changed && !missed) {missed = true; input.polling.set(60, p);} + else {input.pollingFast = false; input.slowPoll();} + } + input.polling.set(20, p); + }, + + // Read input from the textarea, and update the document to match. + // When something is selected, it is present in the textarea, and + // selected (unless it is huge, in which case a placeholder is + // used). When nothing is selected, the cursor sits after previously + // seen text (can be empty), which is stored in prevInput (we must + // not reset the textarea when typing, because that breaks IME). + poll: function() { + var cm = this.cm, input = this.textarea, prevInput = this.prevInput; + // Since this is called a *lot*, try to bail out as cheaply as + // possible when it is clear that nothing happened. hasSelection + // will be the case when there is a lot of text in the textarea, + // in which case reading its value would be expensive. + if (!cm.state.focused || (hasSelection(input) && !prevInput) || + isReadOnly(cm) || cm.options.disableInput || cm.state.keySeq) + return false; + // See paste handler for more on the fakedLastChar kludge + if (cm.state.pasteIncoming && cm.state.fakedLastChar) { + input.value = input.value.substring(0, input.value.length - 1); + cm.state.fakedLastChar = false; + } + var text = input.value; + // If nothing changed, bail. + if (text == prevInput && !cm.somethingSelected()) return false; + // Work around nonsensical selection resetting in IE9/10, and + // inexplicable appearance of private area unicode characters on + // some key combos in Mac (#2689). + if (ie && ie_version >= 9 && this.hasSelection === text || + mac && /[\uf700-\uf7ff]/.test(text)) { + cm.display.input.reset(); + return false; + } + + if (cm.doc.sel == cm.display.selForContextMenu) { + var first = text.charCodeAt(0); + if (first == 0x200b && !prevInput) prevInput = "\u200b"; + if (first == 0x21da) { this.reset(); return this.cm.execCommand("undo"); } + } + // Find the part of the input that is actually new + var same = 0, l = Math.min(prevInput.length, text.length); + while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) ++same; + + var self = this; + runInOp(cm, function() { + applyTextInput(cm, text.slice(same), prevInput.length - same, + null, self.composing ? "*compose" : null); + + // Don't leave long text in the textarea, since it makes further polling slow + if (text.length > 1000 || text.indexOf("\n") > -1) input.value = self.prevInput = ""; + else self.prevInput = text; + + if (self.composing) { + self.composing.range.clear(); + self.composing.range = cm.markText(self.composing.start, cm.getCursor("to"), + {className: "CodeMirror-composing"}); + } + }); + return true; + }, + + ensurePolled: function() { + if (this.pollingFast && this.poll()) this.pollingFast = false; + }, + + onKeyPress: function() { + if (ie && ie_version >= 9) this.hasSelection = null; + this.fastPoll(); + }, + + onContextMenu: function(e) { + var input = this, cm = input.cm, display = cm.display, te = input.textarea; + var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop; + if (!pos || presto) return; // Opera is difficult. + + // Reset the current text selection only if the click is done outside of the selection + // and 'resetSelectionOnContextMenu' option is true. + var reset = cm.options.resetSelectionOnContextMenu; + if (reset && cm.doc.sel.contains(pos) == -1) + operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll); + + var oldCSS = te.style.cssText; + input.wrapper.style.position = "absolute"; + te.style.cssText = "position: fixed; width: 30px; height: 30px; top: " + (e.clientY - 5) + + "px; left: " + (e.clientX - 5) + "px; z-index: 1000; background: " + + (ie ? "rgba(255, 255, 255, .05)" : "transparent") + + "; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);"; + if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (#2712) + display.input.focus(); + if (webkit) window.scrollTo(null, oldScrollY); + display.input.reset(); + // Adds "Select all" to context menu in FF + if (!cm.somethingSelected()) te.value = input.prevInput = " "; + input.contextMenuPending = true; + display.selForContextMenu = cm.doc.sel; + clearTimeout(display.detectingSelectAll); + + // Select-all will be greyed out if there's nothing to select, so + // this adds a zero-width space so that we can later check whether + // it got selected. + function prepareSelectAllHack() { + if (te.selectionStart != null) { + var selected = cm.somethingSelected(); + var extval = "\u200b" + (selected ? te.value : ""); + te.value = "\u21da"; // Used to catch context-menu undo + te.value = extval; + input.prevInput = selected ? "" : "\u200b"; + te.selectionStart = 1; te.selectionEnd = extval.length; + // Re-set this, in case some other handler touched the + // selection in the meantime. + display.selForContextMenu = cm.doc.sel; + } + } + function rehide() { + input.contextMenuPending = false; + input.wrapper.style.position = "relative"; + te.style.cssText = oldCSS; + if (ie && ie_version < 9) display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos); + + // Try to detect the user choosing select-all + if (te.selectionStart != null) { + if (!ie || (ie && ie_version < 9)) prepareSelectAllHack(); + var i = 0, poll = function() { + if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 && + te.selectionEnd > 0 && input.prevInput == "\u200b") + operation(cm, commands.selectAll)(cm); + else if (i++ < 10) display.detectingSelectAll = setTimeout(poll, 500); + else display.input.reset(); + }; + display.detectingSelectAll = setTimeout(poll, 200); + } + } + + if (ie && ie_version >= 9) prepareSelectAllHack(); + if (captureRightClick) { + e_stop(e); + var mouseup = function() { + off(window, "mouseup", mouseup); + setTimeout(rehide, 20); + }; + on(window, "mouseup", mouseup); + } else { + setTimeout(rehide, 50); + } + }, + + setUneditable: nothing, + + needsContentAttribute: false + }, TextareaInput.prototype); + + // CONTENTEDITABLE INPUT STYLE + + function ContentEditableInput(cm) { + this.cm = cm; + this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null; + this.polling = new Delayed(); + this.gracePeriod = false; + } + + ContentEditableInput.prototype = copyObj({ + init: function(display) { + var input = this, cm = input.cm; + var div = input.div = display.lineDiv; + div.contentEditable = "true"; + disableBrowserMagic(div); + + on(div, "paste", function(e) { + var pasted = e.clipboardData && e.clipboardData.getData("text/plain"); + if (pasted) { + e.preventDefault(); + cm.replaceSelection(pasted, null, "paste"); + } + }); + + on(div, "compositionstart", function(e) { + var data = e.data; + input.composing = {sel: cm.doc.sel, data: data, startData: data}; + if (!data) return; + var prim = cm.doc.sel.primary(); + var line = cm.getLine(prim.head.line); + var found = line.indexOf(data, Math.max(0, prim.head.ch - data.length)); + if (found > -1 && found <= prim.head.ch) + input.composing.sel = simpleSelection(Pos(prim.head.line, found), + Pos(prim.head.line, found + data.length)); + }); + on(div, "compositionupdate", function(e) { + input.composing.data = e.data; + }); + on(div, "compositionend", function(e) { + var ours = input.composing; + if (!ours) return; + if (e.data != ours.startData && !/\u200b/.test(e.data)) + ours.data = e.data; + // Need a small delay to prevent other code (input event, + // selection polling) from doing damage when fired right after + // compositionend. + setTimeout(function() { + if (!ours.handled) + input.applyComposition(ours); + if (input.composing == ours) + input.composing = null; + }, 50); + }); + + on(div, "touchstart", function() { + input.forceCompositionEnd(); + }); + + on(div, "input", function() { + if (input.composing) return; + if (!input.pollContent()) + runInOp(input.cm, function() {regChange(cm);}); + }); + + function onCopyCut(e) { + if (cm.somethingSelected()) { + lastCopied = cm.getSelections(); + if (e.type == "cut") cm.replaceSelection("", null, "cut"); + } else if (!cm.options.lineWiseCopyCut) { + return; + } else { + var ranges = copyableRanges(cm); + lastCopied = ranges.text; + if (e.type == "cut") { + cm.operation(function() { + cm.setSelections(ranges.ranges, 0, sel_dontScroll); + cm.replaceSelection("", null, "cut"); + }); + } + } + // iOS exposes the clipboard API, but seems to discard content inserted into it + if (e.clipboardData && !ios) { + e.preventDefault(); + e.clipboardData.clearData(); + e.clipboardData.setData("text/plain", lastCopied.join("\n")); + } else { + // Old-fashioned briefly-focus-a-textarea hack + var kludge = hiddenTextarea(), te = kludge.firstChild; + cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild); + te.value = lastCopied.join("\n"); + var hadFocus = document.activeElement; + selectInput(te); + setTimeout(function() { + cm.display.lineSpace.removeChild(kludge); + hadFocus.focus(); + }, 50); + } + } + on(div, "copy", onCopyCut); + on(div, "cut", onCopyCut); + }, + + prepareSelection: function() { + var result = prepareSelection(this.cm, false); + result.focus = this.cm.state.focused; + return result; + }, + + showSelection: function(info) { + if (!info || !this.cm.display.view.length) return; + if (info.focus) this.showPrimarySelection(); + this.showMultipleSelections(info); + }, + + showPrimarySelection: function() { + var sel = window.getSelection(), prim = this.cm.doc.sel.primary(); + var curAnchor = domToPos(this.cm, sel.anchorNode, sel.anchorOffset); + var curFocus = domToPos(this.cm, sel.focusNode, sel.focusOffset); + if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad && + cmp(minPos(curAnchor, curFocus), prim.from()) == 0 && + cmp(maxPos(curAnchor, curFocus), prim.to()) == 0) + return; + + var start = posToDOM(this.cm, prim.from()); + var end = posToDOM(this.cm, prim.to()); + if (!start && !end) return; + + var view = this.cm.display.view; + var old = sel.rangeCount && sel.getRangeAt(0); + if (!start) { + start = {node: view[0].measure.map[2], offset: 0}; + } else if (!end) { // FIXME dangerously hacky + var measure = view[view.length - 1].measure; + var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map; + end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]}; + } + + try { var rng = range(start.node, start.offset, end.offset, end.node); } + catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible + if (rng) { + sel.removeAllRanges(); + sel.addRange(rng); + if (old && sel.anchorNode == null) sel.addRange(old); + else if (gecko) this.startGracePeriod(); + } + this.rememberSelection(); + }, + + startGracePeriod: function() { + var input = this; + clearTimeout(this.gracePeriod); + this.gracePeriod = setTimeout(function() { + input.gracePeriod = false; + if (input.selectionChanged()) + input.cm.operation(function() { input.cm.curOp.selectionChanged = true; }); + }, 20); + }, + + showMultipleSelections: function(info) { + removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors); + removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection); + }, + + rememberSelection: function() { + var sel = window.getSelection(); + this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset; + this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset; + }, + + selectionInEditor: function() { + var sel = window.getSelection(); + if (!sel.rangeCount) return false; + var node = sel.getRangeAt(0).commonAncestorContainer; + return contains(this.div, node); + }, + + focus: function() { + if (this.cm.options.readOnly != "nocursor") this.div.focus(); + }, + blur: function() { this.div.blur(); }, + getField: function() { return this.div; }, + + supportsTouch: function() { return true; }, + + receivedFocus: function() { + var input = this; + if (this.selectionInEditor()) + this.pollSelection(); + else + runInOp(this.cm, function() { input.cm.curOp.selectionChanged = true; }); + + function poll() { + if (input.cm.state.focused) { + input.pollSelection(); + input.polling.set(input.cm.options.pollInterval, poll); + } + } + this.polling.set(this.cm.options.pollInterval, poll); + }, + + selectionChanged: function() { + var sel = window.getSelection(); + return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset || + sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset; + }, + + pollSelection: function() { + if (!this.composing && !this.gracePeriod && this.selectionChanged()) { + var sel = window.getSelection(), cm = this.cm; + this.rememberSelection(); + var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset); + var head = domToPos(cm, sel.focusNode, sel.focusOffset); + if (anchor && head) runInOp(cm, function() { + setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll); + if (anchor.bad || head.bad) cm.curOp.selectionChanged = true; + }); + } + }, + + pollContent: function() { + var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary(); + var from = sel.from(), to = sel.to(); + if (from.line < display.viewFrom || to.line > display.viewTo - 1) return false; + + var fromIndex; + if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) { + var fromLine = lineNo(display.view[0].line); + var fromNode = display.view[0].node; + } else { + var fromLine = lineNo(display.view[fromIndex].line); + var fromNode = display.view[fromIndex - 1].node.nextSibling; + } + var toIndex = findViewIndex(cm, to.line); + if (toIndex == display.view.length - 1) { + var toLine = display.viewTo - 1; + var toNode = display.view[toIndex].node; + } else { + var toLine = lineNo(display.view[toIndex + 1].line) - 1; + var toNode = display.view[toIndex + 1].node.previousSibling; + } + + var newText = splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine)); + var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length)); + while (newText.length > 1 && oldText.length > 1) { + if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; } + else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; } + else break; + } + + var cutFront = 0, cutEnd = 0; + var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length); + while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront)) + ++cutFront; + var newBot = lst(newText), oldBot = lst(oldText); + var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0), + oldBot.length - (oldText.length == 1 ? cutFront : 0)); + while (cutEnd < maxCutEnd && + newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1)) + ++cutEnd; + + newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd); + newText[0] = newText[0].slice(cutFront); + + var chFrom = Pos(fromLine, cutFront); + var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0); + if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) { + replaceRange(cm.doc, newText, chFrom, chTo, "+input"); + return true; + } + }, + + ensurePolled: function() { + this.forceCompositionEnd(); + }, + reset: function() { + this.forceCompositionEnd(); + }, + forceCompositionEnd: function() { + if (!this.composing || this.composing.handled) return; + this.applyComposition(this.composing); + this.composing.handled = true; + this.div.blur(); + this.div.focus(); + }, + applyComposition: function(composing) { + if (composing.data && composing.data != composing.startData) + operation(this.cm, applyTextInput)(this.cm, composing.data, 0, composing.sel); + }, + + setUneditable: function(node) { + node.setAttribute("contenteditable", "false"); + }, + + onKeyPress: function(e) { + e.preventDefault(); + operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0); + }, + + onContextMenu: nothing, + resetPosition: nothing, + + needsContentAttribute: true + }, ContentEditableInput.prototype); + + function posToDOM(cm, pos) { + var view = findViewForLine(cm, pos.line); + if (!view || view.hidden) return null; + var line = getLine(cm.doc, pos.line); + var info = mapFromLineView(view, line, pos.line); + + var order = getOrder(line), side = "left"; + if (order) { + var partPos = getBidiPartAt(order, pos.ch); + side = partPos % 2 ? "right" : "left"; + } + var result = nodeAndOffsetInLineMap(info.map, pos.ch, "left"); + result.offset = result.collapse == "right" ? result.end : result.start; + return result; + } + + function badPos(pos, bad) { if (bad) pos.bad = true; return pos; } + + function domToPos(cm, node, offset) { + var lineNode; + if (node == cm.display.lineDiv) { + lineNode = cm.display.lineDiv.childNodes[offset]; + if (!lineNode) return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true); + node = null; offset = 0; + } else { + for (lineNode = node;; lineNode = lineNode.parentNode) { + if (!lineNode || lineNode == cm.display.lineDiv) return null; + if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) break; + } + } + for (var i = 0; i < cm.display.view.length; i++) { + var lineView = cm.display.view[i]; + if (lineView.node == lineNode) + return locateNodeInLineView(lineView, node, offset); + } + } + + function locateNodeInLineView(lineView, node, offset) { + var wrapper = lineView.text.firstChild, bad = false; + if (!node || !contains(wrapper, node)) return badPos(Pos(lineNo(lineView.line), 0), true); + if (node == wrapper) { + bad = true; + node = wrapper.childNodes[offset]; + offset = 0; + if (!node) { + var line = lineView.rest ? lst(lineView.rest) : lineView.line; + return badPos(Pos(lineNo(line), line.text.length), bad); + } + } + + var textNode = node.nodeType == 3 ? node : null, topNode = node; + if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) { + textNode = node.firstChild; + if (offset) offset = textNode.nodeValue.length; + } + while (topNode.parentNode != wrapper) topNode = topNode.parentNode; + var measure = lineView.measure, maps = measure.maps; + + function find(textNode, topNode, offset) { + for (var i = -1; i < (maps ? maps.length : 0); i++) { + var map = i < 0 ? measure.map : maps[i]; + for (var j = 0; j < map.length; j += 3) { + var curNode = map[j + 2]; + if (curNode == textNode || curNode == topNode) { + var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]); + var ch = map[j] + offset; + if (offset < 0 || curNode != textNode) ch = map[j + (offset ? 1 : 0)]; + return Pos(line, ch); + } + } + } + } + var found = find(textNode, topNode, offset); + if (found) return badPos(found, bad); + + // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems + for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) { + found = find(after, after.firstChild, 0); + if (found) + return badPos(Pos(found.line, found.ch - dist), bad); + else + dist += after.textContent.length; + } + for (var before = topNode.previousSibling, dist = offset; before; before = before.previousSibling) { + found = find(before, before.firstChild, -1); + if (found) + return badPos(Pos(found.line, found.ch + dist), bad); + else + dist += after.textContent.length; + } + } + + function domTextBetween(cm, from, to, fromLine, toLine) { + var text = "", closing = false; + function recognizeMarker(id) { return function(marker) { return marker.id == id; }; } + function walk(node) { + if (node.nodeType == 1) { + var cmText = node.getAttribute("cm-text"); + if (cmText != null) { + if (cmText == "") cmText = node.textContent.replace(/\u200b/g, ""); + text += cmText; + return; + } + var markerID = node.getAttribute("cm-marker"), range; + if (markerID) { + var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID)); + if (found.length && (range = found[0].find())) + text += getBetween(cm.doc, range.from, range.to).join("\n"); + return; + } + if (node.getAttribute("contenteditable") == "false") return; + for (var i = 0; i < node.childNodes.length; i++) + walk(node.childNodes[i]); + if (/^(pre|div|p)$/i.test(node.nodeName)) + closing = true; + } else if (node.nodeType == 3) { + var val = node.nodeValue; + if (!val) return; + if (closing) { + text += "\n"; + closing = false; + } + text += val; + } + } + for (;;) { + walk(from); + if (from == to) break; + from = from.nextSibling; + } + return text; + } + + CodeMirror.inputStyles = {"textarea": TextareaInput, "contenteditable": ContentEditableInput}; + + // SELECTION / CURSOR + + // Selection objects are immutable. A new one is created every time + // the selection changes. A selection is one or more non-overlapping + // (and non-touching) ranges, sorted, and an integer that indicates + // which one is the primary selection (the one that's scrolled into + // view, that getCursor returns, etc). + function Selection(ranges, primIndex) { + this.ranges = ranges; + this.primIndex = primIndex; + } + + Selection.prototype = { + primary: function() { return this.ranges[this.primIndex]; }, + equals: function(other) { + if (other == this) return true; + if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) return false; + for (var i = 0; i < this.ranges.length; i++) { + var here = this.ranges[i], there = other.ranges[i]; + if (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false; + } + return true; + }, + deepCopy: function() { + for (var out = [], i = 0; i < this.ranges.length; i++) + out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head)); + return new Selection(out, this.primIndex); + }, + somethingSelected: function() { + for (var i = 0; i < this.ranges.length; i++) + if (!this.ranges[i].empty()) return true; + return false; + }, + contains: function(pos, end) { + if (!end) end = pos; + for (var i = 0; i < this.ranges.length; i++) { + var range = this.ranges[i]; + if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0) + return i; + } + return -1; + } + }; + + function Range(anchor, head) { + this.anchor = anchor; this.head = head; + } + + Range.prototype = { + from: function() { return minPos(this.anchor, this.head); }, + to: function() { return maxPos(this.anchor, this.head); }, + empty: function() { + return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch; + } + }; + + // Take an unsorted, potentially overlapping set of ranges, and + // build a selection out of it. 'Consumes' ranges array (modifying + // it). + function normalizeSelection(ranges, primIndex) { + var prim = ranges[primIndex]; + ranges.sort(function(a, b) { return cmp(a.from(), b.from()); }); + primIndex = indexOf(ranges, prim); + for (var i = 1; i < ranges.length; i++) { + var cur = ranges[i], prev = ranges[i - 1]; + if (cmp(prev.to(), cur.from()) >= 0) { + var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to()); + var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head; + if (i <= primIndex) --primIndex; + ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to)); + } + } + return new Selection(ranges, primIndex); + } + + function simpleSelection(anchor, head) { + return new Selection([new Range(anchor, head || anchor)], 0); + } + + // Most of the external API clips given positions to make sure they + // actually exist within the document. + function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1));} + function clipPos(doc, pos) { + if (pos.line < doc.first) return Pos(doc.first, 0); + var last = doc.first + doc.size - 1; + if (pos.line > last) return Pos(last, getLine(doc, last).text.length); + return clipToLen(pos, getLine(doc, pos.line).text.length); + } + function clipToLen(pos, linelen) { + var ch = pos.ch; + if (ch == null || ch > linelen) return Pos(pos.line, linelen); + else if (ch < 0) return Pos(pos.line, 0); + else return pos; + } + function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;} + function clipPosArray(doc, array) { + for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]); + return out; + } + + // SELECTION UPDATES + + // The 'scroll' parameter given to many of these indicated whether + // the new cursor position should be scrolled into view after + // modifying the selection. + + // If shift is held or the extend flag is set, extends a range to + // include a given position (and optionally a second position). + // Otherwise, simply returns the range between the given positions. + // Used for cursor motion and such. + function extendRange(doc, range, head, other) { + if (doc.cm && doc.cm.display.shift || doc.extend) { + var anchor = range.anchor; + if (other) { + var posBefore = cmp(head, anchor) < 0; + if (posBefore != (cmp(other, anchor) < 0)) { + anchor = head; + head = other; + } else if (posBefore != (cmp(head, other) < 0)) { + head = other; + } + } + return new Range(anchor, head); + } else { + return new Range(other || head, head); + } + } + + // Extend the primary selection range, discard the rest. + function extendSelection(doc, head, other, options) { + setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options); + } + + // Extend all selections (pos is an array of selections with length + // equal the number of selections) + function extendSelections(doc, heads, options) { + for (var out = [], i = 0; i < doc.sel.ranges.length; i++) + out[i] = extendRange(doc, doc.sel.ranges[i], heads[i], null); + var newSel = normalizeSelection(out, doc.sel.primIndex); + setSelection(doc, newSel, options); + } + + // Updates a single range in the selection. + function replaceOneSelection(doc, i, range, options) { + var ranges = doc.sel.ranges.slice(0); + ranges[i] = range; + setSelection(doc, normalizeSelection(ranges, doc.sel.primIndex), options); + } + + // Reset the selection to a single range. + function setSimpleSelection(doc, anchor, head, options) { + setSelection(doc, simpleSelection(anchor, head), options); + } + + // Give beforeSelectionChange handlers a change to influence a + // selection update. + function filterSelectionChange(doc, sel) { + var obj = { + ranges: sel.ranges, + update: function(ranges) { + this.ranges = []; + for (var i = 0; i < ranges.length; i++) + this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor), + clipPos(doc, ranges[i].head)); + } + }; + signal(doc, "beforeSelectionChange", doc, obj); + if (doc.cm) signal(doc.cm, "beforeSelectionChange", doc.cm, obj); + if (obj.ranges != sel.ranges) return normalizeSelection(obj.ranges, obj.ranges.length - 1); + else return sel; + } + + function setSelectionReplaceHistory(doc, sel, options) { + var done = doc.history.done, last = lst(done); + if (last && last.ranges) { + done[done.length - 1] = sel; + setSelectionNoUndo(doc, sel, options); + } else { + setSelection(doc, sel, options); + } + } + + // Set a new selection. + function setSelection(doc, sel, options) { + setSelectionNoUndo(doc, sel, options); + addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options); + } + + function setSelectionNoUndo(doc, sel, options) { + if (hasHandler(doc, "beforeSelectionChange") || doc.cm && hasHandler(doc.cm, "beforeSelectionChange")) + sel = filterSelectionChange(doc, sel); + + var bias = options && options.bias || + (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1); + setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true)); + + if (!(options && options.scroll === false) && doc.cm) + ensureCursorVisible(doc.cm); + } + + function setSelectionInner(doc, sel) { + if (sel.equals(doc.sel)) return; + + doc.sel = sel; + + if (doc.cm) { + doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true; + signalCursorActivity(doc.cm); + } + signalLater(doc, "cursorActivity", doc); + } + + // Verify that the selection does not partially select any atomic + // marked ranges. + function reCheckSelection(doc) { + setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll); + } + + // Return a selection that does not partially select any atomic + // ranges. + function skipAtomicInSelection(doc, sel, bias, mayClear) { + var out; + for (var i = 0; i < sel.ranges.length; i++) { + var range = sel.ranges[i]; + var newAnchor = skipAtomic(doc, range.anchor, bias, mayClear); + var newHead = skipAtomic(doc, range.head, bias, mayClear); + if (out || newAnchor != range.anchor || newHead != range.head) { + if (!out) out = sel.ranges.slice(0, i); + out[i] = new Range(newAnchor, newHead); + } + } + return out ? normalizeSelection(out, sel.primIndex) : sel; + } + + // Ensure a given position is not inside an atomic range. + function skipAtomic(doc, pos, bias, mayClear) { + var flipped = false, curPos = pos; + var dir = bias || 1; + doc.cantEdit = false; + search: for (;;) { + var line = getLine(doc, curPos.line); + if (line.markedSpans) { + for (var i = 0; i < line.markedSpans.length; ++i) { + var sp = line.markedSpans[i], m = sp.marker; + if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) && + (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) { + if (mayClear) { + signal(m, "beforeCursorEnter"); + if (m.explicitlyCleared) { + if (!line.markedSpans) break; + else {--i; continue;} + } + } + if (!m.atomic) continue; + var newPos = m.find(dir < 0 ? -1 : 1); + if (cmp(newPos, curPos) == 0) { + newPos.ch += dir; + if (newPos.ch < 0) { + if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1)); + else newPos = null; + } else if (newPos.ch > line.text.length) { + if (newPos.line < doc.first + doc.size - 1) newPos = Pos(newPos.line + 1, 0); + else newPos = null; + } + if (!newPos) { + if (flipped) { + // Driven in a corner -- no valid cursor position found at all + // -- try again *with* clearing, if we didn't already + if (!mayClear) return skipAtomic(doc, pos, bias, true); + // Otherwise, turn off editing until further notice, and return the start of the doc + doc.cantEdit = true; + return Pos(doc.first, 0); + } + flipped = true; newPos = pos; dir = -dir; + } + } + curPos = newPos; + continue search; + } + } + } + return curPos; + } + } + + // SELECTION DRAWING + + function updateSelection(cm) { + cm.display.input.showSelection(cm.display.input.prepareSelection()); + } + + function prepareSelection(cm, primary) { + var doc = cm.doc, result = {}; + var curFragment = result.cursors = document.createDocumentFragment(); + var selFragment = result.selection = document.createDocumentFragment(); + + for (var i = 0; i < doc.sel.ranges.length; i++) { + if (primary === false && i == doc.sel.primIndex) continue; + var range = doc.sel.ranges[i]; + var collapsed = range.empty(); + if (collapsed || cm.options.showCursorWhenSelecting) + drawSelectionCursor(cm, range, curFragment); + if (!collapsed) + drawSelectionRange(cm, range, selFragment); + } + return result; + } + + // Draws a cursor for the given range + function drawSelectionCursor(cm, range, output) { + var pos = cursorCoords(cm, range.head, "div", null, null, !cm.options.singleCursorHeightPerLine); + + var cursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor")); + cursor.style.left = pos.left + "px"; + cursor.style.top = pos.top + "px"; + cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + "px"; + + if (pos.other) { + // Secondary cursor, shown when on a 'jump' in bi-directional text + var otherCursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor CodeMirror-secondarycursor")); + otherCursor.style.display = ""; + otherCursor.style.left = pos.other.left + "px"; + otherCursor.style.top = pos.other.top + "px"; + otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + "px"; + } + } + + // Draws the given range as a highlighted selection + function drawSelectionRange(cm, range, output) { + var display = cm.display, doc = cm.doc; + var fragment = document.createDocumentFragment(); + var padding = paddingH(cm.display), leftSide = padding.left; + var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right; + + function add(left, top, width, bottom) { + if (top < 0) top = 0; + top = Math.round(top); + bottom = Math.round(bottom); + fragment.appendChild(elt("div", null, "CodeMirror-selected", "position: absolute; left: " + left + + "px; top: " + top + "px; width: " + (width == null ? rightSide - left : width) + + "px; height: " + (bottom - top) + "px")); + } + + function drawForLine(line, fromArg, toArg) { + var lineObj = getLine(doc, line); + var lineLen = lineObj.text.length; + var start, end; + function coords(ch, bias) { + return charCoords(cm, Pos(line, ch), "div", lineObj, bias); + } + + iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) { + var leftPos = coords(from, "left"), rightPos, left, right; + if (from == to) { + rightPos = leftPos; + left = right = leftPos.left; + } else { + rightPos = coords(to - 1, "right"); + if (dir == "rtl") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; } + left = leftPos.left; + right = rightPos.right; + } + if (fromArg == null && from == 0) left = leftSide; + if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part + add(left, leftPos.top, null, leftPos.bottom); + left = leftSide; + if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top); + } + if (toArg == null && to == lineLen) right = rightSide; + if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left) + start = leftPos; + if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right) + end = rightPos; + if (left < leftSide + 1) left = leftSide; + add(left, rightPos.top, right - left, rightPos.bottom); + }); + return {start: start, end: end}; + } + + var sFrom = range.from(), sTo = range.to(); + if (sFrom.line == sTo.line) { + drawForLine(sFrom.line, sFrom.ch, sTo.ch); + } else { + var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line); + var singleVLine = visualLine(fromLine) == visualLine(toLine); + var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end; + var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start; + if (singleVLine) { + if (leftEnd.top < rightStart.top - 2) { + add(leftEnd.right, leftEnd.top, null, leftEnd.bottom); + add(leftSide, rightStart.top, rightStart.left, rightStart.bottom); + } else { + add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom); + } + } + if (leftEnd.bottom < rightStart.top) + add(leftSide, leftEnd.bottom, null, rightStart.top); + } + + output.appendChild(fragment); + } + + // Cursor-blinking + function restartBlink(cm) { + if (!cm.state.focused) return; + var display = cm.display; + clearInterval(display.blinker); + var on = true; + display.cursorDiv.style.visibility = ""; + if (cm.options.cursorBlinkRate > 0) + display.blinker = setInterval(function() { + display.cursorDiv.style.visibility = (on = !on) ? "" : "hidden"; + }, cm.options.cursorBlinkRate); + else if (cm.options.cursorBlinkRate < 0) + display.cursorDiv.style.visibility = "hidden"; + } + + // HIGHLIGHT WORKER + + function startWorker(cm, time) { + if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo) + cm.state.highlight.set(time, bind(highlightWorker, cm)); + } + + function highlightWorker(cm) { + var doc = cm.doc; + if (doc.frontier < doc.first) doc.frontier = doc.first; + if (doc.frontier >= cm.display.viewTo) return; + var end = +new Date + cm.options.workTime; + var state = copyState(doc.mode, getStateBefore(cm, doc.frontier)); + var changedLines = []; + + doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function(line) { + if (doc.frontier >= cm.display.viewFrom) { // Visible + var oldStyles = line.styles; + var highlighted = highlightLine(cm, line, state, true); + line.styles = highlighted.styles; + var oldCls = line.styleClasses, newCls = highlighted.classes; + if (newCls) line.styleClasses = newCls; + else if (oldCls) line.styleClasses = null; + var ischange = !oldStyles || oldStyles.length != line.styles.length || + oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass); + for (var i = 0; !ischange && i < oldStyles.length; ++i) ischange = oldStyles[i] != line.styles[i]; + if (ischange) changedLines.push(doc.frontier); + line.stateAfter = copyState(doc.mode, state); + } else { + processLine(cm, line.text, state); + line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null; + } + ++doc.frontier; + if (+new Date > end) { + startWorker(cm, cm.options.workDelay); + return true; + } + }); + if (changedLines.length) runInOp(cm, function() { + for (var i = 0; i < changedLines.length; i++) + regLineChange(cm, changedLines[i], "text"); + }); + } + + // Finds the line to start with when starting a parse. Tries to + // find a line with a stateAfter, so that it can start with a + // valid state. If that fails, it returns the line with the + // smallest indentation, which tends to need the least context to + // parse correctly. + function findStartLine(cm, n, precise) { + var minindent, minline, doc = cm.doc; + var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100); + for (var search = n; search > lim; --search) { + if (search <= doc.first) return doc.first; + var line = getLine(doc, search - 1); + if (line.stateAfter && (!precise || search <= doc.frontier)) return search; + var indented = countColumn(line.text, null, cm.options.tabSize); + if (minline == null || minindent > indented) { + minline = search - 1; + minindent = indented; + } + } + return minline; + } + + function getStateBefore(cm, n, precise) { + var doc = cm.doc, display = cm.display; + if (!doc.mode.startState) return true; + var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter; + if (!state) state = startState(doc.mode); + else state = copyState(doc.mode, state); + doc.iter(pos, n, function(line) { + processLine(cm, line.text, state); + var save = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo; + line.stateAfter = save ? copyState(doc.mode, state) : null; + ++pos; + }); + if (precise) doc.frontier = pos; + return state; + } + + // POSITION MEASUREMENT + + function paddingTop(display) {return display.lineSpace.offsetTop;} + function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;} + function paddingH(display) { + if (display.cachedPaddingH) return display.cachedPaddingH; + var e = removeChildrenAndAdd(display.measure, elt("pre", "x")); + var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle; + var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)}; + if (!isNaN(data.left) && !isNaN(data.right)) display.cachedPaddingH = data; + return data; + } + + function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; } + function displayWidth(cm) { + return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth; + } + function displayHeight(cm) { + return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight; + } + + // Ensure the lineView.wrapping.heights array is populated. This is + // an array of bottom offsets for the lines that make up a drawn + // line. When lineWrapping is on, there might be more than one + // height. + function ensureLineHeights(cm, lineView, rect) { + var wrapping = cm.options.lineWrapping; + var curWidth = wrapping && displayWidth(cm); + if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) { + var heights = lineView.measure.heights = []; + if (wrapping) { + lineView.measure.width = curWidth; + var rects = lineView.text.firstChild.getClientRects(); + for (var i = 0; i < rects.length - 1; i++) { + var cur = rects[i], next = rects[i + 1]; + if (Math.abs(cur.bottom - next.bottom) > 2) + heights.push((cur.bottom + next.top) / 2 - rect.top); + } + } + heights.push(rect.bottom - rect.top); + } + } + + // Find a line map (mapping character offsets to text nodes) and a + // measurement cache for the given line number. (A line view might + // contain multiple lines when collapsed ranges are present.) + function mapFromLineView(lineView, line, lineN) { + if (lineView.line == line) + return {map: lineView.measure.map, cache: lineView.measure.cache}; + for (var i = 0; i < lineView.rest.length; i++) + if (lineView.rest[i] == line) + return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]}; + for (var i = 0; i < lineView.rest.length; i++) + if (lineNo(lineView.rest[i]) > lineN) + return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i], before: true}; + } + + // Render a line into the hidden node display.externalMeasured. Used + // when measurement is needed for a line that's not in the viewport. + function updateExternalMeasurement(cm, line) { + line = visualLine(line); + var lineN = lineNo(line); + var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN); + view.lineN = lineN; + var built = view.built = buildLineContent(cm, view); + view.text = built.pre; + removeChildrenAndAdd(cm.display.lineMeasure, built.pre); + return view; + } + + // Get a {top, bottom, left, right} box (in line-local coordinates) + // for a given character. + function measureChar(cm, line, ch, bias) { + return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias); + } + + // Find a line view that corresponds to the given line number. + function findViewForLine(cm, lineN) { + if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo) + return cm.display.view[findViewIndex(cm, lineN)]; + var ext = cm.display.externalMeasured; + if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size) + return ext; + } + + // Measurement can be split in two steps, the set-up work that + // applies to the whole line, and the measurement of the actual + // character. Functions like coordsChar, that need to do a lot of + // measurements in a row, can thus ensure that the set-up work is + // only done once. + function prepareMeasureForLine(cm, line) { + var lineN = lineNo(line); + var view = findViewForLine(cm, lineN); + if (view && !view.text) + view = null; + else if (view && view.changes) + updateLineForChanges(cm, view, lineN, getDimensions(cm)); + if (!view) + view = updateExternalMeasurement(cm, line); + + var info = mapFromLineView(view, line, lineN); + return { + line: line, view: view, rect: null, + map: info.map, cache: info.cache, before: info.before, + hasHeights: false + }; + } + + // Given a prepared measurement object, measures the position of an + // actual character (or fetches it from the cache). + function measureCharPrepared(cm, prepared, ch, bias, varHeight) { + if (prepared.before) ch = -1; + var key = ch + (bias || ""), found; + if (prepared.cache.hasOwnProperty(key)) { + found = prepared.cache[key]; + } else { + if (!prepared.rect) + prepared.rect = prepared.view.text.getBoundingClientRect(); + if (!prepared.hasHeights) { + ensureLineHeights(cm, prepared.view, prepared.rect); + prepared.hasHeights = true; + } + found = measureCharInner(cm, prepared, ch, bias); + if (!found.bogus) prepared.cache[key] = found; + } + return {left: found.left, right: found.right, + top: varHeight ? found.rtop : found.top, + bottom: varHeight ? found.rbottom : found.bottom}; + } + + var nullRect = {left: 0, right: 0, top: 0, bottom: 0}; + + function nodeAndOffsetInLineMap(map, ch, bias) { + var node, start, end, collapse; + // First, search the line map for the text node corresponding to, + // or closest to, the target character. + for (var i = 0; i < map.length; i += 3) { + var mStart = map[i], mEnd = map[i + 1]; + if (ch < mStart) { + start = 0; end = 1; + collapse = "left"; + } else if (ch < mEnd) { + start = ch - mStart; + end = start + 1; + } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) { + end = mEnd - mStart; + start = end - 1; + if (ch >= mEnd) collapse = "right"; + } + if (start != null) { + node = map[i + 2]; + if (mStart == mEnd && bias == (node.insertLeft ? "left" : "right")) + collapse = bias; + if (bias == "left" && start == 0) + while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) { + node = map[(i -= 3) + 2]; + collapse = "left"; + } + if (bias == "right" && start == mEnd - mStart) + while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) { + node = map[(i += 3) + 2]; + collapse = "right"; + } + break; + } + } + return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd}; + } + + function measureCharInner(cm, prepared, ch, bias) { + var place = nodeAndOffsetInLineMap(prepared.map, ch, bias); + var node = place.node, start = place.start, end = place.end, collapse = place.collapse; + + var rect; + if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates. + for (var i = 0; i < 4; i++) { // Retry a maximum of 4 times when nonsense rectangles are returned + while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) --start; + while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) ++end; + if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart) { + rect = node.parentNode.getBoundingClientRect(); + } else if (ie && cm.options.lineWrapping) { + var rects = range(node, start, end).getClientRects(); + if (rects.length) + rect = rects[bias == "right" ? rects.length - 1 : 0]; + else + rect = nullRect; + } else { + rect = range(node, start, end).getBoundingClientRect() || nullRect; + } + if (rect.left || rect.right || start == 0) break; + end = start; + start = start - 1; + collapse = "right"; + } + if (ie && ie_version < 11) rect = maybeUpdateRectForZooming(cm.display.measure, rect); + } else { // If it is a widget, simply get the box for the whole widget. + if (start > 0) collapse = bias = "right"; + var rects; + if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1) + rect = rects[bias == "right" ? rects.length - 1 : 0]; + else + rect = node.getBoundingClientRect(); + } + if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) { + var rSpan = node.parentNode.getClientRects()[0]; + if (rSpan) + rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom}; + else + rect = nullRect; + } + + var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top; + var mid = (rtop + rbot) / 2; + var heights = prepared.view.measure.heights; + for (var i = 0; i < heights.length - 1; i++) + if (mid < heights[i]) break; + var top = i ? heights[i - 1] : 0, bot = heights[i]; + var result = {left: (collapse == "right" ? rect.right : rect.left) - prepared.rect.left, + right: (collapse == "left" ? rect.left : rect.right) - prepared.rect.left, + top: top, bottom: bot}; + if (!rect.left && !rect.right) result.bogus = true; + if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; } + + return result; + } + + // Work around problem with bounding client rects on ranges being + // returned incorrectly when zoomed on IE10 and below. + function maybeUpdateRectForZooming(measure, rect) { + if (!window.screen || screen.logicalXDPI == null || + screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure)) + return rect; + var scaleX = screen.logicalXDPI / screen.deviceXDPI; + var scaleY = screen.logicalYDPI / screen.deviceYDPI; + return {left: rect.left * scaleX, right: rect.right * scaleX, + top: rect.top * scaleY, bottom: rect.bottom * scaleY}; + } + + function clearLineMeasurementCacheFor(lineView) { + if (lineView.measure) { + lineView.measure.cache = {}; + lineView.measure.heights = null; + if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++) + lineView.measure.caches[i] = {}; + } + } + + function clearLineMeasurementCache(cm) { + cm.display.externalMeasure = null; + removeChildren(cm.display.lineMeasure); + for (var i = 0; i < cm.display.view.length; i++) + clearLineMeasurementCacheFor(cm.display.view[i]); + } + + function clearCaches(cm) { + clearLineMeasurementCache(cm); + cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null; + if (!cm.options.lineWrapping) cm.display.maxLineChanged = true; + cm.display.lineNumChars = null; + } + + function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; } + function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; } + + // Converts a {top, bottom, left, right} box from line-local + // coordinates into another coordinate system. Context may be one of + // "line", "div" (display.lineDiv), "local"/null (editor), "window", + // or "page". + function intoCoordSystem(cm, lineObj, rect, context) { + if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) { + var size = widgetHeight(lineObj.widgets[i]); + rect.top += size; rect.bottom += size; + } + if (context == "line") return rect; + if (!context) context = "local"; + var yOff = heightAtLine(lineObj); + if (context == "local") yOff += paddingTop(cm.display); + else yOff -= cm.display.viewOffset; + if (context == "page" || context == "window") { + var lOff = cm.display.lineSpace.getBoundingClientRect(); + yOff += lOff.top + (context == "window" ? 0 : pageScrollY()); + var xOff = lOff.left + (context == "window" ? 0 : pageScrollX()); + rect.left += xOff; rect.right += xOff; + } + rect.top += yOff; rect.bottom += yOff; + return rect; + } + + // Coverts a box from "div" coords to another coordinate system. + // Context may be "window", "page", "div", or "local"/null. + function fromCoordSystem(cm, coords, context) { + if (context == "div") return coords; + var left = coords.left, top = coords.top; + // First move into "page" coordinate system + if (context == "page") { + left -= pageScrollX(); + top -= pageScrollY(); + } else if (context == "local" || !context) { + var localBox = cm.display.sizer.getBoundingClientRect(); + left += localBox.left; + top += localBox.top; + } + + var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect(); + return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top}; + } + + function charCoords(cm, pos, context, lineObj, bias) { + if (!lineObj) lineObj = getLine(cm.doc, pos.line); + return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context); + } + + // Returns a box for a given cursor position, which may have an + // 'other' property containing the position of the secondary cursor + // on a bidi boundary. + function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) { + lineObj = lineObj || getLine(cm.doc, pos.line); + if (!preparedMeasure) preparedMeasure = prepareMeasureForLine(cm, lineObj); + function get(ch, right) { + var m = measureCharPrepared(cm, preparedMeasure, ch, right ? "right" : "left", varHeight); + if (right) m.left = m.right; else m.right = m.left; + return intoCoordSystem(cm, lineObj, m, context); + } + function getBidi(ch, partPos) { + var part = order[partPos], right = part.level % 2; + if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) { + part = order[--partPos]; + ch = bidiRight(part) - (part.level % 2 ? 0 : 1); + right = true; + } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) { + part = order[++partPos]; + ch = bidiLeft(part) - part.level % 2; + right = false; + } + if (right && ch == part.to && ch > part.from) return get(ch - 1); + return get(ch, right); + } + var order = getOrder(lineObj), ch = pos.ch; + if (!order) return get(ch); + var partPos = getBidiPartAt(order, ch); + var val = getBidi(ch, partPos); + if (bidiOther != null) val.other = getBidi(ch, bidiOther); + return val; + } + + // Used to cheaply estimate the coordinates for a position. Used for + // intermediate scroll updates. + function estimateCoords(cm, pos) { + var left = 0, pos = clipPos(cm.doc, pos); + if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch; + var lineObj = getLine(cm.doc, pos.line); + var top = heightAtLine(lineObj) + paddingTop(cm.display); + return {left: left, right: left, top: top, bottom: top + lineObj.height}; + } + + // Positions returned by coordsChar contain some extra information. + // xRel is the relative x position of the input coordinates compared + // to the found position (so xRel > 0 means the coordinates are to + // the right of the character position, for example). When outside + // is true, that means the coordinates lie outside the line's + // vertical range. + function PosWithInfo(line, ch, outside, xRel) { + var pos = Pos(line, ch); + pos.xRel = xRel; + if (outside) pos.outside = true; + return pos; + } + + // Compute the character position closest to the given coordinates. + // Input must be lineSpace-local ("div" coordinate system). + function coordsChar(cm, x, y) { + var doc = cm.doc; + y += cm.display.viewOffset; + if (y < 0) return PosWithInfo(doc.first, 0, true, -1); + var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1; + if (lineN > last) + return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, true, 1); + if (x < 0) x = 0; + + var lineObj = getLine(doc, lineN); + for (;;) { + var found = coordsCharInner(cm, lineObj, lineN, x, y); + var merged = collapsedSpanAtEnd(lineObj); + var mergedPos = merged && merged.find(0, true); + if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0)) + lineN = lineNo(lineObj = mergedPos.to.line); + else + return found; + } + } + + function coordsCharInner(cm, lineObj, lineNo, x, y) { + var innerOff = y - heightAtLine(lineObj); + var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth; + var preparedMeasure = prepareMeasureForLine(cm, lineObj); + + function getX(ch) { + var sp = cursorCoords(cm, Pos(lineNo, ch), "line", lineObj, preparedMeasure); + wrongLine = true; + if (innerOff > sp.bottom) return sp.left - adjust; + else if (innerOff < sp.top) return sp.left + adjust; + else wrongLine = false; + return sp.left; + } + + var bidi = getOrder(lineObj), dist = lineObj.text.length; + var from = lineLeft(lineObj), to = lineRight(lineObj); + var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine; + + if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1); + // Do a binary search between these bounds. + for (;;) { + if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) { + var ch = x < fromX || x - fromX <= toX - x ? from : to; + var xDiff = x - (ch == from ? fromX : toX); + while (isExtendingChar(lineObj.text.charAt(ch))) ++ch; + var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside, + xDiff < -1 ? -1 : xDiff > 1 ? 1 : 0); + return pos; + } + var step = Math.ceil(dist / 2), middle = from + step; + if (bidi) { + middle = from; + for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1); + } + var middleX = getX(middle); + if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;} + else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;} + } + } + + var measureText; + // Compute the default text height. + function textHeight(display) { + if (display.cachedTextHeight != null) return display.cachedTextHeight; + if (measureText == null) { + measureText = elt("pre"); + // Measure a bunch of lines, for browsers that compute + // fractional heights. + for (var i = 0; i < 49; ++i) { + measureText.appendChild(document.createTextNode("x")); + measureText.appendChild(elt("br")); + } + measureText.appendChild(document.createTextNode("x")); + } + removeChildrenAndAdd(display.measure, measureText); + var height = measureText.offsetHeight / 50; + if (height > 3) display.cachedTextHeight = height; + removeChildren(display.measure); + return height || 1; + } + + // Compute the default character width. + function charWidth(display) { + if (display.cachedCharWidth != null) return display.cachedCharWidth; + var anchor = elt("span", "xxxxxxxxxx"); + var pre = elt("pre", [anchor]); + removeChildrenAndAdd(display.measure, pre); + var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10; + if (width > 2) display.cachedCharWidth = width; + return width || 10; + } + + // OPERATIONS + + // Operations are used to wrap a series of changes to the editor + // state in such a way that each change won't have to update the + // cursor and display (which would be awkward, slow, and + // error-prone). Instead, display updates are batched and then all + // combined and executed at once. + + var operationGroup = null; + + var nextOpId = 0; + // Start a new operation. + function startOperation(cm) { + cm.curOp = { + cm: cm, + viewChanged: false, // Flag that indicates that lines might need to be redrawn + startHeight: cm.doc.height, // Used to detect need to update scrollbar + forceUpdate: false, // Used to force a redraw + updateInput: null, // Whether to reset the input textarea + typing: false, // Whether this reset should be careful to leave existing text (for compositing) + changeObjs: null, // Accumulated changes, for firing change events + cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on + cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already + selectionChanged: false, // Whether the selection needs to be redrawn + updateMaxLine: false, // Set when the widest line needs to be determined anew + scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet + scrollToPos: null, // Used to scroll to a specific position + focus: false, + id: ++nextOpId // Unique ID + }; + if (operationGroup) { + operationGroup.ops.push(cm.curOp); + } else { + cm.curOp.ownsGroup = operationGroup = { + ops: [cm.curOp], + delayedCallbacks: [] + }; + } + } + + function fireCallbacksForOps(group) { + // Calls delayed callbacks and cursorActivity handlers until no + // new ones appear + var callbacks = group.delayedCallbacks, i = 0; + do { + for (; i < callbacks.length; i++) + callbacks[i](); + for (var j = 0; j < group.ops.length; j++) { + var op = group.ops[j]; + if (op.cursorActivityHandlers) + while (op.cursorActivityCalled < op.cursorActivityHandlers.length) + op.cursorActivityHandlers[op.cursorActivityCalled++](op.cm); + } + } while (i < callbacks.length); + } + + // Finish an operation, updating the display and signalling delayed events + function endOperation(cm) { + var op = cm.curOp, group = op.ownsGroup; + if (!group) return; + + try { fireCallbacksForOps(group); } + finally { + operationGroup = null; + for (var i = 0; i < group.ops.length; i++) + group.ops[i].cm.curOp = null; + endOperations(group); + } + } + + // The DOM updates done when an operation finishes are batched so + // that the minimum number of relayouts are required. + function endOperations(group) { + var ops = group.ops; + for (var i = 0; i < ops.length; i++) // Read DOM + endOperation_R1(ops[i]); + for (var i = 0; i < ops.length; i++) // Write DOM (maybe) + endOperation_W1(ops[i]); + for (var i = 0; i < ops.length; i++) // Read DOM + endOperation_R2(ops[i]); + for (var i = 0; i < ops.length; i++) // Write DOM (maybe) + endOperation_W2(ops[i]); + for (var i = 0; i < ops.length; i++) // Read DOM + endOperation_finish(ops[i]); + } + + function endOperation_R1(op) { + var cm = op.cm, display = cm.display; + maybeClipScrollbars(cm); + if (op.updateMaxLine) findMaxLine(cm); + + op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null || + op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom || + op.scrollToPos.to.line >= display.viewTo) || + display.maxLineChanged && cm.options.lineWrapping; + op.update = op.mustUpdate && + new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate); + } + + function endOperation_W1(op) { + op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update); + } + + function endOperation_R2(op) { + var cm = op.cm, display = cm.display; + if (op.updatedDisplay) updateHeightsInViewport(cm); + + op.barMeasure = measureForScrollbars(cm); + + // If the max line changed since it was last measured, measure it, + // and ensure the document's width matches it. + // updateDisplay_W2 will use these properties to do the actual resizing + if (display.maxLineChanged && !cm.options.lineWrapping) { + op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3; + cm.display.sizerWidth = op.adjustWidthTo; + op.barMeasure.scrollWidth = + Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth); + op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm)); + } + + if (op.updatedDisplay || op.selectionChanged) + op.preparedSelection = display.input.prepareSelection(); + } + + function endOperation_W2(op) { + var cm = op.cm; + + if (op.adjustWidthTo != null) { + cm.display.sizer.style.minWidth = op.adjustWidthTo + "px"; + if (op.maxScrollLeft < cm.doc.scrollLeft) + setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true); + cm.display.maxLineChanged = false; + } + + if (op.preparedSelection) + cm.display.input.showSelection(op.preparedSelection); + if (op.updatedDisplay) + setDocumentHeight(cm, op.barMeasure); + if (op.updatedDisplay || op.startHeight != cm.doc.height) + updateScrollbars(cm, op.barMeasure); + + if (op.selectionChanged) restartBlink(cm); + + if (cm.state.focused && op.updateInput) + cm.display.input.reset(op.typing); + if (op.focus && op.focus == activeElt()) ensureFocus(op.cm); + } + + function endOperation_finish(op) { + var cm = op.cm, display = cm.display, doc = cm.doc; + + if (op.updatedDisplay) postUpdateDisplay(cm, op.update); + + // Abort mouse wheel delta measurement, when scrolling explicitly + if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos)) + display.wheelStartX = display.wheelStartY = null; + + // Propagate the scroll position to the actual DOM scroller + if (op.scrollTop != null && (display.scroller.scrollTop != op.scrollTop || op.forceScroll)) { + doc.scrollTop = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, op.scrollTop)); + display.scrollbars.setScrollTop(doc.scrollTop); + display.scroller.scrollTop = doc.scrollTop; + } + if (op.scrollLeft != null && (display.scroller.scrollLeft != op.scrollLeft || op.forceScroll)) { + doc.scrollLeft = Math.max(0, Math.min(display.scroller.scrollWidth - displayWidth(cm), op.scrollLeft)); + display.scrollbars.setScrollLeft(doc.scrollLeft); + display.scroller.scrollLeft = doc.scrollLeft; + alignHorizontally(cm); + } + // If we need to scroll a specific position into view, do so. + if (op.scrollToPos) { + var coords = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from), + clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin); + if (op.scrollToPos.isCursor && cm.state.focused) maybeScrollWindow(cm, coords); + } + + // Fire events for markers that are hidden/unidden by editing or + // undoing + var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers; + if (hidden) for (var i = 0; i < hidden.length; ++i) + if (!hidden[i].lines.length) signal(hidden[i], "hide"); + if (unhidden) for (var i = 0; i < unhidden.length; ++i) + if (unhidden[i].lines.length) signal(unhidden[i], "unhide"); + + if (display.wrapper.offsetHeight) + doc.scrollTop = cm.display.scroller.scrollTop; + + // Fire change events, and delayed event handlers + if (op.changeObjs) + signal(cm, "changes", cm, op.changeObjs); + if (op.update) + op.update.finish(); + } + + // Run the given function in an operation + function runInOp(cm, f) { + if (cm.curOp) return f(); + startOperation(cm); + try { return f(); } + finally { endOperation(cm); } + } + // Wraps a function in an operation. Returns the wrapped function. + function operation(cm, f) { + return function() { + if (cm.curOp) return f.apply(cm, arguments); + startOperation(cm); + try { return f.apply(cm, arguments); } + finally { endOperation(cm); } + }; + } + // Used to add methods to editor and doc instances, wrapping them in + // operations. + function methodOp(f) { + return function() { + if (this.curOp) return f.apply(this, arguments); + startOperation(this); + try { return f.apply(this, arguments); } + finally { endOperation(this); } + }; + } + function docMethodOp(f) { + return function() { + var cm = this.cm; + if (!cm || cm.curOp) return f.apply(this, arguments); + startOperation(cm); + try { return f.apply(this, arguments); } + finally { endOperation(cm); } + }; + } + + // VIEW TRACKING + + // These objects are used to represent the visible (currently drawn) + // part of the document. A LineView may correspond to multiple + // logical lines, if those are connected by collapsed ranges. + function LineView(doc, line, lineN) { + // The starting line + this.line = line; + // Continuing lines, if any + this.rest = visualLineContinued(line); + // Number of logical lines in this visual line + this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1; + this.node = this.text = null; + this.hidden = lineIsHidden(doc, line); + } + + // Create a range of LineView objects for the given lines. + function buildViewArray(cm, from, to) { + var array = [], nextPos; + for (var pos = from; pos < to; pos = nextPos) { + var view = new LineView(cm.doc, getLine(cm.doc, pos), pos); + nextPos = pos + view.size; + array.push(view); + } + return array; + } + + // Updates the display.view data structure for a given change to the + // document. From and to are in pre-change coordinates. Lendiff is + // the amount of lines added or subtracted by the change. This is + // used for changes that span multiple lines, or change the way + // lines are divided into visual lines. regLineChange (below) + // registers single-line changes. + function regChange(cm, from, to, lendiff) { + if (from == null) from = cm.doc.first; + if (to == null) to = cm.doc.first + cm.doc.size; + if (!lendiff) lendiff = 0; + + var display = cm.display; + if (lendiff && to < display.viewTo && + (display.updateLineNumbers == null || display.updateLineNumbers > from)) + display.updateLineNumbers = from; + + cm.curOp.viewChanged = true; + + if (from >= display.viewTo) { // Change after + if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo) + resetView(cm); + } else if (to <= display.viewFrom) { // Change before + if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) { + resetView(cm); + } else { + display.viewFrom += lendiff; + display.viewTo += lendiff; + } + } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap + resetView(cm); + } else if (from <= display.viewFrom) { // Top overlap + var cut = viewCuttingPoint(cm, to, to + lendiff, 1); + if (cut) { + display.view = display.view.slice(cut.index); + display.viewFrom = cut.lineN; + display.viewTo += lendiff; + } else { + resetView(cm); + } + } else if (to >= display.viewTo) { // Bottom overlap + var cut = viewCuttingPoint(cm, from, from, -1); + if (cut) { + display.view = display.view.slice(0, cut.index); + display.viewTo = cut.lineN; + } else { + resetView(cm); + } + } else { // Gap in the middle + var cutTop = viewCuttingPoint(cm, from, from, -1); + var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1); + if (cutTop && cutBot) { + display.view = display.view.slice(0, cutTop.index) + .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN)) + .concat(display.view.slice(cutBot.index)); + display.viewTo += lendiff; + } else { + resetView(cm); + } + } + + var ext = display.externalMeasured; + if (ext) { + if (to < ext.lineN) + ext.lineN += lendiff; + else if (from < ext.lineN + ext.size) + display.externalMeasured = null; + } + } + + // Register a change to a single line. Type must be one of "text", + // "gutter", "class", "widget" + function regLineChange(cm, line, type) { + cm.curOp.viewChanged = true; + var display = cm.display, ext = cm.display.externalMeasured; + if (ext && line >= ext.lineN && line < ext.lineN + ext.size) + display.externalMeasured = null; + + if (line < display.viewFrom || line >= display.viewTo) return; + var lineView = display.view[findViewIndex(cm, line)]; + if (lineView.node == null) return; + var arr = lineView.changes || (lineView.changes = []); + if (indexOf(arr, type) == -1) arr.push(type); + } + + // Clear the view. + function resetView(cm) { + cm.display.viewFrom = cm.display.viewTo = cm.doc.first; + cm.display.view = []; + cm.display.viewOffset = 0; + } + + // Find the view element corresponding to a given line. Return null + // when the line isn't visible. + function findViewIndex(cm, n) { + if (n >= cm.display.viewTo) return null; + n -= cm.display.viewFrom; + if (n < 0) return null; + var view = cm.display.view; + for (var i = 0; i < view.length; i++) { + n -= view[i].size; + if (n < 0) return i; + } + } + + function viewCuttingPoint(cm, oldN, newN, dir) { + var index = findViewIndex(cm, oldN), diff, view = cm.display.view; + if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size) + return {index: index, lineN: newN}; + for (var i = 0, n = cm.display.viewFrom; i < index; i++) + n += view[i].size; + if (n != oldN) { + if (dir > 0) { + if (index == view.length - 1) return null; + diff = (n + view[index].size) - oldN; + index++; + } else { + diff = n - oldN; + } + oldN += diff; newN += diff; + } + while (visualLineNo(cm.doc, newN) != newN) { + if (index == (dir < 0 ? 0 : view.length - 1)) return null; + newN += dir * view[index - (dir < 0 ? 1 : 0)].size; + index += dir; + } + return {index: index, lineN: newN}; + } + + // Force the view to cover a given range, adding empty view element + // or clipping off existing ones as needed. + function adjustView(cm, from, to) { + var display = cm.display, view = display.view; + if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) { + display.view = buildViewArray(cm, from, to); + display.viewFrom = from; + } else { + if (display.viewFrom > from) + display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view); + else if (display.viewFrom < from) + display.view = display.view.slice(findViewIndex(cm, from)); + display.viewFrom = from; + if (display.viewTo < to) + display.view = display.view.concat(buildViewArray(cm, display.viewTo, to)); + else if (display.viewTo > to) + display.view = display.view.slice(0, findViewIndex(cm, to)); + } + display.viewTo = to; + } + + // Count the number of lines in the view whose DOM representation is + // out of date (or nonexistent). + function countDirtyView(cm) { + var view = cm.display.view, dirty = 0; + for (var i = 0; i < view.length; i++) { + var lineView = view[i]; + if (!lineView.hidden && (!lineView.node || lineView.changes)) ++dirty; + } + return dirty; + } + + // EVENT HANDLERS + + // Attach the necessary event handlers when initializing the editor + function registerEventHandlers(cm) { + var d = cm.display; + on(d.scroller, "mousedown", operation(cm, onMouseDown)); + // Older IE's will not fire a second mousedown for a double click + if (ie && ie_version < 11) + on(d.scroller, "dblclick", operation(cm, function(e) { + if (signalDOMEvent(cm, e)) return; + var pos = posFromMouse(cm, e); + if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) return; + e_preventDefault(e); + var word = cm.findWordAt(pos); + extendSelection(cm.doc, word.anchor, word.head); + })); + else + on(d.scroller, "dblclick", function(e) { signalDOMEvent(cm, e) || e_preventDefault(e); }); + // Some browsers fire contextmenu *after* opening the menu, at + // which point we can't mess with it anymore. Context menu is + // handled in onMouseDown for these browsers. + if (!captureRightClick) on(d.scroller, "contextmenu", function(e) {onContextMenu(cm, e);}); + + // Used to suppress mouse event handling when a touch happens + var touchFinished, prevTouch = {end: 0}; + function finishTouch() { + if (d.activeTouch) { + touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000); + prevTouch = d.activeTouch; + prevTouch.end = +new Date; + } + }; + function isMouseLikeTouchEvent(e) { + if (e.touches.length != 1) return false; + var touch = e.touches[0]; + return touch.radiusX <= 1 && touch.radiusY <= 1; + } + function farAway(touch, other) { + if (other.left == null) return true; + var dx = other.left - touch.left, dy = other.top - touch.top; + return dx * dx + dy * dy > 20 * 20; + } + on(d.scroller, "touchstart", function(e) { + if (!isMouseLikeTouchEvent(e)) { + clearTimeout(touchFinished); + var now = +new Date; + d.activeTouch = {start: now, moved: false, + prev: now - prevTouch.end <= 300 ? prevTouch : null}; + if (e.touches.length == 1) { + d.activeTouch.left = e.touches[0].pageX; + d.activeTouch.top = e.touches[0].pageY; + } + } + }); + on(d.scroller, "touchmove", function() { + if (d.activeTouch) d.activeTouch.moved = true; + }); + on(d.scroller, "touchend", function(e) { + var touch = d.activeTouch; + if (touch && !eventInWidget(d, e) && touch.left != null && + !touch.moved && new Date - touch.start < 300) { + var pos = cm.coordsChar(d.activeTouch, "page"), range; + if (!touch.prev || farAway(touch, touch.prev)) // Single tap + range = new Range(pos, pos); + else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap + range = cm.findWordAt(pos); + else // Triple tap + range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0))); + cm.setSelection(range.anchor, range.head); + cm.focus(); + e_preventDefault(e); + } + finishTouch(); + }); + on(d.scroller, "touchcancel", finishTouch); + + // Sync scrolling between fake scrollbars and real scrollable + // area, ensure viewport is updated when scrolling. + on(d.scroller, "scroll", function() { + if (d.scroller.clientHeight) { + setScrollTop(cm, d.scroller.scrollTop); + setScrollLeft(cm, d.scroller.scrollLeft, true); + signal(cm, "scroll", cm); + } + }); + + // Listen to wheel events in order to try and update the viewport on time. + on(d.scroller, "mousewheel", function(e){onScrollWheel(cm, e);}); + on(d.scroller, "DOMMouseScroll", function(e){onScrollWheel(cm, e);}); + + // Prevent wrapper from ever scrolling + on(d.wrapper, "scroll", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; }); + + d.dragFunctions = { + simple: function(e) {if (!signalDOMEvent(cm, e)) e_stop(e);}, + start: function(e){onDragStart(cm, e);}, + drop: operation(cm, onDrop) + }; + + var inp = d.input.getField(); + on(inp, "keyup", function(e) { onKeyUp.call(cm, e); }); + on(inp, "keydown", operation(cm, onKeyDown)); + on(inp, "keypress", operation(cm, onKeyPress)); + on(inp, "focus", bind(onFocus, cm)); + on(inp, "blur", bind(onBlur, cm)); + } + + function dragDropChanged(cm, value, old) { + var wasOn = old && old != CodeMirror.Init; + if (!value != !wasOn) { + var funcs = cm.display.dragFunctions; + var toggle = value ? on : off; + toggle(cm.display.scroller, "dragstart", funcs.start); + toggle(cm.display.scroller, "dragenter", funcs.simple); + toggle(cm.display.scroller, "dragover", funcs.simple); + toggle(cm.display.scroller, "drop", funcs.drop); + } + } + + // Called when the window resizes + function onResize(cm) { + var d = cm.display; + if (d.lastWrapHeight == d.wrapper.clientHeight && d.lastWrapWidth == d.wrapper.clientWidth) + return; + // Might be a text scaling operation, clear size caches. + d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null; + d.scrollbarsClipped = false; + cm.setSize(); + } + + // MOUSE EVENTS + + // Return true when the given mouse event happened in a widget + function eventInWidget(display, e) { + for (var n = e_target(e); n != display.wrapper; n = n.parentNode) { + if (!n || (n.nodeType == 1 && n.getAttribute("cm-ignore-events") == "true") || + (n.parentNode == display.sizer && n != display.mover)) + return true; + } + } + + // Given a mouse event, find the corresponding position. If liberal + // is false, it checks whether a gutter or scrollbar was clicked, + // and returns null if it was. forRect is used by rectangular + // selections, and tries to estimate a character position even for + // coordinates beyond the right of the text. + function posFromMouse(cm, e, liberal, forRect) { + var display = cm.display; + if (!liberal && e_target(e).getAttribute("cm-not-content") == "true") return null; + + var x, y, space = display.lineSpace.getBoundingClientRect(); + // Fails unpredictably on IE[67] when mouse is dragged around quickly. + try { x = e.clientX - space.left; y = e.clientY - space.top; } + catch (e) { return null; } + var coords = coordsChar(cm, x, y), line; + if (forRect && coords.xRel == 1 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) { + var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length; + coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff)); + } + return coords; + } + + // A mouse down can be a single click, double click, triple click, + // start of selection drag, start of text drag, new cursor + // (ctrl-click), rectangle drag (alt-drag), or xwin + // middle-click-paste. Or it might be a click on something we should + // not interfere with, such as a scrollbar or widget. + function onMouseDown(e) { + var cm = this, display = cm.display; + if (display.activeTouch && display.input.supportsTouch() || signalDOMEvent(cm, e)) return; + display.shift = e.shiftKey; + + if (eventInWidget(display, e)) { + if (!webkit) { + // Briefly turn off draggability, to allow widgets to do + // normal dragging things. + display.scroller.draggable = false; + setTimeout(function(){display.scroller.draggable = true;}, 100); + } + return; + } + if (clickInGutter(cm, e)) return; + var start = posFromMouse(cm, e); + window.focus(); + + switch (e_button(e)) { + case 1: + if (start) + leftButtonDown(cm, e, start); + else if (e_target(e) == display.scroller) + e_preventDefault(e); + break; + case 2: + if (webkit) cm.state.lastMiddleDown = +new Date; + if (start) extendSelection(cm.doc, start); + setTimeout(function() {display.input.focus();}, 20); + e_preventDefault(e); + break; + case 3: + if (captureRightClick) onContextMenu(cm, e); + else delayBlurEvent(cm); + break; + } + } + + var lastClick, lastDoubleClick; + function leftButtonDown(cm, e, start) { + if (ie) setTimeout(bind(ensureFocus, cm), 0); + else cm.curOp.focus = activeElt(); + + var now = +new Date, type; + if (lastDoubleClick && lastDoubleClick.time > now - 400 && cmp(lastDoubleClick.pos, start) == 0) { + type = "triple"; + } else if (lastClick && lastClick.time > now - 400 && cmp(lastClick.pos, start) == 0) { + type = "double"; + lastDoubleClick = {time: now, pos: start}; + } else { + type = "single"; + lastClick = {time: now, pos: start}; + } + + var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained; + if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) && + type == "single" && (contained = sel.contains(start)) > -1 && + !sel.ranges[contained].empty()) + leftButtonStartDrag(cm, e, start, modifier); + else + leftButtonSelect(cm, e, start, type, modifier); + } + + // Start a text drag. When it ends, see if any dragging actually + // happen, and treat as a click if it didn't. + function leftButtonStartDrag(cm, e, start, modifier) { + var display = cm.display, startTime = +new Date; + var dragEnd = operation(cm, function(e2) { + if (webkit) display.scroller.draggable = false; + cm.state.draggingText = false; + off(document, "mouseup", dragEnd); + off(display.scroller, "drop", dragEnd); + if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) { + e_preventDefault(e2); + if (!modifier && +new Date - 200 < startTime) + extendSelection(cm.doc, start); + // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081) + if (webkit || ie && ie_version == 9) + setTimeout(function() {document.body.focus(); display.input.focus();}, 20); + else + display.input.focus(); + } + }); + // Let the drag handler handle this. + if (webkit) display.scroller.draggable = true; + cm.state.draggingText = dragEnd; + // IE's approach to draggable + if (display.scroller.dragDrop) display.scroller.dragDrop(); + on(document, "mouseup", dragEnd); + on(display.scroller, "drop", dragEnd); + } + + // Normal selection, as opposed to text dragging. + function leftButtonSelect(cm, e, start, type, addNew) { + var display = cm.display, doc = cm.doc; + e_preventDefault(e); + + var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges; + if (addNew && !e.shiftKey) { + ourIndex = doc.sel.contains(start); + if (ourIndex > -1) + ourRange = ranges[ourIndex]; + else + ourRange = new Range(start, start); + } else { + ourRange = doc.sel.primary(); + ourIndex = doc.sel.primIndex; + } + + if (e.altKey) { + type = "rect"; + if (!addNew) ourRange = new Range(start, start); + start = posFromMouse(cm, e, true, true); + ourIndex = -1; + } else if (type == "double") { + var word = cm.findWordAt(start); + if (cm.display.shift || doc.extend) + ourRange = extendRange(doc, ourRange, word.anchor, word.head); + else + ourRange = word; + } else if (type == "triple") { + var line = new Range(Pos(start.line, 0), clipPos(doc, Pos(start.line + 1, 0))); + if (cm.display.shift || doc.extend) + ourRange = extendRange(doc, ourRange, line.anchor, line.head); + else + ourRange = line; + } else { + ourRange = extendRange(doc, ourRange, start); + } + + if (!addNew) { + ourIndex = 0; + setSelection(doc, new Selection([ourRange], 0), sel_mouse); + startSel = doc.sel; + } else if (ourIndex == -1) { + ourIndex = ranges.length; + setSelection(doc, normalizeSelection(ranges.concat([ourRange]), ourIndex), + {scroll: false, origin: "*mouse"}); + } else if (ranges.length > 1 && ranges[ourIndex].empty() && type == "single" && !e.shiftKey) { + setSelection(doc, normalizeSelection(ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0)); + startSel = doc.sel; + } else { + replaceOneSelection(doc, ourIndex, ourRange, sel_mouse); + } + + var lastPos = start; + function extendTo(pos) { + if (cmp(lastPos, pos) == 0) return; + lastPos = pos; + + if (type == "rect") { + var ranges = [], tabSize = cm.options.tabSize; + var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize); + var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize); + var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol); + for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line)); + line <= end; line++) { + var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize); + if (left == right) + ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos))); + else if (text.length > leftPos) + ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize)))); + } + if (!ranges.length) ranges.push(new Range(start, start)); + setSelection(doc, normalizeSelection(startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex), + {origin: "*mouse", scroll: false}); + cm.scrollIntoView(pos); + } else { + var oldRange = ourRange; + var anchor = oldRange.anchor, head = pos; + if (type != "single") { + if (type == "double") + var range = cm.findWordAt(pos); + else + var range = new Range(Pos(pos.line, 0), clipPos(doc, Pos(pos.line + 1, 0))); + if (cmp(range.anchor, anchor) > 0) { + head = range.head; + anchor = minPos(oldRange.from(), range.anchor); + } else { + head = range.anchor; + anchor = maxPos(oldRange.to(), range.head); + } + } + var ranges = startSel.ranges.slice(0); + ranges[ourIndex] = new Range(clipPos(doc, anchor), head); + setSelection(doc, normalizeSelection(ranges, ourIndex), sel_mouse); + } + } + + var editorSize = display.wrapper.getBoundingClientRect(); + // Used to ensure timeout re-tries don't fire when another extend + // happened in the meantime (clearTimeout isn't reliable -- at + // least on Chrome, the timeouts still happen even when cleared, + // if the clear happens after their scheduled firing time). + var counter = 0; + + function extend(e) { + var curCount = ++counter; + var cur = posFromMouse(cm, e, true, type == "rect"); + if (!cur) return; + if (cmp(cur, lastPos) != 0) { + cm.curOp.focus = activeElt(); + extendTo(cur); + var visible = visibleLines(display, doc); + if (cur.line >= visible.to || cur.line < visible.from) + setTimeout(operation(cm, function(){if (counter == curCount) extend(e);}), 150); + } else { + var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0; + if (outside) setTimeout(operation(cm, function() { + if (counter != curCount) return; + display.scroller.scrollTop += outside; + extend(e); + }), 50); + } + } + + function done(e) { + counter = Infinity; + e_preventDefault(e); + display.input.focus(); + off(document, "mousemove", move); + off(document, "mouseup", up); + doc.history.lastSelOrigin = null; + } + + var move = operation(cm, function(e) { + if (!e_button(e)) done(e); + else extend(e); + }); + var up = operation(cm, done); + on(document, "mousemove", move); + on(document, "mouseup", up); + } + + // Determines whether an event happened in the gutter, and fires the + // handlers for the corresponding event. + function gutterEvent(cm, e, type, prevent, signalfn) { + try { var mX = e.clientX, mY = e.clientY; } + catch(e) { return false; } + if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) return false; + if (prevent) e_preventDefault(e); + + var display = cm.display; + var lineBox = display.lineDiv.getBoundingClientRect(); + + if (mY > lineBox.bottom || !hasHandler(cm, type)) return e_defaultPrevented(e); + mY -= lineBox.top - display.viewOffset; + + for (var i = 0; i < cm.options.gutters.length; ++i) { + var g = display.gutters.childNodes[i]; + if (g && g.getBoundingClientRect().right >= mX) { + var line = lineAtHeight(cm.doc, mY); + var gutter = cm.options.gutters[i]; + signalfn(cm, type, cm, line, gutter, e); + return e_defaultPrevented(e); + } + } + } + + function clickInGutter(cm, e) { + return gutterEvent(cm, e, "gutterClick", true, signalLater); + } + + // Kludge to work around strange IE behavior where it'll sometimes + // re-fire a series of drag-related events right after the drop (#1551) + var lastDrop = 0; + + function onDrop(e) { + var cm = this; + if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) + return; + e_preventDefault(e); + if (ie) lastDrop = +new Date; + var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files; + if (!pos || isReadOnly(cm)) return; + // Might be a file drop, in which case we simply extract the text + // and insert it. + if (files && files.length && window.FileReader && window.File) { + var n = files.length, text = Array(n), read = 0; + var loadFile = function(file, i) { + var reader = new FileReader; + reader.onload = operation(cm, function() { + text[i] = reader.result; + if (++read == n) { + pos = clipPos(cm.doc, pos); + var change = {from: pos, to: pos, text: splitLines(text.join("\n")), origin: "paste"}; + makeChange(cm.doc, change); + setSelectionReplaceHistory(cm.doc, simpleSelection(pos, changeEnd(change))); + } + }); + reader.readAsText(file); + }; + for (var i = 0; i < n; ++i) loadFile(files[i], i); + } else { // Normal drop + // Don't do a replace if the drop happened inside of the selected text. + if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) { + cm.state.draggingText(e); + // Ensure the editor is re-focused + setTimeout(function() {cm.display.input.focus();}, 20); + return; + } + try { + var text = e.dataTransfer.getData("Text"); + if (text) { + if (cm.state.draggingText && !(mac ? e.altKey : e.ctrlKey)) + var selected = cm.listSelections(); + setSelectionNoUndo(cm.doc, simpleSelection(pos, pos)); + if (selected) for (var i = 0; i < selected.length; ++i) + replaceRange(cm.doc, "", selected[i].anchor, selected[i].head, "drag"); + cm.replaceSelection(text, "around", "paste"); + cm.display.input.focus(); + } + } + catch(e){} + } + } + + function onDragStart(cm, e) { + if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; } + if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return; + + e.dataTransfer.setData("Text", cm.getSelection()); + + // Use dummy image instead of default browsers image. + // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there. + if (e.dataTransfer.setDragImage && !safari) { + var img = elt("img", null, null, "position: fixed; left: 0; top: 0;"); + img.src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="; + if (presto) { + img.width = img.height = 1; + cm.display.wrapper.appendChild(img); + // Force a relayout, or Opera won't use our image for some obscure reason + img._top = img.offsetTop; + } + e.dataTransfer.setDragImage(img, 0, 0); + if (presto) img.parentNode.removeChild(img); + } + } + + // SCROLL EVENTS + + // Sync the scrollable area and scrollbars, ensure the viewport + // covers the visible area. + function setScrollTop(cm, val) { + if (Math.abs(cm.doc.scrollTop - val) < 2) return; + cm.doc.scrollTop = val; + if (!gecko) updateDisplaySimple(cm, {top: val}); + if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val; + cm.display.scrollbars.setScrollTop(val); + if (gecko) updateDisplaySimple(cm); + startWorker(cm, 100); + } + // Sync scroller and scrollbar, ensure the gutter elements are + // aligned. + function setScrollLeft(cm, val, isScroller) { + if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return; + val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth); + cm.doc.scrollLeft = val; + alignHorizontally(cm); + if (cm.display.scroller.scrollLeft != val) cm.display.scroller.scrollLeft = val; + cm.display.scrollbars.setScrollLeft(val); + } + + // Since the delta values reported on mouse wheel events are + // unstandardized between browsers and even browser versions, and + // generally horribly unpredictable, this code starts by measuring + // the scroll effect that the first few mouse wheel events have, + // and, from that, detects the way it can convert deltas to pixel + // offsets afterwards. + // + // The reason we want to know the amount a wheel event will scroll + // is that it gives us a chance to update the display before the + // actual scrolling happens, reducing flickering. + + var wheelSamples = 0, wheelPixelsPerUnit = null; + // Fill in a browser-detected starting value on browsers where we + // know one. These don't have to be accurate -- the result of them + // being wrong would just be a slight flicker on the first wheel + // scroll (if it is large enough). + if (ie) wheelPixelsPerUnit = -.53; + else if (gecko) wheelPixelsPerUnit = 15; + else if (chrome) wheelPixelsPerUnit = -.7; + else if (safari) wheelPixelsPerUnit = -1/3; + + var wheelEventDelta = function(e) { + var dx = e.wheelDeltaX, dy = e.wheelDeltaY; + if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) dx = e.detail; + if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) dy = e.detail; + else if (dy == null) dy = e.wheelDelta; + return {x: dx, y: dy}; + }; + CodeMirror.wheelEventPixels = function(e) { + var delta = wheelEventDelta(e); + delta.x *= wheelPixelsPerUnit; + delta.y *= wheelPixelsPerUnit; + return delta; + }; + + function onScrollWheel(cm, e) { + var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y; + + var display = cm.display, scroll = display.scroller; + // Quit if there's nothing to scroll here + if (!(dx && scroll.scrollWidth > scroll.clientWidth || + dy && scroll.scrollHeight > scroll.clientHeight)) return; + + // Webkit browsers on OS X abort momentum scrolls when the target + // of the scroll event is removed from the scrollable element. + // This hack (see related code in patchDisplay) makes sure the + // element is kept around. + if (dy && mac && webkit) { + outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) { + for (var i = 0; i < view.length; i++) { + if (view[i].node == cur) { + cm.display.currentWheelTarget = cur; + break outer; + } + } + } + } + + // On some browsers, horizontal scrolling will cause redraws to + // happen before the gutter has been realigned, causing it to + // wriggle around in a most unseemly way. When we have an + // estimated pixels/delta value, we just handle horizontal + // scrolling entirely here. It'll be slightly off from native, but + // better than glitching out. + if (dx && !gecko && !presto && wheelPixelsPerUnit != null) { + if (dy) + setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight))); + setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth))); + e_preventDefault(e); + display.wheelStartX = null; // Abort measurement, if in progress + return; + } + + // 'Project' the visible viewport to cover the area that is being + // scrolled into view (if we know enough to estimate it). + if (dy && wheelPixelsPerUnit != null) { + var pixels = dy * wheelPixelsPerUnit; + var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight; + if (pixels < 0) top = Math.max(0, top + pixels - 50); + else bot = Math.min(cm.doc.height, bot + pixels + 50); + updateDisplaySimple(cm, {top: top, bottom: bot}); + } + + if (wheelSamples < 20) { + if (display.wheelStartX == null) { + display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop; + display.wheelDX = dx; display.wheelDY = dy; + setTimeout(function() { + if (display.wheelStartX == null) return; + var movedX = scroll.scrollLeft - display.wheelStartX; + var movedY = scroll.scrollTop - display.wheelStartY; + var sample = (movedY && display.wheelDY && movedY / display.wheelDY) || + (movedX && display.wheelDX && movedX / display.wheelDX); + display.wheelStartX = display.wheelStartY = null; + if (!sample) return; + wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1); + ++wheelSamples; + }, 200); + } else { + display.wheelDX += dx; display.wheelDY += dy; + } + } + } + + // KEY EVENTS + + // Run a handler that was bound to a key. + function doHandleBinding(cm, bound, dropShift) { + if (typeof bound == "string") { + bound = commands[bound]; + if (!bound) return false; + } + // Ensure previous input has been read, so that the handler sees a + // consistent view of the document + cm.display.input.ensurePolled(); + var prevShift = cm.display.shift, done = false; + try { + if (isReadOnly(cm)) cm.state.suppressEdits = true; + if (dropShift) cm.display.shift = false; + done = bound(cm) != Pass; + } finally { + cm.display.shift = prevShift; + cm.state.suppressEdits = false; + } + return done; + } + + function lookupKeyForEditor(cm, name, handle) { + for (var i = 0; i < cm.state.keyMaps.length; i++) { + var result = lookupKey(name, cm.state.keyMaps[i], handle, cm); + if (result) return result; + } + return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm)) + || lookupKey(name, cm.options.keyMap, handle, cm); + } + + var stopSeq = new Delayed; + function dispatchKey(cm, name, e, handle) { + var seq = cm.state.keySeq; + if (seq) { + if (isModifierKey(name)) return "handled"; + stopSeq.set(50, function() { + if (cm.state.keySeq == seq) { + cm.state.keySeq = null; + cm.display.input.reset(); + } + }); + name = seq + " " + name; + } + var result = lookupKeyForEditor(cm, name, handle); + + if (result == "multi") + cm.state.keySeq = name; + if (result == "handled") + signalLater(cm, "keyHandled", cm, name, e); + + if (result == "handled" || result == "multi") { + e_preventDefault(e); + restartBlink(cm); + } + + if (seq && !result && /\'$/.test(name)) { + e_preventDefault(e); + return true; + } + return !!result; + } + + // Handle a key from the keydown event. + function handleKeyBinding(cm, e) { + var name = keyName(e, true); + if (!name) return false; + + if (e.shiftKey && !cm.state.keySeq) { + // First try to resolve full name (including 'Shift-'). Failing + // that, see if there is a cursor-motion command (starting with + // 'go') bound to the keyname without 'Shift-'. + return dispatchKey(cm, "Shift-" + name, e, function(b) {return doHandleBinding(cm, b, true);}) + || dispatchKey(cm, name, e, function(b) { + if (typeof b == "string" ? /^go[A-Z]/.test(b) : b.motion) + return doHandleBinding(cm, b); + }); + } else { + return dispatchKey(cm, name, e, function(b) { return doHandleBinding(cm, b); }); + } + } + + // Handle a key from the keypress event + function handleCharBinding(cm, e, ch) { + return dispatchKey(cm, "'" + ch + "'", e, + function(b) { return doHandleBinding(cm, b, true); }); + } + + var lastStoppedKey = null; + function onKeyDown(e) { + var cm = this; + cm.curOp.focus = activeElt(); + if (signalDOMEvent(cm, e)) return; + // IE does strange things with escape. + if (ie && ie_version < 11 && e.keyCode == 27) e.returnValue = false; + var code = e.keyCode; + cm.display.shift = code == 16 || e.shiftKey; + var handled = handleKeyBinding(cm, e); + if (presto) { + lastStoppedKey = handled ? code : null; + // Opera has no cut event... we try to at least catch the key combo + if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey)) + cm.replaceSelection("", null, "cut"); + } + + // Turn mouse into crosshair when Alt is held on Mac. + if (code == 18 && !/\bCodeMirror-crosshair\b/.test(cm.display.lineDiv.className)) + showCrossHair(cm); + } + + function showCrossHair(cm) { + var lineDiv = cm.display.lineDiv; + addClass(lineDiv, "CodeMirror-crosshair"); + + function up(e) { + if (e.keyCode == 18 || !e.altKey) { + rmClass(lineDiv, "CodeMirror-crosshair"); + off(document, "keyup", up); + off(document, "mouseover", up); + } + } + on(document, "keyup", up); + on(document, "mouseover", up); + } + + function onKeyUp(e) { + if (e.keyCode == 16) this.doc.sel.shift = false; + signalDOMEvent(this, e); + } + + function onKeyPress(e) { + var cm = this; + if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) return; + var keyCode = e.keyCode, charCode = e.charCode; + if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;} + if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) return; + var ch = String.fromCharCode(charCode == null ? keyCode : charCode); + if (handleCharBinding(cm, e, ch)) return; + cm.display.input.onKeyPress(e); + } + + // FOCUS/BLUR EVENTS + + function delayBlurEvent(cm) { + cm.state.delayingBlurEvent = true; + setTimeout(function() { + if (cm.state.delayingBlurEvent) { + cm.state.delayingBlurEvent = false; + onBlur(cm); + } + }, 100); + } + + function onFocus(cm) { + if (cm.state.delayingBlurEvent) cm.state.delayingBlurEvent = false; + + if (cm.options.readOnly == "nocursor") return; + if (!cm.state.focused) { + signal(cm, "focus", cm); + cm.state.focused = true; + addClass(cm.display.wrapper, "CodeMirror-focused"); + // This test prevents this from firing when a context + // menu is closed (since the input reset would kill the + // select-all detection hack) + if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) { + cm.display.input.reset(); + if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue #1730 + } + cm.display.input.receivedFocus(); + } + restartBlink(cm); + } + function onBlur(cm) { + if (cm.state.delayingBlurEvent) return; + + if (cm.state.focused) { + signal(cm, "blur", cm); + cm.state.focused = false; + rmClass(cm.display.wrapper, "CodeMirror-focused"); + } + clearInterval(cm.display.blinker); + setTimeout(function() {if (!cm.state.focused) cm.display.shift = false;}, 150); + } + + // CONTEXT MENU HANDLING + + // To make the context menu work, we need to briefly unhide the + // textarea (making it as unobtrusive as possible) to let the + // right-click take effect on it. + function onContextMenu(cm, e) { + if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) return; + cm.display.input.onContextMenu(e); + } + + function contextMenuInGutter(cm, e) { + if (!hasHandler(cm, "gutterContextMenu")) return false; + return gutterEvent(cm, e, "gutterContextMenu", false, signal); + } + + // UPDATING + + // Compute the position of the end of a change (its 'to' property + // refers to the pre-change end). + var changeEnd = CodeMirror.changeEnd = function(change) { + if (!change.text) return change.to; + return Pos(change.from.line + change.text.length - 1, + lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0)); + }; + + // Adjust a position to refer to the post-change position of the + // same text, or the end of the change if the change covers it. + function adjustForChange(pos, change) { + if (cmp(pos, change.from) < 0) return pos; + if (cmp(pos, change.to) <= 0) return changeEnd(change); + + var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch; + if (pos.line == change.to.line) ch += changeEnd(change).ch - change.to.ch; + return Pos(line, ch); + } + + function computeSelAfterChange(doc, change) { + var out = []; + for (var i = 0; i < doc.sel.ranges.length; i++) { + var range = doc.sel.ranges[i]; + out.push(new Range(adjustForChange(range.anchor, change), + adjustForChange(range.head, change))); + } + return normalizeSelection(out, doc.sel.primIndex); + } + + function offsetPos(pos, old, nw) { + if (pos.line == old.line) + return Pos(nw.line, pos.ch - old.ch + nw.ch); + else + return Pos(nw.line + (pos.line - old.line), pos.ch); + } + + // Used by replaceSelections to allow moving the selection to the + // start or around the replaced test. Hint may be "start" or "around". + function computeReplacedSel(doc, changes, hint) { + var out = []; + var oldPrev = Pos(doc.first, 0), newPrev = oldPrev; + for (var i = 0; i < changes.length; i++) { + var change = changes[i]; + var from = offsetPos(change.from, oldPrev, newPrev); + var to = offsetPos(changeEnd(change), oldPrev, newPrev); + oldPrev = change.to; + newPrev = to; + if (hint == "around") { + var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0; + out[i] = new Range(inv ? to : from, inv ? from : to); + } else { + out[i] = new Range(from, from); + } + } + return new Selection(out, doc.sel.primIndex); + } + + // Allow "beforeChange" event handlers to influence a change + function filterChange(doc, change, update) { + var obj = { + canceled: false, + from: change.from, + to: change.to, + text: change.text, + origin: change.origin, + cancel: function() { this.canceled = true; } + }; + if (update) obj.update = function(from, to, text, origin) { + if (from) this.from = clipPos(doc, from); + if (to) this.to = clipPos(doc, to); + if (text) this.text = text; + if (origin !== undefined) this.origin = origin; + }; + signal(doc, "beforeChange", doc, obj); + if (doc.cm) signal(doc.cm, "beforeChange", doc.cm, obj); + + if (obj.canceled) return null; + return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin}; + } + + // Apply a change to a document, and add it to the document's + // history, and propagating it to all linked documents. + function makeChange(doc, change, ignoreReadOnly) { + if (doc.cm) { + if (!doc.cm.curOp) return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly); + if (doc.cm.state.suppressEdits) return; + } + + if (hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange")) { + change = filterChange(doc, change, true); + if (!change) return; + } + + // Possibly split or suppress the update based on the presence + // of read-only spans in its range. + var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to); + if (split) { + for (var i = split.length - 1; i >= 0; --i) + makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [""] : change.text}); + } else { + makeChangeInner(doc, change); + } + } + + function makeChangeInner(doc, change) { + if (change.text.length == 1 && change.text[0] == "" && cmp(change.from, change.to) == 0) return; + var selAfter = computeSelAfterChange(doc, change); + addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN); + + makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change)); + var rebased = []; + + linkedDocs(doc, function(doc, sharedHist) { + if (!sharedHist && indexOf(rebased, doc.history) == -1) { + rebaseHist(doc.history, change); + rebased.push(doc.history); + } + makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change)); + }); + } + + // Revert a change stored in a document's history. + function makeChangeFromHistory(doc, type, allowSelectionOnly) { + if (doc.cm && doc.cm.state.suppressEdits) return; + + var hist = doc.history, event, selAfter = doc.sel; + var source = type == "undo" ? hist.done : hist.undone, dest = type == "undo" ? hist.undone : hist.done; + + // Verify that there is a useable event (so that ctrl-z won't + // needlessly clear selection events) + for (var i = 0; i < source.length; i++) { + event = source[i]; + if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges) + break; + } + if (i == source.length) return; + hist.lastOrigin = hist.lastSelOrigin = null; + + for (;;) { + event = source.pop(); + if (event.ranges) { + pushSelectionToHistory(event, dest); + if (allowSelectionOnly && !event.equals(doc.sel)) { + setSelection(doc, event, {clearRedo: false}); + return; + } + selAfter = event; + } + else break; + } + + // Build up a reverse change object to add to the opposite history + // stack (redo when undoing, and vice versa). + var antiChanges = []; + pushSelectionToHistory(selAfter, dest); + dest.push({changes: antiChanges, generation: hist.generation}); + hist.generation = event.generation || ++hist.maxGeneration; + + var filter = hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange"); + + for (var i = event.changes.length - 1; i >= 0; --i) { + var change = event.changes[i]; + change.origin = type; + if (filter && !filterChange(doc, change, false)) { + source.length = 0; + return; + } + + antiChanges.push(historyChangeFromChange(doc, change)); + + var after = i ? computeSelAfterChange(doc, change) : lst(source); + makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change)); + if (!i && doc.cm) doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)}); + var rebased = []; + + // Propagate to the linked documents + linkedDocs(doc, function(doc, sharedHist) { + if (!sharedHist && indexOf(rebased, doc.history) == -1) { + rebaseHist(doc.history, change); + rebased.push(doc.history); + } + makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change)); + }); + } + } + + // Sub-views need their line numbers shifted when text is added + // above or below them in the parent document. + function shiftDoc(doc, distance) { + if (distance == 0) return; + doc.first += distance; + doc.sel = new Selection(map(doc.sel.ranges, function(range) { + return new Range(Pos(range.anchor.line + distance, range.anchor.ch), + Pos(range.head.line + distance, range.head.ch)); + }), doc.sel.primIndex); + if (doc.cm) { + regChange(doc.cm, doc.first, doc.first - distance, distance); + for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++) + regLineChange(doc.cm, l, "gutter"); + } + } + + // More lower-level change function, handling only a single document + // (not linked ones). + function makeChangeSingleDoc(doc, change, selAfter, spans) { + if (doc.cm && !doc.cm.curOp) + return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans); + + if (change.to.line < doc.first) { + shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line)); + return; + } + if (change.from.line > doc.lastLine()) return; + + // Clip the change to the size of this doc + if (change.from.line < doc.first) { + var shift = change.text.length - 1 - (doc.first - change.from.line); + shiftDoc(doc, shift); + change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch), + text: [lst(change.text)], origin: change.origin}; + } + var last = doc.lastLine(); + if (change.to.line > last) { + change = {from: change.from, to: Pos(last, getLine(doc, last).text.length), + text: [change.text[0]], origin: change.origin}; + } + + change.removed = getBetween(doc, change.from, change.to); + + if (!selAfter) selAfter = computeSelAfterChange(doc, change); + if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans); + else updateDoc(doc, change, spans); + setSelectionNoUndo(doc, selAfter, sel_dontScroll); + } + + // Handle the interaction of a change to a document with the editor + // that this document is part of. + function makeChangeSingleDocInEditor(cm, change, spans) { + var doc = cm.doc, display = cm.display, from = change.from, to = change.to; + + var recomputeMaxLength = false, checkWidthStart = from.line; + if (!cm.options.lineWrapping) { + checkWidthStart = lineNo(visualLine(getLine(doc, from.line))); + doc.iter(checkWidthStart, to.line + 1, function(line) { + if (line == display.maxLine) { + recomputeMaxLength = true; + return true; + } + }); + } + + if (doc.sel.contains(change.from, change.to) > -1) + signalCursorActivity(cm); + + updateDoc(doc, change, spans, estimateHeight(cm)); + + if (!cm.options.lineWrapping) { + doc.iter(checkWidthStart, from.line + change.text.length, function(line) { + var len = lineLength(line); + if (len > display.maxLineLength) { + display.maxLine = line; + display.maxLineLength = len; + display.maxLineChanged = true; + recomputeMaxLength = false; + } + }); + if (recomputeMaxLength) cm.curOp.updateMaxLine = true; + } + + // Adjust frontier, schedule worker + doc.frontier = Math.min(doc.frontier, from.line); + startWorker(cm, 400); + + var lendiff = change.text.length - (to.line - from.line) - 1; + // Remember that these lines changed, for updating the display + if (change.full) + regChange(cm); + else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change)) + regLineChange(cm, from.line, "text"); + else + regChange(cm, from.line, to.line + 1, lendiff); + + var changesHandler = hasHandler(cm, "changes"), changeHandler = hasHandler(cm, "change"); + if (changeHandler || changesHandler) { + var obj = { + from: from, to: to, + text: change.text, + removed: change.removed, + origin: change.origin + }; + if (changeHandler) signalLater(cm, "change", cm, obj); + if (changesHandler) (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj); + } + cm.display.selForContextMenu = null; + } + + function replaceRange(doc, code, from, to, origin) { + if (!to) to = from; + if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; } + if (typeof code == "string") code = splitLines(code); + makeChange(doc, {from: from, to: to, text: code, origin: origin}); + } + + // SCROLLING THINGS INTO VIEW + + // If an editor sits on the top or bottom of the window, partially + // scrolled out of view, this ensures that the cursor is visible. + function maybeScrollWindow(cm, coords) { + if (signalDOMEvent(cm, "scrollCursorIntoView")) return; + + var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null; + if (coords.top + box.top < 0) doScroll = true; + else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false; + if (doScroll != null && !phantom) { + var scrollNode = elt("div", "\u200b", null, "position: absolute; top: " + + (coords.top - display.viewOffset - paddingTop(cm.display)) + "px; height: " + + (coords.bottom - coords.top + scrollGap(cm) + display.barHeight) + "px; left: " + + coords.left + "px; width: 2px;"); + cm.display.lineSpace.appendChild(scrollNode); + scrollNode.scrollIntoView(doScroll); + cm.display.lineSpace.removeChild(scrollNode); + } + } + + // Scroll a given position into view (immediately), verifying that + // it actually became visible (as line heights are accurately + // measured, the position of something may 'drift' during drawing). + function scrollPosIntoView(cm, pos, end, margin) { + if (margin == null) margin = 0; + for (var limit = 0; limit < 5; limit++) { + var changed = false, coords = cursorCoords(cm, pos); + var endCoords = !end || end == pos ? coords : cursorCoords(cm, end); + var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left), + Math.min(coords.top, endCoords.top) - margin, + Math.max(coords.left, endCoords.left), + Math.max(coords.bottom, endCoords.bottom) + margin); + var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft; + if (scrollPos.scrollTop != null) { + setScrollTop(cm, scrollPos.scrollTop); + if (Math.abs(cm.doc.scrollTop - startTop) > 1) changed = true; + } + if (scrollPos.scrollLeft != null) { + setScrollLeft(cm, scrollPos.scrollLeft); + if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) changed = true; + } + if (!changed) break; + } + return coords; + } + + // Scroll a given set of coordinates into view (immediately). + function scrollIntoView(cm, x1, y1, x2, y2) { + var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2); + if (scrollPos.scrollTop != null) setScrollTop(cm, scrollPos.scrollTop); + if (scrollPos.scrollLeft != null) setScrollLeft(cm, scrollPos.scrollLeft); + } + + // Calculate a new scroll position needed to scroll the given + // rectangle into view. Returns an object with scrollTop and + // scrollLeft properties. When these are undefined, the + // vertical/horizontal position does not need to be adjusted. + function calculateScrollPos(cm, x1, y1, x2, y2) { + var display = cm.display, snapMargin = textHeight(cm.display); + if (y1 < 0) y1 = 0; + var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop; + var screen = displayHeight(cm), result = {}; + if (y2 - y1 > screen) y2 = y1 + screen; + var docBottom = cm.doc.height + paddingVert(display); + var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin; + if (y1 < screentop) { + result.scrollTop = atTop ? 0 : y1; + } else if (y2 > screentop + screen) { + var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen); + if (newTop != screentop) result.scrollTop = newTop; + } + + var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft; + var screenw = displayWidth(cm) - (cm.options.fixedGutter ? display.gutters.offsetWidth : 0); + var tooWide = x2 - x1 > screenw; + if (tooWide) x2 = x1 + screenw; + if (x1 < 10) + result.scrollLeft = 0; + else if (x1 < screenleft) + result.scrollLeft = Math.max(0, x1 - (tooWide ? 0 : 10)); + else if (x2 > screenw + screenleft - 3) + result.scrollLeft = x2 + (tooWide ? 0 : 10) - screenw; + return result; + } + + // Store a relative adjustment to the scroll position in the current + // operation (to be applied when the operation finishes). + function addToScrollPos(cm, left, top) { + if (left != null || top != null) resolveScrollToPos(cm); + if (left != null) + cm.curOp.scrollLeft = (cm.curOp.scrollLeft == null ? cm.doc.scrollLeft : cm.curOp.scrollLeft) + left; + if (top != null) + cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top; + } + + // Make sure that at the end of the operation the current cursor is + // shown. + function ensureCursorVisible(cm) { + resolveScrollToPos(cm); + var cur = cm.getCursor(), from = cur, to = cur; + if (!cm.options.lineWrapping) { + from = cur.ch ? Pos(cur.line, cur.ch - 1) : cur; + to = Pos(cur.line, cur.ch + 1); + } + cm.curOp.scrollToPos = {from: from, to: to, margin: cm.options.cursorScrollMargin, isCursor: true}; + } + + // When an operation has its scrollToPos property set, and another + // scroll action is applied before the end of the operation, this + // 'simulates' scrolling that position into view in a cheap way, so + // that the effect of intermediate scroll commands is not ignored. + function resolveScrollToPos(cm) { + var range = cm.curOp.scrollToPos; + if (range) { + cm.curOp.scrollToPos = null; + var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to); + var sPos = calculateScrollPos(cm, Math.min(from.left, to.left), + Math.min(from.top, to.top) - range.margin, + Math.max(from.right, to.right), + Math.max(from.bottom, to.bottom) + range.margin); + cm.scrollTo(sPos.scrollLeft, sPos.scrollTop); + } + } + + // API UTILITIES + + // Indent the given line. The how parameter can be "smart", + // "add"/null, "subtract", or "prev". When aggressive is false + // (typically set to true for forced single-line indents), empty + // lines are not indented, and places where the mode returns Pass + // are left alone. + function indentLine(cm, n, how, aggressive) { + var doc = cm.doc, state; + if (how == null) how = "add"; + if (how == "smart") { + // Fall back to "prev" when the mode doesn't have an indentation + // method. + if (!doc.mode.indent) how = "prev"; + else state = getStateBefore(cm, n); + } + + var tabSize = cm.options.tabSize; + var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize); + if (line.stateAfter) line.stateAfter = null; + var curSpaceString = line.text.match(/^\s*/)[0], indentation; + if (!aggressive && !/\S/.test(line.text)) { + indentation = 0; + how = "not"; + } else if (how == "smart") { + indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text); + if (indentation == Pass || indentation > 150) { + if (!aggressive) return; + how = "prev"; + } + } + if (how == "prev") { + if (n > doc.first) indentation = countColumn(getLine(doc, n-1).text, null, tabSize); + else indentation = 0; + } else if (how == "add") { + indentation = curSpace + cm.options.indentUnit; + } else if (how == "subtract") { + indentation = curSpace - cm.options.indentUnit; + } else if (typeof how == "number") { + indentation = curSpace + how; + } + indentation = Math.max(0, indentation); + + var indentString = "", pos = 0; + if (cm.options.indentWithTabs) + for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += "\t";} + if (pos < indentation) indentString += spaceStr(indentation - pos); + + if (indentString != curSpaceString) { + replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), "+input"); + line.stateAfter = null; + return true; + } else { + // Ensure that, if the cursor was in the whitespace at the start + // of the line, it is moved to the end of that space. + for (var i = 0; i < doc.sel.ranges.length; i++) { + var range = doc.sel.ranges[i]; + if (range.head.line == n && range.head.ch < curSpaceString.length) { + var pos = Pos(n, curSpaceString.length); + replaceOneSelection(doc, i, new Range(pos, pos)); + break; + } + } + } + } + + // Utility for applying a change to a line by handle or number, + // returning the number and optionally registering the line as + // changed. + function changeLine(doc, handle, changeType, op) { + var no = handle, line = handle; + if (typeof handle == "number") line = getLine(doc, clipLine(doc, handle)); + else no = lineNo(handle); + if (no == null) return null; + if (op(line, no) && doc.cm) regLineChange(doc.cm, no, changeType); + return line; + } + + // Helper for deleting text near the selection(s), used to implement + // backspace, delete, and similar functionality. + function deleteNearSelection(cm, compute) { + var ranges = cm.doc.sel.ranges, kill = []; + // Build up a set of ranges to kill first, merging overlapping + // ranges. + for (var i = 0; i < ranges.length; i++) { + var toKill = compute(ranges[i]); + while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) { + var replaced = kill.pop(); + if (cmp(replaced.from, toKill.from) < 0) { + toKill.from = replaced.from; + break; + } + } + kill.push(toKill); + } + // Next, remove those actual ranges. + runInOp(cm, function() { + for (var i = kill.length - 1; i >= 0; i--) + replaceRange(cm.doc, "", kill[i].from, kill[i].to, "+delete"); + ensureCursorVisible(cm); + }); + } + + // Used for horizontal relative motion. Dir is -1 or 1 (left or + // right), unit can be "char", "column" (like char, but doesn't + // cross line boundaries), "word" (across next word), or "group" (to + // the start of next group of word or non-word-non-whitespace + // chars). The visually param controls whether, in right-to-left + // text, direction 1 means to move towards the next index in the + // string, or towards the character to the right of the current + // position. The resulting position will have a hitSide=true + // property if it reached the end of the document. + function findPosH(doc, pos, dir, unit, visually) { + var line = pos.line, ch = pos.ch, origDir = dir; + var lineObj = getLine(doc, line); + var possible = true; + function findNextLine() { + var l = line + dir; + if (l < doc.first || l >= doc.first + doc.size) return (possible = false); + line = l; + return lineObj = getLine(doc, l); + } + function moveOnce(boundToLine) { + var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true); + if (next == null) { + if (!boundToLine && findNextLine()) { + if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj); + else ch = dir < 0 ? lineObj.text.length : 0; + } else return (possible = false); + } else ch = next; + return true; + } + + if (unit == "char") moveOnce(); + else if (unit == "column") moveOnce(true); + else if (unit == "word" || unit == "group") { + var sawType = null, group = unit == "group"; + var helper = doc.cm && doc.cm.getHelper(pos, "wordChars"); + for (var first = true;; first = false) { + if (dir < 0 && !moveOnce(!first)) break; + var cur = lineObj.text.charAt(ch) || "\n"; + var type = isWordChar(cur, helper) ? "w" + : group && cur == "\n" ? "n" + : !group || /\s/.test(cur) ? null + : "p"; + if (group && !first && !type) type = "s"; + if (sawType && sawType != type) { + if (dir < 0) {dir = 1; moveOnce();} + break; + } + + if (type) sawType = type; + if (dir > 0 && !moveOnce(!first)) break; + } + } + var result = skipAtomic(doc, Pos(line, ch), origDir, true); + if (!possible) result.hitSide = true; + return result; + } + + // For relative vertical movement. Dir may be -1 or 1. Unit can be + // "page" or "line". The resulting position will have a hitSide=true + // property if it reached the end of the document. + function findPosV(cm, pos, dir, unit) { + var doc = cm.doc, x = pos.left, y; + if (unit == "page") { + var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight); + y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display)); + } else if (unit == "line") { + y = dir > 0 ? pos.bottom + 3 : pos.top - 3; + } + for (;;) { + var target = coordsChar(cm, x, y); + if (!target.outside) break; + if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; } + y += dir * 5; + } + return target; + } + + // EDITOR METHODS + + // The publicly visible API. Note that methodOp(f) means + // 'wrap f in an operation, performed on its `this` parameter'. + + // This is not the complete set of editor methods. Most of the + // methods defined on the Doc type are also injected into + // CodeMirror.prototype, for backwards compatibility and + // convenience. + + CodeMirror.prototype = { + constructor: CodeMirror, + focus: function(){window.focus(); this.display.input.focus();}, + + setOption: function(option, value) { + var options = this.options, old = options[option]; + if (options[option] == value && option != "mode") return; + options[option] = value; + if (optionHandlers.hasOwnProperty(option)) + operation(this, optionHandlers[option])(this, value, old); + }, + + getOption: function(option) {return this.options[option];}, + getDoc: function() {return this.doc;}, + + addKeyMap: function(map, bottom) { + this.state.keyMaps[bottom ? "push" : "unshift"](getKeyMap(map)); + }, + removeKeyMap: function(map) { + var maps = this.state.keyMaps; + for (var i = 0; i < maps.length; ++i) + if (maps[i] == map || maps[i].name == map) { + maps.splice(i, 1); + return true; + } + }, + + addOverlay: methodOp(function(spec, options) { + var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec); + if (mode.startState) throw new Error("Overlays may not be stateful."); + this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque}); + this.state.modeGen++; + regChange(this); + }), + removeOverlay: methodOp(function(spec) { + var overlays = this.state.overlays; + for (var i = 0; i < overlays.length; ++i) { + var cur = overlays[i].modeSpec; + if (cur == spec || typeof spec == "string" && cur.name == spec) { + overlays.splice(i, 1); + this.state.modeGen++; + regChange(this); + return; + } + } + }), + + indentLine: methodOp(function(n, dir, aggressive) { + if (typeof dir != "string" && typeof dir != "number") { + if (dir == null) dir = this.options.smartIndent ? "smart" : "prev"; + else dir = dir ? "add" : "subtract"; + } + if (isLine(this.doc, n)) indentLine(this, n, dir, aggressive); + }), + indentSelection: methodOp(function(how) { + var ranges = this.doc.sel.ranges, end = -1; + for (var i = 0; i < ranges.length; i++) { + var range = ranges[i]; + if (!range.empty()) { + var from = range.from(), to = range.to(); + var start = Math.max(end, from.line); + end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1; + for (var j = start; j < end; ++j) + indentLine(this, j, how); + var newRanges = this.doc.sel.ranges; + if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0) + replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll); + } else if (range.head.line > end) { + indentLine(this, range.head.line, how, true); + end = range.head.line; + if (i == this.doc.sel.primIndex) ensureCursorVisible(this); + } + } + }), + + // Fetch the parser token for a given character. Useful for hacks + // that want to inspect the mode state (say, for completion). + getTokenAt: function(pos, precise) { + return takeToken(this, pos, precise); + }, + + getLineTokens: function(line, precise) { + return takeToken(this, Pos(line), precise, true); + }, + + getTokenTypeAt: function(pos) { + pos = clipPos(this.doc, pos); + var styles = getLineStyles(this, getLine(this.doc, pos.line)); + var before = 0, after = (styles.length - 1) / 2, ch = pos.ch; + var type; + if (ch == 0) type = styles[2]; + else for (;;) { + var mid = (before + after) >> 1; + if ((mid ? styles[mid * 2 - 1] : 0) >= ch) after = mid; + else if (styles[mid * 2 + 1] < ch) before = mid + 1; + else { type = styles[mid * 2 + 2]; break; } + } + var cut = type ? type.indexOf("cm-overlay ") : -1; + return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1); + }, + + getModeAt: function(pos) { + var mode = this.doc.mode; + if (!mode.innerMode) return mode; + return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode; + }, + + getHelper: function(pos, type) { + return this.getHelpers(pos, type)[0]; + }, + + getHelpers: function(pos, type) { + var found = []; + if (!helpers.hasOwnProperty(type)) return found; + var help = helpers[type], mode = this.getModeAt(pos); + if (typeof mode[type] == "string") { + if (help[mode[type]]) found.push(help[mode[type]]); + } else if (mode[type]) { + for (var i = 0; i < mode[type].length; i++) { + var val = help[mode[type][i]]; + if (val) found.push(val); + } + } else if (mode.helperType && help[mode.helperType]) { + found.push(help[mode.helperType]); + } else if (help[mode.name]) { + found.push(help[mode.name]); + } + for (var i = 0; i < help._global.length; i++) { + var cur = help._global[i]; + if (cur.pred(mode, this) && indexOf(found, cur.val) == -1) + found.push(cur.val); + } + return found; + }, + + getStateAfter: function(line, precise) { + var doc = this.doc; + line = clipLine(doc, line == null ? doc.first + doc.size - 1: line); + return getStateBefore(this, line + 1, precise); + }, + + cursorCoords: function(start, mode) { + var pos, range = this.doc.sel.primary(); + if (start == null) pos = range.head; + else if (typeof start == "object") pos = clipPos(this.doc, start); + else pos = start ? range.from() : range.to(); + return cursorCoords(this, pos, mode || "page"); + }, + + charCoords: function(pos, mode) { + return charCoords(this, clipPos(this.doc, pos), mode || "page"); + }, + + coordsChar: function(coords, mode) { + coords = fromCoordSystem(this, coords, mode || "page"); + return coordsChar(this, coords.left, coords.top); + }, + + lineAtHeight: function(height, mode) { + height = fromCoordSystem(this, {top: height, left: 0}, mode || "page").top; + return lineAtHeight(this.doc, height + this.display.viewOffset); + }, + heightAtLine: function(line, mode) { + var end = false, lineObj; + if (typeof line == "number") { + var last = this.doc.first + this.doc.size - 1; + if (line < this.doc.first) line = this.doc.first; + else if (line > last) { line = last; end = true; } + lineObj = getLine(this.doc, line); + } else { + lineObj = line; + } + return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || "page").top + + (end ? this.doc.height - heightAtLine(lineObj) : 0); + }, + + defaultTextHeight: function() { return textHeight(this.display); }, + defaultCharWidth: function() { return charWidth(this.display); }, + + setGutterMarker: methodOp(function(line, gutterID, value) { + return changeLine(this.doc, line, "gutter", function(line) { + var markers = line.gutterMarkers || (line.gutterMarkers = {}); + markers[gutterID] = value; + if (!value && isEmpty(markers)) line.gutterMarkers = null; + return true; + }); + }), + + clearGutter: methodOp(function(gutterID) { + var cm = this, doc = cm.doc, i = doc.first; + doc.iter(function(line) { + if (line.gutterMarkers && line.gutterMarkers[gutterID]) { + line.gutterMarkers[gutterID] = null; + regLineChange(cm, i, "gutter"); + if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null; + } + ++i; + }); + }), + + lineInfo: function(line) { + if (typeof line == "number") { + if (!isLine(this.doc, line)) return null; + var n = line; + line = getLine(this.doc, line); + if (!line) return null; + } else { + var n = lineNo(line); + if (n == null) return null; + } + return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers, + textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass, + widgets: line.widgets}; + }, + + getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo};}, + + addWidget: function(pos, node, scroll, vert, horiz) { + var display = this.display; + pos = cursorCoords(this, clipPos(this.doc, pos)); + var top = pos.bottom, left = pos.left; + node.style.position = "absolute"; + node.setAttribute("cm-ignore-events", "true"); + this.display.input.setUneditable(node); + display.sizer.appendChild(node); + if (vert == "over") { + top = pos.top; + } else if (vert == "above" || vert == "near") { + var vspace = Math.max(display.wrapper.clientHeight, this.doc.height), + hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth); + // Default to positioning above (if specified and possible); otherwise default to positioning below + if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight) + top = pos.top - node.offsetHeight; + else if (pos.bottom + node.offsetHeight <= vspace) + top = pos.bottom; + if (left + node.offsetWidth > hspace) + left = hspace - node.offsetWidth; + } + node.style.top = top + "px"; + node.style.left = node.style.right = ""; + if (horiz == "right") { + left = display.sizer.clientWidth - node.offsetWidth; + node.style.right = "0px"; + } else { + if (horiz == "left") left = 0; + else if (horiz == "middle") left = (display.sizer.clientWidth - node.offsetWidth) / 2; + node.style.left = left + "px"; + } + if (scroll) + scrollIntoView(this, left, top, left + node.offsetWidth, top + node.offsetHeight); + }, + + triggerOnKeyDown: methodOp(onKeyDown), + triggerOnKeyPress: methodOp(onKeyPress), + triggerOnKeyUp: onKeyUp, + + execCommand: function(cmd) { + if (commands.hasOwnProperty(cmd)) + return commands[cmd](this); + }, + + findPosH: function(from, amount, unit, visually) { + var dir = 1; + if (amount < 0) { dir = -1; amount = -amount; } + for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) { + cur = findPosH(this.doc, cur, dir, unit, visually); + if (cur.hitSide) break; + } + return cur; + }, + + moveH: methodOp(function(dir, unit) { + var cm = this; + cm.extendSelectionsBy(function(range) { + if (cm.display.shift || cm.doc.extend || range.empty()) + return findPosH(cm.doc, range.head, dir, unit, cm.options.rtlMoveVisually); + else + return dir < 0 ? range.from() : range.to(); + }, sel_move); + }), + + deleteH: methodOp(function(dir, unit) { + var sel = this.doc.sel, doc = this.doc; + if (sel.somethingSelected()) + doc.replaceSelection("", null, "+delete"); + else + deleteNearSelection(this, function(range) { + var other = findPosH(doc, range.head, dir, unit, false); + return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other}; + }); + }), + + findPosV: function(from, amount, unit, goalColumn) { + var dir = 1, x = goalColumn; + if (amount < 0) { dir = -1; amount = -amount; } + for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) { + var coords = cursorCoords(this, cur, "div"); + if (x == null) x = coords.left; + else coords.left = x; + cur = findPosV(this, coords, dir, unit); + if (cur.hitSide) break; + } + return cur; + }, + + moveV: methodOp(function(dir, unit) { + var cm = this, doc = this.doc, goals = []; + var collapse = !cm.display.shift && !doc.extend && doc.sel.somethingSelected(); + doc.extendSelectionsBy(function(range) { + if (collapse) + return dir < 0 ? range.from() : range.to(); + var headPos = cursorCoords(cm, range.head, "div"); + if (range.goalColumn != null) headPos.left = range.goalColumn; + goals.push(headPos.left); + var pos = findPosV(cm, headPos, dir, unit); + if (unit == "page" && range == doc.sel.primary()) + addToScrollPos(cm, null, charCoords(cm, pos, "div").top - headPos.top); + return pos; + }, sel_move); + if (goals.length) for (var i = 0; i < doc.sel.ranges.length; i++) + doc.sel.ranges[i].goalColumn = goals[i]; + }), + + // Find the word at the given position (as returned by coordsChar). + findWordAt: function(pos) { + var doc = this.doc, line = getLine(doc, pos.line).text; + var start = pos.ch, end = pos.ch; + if (line) { + var helper = this.getHelper(pos, "wordChars"); + if ((pos.xRel < 0 || end == line.length) && start) --start; else ++end; + var startChar = line.charAt(start); + var check = isWordChar(startChar, helper) + ? function(ch) { return isWordChar(ch, helper); } + : /\s/.test(startChar) ? function(ch) {return /\s/.test(ch);} + : function(ch) {return !/\s/.test(ch) && !isWordChar(ch);}; + while (start > 0 && check(line.charAt(start - 1))) --start; + while (end < line.length && check(line.charAt(end))) ++end; + } + return new Range(Pos(pos.line, start), Pos(pos.line, end)); + }, + + toggleOverwrite: function(value) { + if (value != null && value == this.state.overwrite) return; + if (this.state.overwrite = !this.state.overwrite) + addClass(this.display.cursorDiv, "CodeMirror-overwrite"); + else + rmClass(this.display.cursorDiv, "CodeMirror-overwrite"); + + signal(this, "overwriteToggle", this, this.state.overwrite); + }, + hasFocus: function() { return this.display.input.getField() == activeElt(); }, + + scrollTo: methodOp(function(x, y) { + if (x != null || y != null) resolveScrollToPos(this); + if (x != null) this.curOp.scrollLeft = x; + if (y != null) this.curOp.scrollTop = y; + }), + getScrollInfo: function() { + var scroller = this.display.scroller; + return {left: scroller.scrollLeft, top: scroller.scrollTop, + height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight, + width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth, + clientHeight: displayHeight(this), clientWidth: displayWidth(this)}; + }, + + scrollIntoView: methodOp(function(range, margin) { + if (range == null) { + range = {from: this.doc.sel.primary().head, to: null}; + if (margin == null) margin = this.options.cursorScrollMargin; + } else if (typeof range == "number") { + range = {from: Pos(range, 0), to: null}; + } else if (range.from == null) { + range = {from: range, to: null}; + } + if (!range.to) range.to = range.from; + range.margin = margin || 0; + + if (range.from.line != null) { + resolveScrollToPos(this); + this.curOp.scrollToPos = range; + } else { + var sPos = calculateScrollPos(this, Math.min(range.from.left, range.to.left), + Math.min(range.from.top, range.to.top) - range.margin, + Math.max(range.from.right, range.to.right), + Math.max(range.from.bottom, range.to.bottom) + range.margin); + this.scrollTo(sPos.scrollLeft, sPos.scrollTop); + } + }), + + setSize: methodOp(function(width, height) { + var cm = this; + function interpret(val) { + return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val; + } + if (width != null) cm.display.wrapper.style.width = interpret(width); + if (height != null) cm.display.wrapper.style.height = interpret(height); + if (cm.options.lineWrapping) clearLineMeasurementCache(this); + var lineNo = cm.display.viewFrom; + cm.doc.iter(lineNo, cm.display.viewTo, function(line) { + if (line.widgets) for (var i = 0; i < line.widgets.length; i++) + if (line.widgets[i].noHScroll) { regLineChange(cm, lineNo, "widget"); break; } + ++lineNo; + }); + cm.curOp.forceUpdate = true; + signal(cm, "refresh", this); + }), + + operation: function(f){return runInOp(this, f);}, + + refresh: methodOp(function() { + var oldHeight = this.display.cachedTextHeight; + regChange(this); + this.curOp.forceUpdate = true; + clearCaches(this); + this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop); + updateGutterSpace(this); + if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5) + estimateLineHeights(this); + signal(this, "refresh", this); + }), + + swapDoc: methodOp(function(doc) { + var old = this.doc; + old.cm = null; + attachDoc(this, doc); + clearCaches(this); + this.display.input.reset(); + this.scrollTo(doc.scrollLeft, doc.scrollTop); + this.curOp.forceScroll = true; + signalLater(this, "swapDoc", this, old); + return old; + }), + + getInputField: function(){return this.display.input.getField();}, + getWrapperElement: function(){return this.display.wrapper;}, + getScrollerElement: function(){return this.display.scroller;}, + getGutterElement: function(){return this.display.gutters;} + }; + eventMixin(CodeMirror); + + // OPTION DEFAULTS + + // The default configuration options. + var defaults = CodeMirror.defaults = {}; + // Functions to run when options are changed. + var optionHandlers = CodeMirror.optionHandlers = {}; + + function option(name, deflt, handle, notOnInit) { + CodeMirror.defaults[name] = deflt; + if (handle) optionHandlers[name] = + notOnInit ? function(cm, val, old) {if (old != Init) handle(cm, val, old);} : handle; + } + + // Passed to option handlers when there is no old value. + var Init = CodeMirror.Init = {toString: function(){return "CodeMirror.Init";}}; + + // These two are, on init, called from the constructor because they + // have to be initialized before the editor can start at all. + option("value", "", function(cm, val) { + cm.setValue(val); + }, true); + option("mode", null, function(cm, val) { + cm.doc.modeOption = val; + loadMode(cm); + }, true); + + option("indentUnit", 2, loadMode, true); + option("indentWithTabs", false); + option("smartIndent", true); + option("tabSize", 4, function(cm) { + resetModeState(cm); + clearCaches(cm); + regChange(cm); + }, true); + option("specialChars", /[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g, function(cm, val, old) { + cm.state.specialChars = new RegExp(val.source + (val.test("\t") ? "" : "|\t"), "g"); + if (old != CodeMirror.Init) cm.refresh(); + }); + option("specialCharPlaceholder", defaultSpecialCharPlaceholder, function(cm) {cm.refresh();}, true); + option("electricChars", true); + option("inputStyle", mobile ? "contenteditable" : "textarea", function() { + throw new Error("inputStyle can not (yet) be changed in a running editor"); // FIXME + }, true); + option("rtlMoveVisually", !windows); + option("wholeLineUpdateBefore", true); + + option("theme", "default", function(cm) { + themeChanged(cm); + guttersChanged(cm); + }, true); + option("keyMap", "default", function(cm, val, old) { + var next = getKeyMap(val); + var prev = old != CodeMirror.Init && getKeyMap(old); + if (prev && prev.detach) prev.detach(cm, next); + if (next.attach) next.attach(cm, prev || null); + }); + option("extraKeys", null); + + option("lineWrapping", false, wrappingChanged, true); + option("gutters", [], function(cm) { + setGuttersForLineNumbers(cm.options); + guttersChanged(cm); + }, true); + option("fixedGutter", true, function(cm, val) { + cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + "px" : "0"; + cm.refresh(); + }, true); + option("coverGutterNextToScrollbar", false, function(cm) {updateScrollbars(cm);}, true); + option("scrollbarStyle", "native", function(cm) { + initScrollbars(cm); + updateScrollbars(cm); + cm.display.scrollbars.setScrollTop(cm.doc.scrollTop); + cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft); + }, true); + option("lineNumbers", false, function(cm) { + setGuttersForLineNumbers(cm.options); + guttersChanged(cm); + }, true); + option("firstLineNumber", 1, guttersChanged, true); + option("lineNumberFormatter", function(integer) {return integer;}, guttersChanged, true); + option("showCursorWhenSelecting", false, updateSelection, true); + + option("resetSelectionOnContextMenu", true); + option("lineWiseCopyCut", true); + + option("readOnly", false, function(cm, val) { + if (val == "nocursor") { + onBlur(cm); + cm.display.input.blur(); + cm.display.disabled = true; + } else { + cm.display.disabled = false; + if (!val) cm.display.input.reset(); + } + }); + option("disableInput", false, function(cm, val) {if (!val) cm.display.input.reset();}, true); + option("dragDrop", true, dragDropChanged); + + option("cursorBlinkRate", 530); + option("cursorScrollMargin", 0); + option("cursorHeight", 1, updateSelection, true); + option("singleCursorHeightPerLine", true, updateSelection, true); + option("workTime", 100); + option("workDelay", 100); + option("flattenSpans", true, resetModeState, true); + option("addModeClass", false, resetModeState, true); + option("pollInterval", 100); + option("undoDepth", 200, function(cm, val){cm.doc.history.undoDepth = val;}); + option("historyEventDelay", 1250); + option("viewportMargin", 10, function(cm){cm.refresh();}, true); + option("maxHighlightLength", 10000, resetModeState, true); + option("moveInputWithCursor", true, function(cm, val) { + if (!val) cm.display.input.resetPosition(); + }); + + option("tabindex", null, function(cm, val) { + cm.display.input.getField().tabIndex = val || ""; + }); + option("autofocus", null); + + // MODE DEFINITION AND QUERYING + + // Known modes, by name and by MIME + var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {}; + + // Extra arguments are stored as the mode's dependencies, which is + // used by (legacy) mechanisms like loadmode.js to automatically + // load a mode. (Preferred mechanism is the require/define calls.) + CodeMirror.defineMode = function(name, mode) { + if (!CodeMirror.defaults.mode && name != "null") CodeMirror.defaults.mode = name; + if (arguments.length > 2) + mode.dependencies = Array.prototype.slice.call(arguments, 2); + modes[name] = mode; + }; + + CodeMirror.defineMIME = function(mime, spec) { + mimeModes[mime] = spec; + }; + + // Given a MIME type, a {name, ...options} config object, or a name + // string, return a mode config object. + CodeMirror.resolveMode = function(spec) { + if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) { + spec = mimeModes[spec]; + } else if (spec && typeof spec.name == "string" && mimeModes.hasOwnProperty(spec.name)) { + var found = mimeModes[spec.name]; + if (typeof found == "string") found = {name: found}; + spec = createObj(found, spec); + spec.name = found.name; + } else if (typeof spec == "string" && /^[\w\-]+\/[\w\-]+\+xml$/.test(spec)) { + return CodeMirror.resolveMode("application/xml"); + } + if (typeof spec == "string") return {name: spec}; + else return spec || {name: "null"}; + }; + + // Given a mode spec (anything that resolveMode accepts), find and + // initialize an actual mode object. + CodeMirror.getMode = function(options, spec) { + var spec = CodeMirror.resolveMode(spec); + var mfactory = modes[spec.name]; + if (!mfactory) return CodeMirror.getMode(options, "text/plain"); + var modeObj = mfactory(options, spec); + if (modeExtensions.hasOwnProperty(spec.name)) { + var exts = modeExtensions[spec.name]; + for (var prop in exts) { + if (!exts.hasOwnProperty(prop)) continue; + if (modeObj.hasOwnProperty(prop)) modeObj["_" + prop] = modeObj[prop]; + modeObj[prop] = exts[prop]; + } + } + modeObj.name = spec.name; + if (spec.helperType) modeObj.helperType = spec.helperType; + if (spec.modeProps) for (var prop in spec.modeProps) + modeObj[prop] = spec.modeProps[prop]; + + return modeObj; + }; + + // Minimal default mode. + CodeMirror.defineMode("null", function() { + return {token: function(stream) {stream.skipToEnd();}}; + }); + CodeMirror.defineMIME("text/plain", "null"); + + // This can be used to attach properties to mode objects from + // outside the actual mode definition. + var modeExtensions = CodeMirror.modeExtensions = {}; + CodeMirror.extendMode = function(mode, properties) { + var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {}); + copyObj(properties, exts); + }; + + // EXTENSIONS + + CodeMirror.defineExtension = function(name, func) { + CodeMirror.prototype[name] = func; + }; + CodeMirror.defineDocExtension = function(name, func) { + Doc.prototype[name] = func; + }; + CodeMirror.defineOption = option; + + var initHooks = []; + CodeMirror.defineInitHook = function(f) {initHooks.push(f);}; + + var helpers = CodeMirror.helpers = {}; + CodeMirror.registerHelper = function(type, name, value) { + if (!helpers.hasOwnProperty(type)) helpers[type] = CodeMirror[type] = {_global: []}; + helpers[type][name] = value; + }; + CodeMirror.registerGlobalHelper = function(type, name, predicate, value) { + CodeMirror.registerHelper(type, name, value); + helpers[type]._global.push({pred: predicate, val: value}); + }; + + // MODE STATE HANDLING + + // Utility functions for working with state. Exported because nested + // modes need to do this for their inner modes. + + var copyState = CodeMirror.copyState = function(mode, state) { + if (state === true) return state; + if (mode.copyState) return mode.copyState(state); + var nstate = {}; + for (var n in state) { + var val = state[n]; + if (val instanceof Array) val = val.concat([]); + nstate[n] = val; + } + return nstate; + }; + + var startState = CodeMirror.startState = function(mode, a1, a2) { + return mode.startState ? mode.startState(a1, a2) : true; + }; + + // Given a mode and a state (for that mode), find the inner mode and + // state at the position that the state refers to. + CodeMirror.innerMode = function(mode, state) { + while (mode.innerMode) { + var info = mode.innerMode(state); + if (!info || info.mode == mode) break; + state = info.state; + mode = info.mode; + } + return info || {mode: mode, state: state}; + }; + + // STANDARD COMMANDS + + // Commands are parameter-less actions that can be performed on an + // editor, mostly used for keybindings. + var commands = CodeMirror.commands = { + selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);}, + singleSelection: function(cm) { + cm.setSelection(cm.getCursor("anchor"), cm.getCursor("head"), sel_dontScroll); + }, + killLine: function(cm) { + deleteNearSelection(cm, function(range) { + if (range.empty()) { + var len = getLine(cm.doc, range.head.line).text.length; + if (range.head.ch == len && range.head.line < cm.lastLine()) + return {from: range.head, to: Pos(range.head.line + 1, 0)}; + else + return {from: range.head, to: Pos(range.head.line, len)}; + } else { + return {from: range.from(), to: range.to()}; + } + }); + }, + deleteLine: function(cm) { + deleteNearSelection(cm, function(range) { + return {from: Pos(range.from().line, 0), + to: clipPos(cm.doc, Pos(range.to().line + 1, 0))}; + }); + }, + delLineLeft: function(cm) { + deleteNearSelection(cm, function(range) { + return {from: Pos(range.from().line, 0), to: range.from()}; + }); + }, + delWrappedLineLeft: function(cm) { + deleteNearSelection(cm, function(range) { + var top = cm.charCoords(range.head, "div").top + 5; + var leftPos = cm.coordsChar({left: 0, top: top}, "div"); + return {from: leftPos, to: range.from()}; + }); + }, + delWrappedLineRight: function(cm) { + deleteNearSelection(cm, function(range) { + var top = cm.charCoords(range.head, "div").top + 5; + var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, "div"); + return {from: range.from(), to: rightPos }; + }); + }, + undo: function(cm) {cm.undo();}, + redo: function(cm) {cm.redo();}, + undoSelection: function(cm) {cm.undoSelection();}, + redoSelection: function(cm) {cm.redoSelection();}, + goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));}, + goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));}, + goLineStart: function(cm) { + cm.extendSelectionsBy(function(range) { return lineStart(cm, range.head.line); }, + {origin: "+move", bias: 1}); + }, + goLineStartSmart: function(cm) { + cm.extendSelectionsBy(function(range) { + return lineStartSmart(cm, range.head); + }, {origin: "+move", bias: 1}); + }, + goLineEnd: function(cm) { + cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); }, + {origin: "+move", bias: -1}); + }, + goLineRight: function(cm) { + cm.extendSelectionsBy(function(range) { + var top = cm.charCoords(range.head, "div").top + 5; + return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, "div"); + }, sel_move); + }, + goLineLeft: function(cm) { + cm.extendSelectionsBy(function(range) { + var top = cm.charCoords(range.head, "div").top + 5; + return cm.coordsChar({left: 0, top: top}, "div"); + }, sel_move); + }, + goLineLeftSmart: function(cm) { + cm.extendSelectionsBy(function(range) { + var top = cm.charCoords(range.head, "div").top + 5; + var pos = cm.coordsChar({left: 0, top: top}, "div"); + if (pos.ch < cm.getLine(pos.line).search(/\S/)) return lineStartSmart(cm, range.head); + return pos; + }, sel_move); + }, + goLineUp: function(cm) {cm.moveV(-1, "line");}, + goLineDown: function(cm) {cm.moveV(1, "line");}, + goPageUp: function(cm) {cm.moveV(-1, "page");}, + goPageDown: function(cm) {cm.moveV(1, "page");}, + goCharLeft: function(cm) {cm.moveH(-1, "char");}, + goCharRight: function(cm) {cm.moveH(1, "char");}, + goColumnLeft: function(cm) {cm.moveH(-1, "column");}, + goColumnRight: function(cm) {cm.moveH(1, "column");}, + goWordLeft: function(cm) {cm.moveH(-1, "word");}, + goGroupRight: function(cm) {cm.moveH(1, "group");}, + goGroupLeft: function(cm) {cm.moveH(-1, "group");}, + goWordRight: function(cm) {cm.moveH(1, "word");}, + delCharBefore: function(cm) {cm.deleteH(-1, "char");}, + delCharAfter: function(cm) {cm.deleteH(1, "char");}, + delWordBefore: function(cm) {cm.deleteH(-1, "word");}, + delWordAfter: function(cm) {cm.deleteH(1, "word");}, + delGroupBefore: function(cm) {cm.deleteH(-1, "group");}, + delGroupAfter: function(cm) {cm.deleteH(1, "group");}, + indentAuto: function(cm) {cm.indentSelection("smart");}, + indentMore: function(cm) {cm.indentSelection("add");}, + indentLess: function(cm) {cm.indentSelection("subtract");}, + insertTab: function(cm) {cm.replaceSelection("\t");}, + insertSoftTab: function(cm) { + var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize; + for (var i = 0; i < ranges.length; i++) { + var pos = ranges[i].from(); + var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize); + spaces.push(new Array(tabSize - col % tabSize + 1).join(" ")); + } + cm.replaceSelections(spaces); + }, + defaultTab: function(cm) { + if (cm.somethingSelected()) cm.indentSelection("add"); + else cm.execCommand("insertTab"); + }, + transposeChars: function(cm) { + runInOp(cm, function() { + var ranges = cm.listSelections(), newSel = []; + for (var i = 0; i < ranges.length; i++) { + var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text; + if (line) { + if (cur.ch == line.length) cur = new Pos(cur.line, cur.ch - 1); + if (cur.ch > 0) { + cur = new Pos(cur.line, cur.ch + 1); + cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2), + Pos(cur.line, cur.ch - 2), cur, "+transpose"); + } else if (cur.line > cm.doc.first) { + var prev = getLine(cm.doc, cur.line - 1).text; + if (prev) + cm.replaceRange(line.charAt(0) + "\n" + prev.charAt(prev.length - 1), + Pos(cur.line - 1, prev.length - 1), Pos(cur.line, 1), "+transpose"); + } + } + newSel.push(new Range(cur, cur)); + } + cm.setSelections(newSel); + }); + }, + newlineAndIndent: function(cm) { + runInOp(cm, function() { + var len = cm.listSelections().length; + for (var i = 0; i < len; i++) { + var range = cm.listSelections()[i]; + cm.replaceRange("\n", range.anchor, range.head, "+input"); + cm.indentLine(range.from().line + 1, null, true); + ensureCursorVisible(cm); + } + }); + }, + toggleOverwrite: function(cm) {cm.toggleOverwrite();} + }; + + + // STANDARD KEYMAPS + + var keyMap = CodeMirror.keyMap = {}; + + keyMap.basic = { + "Left": "goCharLeft", "Right": "goCharRight", "Up": "goLineUp", "Down": "goLineDown", + "End": "goLineEnd", "Home": "goLineStartSmart", "PageUp": "goPageUp", "PageDown": "goPageDown", + "Delete": "delCharAfter", "Backspace": "delCharBefore", "Shift-Backspace": "delCharBefore", + "Tab": "defaultTab", "Shift-Tab": "indentAuto", + "Enter": "newlineAndIndent", "Insert": "toggleOverwrite", + "Esc": "singleSelection" + }; + // Note that the save and find-related commands aren't defined by + // default. User code or addons can define them. Unknown commands + // are simply ignored. + keyMap.pcDefault = { + "Ctrl-A": "selectAll", "Ctrl-D": "deleteLine", "Ctrl-Z": "undo", "Shift-Ctrl-Z": "redo", "Ctrl-Y": "redo", + "Ctrl-Home": "goDocStart", "Ctrl-End": "goDocEnd", "Ctrl-Up": "goLineUp", "Ctrl-Down": "goLineDown", + "Ctrl-Left": "goGroupLeft", "Ctrl-Right": "goGroupRight", "Alt-Left": "goLineStart", "Alt-Right": "goLineEnd", + "Ctrl-Backspace": "delGroupBefore", "Ctrl-Delete": "delGroupAfter", "Ctrl-S": "save", "Ctrl-F": "find", + "Ctrl-G": "findNext", "Shift-Ctrl-G": "findPrev", "Shift-Ctrl-F": "replace", "Shift-Ctrl-R": "replaceAll", + "Ctrl-[": "indentLess", "Ctrl-]": "indentMore", + "Ctrl-U": "undoSelection", "Shift-Ctrl-U": "redoSelection", "Alt-U": "redoSelection", + fallthrough: "basic" + }; + // Very basic readline/emacs-style bindings, which are standard on Mac. + keyMap.emacsy = { + "Ctrl-F": "goCharRight", "Ctrl-B": "goCharLeft", "Ctrl-P": "goLineUp", "Ctrl-N": "goLineDown", + "Alt-F": "goWordRight", "Alt-B": "goWordLeft", "Ctrl-A": "goLineStart", "Ctrl-E": "goLineEnd", + "Ctrl-V": "goPageDown", "Shift-Ctrl-V": "goPageUp", "Ctrl-D": "delCharAfter", "Ctrl-H": "delCharBefore", + "Alt-D": "delWordAfter", "Alt-Backspace": "delWordBefore", "Ctrl-K": "killLine", "Ctrl-T": "transposeChars" + }; + keyMap.macDefault = { + "Cmd-A": "selectAll", "Cmd-D": "deleteLine", "Cmd-Z": "undo", "Shift-Cmd-Z": "redo", "Cmd-Y": "redo", + "Cmd-Home": "goDocStart", "Cmd-Up": "goDocStart", "Cmd-End": "goDocEnd", "Cmd-Down": "goDocEnd", "Alt-Left": "goGroupLeft", + "Alt-Right": "goGroupRight", "Cmd-Left": "goLineLeft", "Cmd-Right": "goLineRight", "Alt-Backspace": "delGroupBefore", + "Ctrl-Alt-Backspace": "delGroupAfter", "Alt-Delete": "delGroupAfter", "Cmd-S": "save", "Cmd-F": "find", + "Cmd-G": "findNext", "Shift-Cmd-G": "findPrev", "Cmd-Alt-F": "replace", "Shift-Cmd-Alt-F": "replaceAll", + "Cmd-[": "indentLess", "Cmd-]": "indentMore", "Cmd-Backspace": "delWrappedLineLeft", "Cmd-Delete": "delWrappedLineRight", + "Cmd-U": "undoSelection", "Shift-Cmd-U": "redoSelection", "Ctrl-Up": "goDocStart", "Ctrl-Down": "goDocEnd", + fallthrough: ["basic", "emacsy"] + }; + keyMap["default"] = mac ? keyMap.macDefault : keyMap.pcDefault; + + // KEYMAP DISPATCH + + function normalizeKeyName(name) { + var parts = name.split(/-(?!$)/), name = parts[parts.length - 1]; + var alt, ctrl, shift, cmd; + for (var i = 0; i < parts.length - 1; i++) { + var mod = parts[i]; + if (/^(cmd|meta|m)$/i.test(mod)) cmd = true; + else if (/^a(lt)?$/i.test(mod)) alt = true; + else if (/^(c|ctrl|control)$/i.test(mod)) ctrl = true; + else if (/^s(hift)$/i.test(mod)) shift = true; + else throw new Error("Unrecognized modifier name: " + mod); + } + if (alt) name = "Alt-" + name; + if (ctrl) name = "Ctrl-" + name; + if (cmd) name = "Cmd-" + name; + if (shift) name = "Shift-" + name; + return name; + } + + // This is a kludge to keep keymaps mostly working as raw objects + // (backwards compatibility) while at the same time support features + // like normalization and multi-stroke key bindings. It compiles a + // new normalized keymap, and then updates the old object to reflect + // this. + CodeMirror.normalizeKeyMap = function(keymap) { + var copy = {}; + for (var keyname in keymap) if (keymap.hasOwnProperty(keyname)) { + var value = keymap[keyname]; + if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) continue; + if (value == "...") { delete keymap[keyname]; continue; } + + var keys = map(keyname.split(" "), normalizeKeyName); + for (var i = 0; i < keys.length; i++) { + var val, name; + if (i == keys.length - 1) { + name = keyname; + val = value; + } else { + name = keys.slice(0, i + 1).join(" "); + val = "..."; + } + var prev = copy[name]; + if (!prev) copy[name] = val; + else if (prev != val) throw new Error("Inconsistent bindings for " + name); + } + delete keymap[keyname]; + } + for (var prop in copy) keymap[prop] = copy[prop]; + return keymap; + }; + + var lookupKey = CodeMirror.lookupKey = function(key, map, handle, context) { + map = getKeyMap(map); + var found = map.call ? map.call(key, context) : map[key]; + if (found === false) return "nothing"; + if (found === "...") return "multi"; + if (found != null && handle(found)) return "handled"; + + if (map.fallthrough) { + if (Object.prototype.toString.call(map.fallthrough) != "[object Array]") + return lookupKey(key, map.fallthrough, handle, context); + for (var i = 0; i < map.fallthrough.length; i++) { + var result = lookupKey(key, map.fallthrough[i], handle, context); + if (result) return result; + } + } + }; + + // Modifier key presses don't count as 'real' key presses for the + // purpose of keymap fallthrough. + var isModifierKey = CodeMirror.isModifierKey = function(value) { + var name = typeof value == "string" ? value : keyNames[value.keyCode]; + return name == "Ctrl" || name == "Alt" || name == "Shift" || name == "Mod"; + }; + + // Look up the name of a key as indicated by an event object. + var keyName = CodeMirror.keyName = function(event, noShift) { + if (presto && event.keyCode == 34 && event["char"]) return false; + var base = keyNames[event.keyCode], name = base; + if (name == null || event.altGraphKey) return false; + if (event.altKey && base != "Alt") name = "Alt-" + name; + if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != "Ctrl") name = "Ctrl-" + name; + if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != "Cmd") name = "Cmd-" + name; + if (!noShift && event.shiftKey && base != "Shift") name = "Shift-" + name; + return name; + }; + + function getKeyMap(val) { + return typeof val == "string" ? keyMap[val] : val; + } + + // FROMTEXTAREA + + CodeMirror.fromTextArea = function(textarea, options) { + options = options ? copyObj(options) : {}; + options.value = textarea.value; + if (!options.tabindex && textarea.tabIndex) + options.tabindex = textarea.tabIndex; + if (!options.placeholder && textarea.placeholder) + options.placeholder = textarea.placeholder; + // Set autofocus to true if this textarea is focused, or if it has + // autofocus and no other element is focused. + if (options.autofocus == null) { + var hasFocus = activeElt(); + options.autofocus = hasFocus == textarea || + textarea.getAttribute("autofocus") != null && hasFocus == document.body; + } + + function save() {textarea.value = cm.getValue();} + if (textarea.form) { + on(textarea.form, "submit", save); + // Deplorable hack to make the submit method do the right thing. + if (!options.leaveSubmitMethodAlone) { + var form = textarea.form, realSubmit = form.submit; + try { + var wrappedSubmit = form.submit = function() { + save(); + form.submit = realSubmit; + form.submit(); + form.submit = wrappedSubmit; + }; + } catch(e) {} + } + } + + options.finishInit = function(cm) { + cm.save = save; + cm.getTextArea = function() { return textarea; }; + cm.toTextArea = function() { + cm.toTextArea = isNaN; // Prevent this from being ran twice + save(); + textarea.parentNode.removeChild(cm.getWrapperElement()); + textarea.style.display = ""; + if (textarea.form) { + off(textarea.form, "submit", save); + if (typeof textarea.form.submit == "function") + textarea.form.submit = realSubmit; + } + }; + }; + + textarea.style.display = "none"; + var cm = CodeMirror(function(node) { + textarea.parentNode.insertBefore(node, textarea.nextSibling); + }, options); + return cm; + }; + + // STRING STREAM + + // Fed to the mode parsers, provides helper functions to make + // parsers more succinct. + + var StringStream = CodeMirror.StringStream = function(string, tabSize) { + this.pos = this.start = 0; + this.string = string; + this.tabSize = tabSize || 8; + this.lastColumnPos = this.lastColumnValue = 0; + this.lineStart = 0; + }; + + StringStream.prototype = { + eol: function() {return this.pos >= this.string.length;}, + sol: function() {return this.pos == this.lineStart;}, + peek: function() {return this.string.charAt(this.pos) || undefined;}, + next: function() { + if (this.pos < this.string.length) + return this.string.charAt(this.pos++); + }, + eat: function(match) { + var ch = this.string.charAt(this.pos); + if (typeof match == "string") var ok = ch == match; + else var ok = ch && (match.test ? match.test(ch) : match(ch)); + if (ok) {++this.pos; return ch;} + }, + eatWhile: function(match) { + var start = this.pos; + while (this.eat(match)){} + return this.pos > start; + }, + eatSpace: function() { + var start = this.pos; + while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos; + return this.pos > start; + }, + skipToEnd: function() {this.pos = this.string.length;}, + skipTo: function(ch) { + var found = this.string.indexOf(ch, this.pos); + if (found > -1) {this.pos = found; return true;} + }, + backUp: function(n) {this.pos -= n;}, + column: function() { + if (this.lastColumnPos < this.start) { + this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue); + this.lastColumnPos = this.start; + } + return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0); + }, + indentation: function() { + return countColumn(this.string, null, this.tabSize) - + (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0); + }, + match: function(pattern, consume, caseInsensitive) { + if (typeof pattern == "string") { + var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;}; + var substr = this.string.substr(this.pos, pattern.length); + if (cased(substr) == cased(pattern)) { + if (consume !== false) this.pos += pattern.length; + return true; + } + } else { + var match = this.string.slice(this.pos).match(pattern); + if (match && match.index > 0) return null; + if (match && consume !== false) this.pos += match[0].length; + return match; + } + }, + current: function(){return this.string.slice(this.start, this.pos);}, + hideFirstChars: function(n, inner) { + this.lineStart += n; + try { return inner(); } + finally { this.lineStart -= n; } + } + }; + + // TEXTMARKERS + + // Created with markText and setBookmark methods. A TextMarker is a + // handle that can be used to clear or find a marked position in the + // document. Line objects hold arrays (markedSpans) containing + // {from, to, marker} object pointing to such marker objects, and + // indicating that such a marker is present on that line. Multiple + // lines may point to the same marker when it spans across lines. + // The spans will have null for their from/to properties when the + // marker continues beyond the start/end of the line. Markers have + // links back to the lines they currently touch. + + var nextMarkerId = 0; + + var TextMarker = CodeMirror.TextMarker = function(doc, type) { + this.lines = []; + this.type = type; + this.doc = doc; + this.id = ++nextMarkerId; + }; + eventMixin(TextMarker); + + // Clear the marker. + TextMarker.prototype.clear = function() { + if (this.explicitlyCleared) return; + var cm = this.doc.cm, withOp = cm && !cm.curOp; + if (withOp) startOperation(cm); + if (hasHandler(this, "clear")) { + var found = this.find(); + if (found) signalLater(this, "clear", found.from, found.to); + } + var min = null, max = null; + for (var i = 0; i < this.lines.length; ++i) { + var line = this.lines[i]; + var span = getMarkedSpanFor(line.markedSpans, this); + if (cm && !this.collapsed) regLineChange(cm, lineNo(line), "text"); + else if (cm) { + if (span.to != null) max = lineNo(line); + if (span.from != null) min = lineNo(line); + } + line.markedSpans = removeMarkedSpan(line.markedSpans, span); + if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm) + updateLineHeight(line, textHeight(cm.display)); + } + if (cm && this.collapsed && !cm.options.lineWrapping) for (var i = 0; i < this.lines.length; ++i) { + var visual = visualLine(this.lines[i]), len = lineLength(visual); + if (len > cm.display.maxLineLength) { + cm.display.maxLine = visual; + cm.display.maxLineLength = len; + cm.display.maxLineChanged = true; + } + } + + if (min != null && cm && this.collapsed) regChange(cm, min, max + 1); + this.lines.length = 0; + this.explicitlyCleared = true; + if (this.atomic && this.doc.cantEdit) { + this.doc.cantEdit = false; + if (cm) reCheckSelection(cm.doc); + } + if (cm) signalLater(cm, "markerCleared", cm, this); + if (withOp) endOperation(cm); + if (this.parent) this.parent.clear(); + }; + + // Find the position of the marker in the document. Returns a {from, + // to} object by default. Side can be passed to get a specific side + // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the + // Pos objects returned contain a line object, rather than a line + // number (used to prevent looking up the same line twice). + TextMarker.prototype.find = function(side, lineObj) { + if (side == null && this.type == "bookmark") side = 1; + var from, to; + for (var i = 0; i < this.lines.length; ++i) { + var line = this.lines[i]; + var span = getMarkedSpanFor(line.markedSpans, this); + if (span.from != null) { + from = Pos(lineObj ? line : lineNo(line), span.from); + if (side == -1) return from; + } + if (span.to != null) { + to = Pos(lineObj ? line : lineNo(line), span.to); + if (side == 1) return to; + } + } + return from && {from: from, to: to}; + }; + + // Signals that the marker's widget changed, and surrounding layout + // should be recomputed. + TextMarker.prototype.changed = function() { + var pos = this.find(-1, true), widget = this, cm = this.doc.cm; + if (!pos || !cm) return; + runInOp(cm, function() { + var line = pos.line, lineN = lineNo(pos.line); + var view = findViewForLine(cm, lineN); + if (view) { + clearLineMeasurementCacheFor(view); + cm.curOp.selectionChanged = cm.curOp.forceUpdate = true; + } + cm.curOp.updateMaxLine = true; + if (!lineIsHidden(widget.doc, line) && widget.height != null) { + var oldHeight = widget.height; + widget.height = null; + var dHeight = widgetHeight(widget) - oldHeight; + if (dHeight) + updateLineHeight(line, line.height + dHeight); + } + }); + }; + + TextMarker.prototype.attachLine = function(line) { + if (!this.lines.length && this.doc.cm) { + var op = this.doc.cm.curOp; + if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1) + (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this); + } + this.lines.push(line); + }; + TextMarker.prototype.detachLine = function(line) { + this.lines.splice(indexOf(this.lines, line), 1); + if (!this.lines.length && this.doc.cm) { + var op = this.doc.cm.curOp; + (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this); + } + }; + + // Collapsed markers have unique ids, in order to be able to order + // them, which is needed for uniquely determining an outer marker + // when they overlap (they may nest, but not partially overlap). + var nextMarkerId = 0; + + // Create a marker, wire it up to the right lines, and + function markText(doc, from, to, options, type) { + // Shared markers (across linked documents) are handled separately + // (markTextShared will call out to this again, once per + // document). + if (options && options.shared) return markTextShared(doc, from, to, options, type); + // Ensure we are in an operation. + if (doc.cm && !doc.cm.curOp) return operation(doc.cm, markText)(doc, from, to, options, type); + + var marker = new TextMarker(doc, type), diff = cmp(from, to); + if (options) copyObj(options, marker, false); + // Don't connect empty markers unless clearWhenEmpty is false + if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false) + return marker; + if (marker.replacedWith) { + // Showing up as a widget implies collapsed (widget replaces text) + marker.collapsed = true; + marker.widgetNode = elt("span", [marker.replacedWith], "CodeMirror-widget"); + if (!options.handleMouseEvents) marker.widgetNode.setAttribute("cm-ignore-events", "true"); + if (options.insertLeft) marker.widgetNode.insertLeft = true; + } + if (marker.collapsed) { + if (conflictingCollapsedRange(doc, from.line, from, to, marker) || + from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker)) + throw new Error("Inserting collapsed marker partially overlapping an existing one"); + sawCollapsedSpans = true; + } + + if (marker.addToHistory) + addChangeToHistory(doc, {from: from, to: to, origin: "markText"}, doc.sel, NaN); + + var curLine = from.line, cm = doc.cm, updateMaxLine; + doc.iter(curLine, to.line + 1, function(line) { + if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine) + updateMaxLine = true; + if (marker.collapsed && curLine != from.line) updateLineHeight(line, 0); + addMarkedSpan(line, new MarkedSpan(marker, + curLine == from.line ? from.ch : null, + curLine == to.line ? to.ch : null)); + ++curLine; + }); + // lineIsHidden depends on the presence of the spans, so needs a second pass + if (marker.collapsed) doc.iter(from.line, to.line + 1, function(line) { + if (lineIsHidden(doc, line)) updateLineHeight(line, 0); + }); + + if (marker.clearOnEnter) on(marker, "beforeCursorEnter", function() { marker.clear(); }); + + if (marker.readOnly) { + sawReadOnlySpans = true; + if (doc.history.done.length || doc.history.undone.length) + doc.clearHistory(); + } + if (marker.collapsed) { + marker.id = ++nextMarkerId; + marker.atomic = true; + } + if (cm) { + // Sync editor state + if (updateMaxLine) cm.curOp.updateMaxLine = true; + if (marker.collapsed) + regChange(cm, from.line, to.line + 1); + else if (marker.className || marker.title || marker.startStyle || marker.endStyle || marker.css) + for (var i = from.line; i <= to.line; i++) regLineChange(cm, i, "text"); + if (marker.atomic) reCheckSelection(cm.doc); + signalLater(cm, "markerAdded", cm, marker); + } + return marker; + } + + // SHARED TEXTMARKERS + + // A shared marker spans multiple linked documents. It is + // implemented as a meta-marker-object controlling multiple normal + // markers. + var SharedTextMarker = CodeMirror.SharedTextMarker = function(markers, primary) { + this.markers = markers; + this.primary = primary; + for (var i = 0; i < markers.length; ++i) + markers[i].parent = this; + }; + eventMixin(SharedTextMarker); + + SharedTextMarker.prototype.clear = function() { + if (this.explicitlyCleared) return; + this.explicitlyCleared = true; + for (var i = 0; i < this.markers.length; ++i) + this.markers[i].clear(); + signalLater(this, "clear"); + }; + SharedTextMarker.prototype.find = function(side, lineObj) { + return this.primary.find(side, lineObj); + }; + + function markTextShared(doc, from, to, options, type) { + options = copyObj(options); + options.shared = false; + var markers = [markText(doc, from, to, options, type)], primary = markers[0]; + var widget = options.widgetNode; + linkedDocs(doc, function(doc) { + if (widget) options.widgetNode = widget.cloneNode(true); + markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type)); + for (var i = 0; i < doc.linked.length; ++i) + if (doc.linked[i].isParent) return; + primary = lst(markers); + }); + return new SharedTextMarker(markers, primary); + } + + function findSharedMarkers(doc) { + return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())), + function(m) { return m.parent; }); + } + + function copySharedMarkers(doc, markers) { + for (var i = 0; i < markers.length; i++) { + var marker = markers[i], pos = marker.find(); + var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to); + if (cmp(mFrom, mTo)) { + var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type); + marker.markers.push(subMark); + subMark.parent = marker; + } + } + } + + function detachSharedMarkers(markers) { + for (var i = 0; i < markers.length; i++) { + var marker = markers[i], linked = [marker.primary.doc];; + linkedDocs(marker.primary.doc, function(d) { linked.push(d); }); + for (var j = 0; j < marker.markers.length; j++) { + var subMarker = marker.markers[j]; + if (indexOf(linked, subMarker.doc) == -1) { + subMarker.parent = null; + marker.markers.splice(j--, 1); + } + } + } + } + + // TEXTMARKER SPANS + + function MarkedSpan(marker, from, to) { + this.marker = marker; + this.from = from; this.to = to; + } + + // Search an array of spans for a span matching the given marker. + function getMarkedSpanFor(spans, marker) { + if (spans) for (var i = 0; i < spans.length; ++i) { + var span = spans[i]; + if (span.marker == marker) return span; + } + } + // Remove a span from an array, returning undefined if no spans are + // left (we don't store arrays for lines without spans). + function removeMarkedSpan(spans, span) { + for (var r, i = 0; i < spans.length; ++i) + if (spans[i] != span) (r || (r = [])).push(spans[i]); + return r; + } + // Add a span to a line. + function addMarkedSpan(line, span) { + line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span]; + span.marker.attachLine(line); + } + + // Used for the algorithm that adjusts markers for a change in the + // document. These functions cut an array of spans at a given + // character position, returning an array of remaining chunks (or + // undefined if nothing remains). + function markedSpansBefore(old, startCh, isInsert) { + if (old) for (var i = 0, nw; i < old.length; ++i) { + var span = old[i], marker = span.marker; + var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh); + if (startsBefore || span.from == startCh && marker.type == "bookmark" && (!isInsert || !span.marker.insertLeft)) { + var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh); + (nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to)); + } + } + return nw; + } + function markedSpansAfter(old, endCh, isInsert) { + if (old) for (var i = 0, nw; i < old.length; ++i) { + var span = old[i], marker = span.marker; + var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh); + if (endsAfter || span.from == endCh && marker.type == "bookmark" && (!isInsert || span.marker.insertLeft)) { + var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh); + (nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh, + span.to == null ? null : span.to - endCh)); + } + } + return nw; + } + + // Given a change object, compute the new set of marker spans that + // cover the line in which the change took place. Removes spans + // entirely within the change, reconnects spans belonging to the + // same marker that appear on both sides of the change, and cuts off + // spans partially within the change. Returns an array of span + // arrays with one element for each line in (after) the change. + function stretchSpansOverChange(doc, change) { + if (change.full) return null; + var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans; + var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans; + if (!oldFirst && !oldLast) return null; + + var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0; + // Get the spans that 'stick out' on both sides + var first = markedSpansBefore(oldFirst, startCh, isInsert); + var last = markedSpansAfter(oldLast, endCh, isInsert); + + // Next, merge those two ends + var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0); + if (first) { + // Fix up .to properties of first + for (var i = 0; i < first.length; ++i) { + var span = first[i]; + if (span.to == null) { + var found = getMarkedSpanFor(last, span.marker); + if (!found) span.to = startCh; + else if (sameLine) span.to = found.to == null ? null : found.to + offset; + } + } + } + if (last) { + // Fix up .from in last (or move them into first in case of sameLine) + for (var i = 0; i < last.length; ++i) { + var span = last[i]; + if (span.to != null) span.to += offset; + if (span.from == null) { + var found = getMarkedSpanFor(first, span.marker); + if (!found) { + span.from = offset; + if (sameLine) (first || (first = [])).push(span); + } + } else { + span.from += offset; + if (sameLine) (first || (first = [])).push(span); + } + } + } + // Make sure we didn't create any zero-length spans + if (first) first = clearEmptySpans(first); + if (last && last != first) last = clearEmptySpans(last); + + var newMarkers = [first]; + if (!sameLine) { + // Fill gap with whole-line-spans + var gap = change.text.length - 2, gapMarkers; + if (gap > 0 && first) + for (var i = 0; i < first.length; ++i) + if (first[i].to == null) + (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i].marker, null, null)); + for (var i = 0; i < gap; ++i) + newMarkers.push(gapMarkers); + newMarkers.push(last); + } + return newMarkers; + } + + // Remove spans that are empty and don't have a clearWhenEmpty + // option of false. + function clearEmptySpans(spans) { + for (var i = 0; i < spans.length; ++i) { + var span = spans[i]; + if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false) + spans.splice(i--, 1); + } + if (!spans.length) return null; + return spans; + } + + // Used for un/re-doing changes from the history. Combines the + // result of computing the existing spans with the set of spans that + // existed in the history (so that deleting around a span and then + // undoing brings back the span). + function mergeOldSpans(doc, change) { + var old = getOldSpans(doc, change); + var stretched = stretchSpansOverChange(doc, change); + if (!old) return stretched; + if (!stretched) return old; + + for (var i = 0; i < old.length; ++i) { + var oldCur = old[i], stretchCur = stretched[i]; + if (oldCur && stretchCur) { + spans: for (var j = 0; j < stretchCur.length; ++j) { + var span = stretchCur[j]; + for (var k = 0; k < oldCur.length; ++k) + if (oldCur[k].marker == span.marker) continue spans; + oldCur.push(span); + } + } else if (stretchCur) { + old[i] = stretchCur; + } + } + return old; + } + + // Used to 'clip' out readOnly ranges when making a change. + function removeReadOnlyRanges(doc, from, to) { + var markers = null; + doc.iter(from.line, to.line + 1, function(line) { + if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) { + var mark = line.markedSpans[i].marker; + if (mark.readOnly && (!markers || indexOf(markers, mark) == -1)) + (markers || (markers = [])).push(mark); + } + }); + if (!markers) return null; + var parts = [{from: from, to: to}]; + for (var i = 0; i < markers.length; ++i) { + var mk = markers[i], m = mk.find(0); + for (var j = 0; j < parts.length; ++j) { + var p = parts[j]; + if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) continue; + var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to); + if (dfrom < 0 || !mk.inclusiveLeft && !dfrom) + newParts.push({from: p.from, to: m.from}); + if (dto > 0 || !mk.inclusiveRight && !dto) + newParts.push({from: m.to, to: p.to}); + parts.splice.apply(parts, newParts); + j += newParts.length - 1; + } + } + return parts; + } + + // Connect or disconnect spans from a line. + function detachMarkedSpans(line) { + var spans = line.markedSpans; + if (!spans) return; + for (var i = 0; i < spans.length; ++i) + spans[i].marker.detachLine(line); + line.markedSpans = null; + } + function attachMarkedSpans(line, spans) { + if (!spans) return; + for (var i = 0; i < spans.length; ++i) + spans[i].marker.attachLine(line); + line.markedSpans = spans; + } + + // Helpers used when computing which overlapping collapsed span + // counts as the larger one. + function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; } + function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; } + + // Returns a number indicating which of two overlapping collapsed + // spans is larger (and thus includes the other). Falls back to + // comparing ids when the spans cover exactly the same range. + function compareCollapsedMarkers(a, b) { + var lenDiff = a.lines.length - b.lines.length; + if (lenDiff != 0) return lenDiff; + var aPos = a.find(), bPos = b.find(); + var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b); + if (fromCmp) return -fromCmp; + var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b); + if (toCmp) return toCmp; + return b.id - a.id; + } + + // Find out whether a line ends or starts in a collapsed span. If + // so, return the marker for that span. + function collapsedSpanAtSide(line, start) { + var sps = sawCollapsedSpans && line.markedSpans, found; + if (sps) for (var sp, i = 0; i < sps.length; ++i) { + sp = sps[i]; + if (sp.marker.collapsed && (start ? sp.from : sp.to) == null && + (!found || compareCollapsedMarkers(found, sp.marker) < 0)) + found = sp.marker; + } + return found; + } + function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true); } + function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false); } + + // Test whether there exists a collapsed span that partially + // overlaps (covers the start or end, but not both) of a new span. + // Such overlap is not allowed. + function conflictingCollapsedRange(doc, lineNo, from, to, marker) { + var line = getLine(doc, lineNo); + var sps = sawCollapsedSpans && line.markedSpans; + if (sps) for (var i = 0; i < sps.length; ++i) { + var sp = sps[i]; + if (!sp.marker.collapsed) continue; + var found = sp.marker.find(0); + var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker); + var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker); + if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) continue; + if (fromCmp <= 0 && (cmp(found.to, from) > 0 || (sp.marker.inclusiveRight && marker.inclusiveLeft)) || + fromCmp >= 0 && (cmp(found.from, to) < 0 || (sp.marker.inclusiveLeft && marker.inclusiveRight))) + return true; + } + } + + // A visual line is a line as drawn on the screen. Folding, for + // example, can cause multiple logical lines to appear on the same + // visual line. This finds the start of the visual line that the + // given line is part of (usually that is the line itself). + function visualLine(line) { + var merged; + while (merged = collapsedSpanAtStart(line)) + line = merged.find(-1, true).line; + return line; + } + + // Returns an array of logical lines that continue the visual line + // started by the argument, or undefined if there are no such lines. + function visualLineContinued(line) { + var merged, lines; + while (merged = collapsedSpanAtEnd(line)) { + line = merged.find(1, true).line; + (lines || (lines = [])).push(line); + } + return lines; + } + + // Get the line number of the start of the visual line that the + // given line number is part of. + function visualLineNo(doc, lineN) { + var line = getLine(doc, lineN), vis = visualLine(line); + if (line == vis) return lineN; + return lineNo(vis); + } + // Get the line number of the start of the next visual line after + // the given line. + function visualLineEndNo(doc, lineN) { + if (lineN > doc.lastLine()) return lineN; + var line = getLine(doc, lineN), merged; + if (!lineIsHidden(doc, line)) return lineN; + while (merged = collapsedSpanAtEnd(line)) + line = merged.find(1, true).line; + return lineNo(line) + 1; + } + + // Compute whether a line is hidden. Lines count as hidden when they + // are part of a visual line that starts with another line, or when + // they are entirely covered by collapsed, non-widget span. + function lineIsHidden(doc, line) { + var sps = sawCollapsedSpans && line.markedSpans; + if (sps) for (var sp, i = 0; i < sps.length; ++i) { + sp = sps[i]; + if (!sp.marker.collapsed) continue; + if (sp.from == null) return true; + if (sp.marker.widgetNode) continue; + if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp)) + return true; + } + } + function lineIsHiddenInner(doc, line, span) { + if (span.to == null) { + var end = span.marker.find(1, true); + return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker)); + } + if (span.marker.inclusiveRight && span.to == line.text.length) + return true; + for (var sp, i = 0; i < line.markedSpans.length; ++i) { + sp = line.markedSpans[i]; + if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to && + (sp.to == null || sp.to != span.from) && + (sp.marker.inclusiveLeft || span.marker.inclusiveRight) && + lineIsHiddenInner(doc, line, sp)) return true; + } + } + + // LINE WIDGETS + + // Line widgets are block elements displayed above or below a line. + + var LineWidget = CodeMirror.LineWidget = function(doc, node, options) { + if (options) for (var opt in options) if (options.hasOwnProperty(opt)) + this[opt] = options[opt]; + this.doc = doc; + this.node = node; + }; + eventMixin(LineWidget); + + function adjustScrollWhenAboveVisible(cm, line, diff) { + if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop)) + addToScrollPos(cm, null, diff); + } + + LineWidget.prototype.clear = function() { + var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line); + if (no == null || !ws) return; + for (var i = 0; i < ws.length; ++i) if (ws[i] == this) ws.splice(i--, 1); + if (!ws.length) line.widgets = null; + var height = widgetHeight(this); + updateLineHeight(line, Math.max(0, line.height - height)); + if (cm) runInOp(cm, function() { + adjustScrollWhenAboveVisible(cm, line, -height); + regLineChange(cm, no, "widget"); + }); + }; + LineWidget.prototype.changed = function() { + var oldH = this.height, cm = this.doc.cm, line = this.line; + this.height = null; + var diff = widgetHeight(this) - oldH; + if (!diff) return; + updateLineHeight(line, line.height + diff); + if (cm) runInOp(cm, function() { + cm.curOp.forceUpdate = true; + adjustScrollWhenAboveVisible(cm, line, diff); + }); + }; + + function widgetHeight(widget) { + if (widget.height != null) return widget.height; + var cm = widget.doc.cm; + if (!cm) return 0; + if (!contains(document.body, widget.node)) { + var parentStyle = "position: relative;"; + if (widget.coverGutter) + parentStyle += "margin-left: -" + cm.display.gutters.offsetWidth + "px;"; + if (widget.noHScroll) + parentStyle += "width: " + cm.display.wrapper.clientWidth + "px;"; + removeChildrenAndAdd(cm.display.measure, elt("div", [widget.node], null, parentStyle)); + } + return widget.height = widget.node.offsetHeight; + } + + function addLineWidget(doc, handle, node, options) { + var widget = new LineWidget(doc, node, options); + var cm = doc.cm; + if (cm && widget.noHScroll) cm.display.alignWidgets = true; + changeLine(doc, handle, "widget", function(line) { + var widgets = line.widgets || (line.widgets = []); + if (widget.insertAt == null) widgets.push(widget); + else widgets.splice(Math.min(widgets.length - 1, Math.max(0, widget.insertAt)), 0, widget); + widget.line = line; + if (cm && !lineIsHidden(doc, line)) { + var aboveVisible = heightAtLine(line) < doc.scrollTop; + updateLineHeight(line, line.height + widgetHeight(widget)); + if (aboveVisible) addToScrollPos(cm, null, widget.height); + cm.curOp.forceUpdate = true; + } + return true; + }); + return widget; + } + + // LINE DATA STRUCTURE + + // Line objects. These hold state related to a line, including + // highlighting info (the styles array). + var Line = CodeMirror.Line = function(text, markedSpans, estimateHeight) { + this.text = text; + attachMarkedSpans(this, markedSpans); + this.height = estimateHeight ? estimateHeight(this) : 1; + }; + eventMixin(Line); + Line.prototype.lineNo = function() { return lineNo(this); }; + + // Change the content (text, markers) of a line. Automatically + // invalidates cached information and tries to re-estimate the + // line's height. + function updateLine(line, text, markedSpans, estimateHeight) { + line.text = text; + if (line.stateAfter) line.stateAfter = null; + if (line.styles) line.styles = null; + if (line.order != null) line.order = null; + detachMarkedSpans(line); + attachMarkedSpans(line, markedSpans); + var estHeight = estimateHeight ? estimateHeight(line) : 1; + if (estHeight != line.height) updateLineHeight(line, estHeight); + } + + // Detach a line from the document tree and its markers. + function cleanUpLine(line) { + line.parent = null; + detachMarkedSpans(line); + } + + function extractLineClasses(type, output) { + if (type) for (;;) { + var lineClass = type.match(/(?:^|\s+)line-(background-)?(\S+)/); + if (!lineClass) break; + type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length); + var prop = lineClass[1] ? "bgClass" : "textClass"; + if (output[prop] == null) + output[prop] = lineClass[2]; + else if (!(new RegExp("(?:^|\s)" + lineClass[2] + "(?:$|\s)")).test(output[prop])) + output[prop] += " " + lineClass[2]; + } + return type; + } + + function callBlankLine(mode, state) { + if (mode.blankLine) return mode.blankLine(state); + if (!mode.innerMode) return; + var inner = CodeMirror.innerMode(mode, state); + if (inner.mode.blankLine) return inner.mode.blankLine(inner.state); + } + + function readToken(mode, stream, state, inner) { + for (var i = 0; i < 10; i++) { + if (inner) inner[0] = CodeMirror.innerMode(mode, state).mode; + var style = mode.token(stream, state); + if (stream.pos > stream.start) return style; + } + throw new Error("Mode " + mode.name + " failed to advance stream."); + } + + // Utility for getTokenAt and getLineTokens + function takeToken(cm, pos, precise, asArray) { + function getObj(copy) { + return {start: stream.start, end: stream.pos, + string: stream.current(), + type: style || null, + state: copy ? copyState(doc.mode, state) : state}; + } + + var doc = cm.doc, mode = doc.mode, style; + pos = clipPos(doc, pos); + var line = getLine(doc, pos.line), state = getStateBefore(cm, pos.line, precise); + var stream = new StringStream(line.text, cm.options.tabSize), tokens; + if (asArray) tokens = []; + while ((asArray || stream.pos < pos.ch) && !stream.eol()) { + stream.start = stream.pos; + style = readToken(mode, stream, state); + if (asArray) tokens.push(getObj(true)); + } + return asArray ? tokens : getObj(); + } + + // Run the given mode's parser over a line, calling f for each token. + function runMode(cm, text, mode, state, f, lineClasses, forceToEnd) { + var flattenSpans = mode.flattenSpans; + if (flattenSpans == null) flattenSpans = cm.options.flattenSpans; + var curStart = 0, curStyle = null; + var stream = new StringStream(text, cm.options.tabSize), style; + var inner = cm.options.addModeClass && [null]; + if (text == "") extractLineClasses(callBlankLine(mode, state), lineClasses); + while (!stream.eol()) { + if (stream.pos > cm.options.maxHighlightLength) { + flattenSpans = false; + if (forceToEnd) processLine(cm, text, state, stream.pos); + stream.pos = text.length; + style = null; + } else { + style = extractLineClasses(readToken(mode, stream, state, inner), lineClasses); + } + if (inner) { + var mName = inner[0].name; + if (mName) style = "m-" + (style ? mName + " " + style : mName); + } + if (!flattenSpans || curStyle != style) { + while (curStart < stream.start) { + curStart = Math.min(stream.start, curStart + 50000); + f(curStart, curStyle); + } + curStyle = style; + } + stream.start = stream.pos; + } + while (curStart < stream.pos) { + // Webkit seems to refuse to render text nodes longer than 57444 characters + var pos = Math.min(stream.pos, curStart + 50000); + f(pos, curStyle); + curStart = pos; + } + } + + // Compute a style array (an array starting with a mode generation + // -- for invalidation -- followed by pairs of end positions and + // style strings), which is used to highlight the tokens on the + // line. + function highlightLine(cm, line, state, forceToEnd) { + // A styles array always starts with a number identifying the + // mode/overlays that it is based on (for easy invalidation). + var st = [cm.state.modeGen], lineClasses = {}; + // Compute the base array of styles + runMode(cm, line.text, cm.doc.mode, state, function(end, style) { + st.push(end, style); + }, lineClasses, forceToEnd); + + // Run overlays, adjust style array. + for (var o = 0; o < cm.state.overlays.length; ++o) { + var overlay = cm.state.overlays[o], i = 1, at = 0; + runMode(cm, line.text, overlay.mode, true, function(end, style) { + var start = i; + // Ensure there's a token end at the current position, and that i points at it + while (at < end) { + var i_end = st[i]; + if (i_end > end) + st.splice(i, 1, end, st[i+1], i_end); + i += 2; + at = Math.min(end, i_end); + } + if (!style) return; + if (overlay.opaque) { + st.splice(start, i - start, end, "cm-overlay " + style); + i = start + 2; + } else { + for (; start < i; start += 2) { + var cur = st[start+1]; + st[start+1] = (cur ? cur + " " : "") + "cm-overlay " + style; + } + } + }, lineClasses); + } + + return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null}; + } + + function getLineStyles(cm, line, updateFrontier) { + if (!line.styles || line.styles[0] != cm.state.modeGen) { + var result = highlightLine(cm, line, line.stateAfter = getStateBefore(cm, lineNo(line))); + line.styles = result.styles; + if (result.classes) line.styleClasses = result.classes; + else if (line.styleClasses) line.styleClasses = null; + if (updateFrontier === cm.doc.frontier) cm.doc.frontier++; + } + return line.styles; + } + + // Lightweight form of highlight -- proceed over this line and + // update state, but don't save a style array. Used for lines that + // aren't currently visible. + function processLine(cm, text, state, startAt) { + var mode = cm.doc.mode; + var stream = new StringStream(text, cm.options.tabSize); + stream.start = stream.pos = startAt || 0; + if (text == "") callBlankLine(mode, state); + while (!stream.eol() && stream.pos <= cm.options.maxHighlightLength) { + readToken(mode, stream, state); + stream.start = stream.pos; + } + } + + // Convert a style as returned by a mode (either null, or a string + // containing one or more styles) to a CSS style. This is cached, + // and also looks for line-wide styles. + var styleToClassCache = {}, styleToClassCacheWithMode = {}; + function interpretTokenStyle(style, options) { + if (!style || /^\s*$/.test(style)) return null; + var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache; + return cache[style] || + (cache[style] = style.replace(/\S+/g, "cm-$&")); + } + + // Render the DOM representation of the text of a line. Also builds + // up a 'line map', which points at the DOM nodes that represent + // specific stretches of text, and is used by the measuring code. + // The returned object contains the DOM node, this map, and + // information about line-wide styles that were set by the mode. + function buildLineContent(cm, lineView) { + // The padding-right forces the element to have a 'border', which + // is needed on Webkit to be able to get line-level bounding + // rectangles for it (in measureChar). + var content = elt("span", null, null, webkit ? "padding-right: .1px" : null); + var builder = {pre: elt("pre", [content]), content: content, + col: 0, pos: 0, cm: cm, + splitSpaces: (ie || webkit) && cm.getOption("lineWrapping")}; + lineView.measure = {}; + + // Iterate over the logical lines that make up this visual line. + for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) { + var line = i ? lineView.rest[i - 1] : lineView.line, order; + builder.pos = 0; + builder.addToken = buildToken; + // Optionally wire in some hacks into the token-rendering + // algorithm, to deal with browser quirks. + if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line))) + builder.addToken = buildTokenBadBidi(builder.addToken, order); + builder.map = []; + var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line); + insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate)); + if (line.styleClasses) { + if (line.styleClasses.bgClass) + builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || ""); + if (line.styleClasses.textClass) + builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || ""); + } + + // Ensure at least a single node is present, for measuring. + if (builder.map.length == 0) + builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure))); + + // Store the map and a cache object for the current logical line + if (i == 0) { + lineView.measure.map = builder.map; + lineView.measure.cache = {}; + } else { + (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map); + (lineView.measure.caches || (lineView.measure.caches = [])).push({}); + } + } + + // See issue #2901 + if (webkit && /\bcm-tab\b/.test(builder.content.lastChild.className)) + builder.content.className = "cm-tab-wrap-hack"; + + signal(cm, "renderLine", cm, lineView.line, builder.pre); + if (builder.pre.className) + builder.textClass = joinClasses(builder.pre.className, builder.textClass || ""); + + return builder; + } + + function defaultSpecialCharPlaceholder(ch) { + var token = elt("span", "\u2022", "cm-invalidchar"); + token.title = "\\u" + ch.charCodeAt(0).toString(16); + token.setAttribute("aria-label", token.title); + return token; + } + + // Build up the DOM representation for a single token, and add it to + // the line map. Takes care to render special characters separately. + function buildToken(builder, text, style, startStyle, endStyle, title, css) { + if (!text) return; + var displayText = builder.splitSpaces ? text.replace(/ {3,}/g, splitSpaces) : text; + var special = builder.cm.state.specialChars, mustWrap = false; + if (!special.test(text)) { + builder.col += text.length; + var content = document.createTextNode(displayText); + builder.map.push(builder.pos, builder.pos + text.length, content); + if (ie && ie_version < 9) mustWrap = true; + builder.pos += text.length; + } else { + var content = document.createDocumentFragment(), pos = 0; + while (true) { + special.lastIndex = pos; + var m = special.exec(text); + var skipped = m ? m.index - pos : text.length - pos; + if (skipped) { + var txt = document.createTextNode(displayText.slice(pos, pos + skipped)); + if (ie && ie_version < 9) content.appendChild(elt("span", [txt])); + else content.appendChild(txt); + builder.map.push(builder.pos, builder.pos + skipped, txt); + builder.col += skipped; + builder.pos += skipped; + } + if (!m) break; + pos += skipped + 1; + if (m[0] == "\t") { + var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize; + var txt = content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab")); + txt.setAttribute("role", "presentation"); + txt.setAttribute("cm-text", "\t"); + builder.col += tabWidth; + } else { + var txt = builder.cm.options.specialCharPlaceholder(m[0]); + txt.setAttribute("cm-text", m[0]); + if (ie && ie_version < 9) content.appendChild(elt("span", [txt])); + else content.appendChild(txt); + builder.col += 1; + } + builder.map.push(builder.pos, builder.pos + 1, txt); + builder.pos++; + } + } + if (style || startStyle || endStyle || mustWrap || css) { + var fullStyle = style || ""; + if (startStyle) fullStyle += startStyle; + if (endStyle) fullStyle += endStyle; + var token = elt("span", [content], fullStyle, css); + if (title) token.title = title; + return builder.content.appendChild(token); + } + builder.content.appendChild(content); + } + + function splitSpaces(old) { + var out = " "; + for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? " " : "\u00a0"; + out += " "; + return out; + } + + // Work around nonsense dimensions being reported for stretches of + // right-to-left text. + function buildTokenBadBidi(inner, order) { + return function(builder, text, style, startStyle, endStyle, title, css) { + style = style ? style + " cm-force-border" : "cm-force-border"; + var start = builder.pos, end = start + text.length; + for (;;) { + // Find the part that overlaps with the start of this text + for (var i = 0; i < order.length; i++) { + var part = order[i]; + if (part.to > start && part.from <= start) break; + } + if (part.to >= end) return inner(builder, text, style, startStyle, endStyle, title, css); + inner(builder, text.slice(0, part.to - start), style, startStyle, null, title, css); + startStyle = null; + text = text.slice(part.to - start); + start = part.to; + } + }; + } + + function buildCollapsedSpan(builder, size, marker, ignoreWidget) { + var widget = !ignoreWidget && marker.widgetNode; + if (widget) builder.map.push(builder.pos, builder.pos + size, widget); + if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) { + if (!widget) + widget = builder.content.appendChild(document.createElement("span")); + widget.setAttribute("cm-marker", marker.id); + } + if (widget) { + builder.cm.display.input.setUneditable(widget); + builder.content.appendChild(widget); + } + builder.pos += size; + } + + // Outputs a number of spans to make up a line, taking highlighting + // and marked text into account. + function insertLineContent(line, builder, styles) { + var spans = line.markedSpans, allText = line.text, at = 0; + if (!spans) { + for (var i = 1; i < styles.length; i+=2) + builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+1], builder.cm.options)); + return; + } + + var len = allText.length, pos = 0, i = 1, text = "", style, css; + var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, title, collapsed; + for (;;) { + if (nextChange == pos) { // Update current marker set + spanStyle = spanEndStyle = spanStartStyle = title = css = ""; + collapsed = null; nextChange = Infinity; + var foundBookmarks = []; + for (var j = 0; j < spans.length; ++j) { + var sp = spans[j], m = sp.marker; + if (m.type == "bookmark" && sp.from == pos && m.widgetNode) { + foundBookmarks.push(m); + } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) { + if (sp.to != null && sp.to != pos && nextChange > sp.to) { + nextChange = sp.to; + spanEndStyle = ""; + } + if (m.className) spanStyle += " " + m.className; + if (m.css) css = m.css; + if (m.startStyle && sp.from == pos) spanStartStyle += " " + m.startStyle; + if (m.endStyle && sp.to == nextChange) spanEndStyle += " " + m.endStyle; + if (m.title && !title) title = m.title; + if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0)) + collapsed = sp; + } else if (sp.from > pos && nextChange > sp.from) { + nextChange = sp.from; + } + } + if (collapsed && (collapsed.from || 0) == pos) { + buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos, + collapsed.marker, collapsed.from == null); + if (collapsed.to == null) return; + if (collapsed.to == pos) collapsed = false; + } + if (!collapsed && foundBookmarks.length) for (var j = 0; j < foundBookmarks.length; ++j) + buildCollapsedSpan(builder, 0, foundBookmarks[j]); + } + if (pos >= len) break; + + var upto = Math.min(len, nextChange); + while (true) { + if (text) { + var end = pos + text.length; + if (!collapsed) { + var tokenText = end > upto ? text.slice(0, upto - pos) : text; + builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle, + spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : "", title, css); + } + if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;} + pos = end; + spanStartStyle = ""; + } + text = allText.slice(at, at = styles[i++]); + style = interpretTokenStyle(styles[i++], builder.cm.options); + } + } + } + + // DOCUMENT DATA STRUCTURE + + // By default, updates that start and end at the beginning of a line + // are treated specially, in order to make the association of line + // widgets and marker elements with the text behave more intuitive. + function isWholeLineUpdate(doc, change) { + return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == "" && + (!doc.cm || doc.cm.options.wholeLineUpdateBefore); + } + + // Perform a change on the document data structure. + function updateDoc(doc, change, markedSpans, estimateHeight) { + function spansFor(n) {return markedSpans ? markedSpans[n] : null;} + function update(line, text, spans) { + updateLine(line, text, spans, estimateHeight); + signalLater(line, "change", line, change); + } + function linesFor(start, end) { + for (var i = start, result = []; i < end; ++i) + result.push(new Line(text[i], spansFor(i), estimateHeight)); + return result; + } + + var from = change.from, to = change.to, text = change.text; + var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line); + var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line; + + // Adjust the line structure + if (change.full) { + doc.insert(0, linesFor(0, text.length)); + doc.remove(text.length, doc.size - text.length); + } else if (isWholeLineUpdate(doc, change)) { + // This is a whole-line replace. Treated specially to make + // sure line objects move the way they are supposed to. + var added = linesFor(0, text.length - 1); + update(lastLine, lastLine.text, lastSpans); + if (nlines) doc.remove(from.line, nlines); + if (added.length) doc.insert(from.line, added); + } else if (firstLine == lastLine) { + if (text.length == 1) { + update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans); + } else { + var added = linesFor(1, text.length - 1); + added.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight)); + update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0)); + doc.insert(from.line + 1, added); + } + } else if (text.length == 1) { + update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0)); + doc.remove(from.line + 1, nlines); + } else { + update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0)); + update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans); + var added = linesFor(1, text.length - 1); + if (nlines > 1) doc.remove(from.line + 1, nlines - 1); + doc.insert(from.line + 1, added); + } + + signalLater(doc, "change", doc, change); + } + + // The document is represented as a BTree consisting of leaves, with + // chunk of lines in them, and branches, with up to ten leaves or + // other branch nodes below them. The top node is always a branch + // node, and is the document object itself (meaning it has + // additional methods and properties). + // + // All nodes have parent links. The tree is used both to go from + // line numbers to line objects, and to go from objects to numbers. + // It also indexes by height, and is used to convert between height + // and line object, and to find the total height of the document. + // + // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html + + function LeafChunk(lines) { + this.lines = lines; + this.parent = null; + for (var i = 0, height = 0; i < lines.length; ++i) { + lines[i].parent = this; + height += lines[i].height; + } + this.height = height; + } + + LeafChunk.prototype = { + chunkSize: function() { return this.lines.length; }, + // Remove the n lines at offset 'at'. + removeInner: function(at, n) { + for (var i = at, e = at + n; i < e; ++i) { + var line = this.lines[i]; + this.height -= line.height; + cleanUpLine(line); + signalLater(line, "delete"); + } + this.lines.splice(at, n); + }, + // Helper used to collapse a small branch into a single leaf. + collapse: function(lines) { + lines.push.apply(lines, this.lines); + }, + // Insert the given array of lines at offset 'at', count them as + // having the given height. + insertInner: function(at, lines, height) { + this.height += height; + this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at)); + for (var i = 0; i < lines.length; ++i) lines[i].parent = this; + }, + // Used to iterate over a part of the tree. + iterN: function(at, n, op) { + for (var e = at + n; at < e; ++at) + if (op(this.lines[at])) return true; + } + }; + + function BranchChunk(children) { + this.children = children; + var size = 0, height = 0; + for (var i = 0; i < children.length; ++i) { + var ch = children[i]; + size += ch.chunkSize(); height += ch.height; + ch.parent = this; + } + this.size = size; + this.height = height; + this.parent = null; + } + + BranchChunk.prototype = { + chunkSize: function() { return this.size; }, + removeInner: function(at, n) { + this.size -= n; + for (var i = 0; i < this.children.length; ++i) { + var child = this.children[i], sz = child.chunkSize(); + if (at < sz) { + var rm = Math.min(n, sz - at), oldHeight = child.height; + child.removeInner(at, rm); + this.height -= oldHeight - child.height; + if (sz == rm) { this.children.splice(i--, 1); child.parent = null; } + if ((n -= rm) == 0) break; + at = 0; + } else at -= sz; + } + // If the result is smaller than 25 lines, ensure that it is a + // single leaf node. + if (this.size - n < 25 && + (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) { + var lines = []; + this.collapse(lines); + this.children = [new LeafChunk(lines)]; + this.children[0].parent = this; + } + }, + collapse: function(lines) { + for (var i = 0; i < this.children.length; ++i) this.children[i].collapse(lines); + }, + insertInner: function(at, lines, height) { + this.size += lines.length; + this.height += height; + for (var i = 0; i < this.children.length; ++i) { + var child = this.children[i], sz = child.chunkSize(); + if (at <= sz) { + child.insertInner(at, lines, height); + if (child.lines && child.lines.length > 50) { + while (child.lines.length > 50) { + var spilled = child.lines.splice(child.lines.length - 25, 25); + var newleaf = new LeafChunk(spilled); + child.height -= newleaf.height; + this.children.splice(i + 1, 0, newleaf); + newleaf.parent = this; + } + this.maybeSpill(); + } + break; + } + at -= sz; + } + }, + // When a node has grown, check whether it should be split. + maybeSpill: function() { + if (this.children.length <= 10) return; + var me = this; + do { + var spilled = me.children.splice(me.children.length - 5, 5); + var sibling = new BranchChunk(spilled); + if (!me.parent) { // Become the parent node + var copy = new BranchChunk(me.children); + copy.parent = me; + me.children = [copy, sibling]; + me = copy; + } else { + me.size -= sibling.size; + me.height -= sibling.height; + var myIndex = indexOf(me.parent.children, me); + me.parent.children.splice(myIndex + 1, 0, sibling); + } + sibling.parent = me.parent; + } while (me.children.length > 10); + me.parent.maybeSpill(); + }, + iterN: function(at, n, op) { + for (var i = 0; i < this.children.length; ++i) { + var child = this.children[i], sz = child.chunkSize(); + if (at < sz) { + var used = Math.min(n, sz - at); + if (child.iterN(at, used, op)) return true; + if ((n -= used) == 0) break; + at = 0; + } else at -= sz; + } + } + }; + + var nextDocId = 0; + var Doc = CodeMirror.Doc = function(text, mode, firstLine) { + if (!(this instanceof Doc)) return new Doc(text, mode, firstLine); + if (firstLine == null) firstLine = 0; + + BranchChunk.call(this, [new LeafChunk([new Line("", null)])]); + this.first = firstLine; + this.scrollTop = this.scrollLeft = 0; + this.cantEdit = false; + this.cleanGeneration = 1; + this.frontier = firstLine; + var start = Pos(firstLine, 0); + this.sel = simpleSelection(start); + this.history = new History(null); + this.id = ++nextDocId; + this.modeOption = mode; + + if (typeof text == "string") text = splitLines(text); + updateDoc(this, {from: start, to: start, text: text}); + setSelection(this, simpleSelection(start), sel_dontScroll); + }; + + Doc.prototype = createObj(BranchChunk.prototype, { + constructor: Doc, + // Iterate over the document. Supports two forms -- with only one + // argument, it calls that for each line in the document. With + // three, it iterates over the range given by the first two (with + // the second being non-inclusive). + iter: function(from, to, op) { + if (op) this.iterN(from - this.first, to - from, op); + else this.iterN(this.first, this.first + this.size, from); + }, + + // Non-public interface for adding and removing lines. + insert: function(at, lines) { + var height = 0; + for (var i = 0; i < lines.length; ++i) height += lines[i].height; + this.insertInner(at - this.first, lines, height); + }, + remove: function(at, n) { this.removeInner(at - this.first, n); }, + + // From here, the methods are part of the public interface. Most + // are also available from CodeMirror (editor) instances. + + getValue: function(lineSep) { + var lines = getLines(this, this.first, this.first + this.size); + if (lineSep === false) return lines; + return lines.join(lineSep || "\n"); + }, + setValue: docMethodOp(function(code) { + var top = Pos(this.first, 0), last = this.first + this.size - 1; + makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length), + text: splitLines(code), origin: "setValue", full: true}, true); + setSelection(this, simpleSelection(top)); + }), + replaceRange: function(code, from, to, origin) { + from = clipPos(this, from); + to = to ? clipPos(this, to) : from; + replaceRange(this, code, from, to, origin); + }, + getRange: function(from, to, lineSep) { + var lines = getBetween(this, clipPos(this, from), clipPos(this, to)); + if (lineSep === false) return lines; + return lines.join(lineSep || "\n"); + }, + + getLine: function(line) {var l = this.getLineHandle(line); return l && l.text;}, + + getLineHandle: function(line) {if (isLine(this, line)) return getLine(this, line);}, + getLineNumber: function(line) {return lineNo(line);}, + + getLineHandleVisualStart: function(line) { + if (typeof line == "number") line = getLine(this, line); + return visualLine(line); + }, + + lineCount: function() {return this.size;}, + firstLine: function() {return this.first;}, + lastLine: function() {return this.first + this.size - 1;}, + + clipPos: function(pos) {return clipPos(this, pos);}, + + getCursor: function(start) { + var range = this.sel.primary(), pos; + if (start == null || start == "head") pos = range.head; + else if (start == "anchor") pos = range.anchor; + else if (start == "end" || start == "to" || start === false) pos = range.to(); + else pos = range.from(); + return pos; + }, + listSelections: function() { return this.sel.ranges; }, + somethingSelected: function() {return this.sel.somethingSelected();}, + + setCursor: docMethodOp(function(line, ch, options) { + setSimpleSelection(this, clipPos(this, typeof line == "number" ? Pos(line, ch || 0) : line), null, options); + }), + setSelection: docMethodOp(function(anchor, head, options) { + setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options); + }), + extendSelection: docMethodOp(function(head, other, options) { + extendSelection(this, clipPos(this, head), other && clipPos(this, other), options); + }), + extendSelections: docMethodOp(function(heads, options) { + extendSelections(this, clipPosArray(this, heads, options)); + }), + extendSelectionsBy: docMethodOp(function(f, options) { + extendSelections(this, map(this.sel.ranges, f), options); + }), + setSelections: docMethodOp(function(ranges, primary, options) { + if (!ranges.length) return; + for (var i = 0, out = []; i < ranges.length; i++) + out[i] = new Range(clipPos(this, ranges[i].anchor), + clipPos(this, ranges[i].head)); + if (primary == null) primary = Math.min(ranges.length - 1, this.sel.primIndex); + setSelection(this, normalizeSelection(out, primary), options); + }), + addSelection: docMethodOp(function(anchor, head, options) { + var ranges = this.sel.ranges.slice(0); + ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor))); + setSelection(this, normalizeSelection(ranges, ranges.length - 1), options); + }), + + getSelection: function(lineSep) { + var ranges = this.sel.ranges, lines; + for (var i = 0; i < ranges.length; i++) { + var sel = getBetween(this, ranges[i].from(), ranges[i].to()); + lines = lines ? lines.concat(sel) : sel; + } + if (lineSep === false) return lines; + else return lines.join(lineSep || "\n"); + }, + getSelections: function(lineSep) { + var parts = [], ranges = this.sel.ranges; + for (var i = 0; i < ranges.length; i++) { + var sel = getBetween(this, ranges[i].from(), ranges[i].to()); + if (lineSep !== false) sel = sel.join(lineSep || "\n"); + parts[i] = sel; + } + return parts; + }, + replaceSelection: function(code, collapse, origin) { + var dup = []; + for (var i = 0; i < this.sel.ranges.length; i++) + dup[i] = code; + this.replaceSelections(dup, collapse, origin || "+input"); + }, + replaceSelections: docMethodOp(function(code, collapse, origin) { + var changes = [], sel = this.sel; + for (var i = 0; i < sel.ranges.length; i++) { + var range = sel.ranges[i]; + changes[i] = {from: range.from(), to: range.to(), text: splitLines(code[i]), origin: origin}; + } + var newSel = collapse && collapse != "end" && computeReplacedSel(this, changes, collapse); + for (var i = changes.length - 1; i >= 0; i--) + makeChange(this, changes[i]); + if (newSel) setSelectionReplaceHistory(this, newSel); + else if (this.cm) ensureCursorVisible(this.cm); + }), + undo: docMethodOp(function() {makeChangeFromHistory(this, "undo");}), + redo: docMethodOp(function() {makeChangeFromHistory(this, "redo");}), + undoSelection: docMethodOp(function() {makeChangeFromHistory(this, "undo", true);}), + redoSelection: docMethodOp(function() {makeChangeFromHistory(this, "redo", true);}), + + setExtending: function(val) {this.extend = val;}, + getExtending: function() {return this.extend;}, + + historySize: function() { + var hist = this.history, done = 0, undone = 0; + for (var i = 0; i < hist.done.length; i++) if (!hist.done[i].ranges) ++done; + for (var i = 0; i < hist.undone.length; i++) if (!hist.undone[i].ranges) ++undone; + return {undo: done, redo: undone}; + }, + clearHistory: function() {this.history = new History(this.history.maxGeneration);}, + + markClean: function() { + this.cleanGeneration = this.changeGeneration(true); + }, + changeGeneration: function(forceSplit) { + if (forceSplit) + this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null; + return this.history.generation; + }, + isClean: function (gen) { + return this.history.generation == (gen || this.cleanGeneration); + }, + + getHistory: function() { + return {done: copyHistoryArray(this.history.done), + undone: copyHistoryArray(this.history.undone)}; + }, + setHistory: function(histData) { + var hist = this.history = new History(this.history.maxGeneration); + hist.done = copyHistoryArray(histData.done.slice(0), null, true); + hist.undone = copyHistoryArray(histData.undone.slice(0), null, true); + }, + + addLineClass: docMethodOp(function(handle, where, cls) { + return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function(line) { + var prop = where == "text" ? "textClass" + : where == "background" ? "bgClass" + : where == "gutter" ? "gutterClass" : "wrapClass"; + if (!line[prop]) line[prop] = cls; + else if (classTest(cls).test(line[prop])) return false; + else line[prop] += " " + cls; + return true; + }); + }), + removeLineClass: docMethodOp(function(handle, where, cls) { + return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function(line) { + var prop = where == "text" ? "textClass" + : where == "background" ? "bgClass" + : where == "gutter" ? "gutterClass" : "wrapClass"; + var cur = line[prop]; + if (!cur) return false; + else if (cls == null) line[prop] = null; + else { + var found = cur.match(classTest(cls)); + if (!found) return false; + var end = found.index + found[0].length; + line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? "" : " ") + cur.slice(end) || null; + } + return true; + }); + }), + + addLineWidget: docMethodOp(function(handle, node, options) { + return addLineWidget(this, handle, node, options); + }), + removeLineWidget: function(widget) { widget.clear(); }, + + markText: function(from, to, options) { + return markText(this, clipPos(this, from), clipPos(this, to), options, "range"); + }, + setBookmark: function(pos, options) { + var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options), + insertLeft: options && options.insertLeft, + clearWhenEmpty: false, shared: options && options.shared, + handleMouseEvents: options && options.handleMouseEvents}; + pos = clipPos(this, pos); + return markText(this, pos, pos, realOpts, "bookmark"); + }, + findMarksAt: function(pos) { + pos = clipPos(this, pos); + var markers = [], spans = getLine(this, pos.line).markedSpans; + if (spans) for (var i = 0; i < spans.length; ++i) { + var span = spans[i]; + if ((span.from == null || span.from <= pos.ch) && + (span.to == null || span.to >= pos.ch)) + markers.push(span.marker.parent || span.marker); + } + return markers; + }, + findMarks: function(from, to, filter) { + from = clipPos(this, from); to = clipPos(this, to); + var found = [], lineNo = from.line; + this.iter(from.line, to.line + 1, function(line) { + var spans = line.markedSpans; + if (spans) for (var i = 0; i < spans.length; i++) { + var span = spans[i]; + if (!(lineNo == from.line && from.ch > span.to || + span.from == null && lineNo != from.line|| + lineNo == to.line && span.from > to.ch) && + (!filter || filter(span.marker))) + found.push(span.marker.parent || span.marker); + } + ++lineNo; + }); + return found; + }, + getAllMarks: function() { + var markers = []; + this.iter(function(line) { + var sps = line.markedSpans; + if (sps) for (var i = 0; i < sps.length; ++i) + if (sps[i].from != null) markers.push(sps[i].marker); + }); + return markers; + }, + + posFromIndex: function(off) { + var ch, lineNo = this.first; + this.iter(function(line) { + var sz = line.text.length + 1; + if (sz > off) { ch = off; return true; } + off -= sz; + ++lineNo; + }); + return clipPos(this, Pos(lineNo, ch)); + }, + indexFromPos: function (coords) { + coords = clipPos(this, coords); + var index = coords.ch; + if (coords.line < this.first || coords.ch < 0) return 0; + this.iter(this.first, coords.line, function (line) { + index += line.text.length + 1; + }); + return index; + }, + + copy: function(copyHistory) { + var doc = new Doc(getLines(this, this.first, this.first + this.size), this.modeOption, this.first); + doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft; + doc.sel = this.sel; + doc.extend = false; + if (copyHistory) { + doc.history.undoDepth = this.history.undoDepth; + doc.setHistory(this.getHistory()); + } + return doc; + }, + + linkedDoc: function(options) { + if (!options) options = {}; + var from = this.first, to = this.first + this.size; + if (options.from != null && options.from > from) from = options.from; + if (options.to != null && options.to < to) to = options.to; + var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from); + if (options.sharedHist) copy.history = this.history; + (this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist}); + copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}]; + copySharedMarkers(copy, findSharedMarkers(this)); + return copy; + }, + unlinkDoc: function(other) { + if (other instanceof CodeMirror) other = other.doc; + if (this.linked) for (var i = 0; i < this.linked.length; ++i) { + var link = this.linked[i]; + if (link.doc != other) continue; + this.linked.splice(i, 1); + other.unlinkDoc(this); + detachSharedMarkers(findSharedMarkers(this)); + break; + } + // If the histories were shared, split them again + if (other.history == this.history) { + var splitIds = [other.id]; + linkedDocs(other, function(doc) {splitIds.push(doc.id);}, true); + other.history = new History(null); + other.history.done = copyHistoryArray(this.history.done, splitIds); + other.history.undone = copyHistoryArray(this.history.undone, splitIds); + } + }, + iterLinkedDocs: function(f) {linkedDocs(this, f);}, + + getMode: function() {return this.mode;}, + getEditor: function() {return this.cm;} + }); + + // Public alias. + Doc.prototype.eachLine = Doc.prototype.iter; + + // Set up methods on CodeMirror's prototype to redirect to the editor's document. + var dontDelegate = "iter insert remove copy getEditor".split(" "); + for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0) + CodeMirror.prototype[prop] = (function(method) { + return function() {return method.apply(this.doc, arguments);}; + })(Doc.prototype[prop]); + + eventMixin(Doc); + + // Call f for all linked documents. + function linkedDocs(doc, f, sharedHistOnly) { + function propagate(doc, skip, sharedHist) { + if (doc.linked) for (var i = 0; i < doc.linked.length; ++i) { + var rel = doc.linked[i]; + if (rel.doc == skip) continue; + var shared = sharedHist && rel.sharedHist; + if (sharedHistOnly && !shared) continue; + f(rel.doc, shared); + propagate(rel.doc, doc, shared); + } + } + propagate(doc, null, true); + } + + // Attach a document to an editor. + function attachDoc(cm, doc) { + if (doc.cm) throw new Error("This document is already in use."); + cm.doc = doc; + doc.cm = cm; + estimateLineHeights(cm); + loadMode(cm); + if (!cm.options.lineWrapping) findMaxLine(cm); + cm.options.mode = doc.modeOption; + regChange(cm); + } + + // LINE UTILITIES + + // Find the line object corresponding to the given line number. + function getLine(doc, n) { + n -= doc.first; + if (n < 0 || n >= doc.size) throw new Error("There is no line " + (n + doc.first) + " in the document."); + for (var chunk = doc; !chunk.lines;) { + for (var i = 0;; ++i) { + var child = chunk.children[i], sz = child.chunkSize(); + if (n < sz) { chunk = child; break; } + n -= sz; + } + } + return chunk.lines[n]; + } + + // Get the part of a document between two positions, as an array of + // strings. + function getBetween(doc, start, end) { + var out = [], n = start.line; + doc.iter(start.line, end.line + 1, function(line) { + var text = line.text; + if (n == end.line) text = text.slice(0, end.ch); + if (n == start.line) text = text.slice(start.ch); + out.push(text); + ++n; + }); + return out; + } + // Get the lines between from and to, as array of strings. + function getLines(doc, from, to) { + var out = []; + doc.iter(from, to, function(line) { out.push(line.text); }); + return out; + } + + // Update the height of a line, propagating the height change + // upwards to parent nodes. + function updateLineHeight(line, height) { + var diff = height - line.height; + if (diff) for (var n = line; n; n = n.parent) n.height += diff; + } + + // Given a line object, find its line number by walking up through + // its parent links. + function lineNo(line) { + if (line.parent == null) return null; + var cur = line.parent, no = indexOf(cur.lines, line); + for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) { + for (var i = 0;; ++i) { + if (chunk.children[i] == cur) break; + no += chunk.children[i].chunkSize(); + } + } + return no + cur.first; + } + + // Find the line at the given vertical position, using the height + // information in the document tree. + function lineAtHeight(chunk, h) { + var n = chunk.first; + outer: do { + for (var i = 0; i < chunk.children.length; ++i) { + var child = chunk.children[i], ch = child.height; + if (h < ch) { chunk = child; continue outer; } + h -= ch; + n += child.chunkSize(); + } + return n; + } while (!chunk.lines); + for (var i = 0; i < chunk.lines.length; ++i) { + var line = chunk.lines[i], lh = line.height; + if (h < lh) break; + h -= lh; + } + return n + i; + } + + + // Find the height above the given line. + function heightAtLine(lineObj) { + lineObj = visualLine(lineObj); + + var h = 0, chunk = lineObj.parent; + for (var i = 0; i < chunk.lines.length; ++i) { + var line = chunk.lines[i]; + if (line == lineObj) break; + else h += line.height; + } + for (var p = chunk.parent; p; chunk = p, p = chunk.parent) { + for (var i = 0; i < p.children.length; ++i) { + var cur = p.children[i]; + if (cur == chunk) break; + else h += cur.height; + } + } + return h; + } + + // Get the bidi ordering for the given line (and cache it). Returns + // false for lines that are fully left-to-right, and an array of + // BidiSpan objects otherwise. + function getOrder(line) { + var order = line.order; + if (order == null) order = line.order = bidiOrdering(line.text); + return order; + } + + // HISTORY + + function History(startGen) { + // Arrays of change events and selections. Doing something adds an + // event to done and clears undo. Undoing moves events from done + // to undone, redoing moves them in the other direction. + this.done = []; this.undone = []; + this.undoDepth = Infinity; + // Used to track when changes can be merged into a single undo + // event + this.lastModTime = this.lastSelTime = 0; + this.lastOp = this.lastSelOp = null; + this.lastOrigin = this.lastSelOrigin = null; + // Used by the isClean() method + this.generation = this.maxGeneration = startGen || 1; + } + + // Create a history change event from an updateDoc-style change + // object. + function historyChangeFromChange(doc, change) { + var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)}; + attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1); + linkedDocs(doc, function(doc) {attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);}, true); + return histChange; + } + + // Pop all selection events off the end of a history array. Stop at + // a change event. + function clearSelectionEvents(array) { + while (array.length) { + var last = lst(array); + if (last.ranges) array.pop(); + else break; + } + } + + // Find the top change event in the history. Pop off selection + // events that are in the way. + function lastChangeEvent(hist, force) { + if (force) { + clearSelectionEvents(hist.done); + return lst(hist.done); + } else if (hist.done.length && !lst(hist.done).ranges) { + return lst(hist.done); + } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) { + hist.done.pop(); + return lst(hist.done); + } + } + + // Register a change in the history. Merges changes that are within + // a single operation, ore are close together with an origin that + // allows merging (starting with "+") into a single event. + function addChangeToHistory(doc, change, selAfter, opId) { + var hist = doc.history; + hist.undone.length = 0; + var time = +new Date, cur; + + if ((hist.lastOp == opId || + hist.lastOrigin == change.origin && change.origin && + ((change.origin.charAt(0) == "+" && doc.cm && hist.lastModTime > time - doc.cm.options.historyEventDelay) || + change.origin.charAt(0) == "*")) && + (cur = lastChangeEvent(hist, hist.lastOp == opId))) { + // Merge this change into the last event + var last = lst(cur.changes); + if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) { + // Optimized case for simple insertion -- don't want to add + // new changesets for every character typed + last.to = changeEnd(change); + } else { + // Add new sub-event + cur.changes.push(historyChangeFromChange(doc, change)); + } + } else { + // Can not be merged, start a new event. + var before = lst(hist.done); + if (!before || !before.ranges) + pushSelectionToHistory(doc.sel, hist.done); + cur = {changes: [historyChangeFromChange(doc, change)], + generation: hist.generation}; + hist.done.push(cur); + while (hist.done.length > hist.undoDepth) { + hist.done.shift(); + if (!hist.done[0].ranges) hist.done.shift(); + } + } + hist.done.push(selAfter); + hist.generation = ++hist.maxGeneration; + hist.lastModTime = hist.lastSelTime = time; + hist.lastOp = hist.lastSelOp = opId; + hist.lastOrigin = hist.lastSelOrigin = change.origin; + + if (!last) signal(doc, "historyAdded"); + } + + function selectionEventCanBeMerged(doc, origin, prev, sel) { + var ch = origin.charAt(0); + return ch == "*" || + ch == "+" && + prev.ranges.length == sel.ranges.length && + prev.somethingSelected() == sel.somethingSelected() && + new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500); + } + + // Called whenever the selection changes, sets the new selection as + // the pending selection in the history, and pushes the old pending + // selection into the 'done' array when it was significantly + // different (in number of selected ranges, emptiness, or time). + function addSelectionToHistory(doc, sel, opId, options) { + var hist = doc.history, origin = options && options.origin; + + // A new event is started when the previous origin does not match + // the current, or the origins don't allow matching. Origins + // starting with * are always merged, those starting with + are + // merged when similar and close together in time. + if (opId == hist.lastSelOp || + (origin && hist.lastSelOrigin == origin && + (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin || + selectionEventCanBeMerged(doc, origin, lst(hist.done), sel)))) + hist.done[hist.done.length - 1] = sel; + else + pushSelectionToHistory(sel, hist.done); + + hist.lastSelTime = +new Date; + hist.lastSelOrigin = origin; + hist.lastSelOp = opId; + if (options && options.clearRedo !== false) + clearSelectionEvents(hist.undone); + } + + function pushSelectionToHistory(sel, dest) { + var top = lst(dest); + if (!(top && top.ranges && top.equals(sel))) + dest.push(sel); + } + + // Used to store marked span information in the history. + function attachLocalSpans(doc, change, from, to) { + var existing = change["spans_" + doc.id], n = 0; + doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function(line) { + if (line.markedSpans) + (existing || (existing = change["spans_" + doc.id] = {}))[n] = line.markedSpans; + ++n; + }); + } + + // When un/re-doing restores text containing marked spans, those + // that have been explicitly cleared should not be restored. + function removeClearedSpans(spans) { + if (!spans) return null; + for (var i = 0, out; i < spans.length; ++i) { + if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); } + else if (out) out.push(spans[i]); + } + return !out ? spans : out.length ? out : null; + } + + // Retrieve and filter the old marked spans stored in a change event. + function getOldSpans(doc, change) { + var found = change["spans_" + doc.id]; + if (!found) return null; + for (var i = 0, nw = []; i < change.text.length; ++i) + nw.push(removeClearedSpans(found[i])); + return nw; + } + + // Used both to provide a JSON-safe object in .getHistory, and, when + // detaching a document, to split the history in two + function copyHistoryArray(events, newGroup, instantiateSel) { + for (var i = 0, copy = []; i < events.length; ++i) { + var event = events[i]; + if (event.ranges) { + copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event); + continue; + } + var changes = event.changes, newChanges = []; + copy.push({changes: newChanges}); + for (var j = 0; j < changes.length; ++j) { + var change = changes[j], m; + newChanges.push({from: change.from, to: change.to, text: change.text}); + if (newGroup) for (var prop in change) if (m = prop.match(/^spans_(\d+)$/)) { + if (indexOf(newGroup, Number(m[1])) > -1) { + lst(newChanges)[prop] = change[prop]; + delete change[prop]; + } + } + } + } + return copy; + } + + // Rebasing/resetting history to deal with externally-sourced changes + + function rebaseHistSelSingle(pos, from, to, diff) { + if (to < pos.line) { + pos.line += diff; + } else if (from < pos.line) { + pos.line = from; + pos.ch = 0; + } + } + + // Tries to rebase an array of history events given a change in the + // document. If the change touches the same lines as the event, the + // event, and everything 'behind' it, is discarded. If the change is + // before the event, the event's positions are updated. Uses a + // copy-on-write scheme for the positions, to avoid having to + // reallocate them all on every rebase, but also avoid problems with + // shared position objects being unsafely updated. + function rebaseHistArray(array, from, to, diff) { + for (var i = 0; i < array.length; ++i) { + var sub = array[i], ok = true; + if (sub.ranges) { + if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; } + for (var j = 0; j < sub.ranges.length; j++) { + rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff); + rebaseHistSelSingle(sub.ranges[j].head, from, to, diff); + } + continue; + } + for (var j = 0; j < sub.changes.length; ++j) { + var cur = sub.changes[j]; + if (to < cur.from.line) { + cur.from = Pos(cur.from.line + diff, cur.from.ch); + cur.to = Pos(cur.to.line + diff, cur.to.ch); + } else if (from <= cur.to.line) { + ok = false; + break; + } + } + if (!ok) { + array.splice(0, i + 1); + i = 0; + } + } + } + + function rebaseHist(hist, change) { + var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1; + rebaseHistArray(hist.done, from, to, diff); + rebaseHistArray(hist.undone, from, to, diff); + } + + // EVENT UTILITIES + + // Due to the fact that we still support jurassic IE versions, some + // compatibility wrappers are needed. + + var e_preventDefault = CodeMirror.e_preventDefault = function(e) { + if (e.preventDefault) e.preventDefault(); + else e.returnValue = false; + }; + var e_stopPropagation = CodeMirror.e_stopPropagation = function(e) { + if (e.stopPropagation) e.stopPropagation(); + else e.cancelBubble = true; + }; + function e_defaultPrevented(e) { + return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false; + } + var e_stop = CodeMirror.e_stop = function(e) {e_preventDefault(e); e_stopPropagation(e);}; + + function e_target(e) {return e.target || e.srcElement;} + function e_button(e) { + var b = e.which; + if (b == null) { + if (e.button & 1) b = 1; + else if (e.button & 2) b = 3; + else if (e.button & 4) b = 2; + } + if (mac && e.ctrlKey && b == 1) b = 3; + return b; + } + + // EVENT HANDLING + + // Lightweight event framework. on/off also work on DOM nodes, + // registering native DOM handlers. + + var on = CodeMirror.on = function(emitter, type, f) { + if (emitter.addEventListener) + emitter.addEventListener(type, f, false); + else if (emitter.attachEvent) + emitter.attachEvent("on" + type, f); + else { + var map = emitter._handlers || (emitter._handlers = {}); + var arr = map[type] || (map[type] = []); + arr.push(f); + } + }; + + var off = CodeMirror.off = function(emitter, type, f) { + if (emitter.removeEventListener) + emitter.removeEventListener(type, f, false); + else if (emitter.detachEvent) + emitter.detachEvent("on" + type, f); + else { + var arr = emitter._handlers && emitter._handlers[type]; + if (!arr) return; + for (var i = 0; i < arr.length; ++i) + if (arr[i] == f) { arr.splice(i, 1); break; } + } + }; + + var signal = CodeMirror.signal = function(emitter, type /*, values...*/) { + var arr = emitter._handlers && emitter._handlers[type]; + if (!arr) return; + var args = Array.prototype.slice.call(arguments, 2); + for (var i = 0; i < arr.length; ++i) arr[i].apply(null, args); + }; + + var orphanDelayedCallbacks = null; + + // Often, we want to signal events at a point where we are in the + // middle of some work, but don't want the handler to start calling + // other methods on the editor, which might be in an inconsistent + // state or simply not expect any other events to happen. + // signalLater looks whether there are any handlers, and schedules + // them to be executed when the last operation ends, or, if no + // operation is active, when a timeout fires. + function signalLater(emitter, type /*, values...*/) { + var arr = emitter._handlers && emitter._handlers[type]; + if (!arr) return; + var args = Array.prototype.slice.call(arguments, 2), list; + if (operationGroup) { + list = operationGroup.delayedCallbacks; + } else if (orphanDelayedCallbacks) { + list = orphanDelayedCallbacks; + } else { + list = orphanDelayedCallbacks = []; + setTimeout(fireOrphanDelayed, 0); + } + function bnd(f) {return function(){f.apply(null, args);};}; + for (var i = 0; i < arr.length; ++i) + list.push(bnd(arr[i])); + } + + function fireOrphanDelayed() { + var delayed = orphanDelayedCallbacks; + orphanDelayedCallbacks = null; + for (var i = 0; i < delayed.length; ++i) delayed[i](); + } + + // The DOM events that CodeMirror handles can be overridden by + // registering a (non-DOM) handler on the editor for the event name, + // and preventDefault-ing the event in that handler. + function signalDOMEvent(cm, e, override) { + if (typeof e == "string") + e = {type: e, preventDefault: function() { this.defaultPrevented = true; }}; + signal(cm, override || e.type, cm, e); + return e_defaultPrevented(e) || e.codemirrorIgnore; + } + + function signalCursorActivity(cm) { + var arr = cm._handlers && cm._handlers.cursorActivity; + if (!arr) return; + var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []); + for (var i = 0; i < arr.length; ++i) if (indexOf(set, arr[i]) == -1) + set.push(arr[i]); + } + + function hasHandler(emitter, type) { + var arr = emitter._handlers && emitter._handlers[type]; + return arr && arr.length > 0; + } + + // Add on and off methods to a constructor's prototype, to make + // registering events on such objects more convenient. + function eventMixin(ctor) { + ctor.prototype.on = function(type, f) {on(this, type, f);}; + ctor.prototype.off = function(type, f) {off(this, type, f);}; + } + + // MISC UTILITIES + + // Number of pixels added to scroller and sizer to hide scrollbar + var scrollerGap = 30; + + // Returned or thrown by various protocols to signal 'I'm not + // handling this'. + var Pass = CodeMirror.Pass = {toString: function(){return "CodeMirror.Pass";}}; + + // Reused option objects for setSelection & friends + var sel_dontScroll = {scroll: false}, sel_mouse = {origin: "*mouse"}, sel_move = {origin: "+move"}; + + function Delayed() {this.id = null;} + Delayed.prototype.set = function(ms, f) { + clearTimeout(this.id); + this.id = setTimeout(f, ms); + }; + + // Counts the column offset in a string, taking tabs into account. + // Used mostly to find indentation. + var countColumn = CodeMirror.countColumn = function(string, end, tabSize, startIndex, startValue) { + if (end == null) { + end = string.search(/[^\s\u00a0]/); + if (end == -1) end = string.length; + } + for (var i = startIndex || 0, n = startValue || 0;;) { + var nextTab = string.indexOf("\t", i); + if (nextTab < 0 || nextTab >= end) + return n + (end - i); + n += nextTab - i; + n += tabSize - (n % tabSize); + i = nextTab + 1; + } + }; + + // The inverse of countColumn -- find the offset that corresponds to + // a particular column. + function findColumn(string, goal, tabSize) { + for (var pos = 0, col = 0;;) { + var nextTab = string.indexOf("\t", pos); + if (nextTab == -1) nextTab = string.length; + var skipped = nextTab - pos; + if (nextTab == string.length || col + skipped >= goal) + return pos + Math.min(skipped, goal - col); + col += nextTab - pos; + col += tabSize - (col % tabSize); + pos = nextTab + 1; + if (col >= goal) return pos; + } + } + + var spaceStrs = [""]; + function spaceStr(n) { + while (spaceStrs.length <= n) + spaceStrs.push(lst(spaceStrs) + " "); + return spaceStrs[n]; + } + + function lst(arr) { return arr[arr.length-1]; } + + var selectInput = function(node) { node.select(); }; + if (ios) // Mobile Safari apparently has a bug where select() is broken. + selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; }; + else if (ie) // Suppress mysterious IE10 errors + selectInput = function(node) { try { node.select(); } catch(_e) {} }; + + function indexOf(array, elt) { + for (var i = 0; i < array.length; ++i) + if (array[i] == elt) return i; + return -1; + } + function map(array, f) { + var out = []; + for (var i = 0; i < array.length; i++) out[i] = f(array[i], i); + return out; + } + + function nothing() {} + + function createObj(base, props) { + var inst; + if (Object.create) { + inst = Object.create(base); + } else { + nothing.prototype = base; + inst = new nothing(); + } + if (props) copyObj(props, inst); + return inst; + }; + + function copyObj(obj, target, overwrite) { + if (!target) target = {}; + for (var prop in obj) + if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop))) + target[prop] = obj[prop]; + return target; + } + + function bind(f) { + var args = Array.prototype.slice.call(arguments, 1); + return function(){return f.apply(null, args);}; + } + + var nonASCIISingleCaseWordChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/; + var isWordCharBasic = CodeMirror.isWordChar = function(ch) { + return /\w/.test(ch) || ch > "\x80" && + (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch)); + }; + function isWordChar(ch, helper) { + if (!helper) return isWordCharBasic(ch); + if (helper.source.indexOf("\\w") > -1 && isWordCharBasic(ch)) return true; + return helper.test(ch); + } + + function isEmpty(obj) { + for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false; + return true; + } + + // Extending unicode characters. A series of a non-extending char + + // any number of extending chars is treated as a single unit as far + // as editing and measuring is concerned. This is not fully correct, + // since some scripts/fonts/browsers also treat other configurations + // of code points as a group. + var extendingChars = /[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/; + function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch); } + + // DOM UTILITIES + + function elt(tag, content, className, style) { + var e = document.createElement(tag); + if (className) e.className = className; + if (style) e.style.cssText = style; + if (typeof content == "string") e.appendChild(document.createTextNode(content)); + else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]); + return e; + } + + var range; + if (document.createRange) range = function(node, start, end, endNode) { + var r = document.createRange(); + r.setEnd(endNode || node, end); + r.setStart(node, start); + return r; + }; + else range = function(node, start, end) { + var r = document.body.createTextRange(); + try { r.moveToElementText(node.parentNode); } + catch(e) { return r; } + r.collapse(true); + r.moveEnd("character", end); + r.moveStart("character", start); + return r; + }; + + function removeChildren(e) { + for (var count = e.childNodes.length; count > 0; --count) + e.removeChild(e.firstChild); + return e; + } + + function removeChildrenAndAdd(parent, e) { + return removeChildren(parent).appendChild(e); + } + + var contains = CodeMirror.contains = function(parent, child) { + if (child.nodeType == 3) // Android browser always returns false when child is a textnode + child = child.parentNode; + if (parent.contains) + return parent.contains(child); + do { + if (child.nodeType == 11) child = child.host; + if (child == parent) return true; + } while (child = child.parentNode); + }; + + function activeElt() { return document.activeElement; } + // Older versions of IE throws unspecified error when touching + // document.activeElement in some cases (during loading, in iframe) + if (ie && ie_version < 11) activeElt = function() { + try { return document.activeElement; } + catch(e) { return document.body; } + }; + + function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*"); } + var rmClass = CodeMirror.rmClass = function(node, cls) { + var current = node.className; + var match = classTest(cls).exec(current); + if (match) { + var after = current.slice(match.index + match[0].length); + node.className = current.slice(0, match.index) + (after ? match[1] + after : ""); + } + }; + var addClass = CodeMirror.addClass = function(node, cls) { + var current = node.className; + if (!classTest(cls).test(current)) node.className += (current ? " " : "") + cls; + }; + function joinClasses(a, b) { + var as = a.split(" "); + for (var i = 0; i < as.length; i++) + if (as[i] && !classTest(as[i]).test(b)) b += " " + as[i]; + return b; + } + + // WINDOW-WIDE EVENTS + + // These must be handled carefully, because naively registering a + // handler for each editor will cause the editors to never be + // garbage collected. + + function forEachCodeMirror(f) { + if (!document.body.getElementsByClassName) return; + var byClass = document.body.getElementsByClassName("CodeMirror"); + for (var i = 0; i < byClass.length; i++) { + var cm = byClass[i].CodeMirror; + if (cm) f(cm); + } + } + + var globalsRegistered = false; + function ensureGlobalHandlers() { + if (globalsRegistered) return; + registerGlobalHandlers(); + globalsRegistered = true; + } + function registerGlobalHandlers() { + // When the window resizes, we need to refresh active editors. + var resizeTimer; + on(window, "resize", function() { + if (resizeTimer == null) resizeTimer = setTimeout(function() { + resizeTimer = null; + forEachCodeMirror(onResize); + }, 100); + }); + // When the window loses focus, we want to show the editor as blurred + on(window, "blur", function() { + forEachCodeMirror(onBlur); + }); + } + + // FEATURE DETECTION + + // Detect drag-and-drop + var dragAndDrop = function() { + // There is *some* kind of drag-and-drop support in IE6-8, but I + // couldn't get it to work yet. + if (ie && ie_version < 9) return false; + var div = elt('div'); + return "draggable" in div || "dragDrop" in div; + }(); + + var zwspSupported; + function zeroWidthElement(measure) { + if (zwspSupported == null) { + var test = elt("span", "\u200b"); + removeChildrenAndAdd(measure, elt("span", [test, document.createTextNode("x")])); + if (measure.firstChild.offsetHeight != 0) + zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8); + } + var node = zwspSupported ? elt("span", "\u200b") : + elt("span", "\u00a0", null, "display: inline-block; width: 1px; margin-right: -1px"); + node.setAttribute("cm-text", ""); + return node; + } + + // Feature-detect IE's crummy client rect reporting for bidi text + var badBidiRects; + function hasBadBidiRects(measure) { + if (badBidiRects != null) return badBidiRects; + var txt = removeChildrenAndAdd(measure, document.createTextNode("A\u062eA")); + var r0 = range(txt, 0, 1).getBoundingClientRect(); + if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780) + var r1 = range(txt, 1, 2).getBoundingClientRect(); + return badBidiRects = (r1.right - r0.right < 3); + } + + // See if "".split is the broken IE version, if so, provide an + // alternative way to split lines. + var splitLines = CodeMirror.splitLines = "\n\nb".split(/\n/).length != 3 ? function(string) { + var pos = 0, result = [], l = string.length; + while (pos <= l) { + var nl = string.indexOf("\n", pos); + if (nl == -1) nl = string.length; + var line = string.slice(pos, string.charAt(nl - 1) == "\r" ? nl - 1 : nl); + var rt = line.indexOf("\r"); + if (rt != -1) { + result.push(line.slice(0, rt)); + pos += rt + 1; + } else { + result.push(line); + pos = nl + 1; + } + } + return result; + } : function(string){return string.split(/\r\n?|\n/);}; + + var hasSelection = window.getSelection ? function(te) { + try { return te.selectionStart != te.selectionEnd; } + catch(e) { return false; } + } : function(te) { + try {var range = te.ownerDocument.selection.createRange();} + catch(e) {} + if (!range || range.parentElement() != te) return false; + return range.compareEndPoints("StartToEnd", range) != 0; + }; + + var hasCopyEvent = (function() { + var e = elt("div"); + if ("oncopy" in e) return true; + e.setAttribute("oncopy", "return;"); + return typeof e.oncopy == "function"; + })(); + + var badZoomedRects = null; + function hasBadZoomedRects(measure) { + if (badZoomedRects != null) return badZoomedRects; + var node = removeChildrenAndAdd(measure, elt("span", "x")); + var normal = node.getBoundingClientRect(); + var fromRange = range(node, 0, 1).getBoundingClientRect(); + return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1; + } + + // KEY NAMES + + var keyNames = {3: "Enter", 8: "Backspace", 9: "Tab", 13: "Enter", 16: "Shift", 17: "Ctrl", 18: "Alt", + 19: "Pause", 20: "CapsLock", 27: "Esc", 32: "Space", 33: "PageUp", 34: "PageDown", 35: "End", + 36: "Home", 37: "Left", 38: "Up", 39: "Right", 40: "Down", 44: "PrintScrn", 45: "Insert", + 46: "Delete", 59: ";", 61: "=", 91: "Mod", 92: "Mod", 93: "Mod", 107: "=", 109: "-", 127: "Delete", + 173: "-", 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\", + 221: "]", 222: "'", 63232: "Up", 63233: "Down", 63234: "Left", 63235: "Right", 63272: "Delete", + 63273: "Home", 63275: "End", 63276: "PageUp", 63277: "PageDown", 63302: "Insert"}; + CodeMirror.keyNames = keyNames; + (function() { + // Number keys + for (var i = 0; i < 10; i++) keyNames[i + 48] = keyNames[i + 96] = String(i); + // Alphabetic keys + for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i); + // Function keys + for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = "F" + i; + })(); + + // BIDI HELPERS + + function iterateBidiSections(order, from, to, f) { + if (!order) return f(from, to, "ltr"); + var found = false; + for (var i = 0; i < order.length; ++i) { + var part = order[i]; + if (part.from < to && part.to > from || from == to && part.to == from) { + f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? "rtl" : "ltr"); + found = true; + } + } + if (!found) f(from, to, "ltr"); + } + + function bidiLeft(part) { return part.level % 2 ? part.to : part.from; } + function bidiRight(part) { return part.level % 2 ? part.from : part.to; } + + function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; } + function lineRight(line) { + var order = getOrder(line); + if (!order) return line.text.length; + return bidiRight(lst(order)); + } + + function lineStart(cm, lineN) { + var line = getLine(cm.doc, lineN); + var visual = visualLine(line); + if (visual != line) lineN = lineNo(visual); + var order = getOrder(visual); + var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual); + return Pos(lineN, ch); + } + function lineEnd(cm, lineN) { + var merged, line = getLine(cm.doc, lineN); + while (merged = collapsedSpanAtEnd(line)) { + line = merged.find(1, true).line; + lineN = null; + } + var order = getOrder(line); + var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line); + return Pos(lineN == null ? lineNo(line) : lineN, ch); + } + function lineStartSmart(cm, pos) { + var start = lineStart(cm, pos.line); + var line = getLine(cm.doc, start.line); + var order = getOrder(line); + if (!order || order[0].level == 0) { + var firstNonWS = Math.max(0, line.text.search(/\S/)); + var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch; + return Pos(start.line, inWS ? 0 : firstNonWS); + } + return start; + } + + function compareBidiLevel(order, a, b) { + var linedir = order[0].level; + if (a == linedir) return true; + if (b == linedir) return false; + return a < b; + } + var bidiOther; + function getBidiPartAt(order, pos) { + bidiOther = null; + for (var i = 0, found; i < order.length; ++i) { + var cur = order[i]; + if (cur.from < pos && cur.to > pos) return i; + if ((cur.from == pos || cur.to == pos)) { + if (found == null) { + found = i; + } else if (compareBidiLevel(order, cur.level, order[found].level)) { + if (cur.from != cur.to) bidiOther = found; + return i; + } else { + if (cur.from != cur.to) bidiOther = i; + return found; + } + } + } + return found; + } + + function moveInLine(line, pos, dir, byUnit) { + if (!byUnit) return pos + dir; + do pos += dir; + while (pos > 0 && isExtendingChar(line.text.charAt(pos))); + return pos; + } + + // This is needed in order to move 'visually' through bi-directional + // text -- i.e., pressing left should make the cursor go left, even + // when in RTL text. The tricky part is the 'jumps', where RTL and + // LTR text touch each other. This often requires the cursor offset + // to move more than one unit, in order to visually move one unit. + function moveVisually(line, start, dir, byUnit) { + var bidi = getOrder(line); + if (!bidi) return moveLogically(line, start, dir, byUnit); + var pos = getBidiPartAt(bidi, start), part = bidi[pos]; + var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit); + + for (;;) { + if (target > part.from && target < part.to) return target; + if (target == part.from || target == part.to) { + if (getBidiPartAt(bidi, target) == pos) return target; + part = bidi[pos += dir]; + return (dir > 0) == part.level % 2 ? part.to : part.from; + } else { + part = bidi[pos += dir]; + if (!part) return null; + if ((dir > 0) == part.level % 2) + target = moveInLine(line, part.to, -1, byUnit); + else + target = moveInLine(line, part.from, 1, byUnit); + } + } + } + + function moveLogically(line, start, dir, byUnit) { + var target = start + dir; + if (byUnit) while (target > 0 && isExtendingChar(line.text.charAt(target))) target += dir; + return target < 0 || target > line.text.length ? null : target; + } + + // Bidirectional ordering algorithm + // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm + // that this (partially) implements. + + // One-char codes used for character types: + // L (L): Left-to-Right + // R (R): Right-to-Left + // r (AL): Right-to-Left Arabic + // 1 (EN): European Number + // + (ES): European Number Separator + // % (ET): European Number Terminator + // n (AN): Arabic Number + // , (CS): Common Number Separator + // m (NSM): Non-Spacing Mark + // b (BN): Boundary Neutral + // s (B): Paragraph Separator + // t (S): Segment Separator + // w (WS): Whitespace + // N (ON): Other Neutrals + + // Returns null if characters are ordered as they appear + // (left-to-right), or an array of sections ({from, to, level} + // objects) in the order in which they occur visually. + var bidiOrdering = (function() { + // Character types for codepoints 0 to 0xff + var lowTypes = "bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN"; + // Character types for codepoints 0x600 to 0x6ff + var arabicTypes = "rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm"; + function charType(code) { + if (code <= 0xf7) return lowTypes.charAt(code); + else if (0x590 <= code && code <= 0x5f4) return "R"; + else if (0x600 <= code && code <= 0x6ed) return arabicTypes.charAt(code - 0x600); + else if (0x6ee <= code && code <= 0x8ac) return "r"; + else if (0x2000 <= code && code <= 0x200b) return "w"; + else if (code == 0x200c) return "b"; + else return "L"; + } + + var bidiRE = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/; + var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/; + // Browsers seem to always treat the boundaries of block elements as being L. + var outerType = "L"; + + function BidiSpan(level, from, to) { + this.level = level; + this.from = from; this.to = to; + } + + return function(str) { + if (!bidiRE.test(str)) return false; + var len = str.length, types = []; + for (var i = 0, type; i < len; ++i) + types.push(type = charType(str.charCodeAt(i))); + + // W1. Examine each non-spacing mark (NSM) in the level run, and + // change the type of the NSM to the type of the previous + // character. If the NSM is at the start of the level run, it will + // get the type of sor. + for (var i = 0, prev = outerType; i < len; ++i) { + var type = types[i]; + if (type == "m") types[i] = prev; + else prev = type; + } + + // W2. Search backwards from each instance of a European number + // until the first strong type (R, L, AL, or sor) is found. If an + // AL is found, change the type of the European number to Arabic + // number. + // W3. Change all ALs to R. + for (var i = 0, cur = outerType; i < len; ++i) { + var type = types[i]; + if (type == "1" && cur == "r") types[i] = "n"; + else if (isStrong.test(type)) { cur = type; if (type == "r") types[i] = "R"; } + } + + // W4. A single European separator between two European numbers + // changes to a European number. A single common separator between + // two numbers of the same type changes to that type. + for (var i = 1, prev = types[0]; i < len - 1; ++i) { + var type = types[i]; + if (type == "+" && prev == "1" && types[i+1] == "1") types[i] = "1"; + else if (type == "," && prev == types[i+1] && + (prev == "1" || prev == "n")) types[i] = prev; + prev = type; + } + + // W5. A sequence of European terminators adjacent to European + // numbers changes to all European numbers. + // W6. Otherwise, separators and terminators change to Other + // Neutral. + for (var i = 0; i < len; ++i) { + var type = types[i]; + if (type == ",") types[i] = "N"; + else if (type == "%") { + for (var end = i + 1; end < len && types[end] == "%"; ++end) {} + var replace = (i && types[i-1] == "!") || (end < len && types[end] == "1") ? "1" : "N"; + for (var j = i; j < end; ++j) types[j] = replace; + i = end - 1; + } + } + + // W7. Search backwards from each instance of a European number + // until the first strong type (R, L, or sor) is found. If an L is + // found, then change the type of the European number to L. + for (var i = 0, cur = outerType; i < len; ++i) { + var type = types[i]; + if (cur == "L" && type == "1") types[i] = "L"; + else if (isStrong.test(type)) cur = type; + } + + // N1. A sequence of neutrals takes the direction of the + // surrounding strong text if the text on both sides has the same + // direction. European and Arabic numbers act as if they were R in + // terms of their influence on neutrals. Start-of-level-run (sor) + // and end-of-level-run (eor) are used at level run boundaries. + // N2. Any remaining neutrals take the embedding direction. + for (var i = 0; i < len; ++i) { + if (isNeutral.test(types[i])) { + for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {} + var before = (i ? types[i-1] : outerType) == "L"; + var after = (end < len ? types[end] : outerType) == "L"; + var replace = before || after ? "L" : "R"; + for (var j = i; j < end; ++j) types[j] = replace; + i = end - 1; + } + } + + // Here we depart from the documented algorithm, in order to avoid + // building up an actual levels array. Since there are only three + // levels (0, 1, 2) in an implementation that doesn't take + // explicit embedding into account, we can build up the order on + // the fly, without following the level-based algorithm. + var order = [], m; + for (var i = 0; i < len;) { + if (countsAsLeft.test(types[i])) { + var start = i; + for (++i; i < len && countsAsLeft.test(types[i]); ++i) {} + order.push(new BidiSpan(0, start, i)); + } else { + var pos = i, at = order.length; + for (++i; i < len && types[i] != "L"; ++i) {} + for (var j = pos; j < i;) { + if (countsAsNum.test(types[j])) { + if (pos < j) order.splice(at, 0, new BidiSpan(1, pos, j)); + var nstart = j; + for (++j; j < i && countsAsNum.test(types[j]); ++j) {} + order.splice(at, 0, new BidiSpan(2, nstart, j)); + pos = j; + } else ++j; + } + if (pos < i) order.splice(at, 0, new BidiSpan(1, pos, i)); + } + } + if (order[0].level == 1 && (m = str.match(/^\s+/))) { + order[0].from = m[0].length; + order.unshift(new BidiSpan(0, 0, m[0].length)); + } + if (lst(order).level == 1 && (m = str.match(/\s+$/))) { + lst(order).to -= m[0].length; + order.push(new BidiSpan(0, len - m[0].length, len)); + } + if (order[0].level == 2) + order.unshift(new BidiSpan(1, order[0].to, order[0].to)); + if (order[0].level != lst(order).level) + order.push(new BidiSpan(order[0].level, len, len)); + + return order; + }; + })(); + + // THE END + + CodeMirror.version = "5.2.0"; + + return CodeMirror; +}); diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/javascript.js b/sources/samples/toolbarconfigurator/lib/codemirror/javascript.js new file mode 100644 index 0000000..ef01847 --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/javascript.js @@ -0,0 +1,701 @@ +// CodeMirror, copyright (c) by Marijn Haverbeke and others +// Distributed under an MIT license: http://codemirror.net/LICENSE + +// TODO actually recognize syntax of TypeScript constructs + +(function(mod) { + if (typeof exports == "object" && typeof module == "object") // CommonJS + mod(require("../../lib/codemirror")); + else if (typeof define == "function" && define.amd) // AMD + define(["../../lib/codemirror"], mod); + else // Plain browser env + mod(CodeMirror); +})(function(CodeMirror) { +"use strict"; + +CodeMirror.defineMode("javascript", function(config, parserConfig) { + var indentUnit = config.indentUnit; + var statementIndent = parserConfig.statementIndent; + var jsonldMode = parserConfig.jsonld; + var jsonMode = parserConfig.json || jsonldMode; + var isTS = parserConfig.typescript; + var wordRE = parserConfig.wordCharacters || /[\w$\xa1-\uffff]/; + + // Tokenizer + + var keywords = function(){ + function kw(type) {return {type: type, style: "keyword"};} + var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"); + var operator = kw("operator"), atom = {type: "atom", style: "atom"}; + + var jsKeywords = { + "if": kw("if"), "while": A, "with": A, "else": B, "do": B, "try": B, "finally": B, + "return": C, "break": C, "continue": C, "new": C, "delete": C, "throw": C, "debugger": C, + "var": kw("var"), "const": kw("var"), "let": kw("var"), + "function": kw("function"), "catch": kw("catch"), + "for": kw("for"), "switch": kw("switch"), "case": kw("case"), "default": kw("default"), + "in": operator, "typeof": operator, "instanceof": operator, + "true": atom, "false": atom, "null": atom, "undefined": atom, "NaN": atom, "Infinity": atom, + "this": kw("this"), "module": kw("module"), "class": kw("class"), "super": kw("atom"), + "yield": C, "export": kw("export"), "import": kw("import"), "extends": C + }; + + // Extend the 'normal' keywords with the TypeScript language extensions + if (isTS) { + var type = {type: "variable", style: "variable-3"}; + var tsKeywords = { + // object-like things + "interface": kw("interface"), + "extends": kw("extends"), + "constructor": kw("constructor"), + + // scope modifiers + "public": kw("public"), + "private": kw("private"), + "protected": kw("protected"), + "static": kw("static"), + + // types + "string": type, "number": type, "bool": type, "any": type + }; + + for (var attr in tsKeywords) { + jsKeywords[attr] = tsKeywords[attr]; + } + } + + return jsKeywords; + }(); + + var isOperatorChar = /[+\-*&%=<>!?|~^]/; + var isJsonldKeyword = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/; + + function readRegexp(stream) { + var escaped = false, next, inSet = false; + while ((next = stream.next()) != null) { + if (!escaped) { + if (next == "/" && !inSet) return; + if (next == "[") inSet = true; + else if (inSet && next == "]") inSet = false; + } + escaped = !escaped && next == "\\"; + } + } + + // Used as scratch variables to communicate multiple values without + // consing up tons of objects. + var type, content; + function ret(tp, style, cont) { + type = tp; content = cont; + return style; + } + function tokenBase(stream, state) { + var ch = stream.next(); + if (ch == '"' || ch == "'") { + state.tokenize = tokenString(ch); + return state.tokenize(stream, state); + } else if (ch == "." && stream.match(/^\d+(?:[eE][+\-]?\d+)?/)) { + return ret("number", "number"); + } else if (ch == "." && stream.match("..")) { + return ret("spread", "meta"); + } else if (/[\[\]{}\(\),;\:\.]/.test(ch)) { + return ret(ch); + } else if (ch == "=" && stream.eat(">")) { + return ret("=>", "operator"); + } else if (ch == "0" && stream.eat(/x/i)) { + stream.eatWhile(/[\da-f]/i); + return ret("number", "number"); + } else if (/\d/.test(ch)) { + stream.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/); + return ret("number", "number"); + } else if (ch == "/") { + if (stream.eat("*")) { + state.tokenize = tokenComment; + return tokenComment(stream, state); + } else if (stream.eat("/")) { + stream.skipToEnd(); + return ret("comment", "comment"); + } else if (state.lastType == "operator" || state.lastType == "keyword c" || + state.lastType == "sof" || /^[\[{}\(,;:]$/.test(state.lastType)) { + readRegexp(stream); + stream.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/); + return ret("regexp", "string-2"); + } else { + stream.eatWhile(isOperatorChar); + return ret("operator", "operator", stream.current()); + } + } else if (ch == "`") { + state.tokenize = tokenQuasi; + return tokenQuasi(stream, state); + } else if (ch == "#") { + stream.skipToEnd(); + return ret("error", "error"); + } else if (isOperatorChar.test(ch)) { + stream.eatWhile(isOperatorChar); + return ret("operator", "operator", stream.current()); + } else if (wordRE.test(ch)) { + stream.eatWhile(wordRE); + var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word]; + return (known && state.lastType != ".") ? ret(known.type, known.style, word) : + ret("variable", "variable", word); + } + } + + function tokenString(quote) { + return function(stream, state) { + var escaped = false, next; + if (jsonldMode && stream.peek() == "@" && stream.match(isJsonldKeyword)){ + state.tokenize = tokenBase; + return ret("jsonld-keyword", "meta"); + } + while ((next = stream.next()) != null) { + if (next == quote && !escaped) break; + escaped = !escaped && next == "\\"; + } + if (!escaped) state.tokenize = tokenBase; + return ret("string", "string"); + }; + } + + function tokenComment(stream, state) { + var maybeEnd = false, ch; + while (ch = stream.next()) { + if (ch == "/" && maybeEnd) { + state.tokenize = tokenBase; + break; + } + maybeEnd = (ch == "*"); + } + return ret("comment", "comment"); + } + + function tokenQuasi(stream, state) { + var escaped = false, next; + while ((next = stream.next()) != null) { + if (!escaped && (next == "`" || next == "$" && stream.eat("{"))) { + state.tokenize = tokenBase; + break; + } + escaped = !escaped && next == "\\"; + } + return ret("quasi", "string-2", stream.current()); + } + + var brackets = "([{}])"; + // This is a crude lookahead trick to try and notice that we're + // parsing the argument patterns for a fat-arrow function before we + // actually hit the arrow token. It only works if the arrow is on + // the same line as the arguments and there's no strange noise + // (comments) in between. Fallback is to only notice when we hit the + // arrow, and not declare the arguments as locals for the arrow + // body. + function findFatArrow(stream, state) { + if (state.fatArrowAt) state.fatArrowAt = null; + var arrow = stream.string.indexOf("=>", stream.start); + if (arrow < 0) return; + + var depth = 0, sawSomething = false; + for (var pos = arrow - 1; pos >= 0; --pos) { + var ch = stream.string.charAt(pos); + var bracket = brackets.indexOf(ch); + if (bracket >= 0 && bracket < 3) { + if (!depth) { ++pos; break; } + if (--depth == 0) break; + } else if (bracket >= 3 && bracket < 6) { + ++depth; + } else if (wordRE.test(ch)) { + sawSomething = true; + } else if (/["'\/]/.test(ch)) { + return; + } else if (sawSomething && !depth) { + ++pos; + break; + } + } + if (sawSomething && !depth) state.fatArrowAt = pos; + } + + // Parser + + var atomicTypes = {"atom": true, "number": true, "variable": true, "string": true, "regexp": true, "this": true, "jsonld-keyword": true}; + + function JSLexical(indented, column, type, align, prev, info) { + this.indented = indented; + this.column = column; + this.type = type; + this.prev = prev; + this.info = info; + if (align != null) this.align = align; + } + + function inScope(state, varname) { + for (var v = state.localVars; v; v = v.next) + if (v.name == varname) return true; + for (var cx = state.context; cx; cx = cx.prev) { + for (var v = cx.vars; v; v = v.next) + if (v.name == varname) return true; + } + } + + function parseJS(state, style, type, content, stream) { + var cc = state.cc; + // Communicate our context to the combinators. + // (Less wasteful than consing up a hundred closures on every call.) + cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc; cx.style = style; + + if (!state.lexical.hasOwnProperty("align")) + state.lexical.align = true; + + while(true) { + var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement; + if (combinator(type, content)) { + while(cc.length && cc[cc.length - 1].lex) + cc.pop()(); + if (cx.marked) return cx.marked; + if (type == "variable" && inScope(state, content)) return "variable-2"; + return style; + } + } + } + + // Combinator utils + + var cx = {state: null, column: null, marked: null, cc: null}; + function pass() { + for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]); + } + function cont() { + pass.apply(null, arguments); + return true; + } + function register(varname) { + function inList(list) { + for (var v = list; v; v = v.next) + if (v.name == varname) return true; + return false; + } + var state = cx.state; + if (state.context) { + cx.marked = "def"; + if (inList(state.localVars)) return; + state.localVars = {name: varname, next: state.localVars}; + } else { + if (inList(state.globalVars)) return; + if (parserConfig.globalVars) + state.globalVars = {name: varname, next: state.globalVars}; + } + } + + // Combinators + + var defaultVars = {name: "this", next: {name: "arguments"}}; + function pushcontext() { + cx.state.context = {prev: cx.state.context, vars: cx.state.localVars}; + cx.state.localVars = defaultVars; + } + function popcontext() { + cx.state.localVars = cx.state.context.vars; + cx.state.context = cx.state.context.prev; + } + function pushlex(type, info) { + var result = function() { + var state = cx.state, indent = state.indented; + if (state.lexical.type == "stat") indent = state.lexical.indented; + else for (var outer = state.lexical; outer && outer.type == ")" && outer.align; outer = outer.prev) + indent = outer.indented; + state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info); + }; + result.lex = true; + return result; + } + function poplex() { + var state = cx.state; + if (state.lexical.prev) { + if (state.lexical.type == ")") + state.indented = state.lexical.indented; + state.lexical = state.lexical.prev; + } + } + poplex.lex = true; + + function expect(wanted) { + function exp(type) { + if (type == wanted) return cont(); + else if (wanted == ";") return pass(); + else return cont(exp); + }; + return exp; + } + + function statement(type, value) { + if (type == "var") return cont(pushlex("vardef", value.length), vardef, expect(";"), poplex); + if (type == "keyword a") return cont(pushlex("form"), expression, statement, poplex); + if (type == "keyword b") return cont(pushlex("form"), statement, poplex); + if (type == "{") return cont(pushlex("}"), block, poplex); + if (type == ";") return cont(); + if (type == "if") { + if (cx.state.lexical.info == "else" && cx.state.cc[cx.state.cc.length - 1] == poplex) + cx.state.cc.pop()(); + return cont(pushlex("form"), expression, statement, poplex, maybeelse); + } + if (type == "function") return cont(functiondef); + if (type == "for") return cont(pushlex("form"), forspec, statement, poplex); + if (type == "variable") return cont(pushlex("stat"), maybelabel); + if (type == "switch") return cont(pushlex("form"), expression, pushlex("}", "switch"), expect("{"), + block, poplex, poplex); + if (type == "case") return cont(expression, expect(":")); + if (type == "default") return cont(expect(":")); + if (type == "catch") return cont(pushlex("form"), pushcontext, expect("("), funarg, expect(")"), + statement, poplex, popcontext); + if (type == "module") return cont(pushlex("form"), pushcontext, afterModule, popcontext, poplex); + if (type == "class") return cont(pushlex("form"), className, poplex); + if (type == "export") return cont(pushlex("form"), afterExport, poplex); + if (type == "import") return cont(pushlex("form"), afterImport, poplex); + return pass(pushlex("stat"), expression, expect(";"), poplex); + } + function expression(type) { + return expressionInner(type, false); + } + function expressionNoComma(type) { + return expressionInner(type, true); + } + function expressionInner(type, noComma) { + if (cx.state.fatArrowAt == cx.stream.start) { + var body = noComma ? arrowBodyNoComma : arrowBody; + if (type == "(") return cont(pushcontext, pushlex(")"), commasep(pattern, ")"), poplex, expect("=>"), body, popcontext); + else if (type == "variable") return pass(pushcontext, pattern, expect("=>"), body, popcontext); + } + + var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma; + if (atomicTypes.hasOwnProperty(type)) return cont(maybeop); + if (type == "function") return cont(functiondef, maybeop); + if (type == "keyword c") return cont(noComma ? maybeexpressionNoComma : maybeexpression); + if (type == "(") return cont(pushlex(")"), maybeexpression, comprehension, expect(")"), poplex, maybeop); + if (type == "operator" || type == "spread") return cont(noComma ? expressionNoComma : expression); + if (type == "[") return cont(pushlex("]"), arrayLiteral, poplex, maybeop); + if (type == "{") return contCommasep(objprop, "}", null, maybeop); + if (type == "quasi") { return pass(quasi, maybeop); } + return cont(); + } + function maybeexpression(type) { + if (type.match(/[;\}\)\],]/)) return pass(); + return pass(expression); + } + function maybeexpressionNoComma(type) { + if (type.match(/[;\}\)\],]/)) return pass(); + return pass(expressionNoComma); + } + + function maybeoperatorComma(type, value) { + if (type == ",") return cont(expression); + return maybeoperatorNoComma(type, value, false); + } + function maybeoperatorNoComma(type, value, noComma) { + var me = noComma == false ? maybeoperatorComma : maybeoperatorNoComma; + var expr = noComma == false ? expression : expressionNoComma; + if (type == "=>") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext); + if (type == "operator") { + if (/\+\+|--/.test(value)) return cont(me); + if (value == "?") return cont(expression, expect(":"), expr); + return cont(expr); + } + if (type == "quasi") { return pass(quasi, me); } + if (type == ";") return; + if (type == "(") return contCommasep(expressionNoComma, ")", "call", me); + if (type == ".") return cont(property, me); + if (type == "[") return cont(pushlex("]"), maybeexpression, expect("]"), poplex, me); + } + function quasi(type, value) { + if (type != "quasi") return pass(); + if (value.slice(value.length - 2) != "${") return cont(quasi); + return cont(expression, continueQuasi); + } + function continueQuasi(type) { + if (type == "}") { + cx.marked = "string-2"; + cx.state.tokenize = tokenQuasi; + return cont(quasi); + } + } + function arrowBody(type) { + findFatArrow(cx.stream, cx.state); + return pass(type == "{" ? statement : expression); + } + function arrowBodyNoComma(type) { + findFatArrow(cx.stream, cx.state); + return pass(type == "{" ? statement : expressionNoComma); + } + function maybelabel(type) { + if (type == ":") return cont(poplex, statement); + return pass(maybeoperatorComma, expect(";"), poplex); + } + function property(type) { + if (type == "variable") {cx.marked = "property"; return cont();} + } + function objprop(type, value) { + if (type == "variable" || cx.style == "keyword") { + cx.marked = "property"; + if (value == "get" || value == "set") return cont(getterSetter); + return cont(afterprop); + } else if (type == "number" || type == "string") { + cx.marked = jsonldMode ? "property" : (cx.style + " property"); + return cont(afterprop); + } else if (type == "jsonld-keyword") { + return cont(afterprop); + } else if (type == "[") { + return cont(expression, expect("]"), afterprop); + } + } + function getterSetter(type) { + if (type != "variable") return pass(afterprop); + cx.marked = "property"; + return cont(functiondef); + } + function afterprop(type) { + if (type == ":") return cont(expressionNoComma); + if (type == "(") return pass(functiondef); + } + function commasep(what, end) { + function proceed(type) { + if (type == ",") { + var lex = cx.state.lexical; + if (lex.info == "call") lex.pos = (lex.pos || 0) + 1; + return cont(what, proceed); + } + if (type == end) return cont(); + return cont(expect(end)); + } + return function(type) { + if (type == end) return cont(); + return pass(what, proceed); + }; + } + function contCommasep(what, end, info) { + for (var i = 3; i < arguments.length; i++) + cx.cc.push(arguments[i]); + return cont(pushlex(end, info), commasep(what, end), poplex); + } + function block(type) { + if (type == "}") return cont(); + return pass(statement, block); + } + function maybetype(type) { + if (isTS && type == ":") return cont(typedef); + } + function typedef(type) { + if (type == "variable"){cx.marked = "variable-3"; return cont();} + } + function vardef() { + return pass(pattern, maybetype, maybeAssign, vardefCont); + } + function pattern(type, value) { + if (type == "variable") { register(value); return cont(); } + if (type == "[") return contCommasep(pattern, "]"); + if (type == "{") return contCommasep(proppattern, "}"); + } + function proppattern(type, value) { + if (type == "variable" && !cx.stream.match(/^\s*:/, false)) { + register(value); + return cont(maybeAssign); + } + if (type == "variable") cx.marked = "property"; + return cont(expect(":"), pattern, maybeAssign); + } + function maybeAssign(_type, value) { + if (value == "=") return cont(expressionNoComma); + } + function vardefCont(type) { + if (type == ",") return cont(vardef); + } + function maybeelse(type, value) { + if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex); + } + function forspec(type) { + if (type == "(") return cont(pushlex(")"), forspec1, expect(")"), poplex); + } + function forspec1(type) { + if (type == "var") return cont(vardef, expect(";"), forspec2); + if (type == ";") return cont(forspec2); + if (type == "variable") return cont(formaybeinof); + return pass(expression, expect(";"), forspec2); + } + function formaybeinof(_type, value) { + if (value == "in" || value == "of") { cx.marked = "keyword"; return cont(expression); } + return cont(maybeoperatorComma, forspec2); + } + function forspec2(type, value) { + if (type == ";") return cont(forspec3); + if (value == "in" || value == "of") { cx.marked = "keyword"; return cont(expression); } + return pass(expression, expect(";"), forspec3); + } + function forspec3(type) { + if (type != ")") cont(expression); + } + function functiondef(type, value) { + if (value == "*") {cx.marked = "keyword"; return cont(functiondef);} + if (type == "variable") {register(value); return cont(functiondef);} + if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, statement, popcontext); + } + function funarg(type) { + if (type == "spread") return cont(funarg); + return pass(pattern, maybetype); + } + function className(type, value) { + if (type == "variable") {register(value); return cont(classNameAfter);} + } + function classNameAfter(type, value) { + if (value == "extends") return cont(expression, classNameAfter); + if (type == "{") return cont(pushlex("}"), classBody, poplex); + } + function classBody(type, value) { + if (type == "variable" || cx.style == "keyword") { + if (value == "static") { + cx.marked = "keyword"; + return cont(classBody); + } + cx.marked = "property"; + if (value == "get" || value == "set") return cont(classGetterSetter, functiondef, classBody); + return cont(functiondef, classBody); + } + if (value == "*") { + cx.marked = "keyword"; + return cont(classBody); + } + if (type == ";") return cont(classBody); + if (type == "}") return cont(); + } + function classGetterSetter(type) { + if (type != "variable") return pass(); + cx.marked = "property"; + return cont(); + } + function afterModule(type, value) { + if (type == "string") return cont(statement); + if (type == "variable") { register(value); return cont(maybeFrom); } + } + function afterExport(_type, value) { + if (value == "*") { cx.marked = "keyword"; return cont(maybeFrom, expect(";")); } + if (value == "default") { cx.marked = "keyword"; return cont(expression, expect(";")); } + return pass(statement); + } + function afterImport(type) { + if (type == "string") return cont(); + return pass(importSpec, maybeFrom); + } + function importSpec(type, value) { + if (type == "{") return contCommasep(importSpec, "}"); + if (type == "variable") register(value); + if (value == "*") cx.marked = "keyword"; + return cont(maybeAs); + } + function maybeAs(_type, value) { + if (value == "as") { cx.marked = "keyword"; return cont(importSpec); } + } + function maybeFrom(_type, value) { + if (value == "from") { cx.marked = "keyword"; return cont(expression); } + } + function arrayLiteral(type) { + if (type == "]") return cont(); + return pass(expressionNoComma, maybeArrayComprehension); + } + function maybeArrayComprehension(type) { + if (type == "for") return pass(comprehension, expect("]")); + if (type == ",") return cont(commasep(maybeexpressionNoComma, "]")); + return pass(commasep(expressionNoComma, "]")); + } + function comprehension(type) { + if (type == "for") return cont(forspec, comprehension); + if (type == "if") return cont(expression, comprehension); + } + + function isContinuedStatement(state, textAfter) { + return state.lastType == "operator" || state.lastType == "," || + isOperatorChar.test(textAfter.charAt(0)) || + /[,.]/.test(textAfter.charAt(0)); + } + + // Interface + + return { + startState: function(basecolumn) { + var state = { + tokenize: tokenBase, + lastType: "sof", + cc: [], + lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, "block", false), + localVars: parserConfig.localVars, + context: parserConfig.localVars && {vars: parserConfig.localVars}, + indented: 0 + }; + if (parserConfig.globalVars && typeof parserConfig.globalVars == "object") + state.globalVars = parserConfig.globalVars; + return state; + }, + + token: function(stream, state) { + if (stream.sol()) { + if (!state.lexical.hasOwnProperty("align")) + state.lexical.align = false; + state.indented = stream.indentation(); + findFatArrow(stream, state); + } + if (state.tokenize != tokenComment && stream.eatSpace()) return null; + var style = state.tokenize(stream, state); + if (type == "comment") return style; + state.lastType = type == "operator" && (content == "++" || content == "--") ? "incdec" : type; + return parseJS(state, style, type, content, stream); + }, + + indent: function(state, textAfter) { + if (state.tokenize == tokenComment) return CodeMirror.Pass; + if (state.tokenize != tokenBase) return 0; + var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical; + // Kludge to prevent 'maybelse' from blocking lexical scope pops + if (!/^\s*else\b/.test(textAfter)) for (var i = state.cc.length - 1; i >= 0; --i) { + var c = state.cc[i]; + if (c == poplex) lexical = lexical.prev; + else if (c != maybeelse) break; + } + if (lexical.type == "stat" && firstChar == "}") lexical = lexical.prev; + if (statementIndent && lexical.type == ")" && lexical.prev.type == "stat") + lexical = lexical.prev; + var type = lexical.type, closing = firstChar == type; + + if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info + 1 : 0); + else if (type == "form" && firstChar == "{") return lexical.indented; + else if (type == "form") return lexical.indented + indentUnit; + else if (type == "stat") + return lexical.indented + (isContinuedStatement(state, textAfter) ? statementIndent || indentUnit : 0); + else if (lexical.info == "switch" && !closing && parserConfig.doubleIndentSwitch != false) + return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? indentUnit : 2 * indentUnit); + else if (lexical.align) return lexical.column + (closing ? 0 : 1); + else return lexical.indented + (closing ? 0 : indentUnit); + }, + + electricInput: /^\s*(?:case .*?:|default:|\{|\})$/, + blockCommentStart: jsonMode ? null : "/*", + blockCommentEnd: jsonMode ? null : "*/", + lineComment: jsonMode ? null : "//", + fold: "brace", + closeBrackets: "()[]{}''\"\"``", + + helperType: jsonMode ? "json" : "javascript", + jsonldMode: jsonldMode, + jsonMode: jsonMode + }; +}); + +CodeMirror.registerHelper("wordChars", "javascript", /[\w$]/); + +CodeMirror.defineMIME("text/javascript", "javascript"); +CodeMirror.defineMIME("text/ecmascript", "javascript"); +CodeMirror.defineMIME("application/javascript", "javascript"); +CodeMirror.defineMIME("application/x-javascript", "javascript"); +CodeMirror.defineMIME("application/ecmascript", "javascript"); +CodeMirror.defineMIME("application/json", {name: "javascript", json: true}); +CodeMirror.defineMIME("application/x-json", {name: "javascript", json: true}); +CodeMirror.defineMIME("application/ld+json", {name: "javascript", jsonld: true}); +CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true }); +CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true }); + +}); diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/neo.css b/sources/samples/toolbarconfigurator/lib/codemirror/neo.css new file mode 100644 index 0000000..d019aab --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/neo.css @@ -0,0 +1,36 @@ +/* neo theme for codemirror */ + +/* Color scheme */ + +.cm-s-neo.CodeMirror { + background-color:#ffffff; + color:#2e383c; + line-height:1.4375; +} +.cm-s-neo .cm-comment {color:#75787b} +.cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3} +.cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a} +.cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328} +.cm-s-neo .cm-string {color:#b35e14} +.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65} + + +/* Editor styling */ + +.cm-s-neo pre { + padding:0; +} + +.cm-s-neo .CodeMirror-gutters { + border:none; + border-right:10px solid transparent; + background-color:transparent; +} + +.cm-s-neo .CodeMirror-linenumber { + padding:0; + color:#e0e2e5; +} + +.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } +.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/show-hint.css b/sources/samples/toolbarconfigurator/lib/codemirror/show-hint.css new file mode 100644 index 0000000..924e638 --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/show-hint.css @@ -0,0 +1,38 @@ +.CodeMirror-hints { + position: absolute; + z-index: 10; + overflow: hidden; + list-style: none; + + margin: 0; + padding: 2px; + + -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); + -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); + box-shadow: 2px 3px 5px rgba(0,0,0,.2); + border-radius: 3px; + border: 1px solid silver; + + background: white; + font-size: 90%; + font-family: monospace; + + max-height: 20em; + overflow-y: auto; +} + +.CodeMirror-hint { + margin: 0; + padding: 0 4px; + border-radius: 2px; + max-width: 19em; + overflow: hidden; + white-space: pre; + color: black; + cursor: pointer; +} + +li.CodeMirror-hint-active { + background: #08f; + color: white; +} diff --git a/sources/samples/toolbarconfigurator/lib/codemirror/show-hint.js b/sources/samples/toolbarconfigurator/lib/codemirror/show-hint.js new file mode 100644 index 0000000..539181f --- /dev/null +++ b/sources/samples/toolbarconfigurator/lib/codemirror/show-hint.js @@ -0,0 +1,392 @@ +// CodeMirror, copyright (c) by Marijn Haverbeke and others +// Distributed under an MIT license: http://codemirror.net/LICENSE + +(function(mod) { + if (typeof exports == "object" && typeof module == "object") // CommonJS + mod(require("../../lib/codemirror")); + else if (typeof define == "function" && define.amd) // AMD + define(["../../lib/codemirror"], mod); + else // Plain browser env + mod(CodeMirror); +})(function(CodeMirror) { + "use strict"; + + var HINT_ELEMENT_CLASS = "CodeMirror-hint"; + var ACTIVE_HINT_ELEMENT_CLASS = "CodeMirror-hint-active"; + + // This is the old interface, kept around for now to stay + // backwards-compatible. + CodeMirror.showHint = function(cm, getHints, options) { + if (!getHints) return cm.showHint(options); + if (options && options.async) getHints.async = true; + var newOpts = {hint: getHints}; + if (options) for (var prop in options) newOpts[prop] = options[prop]; + return cm.showHint(newOpts); + }; + + CodeMirror.defineExtension("showHint", function(options) { + // We want a single cursor position. + if (this.listSelections().length > 1 || this.somethingSelected()) return; + + if (this.state.completionActive) this.state.completionActive.close(); + var completion = this.state.completionActive = new Completion(this, options); + if (!completion.options.hint) return; + + CodeMirror.signal(this, "startCompletion", this); + completion.update(); + }); + + function Completion(cm, options) { + this.cm = cm; + this.options = this.buildOptions(options); + this.widget = null; + this.debounce = 0; + this.tick = 0; + this.startPos = this.cm.getCursor(); + this.startLen = this.cm.getLine(this.startPos.line).length; + + var self = this; + cm.on("cursorActivity", this.activityFunc = function() { self.cursorActivity(); }); + } + + var requestAnimationFrame = window.requestAnimationFrame || function(fn) { + return setTimeout(fn, 1000/60); + }; + var cancelAnimationFrame = window.cancelAnimationFrame || clearTimeout; + + Completion.prototype = { + close: function() { + if (!this.active()) return; + this.cm.state.completionActive = null; + this.tick = null; + this.cm.off("cursorActivity", this.activityFunc); + + if (this.widget) this.widget.close(); + CodeMirror.signal(this.cm, "endCompletion", this.cm); + }, + + active: function() { + return this.cm.state.completionActive == this; + }, + + pick: function(data, i) { + var completion = data.list[i]; + if (completion.hint) completion.hint(this.cm, data, completion); + else this.cm.replaceRange(getText(completion), completion.from || data.from, + completion.to || data.to, "complete"); + CodeMirror.signal(data, "pick", completion); + this.close(); + }, + + showHints: function(data) { + if (!data || !data.list.length || !this.active()) return this.close(); + + if (this.options.completeSingle && data.list.length == 1) + this.pick(data, 0); + else + this.showWidget(data); + }, + + cursorActivity: function() { + if (this.debounce) { + cancelAnimationFrame(this.debounce); + this.debounce = 0; + } + + var pos = this.cm.getCursor(), line = this.cm.getLine(pos.line); + if (pos.line != this.startPos.line || line.length - pos.ch != this.startLen - this.startPos.ch || + pos.ch < this.startPos.ch || this.cm.somethingSelected() || + (pos.ch && this.options.closeCharacters.test(line.charAt(pos.ch - 1)))) { + this.close(); + } else { + var self = this; + this.debounce = requestAnimationFrame(function() {self.update();}); + if (this.widget) this.widget.disable(); + } + }, + + update: function() { + if (this.tick == null) return; + if (this.data) CodeMirror.signal(this.data, "update"); + if (!this.options.hint.async) { + this.finishUpdate(this.options.hint(this.cm, this.options), myTick); + } else { + var myTick = ++this.tick, self = this; + this.options.hint(this.cm, function(data) { + if (self.tick == myTick) self.finishUpdate(data); + }, this.options); + } + }, + + finishUpdate: function(data) { + this.data = data; + var picked = this.widget && this.widget.picked; + if (this.widget) this.widget.close(); + if (data && data.list.length) { + if (picked && data.list.length == 1) this.pick(data, 0); + else this.widget = new Widget(this, data); + } + }, + + showWidget: function(data) { + this.data = data; + this.widget = new Widget(this, data); + CodeMirror.signal(data, "shown"); + }, + + buildOptions: function(options) { + var editor = this.cm.options.hintOptions; + var out = {}; + for (var prop in defaultOptions) out[prop] = defaultOptions[prop]; + if (editor) for (var prop in editor) + if (editor[prop] !== undefined) out[prop] = editor[prop]; + if (options) for (var prop in options) + if (options[prop] !== undefined) out[prop] = options[prop]; + return out; + } + }; + + function getText(completion) { + if (typeof completion == "string") return completion; + else return completion.text; + } + + function buildKeyMap(completion, handle) { + var baseMap = { + Up: function() {handle.moveFocus(-1);}, + Down: function() {handle.moveFocus(1);}, + PageUp: function() {handle.moveFocus(-handle.menuSize() + 1, true);}, + PageDown: function() {handle.moveFocus(handle.menuSize() - 1, true);}, + Home: function() {handle.setFocus(0);}, + End: function() {handle.setFocus(handle.length - 1);}, + Enter: handle.pick, + Tab: handle.pick, + Esc: handle.close + }; + var custom = completion.options.customKeys; + var ourMap = custom ? {} : baseMap; + function addBinding(key, val) { + var bound; + if (typeof val != "string") + bound = function(cm) { return val(cm, handle); }; + // This mechanism is deprecated + else if (baseMap.hasOwnProperty(val)) + bound = baseMap[val]; + else + bound = val; + ourMap[key] = bound; + } + if (custom) + for (var key in custom) if (custom.hasOwnProperty(key)) + addBinding(key, custom[key]); + var extra = completion.options.extraKeys; + if (extra) + for (var key in extra) if (extra.hasOwnProperty(key)) + addBinding(key, extra[key]); + return ourMap; + } + + function getHintElement(hintsElement, el) { + while (el && el != hintsElement) { + if (el.nodeName.toUpperCase() === "LI" && el.parentNode == hintsElement) return el; + el = el.parentNode; + } + } + + function Widget(completion, data) { + this.completion = completion; + this.data = data; + this.picked = false; + var widget = this, cm = completion.cm; + + var hints = this.hints = document.createElement("ul"); + hints.className = "CodeMirror-hints"; + this.selectedHint = data.selectedHint || 0; + + var completions = data.list; + for (var i = 0; i < completions.length; ++i) { + var elt = hints.appendChild(document.createElement("li")), cur = completions[i]; + var className = HINT_ELEMENT_CLASS + (i != this.selectedHint ? "" : " " + ACTIVE_HINT_ELEMENT_CLASS); + if (cur.className != null) className = cur.className + " " + className; + elt.className = className; + if (cur.render) cur.render(elt, data, cur); + else elt.appendChild(document.createTextNode(cur.displayText || getText(cur))); + elt.hintId = i; + } + + var pos = cm.cursorCoords(completion.options.alignWithWord ? data.from : null); + var left = pos.left, top = pos.bottom, below = true; + hints.style.left = left + "px"; + hints.style.top = top + "px"; + // If we're at the edge of the screen, then we want the menu to appear on the left of the cursor. + var winW = window.innerWidth || Math.max(document.body.offsetWidth, document.documentElement.offsetWidth); + var winH = window.innerHeight || Math.max(document.body.offsetHeight, document.documentElement.offsetHeight); + (completion.options.container || document.body).appendChild(hints); + var box = hints.getBoundingClientRect(), overlapY = box.bottom - winH; + if (overlapY > 0) { + var height = box.bottom - box.top, curTop = pos.top - (pos.bottom - box.top); + if (curTop - height > 0) { // Fits above cursor + hints.style.top = (top = pos.top - height) + "px"; + below = false; + } else if (height > winH) { + hints.style.height = (winH - 5) + "px"; + hints.style.top = (top = pos.bottom - box.top) + "px"; + var cursor = cm.getCursor(); + if (data.from.ch != cursor.ch) { + pos = cm.cursorCoords(cursor); + hints.style.left = (left = pos.left) + "px"; + box = hints.getBoundingClientRect(); + } + } + } + var overlapX = box.right - winW; + if (overlapX > 0) { + if (box.right - box.left > winW) { + hints.style.width = (winW - 5) + "px"; + overlapX -= (box.right - box.left) - winW; + } + hints.style.left = (left = pos.left - overlapX) + "px"; + } + + cm.addKeyMap(this.keyMap = buildKeyMap(completion, { + moveFocus: function(n, avoidWrap) { widget.changeActive(widget.selectedHint + n, avoidWrap); }, + setFocus: function(n) { widget.changeActive(n); }, + menuSize: function() { return widget.screenAmount(); }, + length: completions.length, + close: function() { completion.close(); }, + pick: function() { widget.pick(); }, + data: data + })); + + if (completion.options.closeOnUnfocus) { + var closingOnBlur; + cm.on("blur", this.onBlur = function() { closingOnBlur = setTimeout(function() { completion.close(); }, 100); }); + cm.on("focus", this.onFocus = function() { clearTimeout(closingOnBlur); }); + } + + var startScroll = cm.getScrollInfo(); + cm.on("scroll", this.onScroll = function() { + var curScroll = cm.getScrollInfo(), editor = cm.getWrapperElement().getBoundingClientRect(); + var newTop = top + startScroll.top - curScroll.top; + var point = newTop - (window.pageYOffset || (document.documentElement || document.body).scrollTop); + if (!below) point += hints.offsetHeight; + if (point <= editor.top || point >= editor.bottom) return completion.close(); + hints.style.top = newTop + "px"; + hints.style.left = (left + startScroll.left - curScroll.left) + "px"; + }); + + CodeMirror.on(hints, "dblclick", function(e) { + var t = getHintElement(hints, e.target || e.srcElement); + if (t && t.hintId != null) {widget.changeActive(t.hintId); widget.pick();} + }); + + CodeMirror.on(hints, "click", function(e) { + var t = getHintElement(hints, e.target || e.srcElement); + if (t && t.hintId != null) { + widget.changeActive(t.hintId); + if (completion.options.completeOnSingleClick) widget.pick(); + } + }); + + CodeMirror.on(hints, "mousedown", function() { + setTimeout(function(){cm.focus();}, 20); + }); + + CodeMirror.signal(data, "select", completions[0], hints.firstChild); + return true; + } + + Widget.prototype = { + close: function() { + if (this.completion.widget != this) return; + this.completion.widget = null; + this.hints.parentNode.removeChild(this.hints); + this.completion.cm.removeKeyMap(this.keyMap); + + var cm = this.completion.cm; + if (this.completion.options.closeOnUnfocus) { + cm.off("blur", this.onBlur); + cm.off("focus", this.onFocus); + } + cm.off("scroll", this.onScroll); + }, + + disable: function() { + this.completion.cm.removeKeyMap(this.keyMap); + var widget = this; + this.keyMap = {Enter: function() { widget.picked = true; }}; + this.completion.cm.addKeyMap(this.keyMap); + }, + + pick: function() { + this.completion.pick(this.data, this.selectedHint); + }, + + changeActive: function(i, avoidWrap) { + if (i >= this.data.list.length) + i = avoidWrap ? this.data.list.length - 1 : 0; + else if (i < 0) + i = avoidWrap ? 0 : this.data.list.length - 1; + if (this.selectedHint == i) return; + var node = this.hints.childNodes[this.selectedHint]; + node.className = node.className.replace(" " + ACTIVE_HINT_ELEMENT_CLASS, ""); + node = this.hints.childNodes[this.selectedHint = i]; + node.className += " " + ACTIVE_HINT_ELEMENT_CLASS; + if (node.offsetTop < this.hints.scrollTop) + this.hints.scrollTop = node.offsetTop - 3; + else if (node.offsetTop + node.offsetHeight > this.hints.scrollTop + this.hints.clientHeight) + this.hints.scrollTop = node.offsetTop + node.offsetHeight - this.hints.clientHeight + 3; + CodeMirror.signal(this.data, "select", this.data.list[this.selectedHint], node); + }, + + screenAmount: function() { + return Math.floor(this.hints.clientHeight / this.hints.firstChild.offsetHeight) || 1; + } + }; + + CodeMirror.registerHelper("hint", "auto", function(cm, options) { + var helpers = cm.getHelpers(cm.getCursor(), "hint"), words; + if (helpers.length) { + for (var i = 0; i < helpers.length; i++) { + var cur = helpers[i](cm, options); + if (cur && cur.list.length) return cur; + } + } else if (words = cm.getHelper(cm.getCursor(), "hintWords")) { + if (words) return CodeMirror.hint.fromList(cm, {words: words}); + } else if (CodeMirror.hint.anyword) { + return CodeMirror.hint.anyword(cm, options); + } + }); + + CodeMirror.registerHelper("hint", "fromList", function(cm, options) { + var cur = cm.getCursor(), token = cm.getTokenAt(cur); + var found = []; + for (var i = 0; i < options.words.length; i++) { + var word = options.words[i]; + if (word.slice(0, token.string.length) == token.string) + found.push(word); + } + + if (found.length) return { + list: found, + from: CodeMirror.Pos(cur.line, token.start), + to: CodeMirror.Pos(cur.line, token.end) + }; + }); + + CodeMirror.commands.autocomplete = CodeMirror.showHint; + + var defaultOptions = { + hint: CodeMirror.hint.auto, + completeSingle: true, + alignWithWord: true, + closeCharacters: /[\s()\[\]{};:>,]/, + closeOnUnfocus: true, + completeOnSingleClick: false, + container: null, + customKeys: null, + extraKeys: null + }; + + CodeMirror.defineOption("hintOptions", null); +}); diff --git a/sources/samples/toolbarconfigurator/package.json b/sources/samples/toolbarconfigurator/package.json new file mode 100644 index 0000000..1fceff9 --- /dev/null +++ b/sources/samples/toolbarconfigurator/package.json @@ -0,0 +1,12 @@ +{ + "name": "ckeditor-toolbarconfigurator", + "version": "0.0.0", + "description": "", + "author": "CKSource (http://cksource.com/)", + "license": "For licensing, see LICENSE.md or http://ckeditor.com/license.", + "devDependencies": { + "benderjs": "~0.2.1", + "benderjs-chai": "~0.2.0", + "benderjs-mocha": "~0.1.2" + } +} diff --git a/sources/samples/toolbarconfigurator/tests/one.js b/sources/samples/toolbarconfigurator/tests/one.js new file mode 100644 index 0000000..1d3837f --- /dev/null +++ b/sources/samples/toolbarconfigurator/tests/one.js @@ -0,0 +1,9 @@ +/* global describe, it, expect, ToolbarConfigurator */ + +describe( 'Full toolbar configurator', function() { + var FTE = ToolbarConfigurator.FullToolbarEditor; + + it( 'exists', function() { + expect( FTE ).to.be.a( 'function' ); + } ); +} ); diff --git a/sources/skins/moono/colorpanel.css b/sources/skins/moono/colorpanel.css new file mode 100644 index 0000000..efad9d9 --- /dev/null +++ b/sources/skins/moono/colorpanel.css @@ -0,0 +1,127 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +colorpanel.css (part of editor.css) +===================================== + +The color panel is related to the contents part of the panels that are +displayed when clicking the color buttons of the toolbar. See panels.css for +styles related to the outer part of panels. + +The following is the visual representation of the color panel contents: + ++-- .cke_panel_block.cke_colorblock --+ +| +-- a.cke_colorauto --------------+ | +| | | | +| | AUTOMATIC COLOR | | +| | | | +| +---------------------------------+ | +| +-- table ------------------------+ | +| | | | +| | COLOR PALETTE | | +| | | | +| |---------------------------------| | +| | "More Colors" | | +| +---------------------------------+ | ++-------------------------------------+ + +The AUTOMATIC COLOR section is an containing a table with two cells with +the following contents: + ++-- TD -----------------+ +-- TD -----------------+ +| +-- .cke_colorbox --+ | | | +| | | | | "Automatic" | +| +-------------------+ | | | ++-----------------------+ +-----------------------+ + +The COLOR PALETTE section instead is a table with a variable number of cells +(by default 8). Each cell represents a color box, with the following structure: + ++-- A.cke_colorbox ---------+ +| +-- SPAN.cke_colorbox --+ | +| | | | +| +-----------------------+ | ++---------------------------+ +*/ + +/* The container of the color palette. */ +.cke_colorblock +{ + padding: 3px; + font-size: 11px; + font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif; +} + +.cke_colorblock, +.cke_colorblock a +{ + text-decoration: none; + color: #000; +} + +/* The box which is to represent a single color on the color palette. + It is a small, square-shaped element which can be selected from the palette. */ +span.cke_colorbox +{ + width: 10px; + height: 10px; + border: #808080 1px solid; + float: left; +} + +.cke_rtl span.cke_colorbox +{ + float: right; +} + +/* The wrapper of the span.cke_colorbox. It provides an extra border and padding. */ +a.cke_colorbox +{ + border: #fff 1px solid; + padding: 2px; + float: left; + width: 12px; + height: 12px; +} + +.cke_rtl a.cke_colorbox +{ + float: right; +} + +/* Different states of the a.cke_colorbox wrapper. */ +a:hover.cke_colorbox, +a:focus.cke_colorbox, +a:active.cke_colorbox +{ + border: #b6b6b6 1px solid; + background-color: #e5e5e5; +} + +/* Buttons which are visible at the top/bottom of the color palette: + - cke_colorauto (TOP) applies the automatic color. + - cke_colormore (BOTTOM) executes the color dialog. +*/ +a.cke_colorauto, +a.cke_colormore +{ + border: #fff 1px solid; + padding: 2px; + display: block; + cursor: pointer; +} + +/* Different states of cke_colorauto/cke_colormore buttons. */ +a:hover.cke_colorauto, +a:hover.cke_colormore, +a:focus.cke_colorauto, +a:focus.cke_colormore, +a:active.cke_colorauto, +a:active.cke_colormore +{ + border: #b6b6b6 1px solid; + background-color: #e5e5e5; +} diff --git a/sources/skins/moono/dev/icons16.png b/sources/skins/moono/dev/icons16.png new file mode 100644 index 0000000000000000000000000000000000000000..a9197420660fb94b418b64b852818690676710b5 GIT binary patch literal 29947 zcmcG$byQXD*9E!>36)T~K|w-9L8MbbN}F?{hH_c`qS?DecQ*PL_h_fM4Nh%VAzL=c2XL0(1;L9o{0j~xLX zydy`?DFHul9q%h>5Ws(41Sap`HKCont|J^jeEtXPK1ZAzyh-CEtK+0@Yv$zo+`$xa zb#>*juzBf-dTwXRW9#rDZdHsHL6{K*8EFl-_~l7=FEZyt{PiAIi~da4l6#p~Cvo0009(GO4-XZ|*x z0WBpbzI$U*q<-vJCO8CzW*<6`l3SD=L5i(~g(v9a4Y@~g0@nUn;|*dy(G3kuKKs)5 ztjE4C5>=gTiAj2I%r=)3Gl<9+Zpj5xr))V9`weQzV#Tr&1{ZV5#fbH=-!iQCTHD{4 zqx#M0gLZJ(tS* zsmG@2tk<^d4W@k>Yplb=!`I=`;v1e8xQH5(H_yNdNa9OvU>oQkRoG5TSezaoBt1@& zm`sz^i(qZ+nl=m|W~jdX^sD)c2jup!@{y5|S@2SRwKwGrGIL4Lozjy_g2h=g$G7GO zwP?$h*Wu=T$DYLL{v6{8DFrS|jcG@WddzJ@A2t>imdVM07mur^@*5kaTJd!htYhF3 z=PwxYPT8Ps%T7Y3_OwRM=v`LE?$I?`AwxTxide^Qcr)FWKaVvyV!B9{Zy71pNs1+KHl$}tmrM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%r>v|hLWVNc z3M((aH7$PiYjJF1=FQ~+>m0iBZ3(w;;fkjt{O*hn2Lc%Emrp<;)ZrLlX>2o|@UqvR z8?;9&9%1-+5u&~%r;a&|2y=k)`UVF1bwe{qhTiPp^chc?N(Ntfn+%nNL++7Y<63lr z*K?(r0)N$~nC}2yxRL*%OwO^%?75EO$-c=+pH<(b0-JB`KIgj=<@dV?i3Bm1dl~IV z_f`qORtis#n~q3+j`LXRg>a7iLlMazDk=uSgCZQy<9f4OV2PQ_9W~f#en6nfBP1-G z&{i@QyOmZ_vc#mKgU)Z%wa`TC2H*9al827#+%-U(wFzXR7tw5+NT64|y|ofuDzo@u z66~-i(yR=R&Mj1%Umzem;7quEz11;s8y8m^Zs6be+%ADo>~Eth*OF=v1tn$xQPE69 z@@M*2uf@Bil3EW%9NB|MHf7Y?K6De&o*eo#j~%;27L*uue0=;lv?;l;k6R^Z=j&6N zqzQIXDB3wR(+$@D=1Zu#d{XzFP*zTD8qN7~g|&&u^Rzw!;K2%eu@_>W8xyKyMT4tb zR`BR7(IQBRj={^jRW^> zs-q*8{_L4`+#3rrI1(^0TCk4qug<+=Pl#I&wVy^BTFiUMKx)TKwlaXZO&|xR>U@X} zyPN;Kb_b9xm(%*g^{Nm49Ox>Ygm4B_r59=M=ke5_`5%Lxvr!QdevrN}<5>z>7fU;O zkXf^|0>Fz2PlH?uvU$H39a;b45%$jf+vyxiChbk?^$X`fi}j(fHA^V4CjeU9yvjGi XC2qIekM( literal 0 HcmV?d00001 diff --git a/sources/skins/moono/dev/icons16.svg b/sources/skins/moono/dev/icons16.svg new file mode 100644 index 0000000..5719d3e --- /dev/null +++ b/sources/skins/moono/dev/icons16.svg @@ -0,0 +1,2374 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/sources/skins/moono/dev/icons32.png b/sources/skins/moono/dev/icons32.png new file mode 100644 index 0000000000000000000000000000000000000000..a74c093b361747e977178b6a821f8a9c9c0c88c7 GIT binary patch literal 75488 zcmd?R`9GBZ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w_y#oK;2X7uziPN^I5 zNxLpeY>w1QJU^9a)IQ`nDZ})HNkdKhRL48*4dkj``*DQ1-*-OlNM@CP-s ztl8QMuck@gp^EkO+-%D6MeSVahjuVwFyV-FRB}E(m+y^DS2?VXq+afp1pZM^P0d}c z^A^j7bIKn3%@P^9rI@spw>Z|9I8*s(@mp7EwKKW(^@aGEJntk5Wm0rA&wm}_&1Q}# zC@g}he!mLXbL&KW<*9`PVIr@5V$7-ZQN;I9nxYiV zhK{i3{KE76o{|qWEiHyFSQl%GoZu=NolaLV(Ft9-RS#iM78kyHS{(jBNB}}h2{!Iv zIPe~-TU+tMxpc9p-q21us?5k|;qb!_sqoS+!m^Ko`~S@-BcXNjvFcDBZOht|&t3_7 z9*rzj(GDG)Tq_h;o!$O3(%Mm3Xy4L?KDl>o7s4u&SGJJWN~X)bRWds`CB>U=hh!LV zXrA{yc%!bSE&($IthTRPY1wmI>3qz@#KeWv4}Yf4bzHinIWL7sIb3+O-HI}sDL^72 zn{eB_ZPNKbD^*ggs@wO~l(e+8JOrXc%e*Shn!+O@W_A~e@mrm|L~*n{E2}<2Ui5Zq zIreFE?oWlCM*#@@JUux7Rtz8X^7DPAjehp;+lFBg5o%1nZKAqdao^v- zU$wo~wXmZ!-*-)G2>`En;gWLJ^8LQMk42Rk`&lz>5E2SVd6#ei?Ad;;`$E2d_)<08 zSYErZ)xgxm0;9+3Te`EtHw;a~m3VSTy6zwam|}GKq#~wl z;J?tkY7X|&)}cuwa|?^tS^#vw}l9)=04?BLiMQx6ACL2kS zC&!#+7 zq_usvzN-LfhEM7IoRi%s?pjhw=Zw3lX*VLU5n1_*ac%Sc!R222Slv8|MSPVu z2Ka6`9DnejXuWwxqYjgZ`vrr8N;16vS + + +image/svg+xml + + + + \ No newline at end of file diff --git a/sources/skins/moono/dev/locations.json b/sources/skins/moono/dev/locations.json new file mode 100644 index 0000000..4e09053 --- /dev/null +++ b/sources/skins/moono/dev/locations.json @@ -0,0 +1,145 @@ +{ + "0": [ + [ + "plugins/sourcearea/icons/source.png", + "plugins/sourcedialog/icons/sourcedialog.png" + ], + [ + "plugins/sourcearea/icons/source-rtl.png", + "plugins/sourcedialog/icons/sourcedialog-rtl.png" + ], + "plugins/save/icons/save.png", + "plugins/newpage/icons/newpage.png", + "plugins/newpage/icons/newpage-rtl.png", + "plugins/preview/icons/preview.png", + "plugins/preview/icons/preview-rtl.png", + "plugins/print/icons/print.png", + [ + "plugins/templates/icons/templates.png", + "plugins/templates/icons/templates-rtl.png" + ], + "plugins/docprops/icons/docprops.png", + "plugins/docprops/icons/docprops-rtl.png" + ], + "1": [ + [ + "plugins/clipboard/icons/cut-rtl.png", + "plugins/clipboard/icons/cut.png" + ], + [ + "plugins/clipboard/icons/copy.png", + "plugins/clipboard/icons/copy-rtl.png" + ], + [ + "plugins/clipboard/icons/paste.png", + "plugins/clipboard/icons/paste-rtl.png" + ], + "plugins/pastetext/icons/pastetext.png", + "plugins/pastetext/icons/pastetext-rtl.png", + "plugins/pastefromword/icons/pastefromword.png", + "plugins/pastefromword/icons/pastefromword-rtl.png", + "plugins/undo/icons/undo.png", + "plugins/undo/icons/undo-rtl.png", + "plugins/undo/icons/redo.png", + "plugins/undo/icons/redo-rtl.png" + ], + "2": [ + [ + "plugins/find/icons/find-rtl.png", + "plugins/find/icons/find.png" + ], + "plugins/find/icons/replace.png", + "plugins/selectall/icons/selectall.png", + [ + "plugins/wsc/icons/spellchecker.png", + "plugins/scayt/icons/scayt.png" + ] + ], + "3": [ + "plugins/forms/icons/form.png", + "plugins/forms/icons/checkbox.png", + "plugins/forms/icons/radio.png", + [ + "plugins/forms/icons/textfield-rtl.png", + "plugins/forms/icons/textfield.png" + ], + "plugins/forms/icons/textarea.png", + "plugins/forms/icons/textarea-rtl.png", + "plugins/forms/icons/select.png", + "plugins/forms/icons/select-rtl.png", + "plugins/forms/icons/button.png", + "plugins/forms/icons/imagebutton.png", + "plugins/forms/icons/hiddenfield.png" + ], + "4": [ + "plugins/basicstyles/icons/bold.png", + "plugins/basicstyles/icons/italic.png", + "plugins/basicstyles/icons/underline.png", + "plugins/basicstyles/icons/strike.png", + "plugins/basicstyles/icons/superscript.png", + "plugins/basicstyles/icons/subscript.png", + "plugins/removeformat/icons/removeformat.png" + ], + "5": [ + "plugins/list/icons/numberedlist.png", + "plugins/list/icons/numberedlist-rtl.png", + "plugins/list/icons/bulletedlist.png", + "plugins/list/icons/bulletedlist-rtl.png", + "plugins/indent/icons/outdent.png", + "plugins/indent/icons/indent.png", + "plugins/indent/icons/indent-rtl.png", + "plugins/indent/icons/outdent-rtl.png", + "plugins/blockquote/icons/blockquote.png", + "plugins/div/icons/creatediv.png", + "plugins/justify/icons/justifyleft.png", + "plugins/justify/icons/justifycenter.png", + "plugins/justify/icons/justifyright.png", + "plugins/justify/icons/justifyblock.png", + "plugins/bidi/icons/bidiltr.png", + "plugins/bidi/icons/bidirtl.png" + ], + "6": [ + "plugins/link/icons/link.png", + "plugins/link/icons/unlink.png", + "plugins/link/icons/anchor.png", + "plugins/link/icons/anchor-rtl.png", + "plugins/copyformatting/icons/copyformatting.png" + ], + "7": [ + [ + "plugins/image/icons/image.png", + "plugins/image2/icons/image.png" + ], + "plugins/flash/icons/flash.png", + "plugins/table/icons/table.png", + "plugins/horizontalrule/icons/horizontalrule.png", + "plugins/smiley/icons/smiley.png", + "plugins/specialchar/icons/specialchar.png", + "plugins/pagebreak/icons/pagebreak.png", + "plugins/pagebreak/icons/pagebreak-rtl.png", + "plugins/iframe/icons/iframe.png" + ], + "8": [ + "plugins/colorbutton/icons/textcolor.png", + "plugins/colorbutton/icons/bgcolor.png" + ], + "9": [ + "plugins/maximize/icons/maximize.png", + "plugins/showblocks/icons/showblocks.png", + "plugins/showblocks/icons/showblocks-rtl.png" + ], + "10": [ + "plugins/about/icons/about.png", + "plugins/uicolor/icons/uicolor.png", + "plugins/placeholder/icons/placeholder.png", + "plugins/language/icons/language.png", + "plugins/codesnippet/icons/codesnippet.png" + ], + "11": [ + "plugins/link/images/anchor.png", + "skins/moono/images/close.png", + "skins/moono/images/lock.png", + "skins/moono/images/lock-open.png", + "skins/moono/images/refresh.png" + ] +} diff --git a/sources/skins/moono/dialog.css b/sources/skins/moono/dialog.css new file mode 100644 index 0000000..93907be --- /dev/null +++ b/sources/skins/moono/dialog.css @@ -0,0 +1,1060 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +dialog.css +============ + +This file styles dialogs and all widgets available inside of it (tabs, buttons, +fields, etc.). + +Dialogs are a complex system because they're very flexible. The CKEditor API +makes it easy to create and customize dialogs by code, by making use of several +different widgets inside its contents. + +All dialogs share a main dialog strucuture, which can be visually represented +as follows: + ++-- .cke_dialog -------------------------------------------------+ +| +-- .cke_dialog_body ----------------------------------------+ | +| | +-- .cke_dialog_title --+ +-- .cke_dialog_close_button --+ | | +| | | | | | | | +| | +-----------------------+ +------------------------------+ | | +| | +-- .cke_dialog_tabs ------------------------------------+ | | +| | | | | | +| | +--------------------------------------------------------+ | | +| | +-- .cke_dialog_contents --------------------------------+ | | +| | | +-- .cke_dialog_contents_body -----------------------+ | | | +| | | | | | | | +| | | +----------------------------------------------------+ | | | +| | | +-- .cke_dialog_footer ------------------------------+ | | | +| | | | | | | | +| | | +----------------------------------------------------+ | | | +| | +--------------------------------------------------------+ | | +| +------------------------------------------------------------+ | ++----------------------------------------------------------------+ + +Comments in this file will give more details about each of the above blocks. +*/ + +/* The outer container of the dialog. */ +.cke_dialog +{ + /* Mandatory: Because the dialog.css file is loaded on demand, we avoid + showing an unstyled dialog by hidding it. Here, we restore its visibility. */ + visibility: visible; +} + +/* The inner boundary container. */ +.cke_dialog_body +{ + z-index: 1; + background: #eaeaea; + border: 1px solid #b2b2b2; + border-bottom-color: #999; + border-radius: 3px; + box-shadow: 0 0 3px rgba(0, 0, 0, .15); +} + +/* Due to our reset we have to recover the styles of some elements. */ +.cke_dialog strong +{ + font-weight: bold; +} + +/* The dialog title. */ +.cke_dialog_title +{ + font-weight: bold; + font-size: 13px; + cursor: move; + position: relative; + + color: #474747; + text-shadow: 0 1px 0 rgba(255,255,255,.75); + + border-bottom: 1px solid #999; + padding: 6px 10px; + + border-radius: 2px 2px 0 0; + box-shadow: 0 1px 0 #fff inset; + + background: #cfd1cf; + background-image: linear-gradient(to bottom, #f5f5f5, #cfd1cf); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf'); +} + +.cke_dialog_spinner +{ + border-radius: 50%; + + width: 12px; + height: 12px; + overflow: hidden; + + text-indent: -9999em; + + border-top: 2px solid rgba(102, 102, 102, 0.2); + border-right: 2px solid rgba(102, 102, 102, 0.2); + border-bottom: 2px solid rgba(102, 102, 102, 0.2); + border-left: 2px solid rgba(102, 102, 102, 1); + + -webkit-animation: dialog_spinner 1s infinite linear; + animation: dialog_spinner 1s infinite linear; +} + +/* A GIF fallback for IE8 and IE9 which does not support CSS animations. */ +.cke_browser_ie8 .cke_dialog_spinner, +.cke_browser_ie9 .cke_dialog_spinner +{ + background: url(images/spinner.gif) center top no-repeat; + width: 16px; + height: 16px; + border: 0; +} + +@-webkit-keyframes dialog_spinner +{ + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes dialog_spinner +{ + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +/* The outer part of the dialog contants, which contains the contents body + and the footer. */ +.cke_dialog_contents +{ + background-color: #fff; + overflow: auto; + padding: 15px 10px 5px 10px; + margin-top: 30px; + border-top: 1px solid #bfbfbf; + border-radius: 0 0 3px 3px; +} + +/* The contents body part, which will hold all elements available in the dialog. */ +.cke_dialog_contents_body +{ + overflow: auto; + padding: 17px 10px 5px 10px; + margin-top: 22px; +} + +/* The dialog footer, which usually contains the "Ok" and "Cancel" buttons as + well as a resize handler. */ +.cke_dialog_footer +{ + text-align: right; + position: relative; + border: none; + outline: 1px solid #bfbfbf; + box-shadow: 0 1px 0 #fff inset; + border-radius: 0 0 2px 2px; + background: #cfd1cf; + background-image: linear-gradient(to bottom, #ebebeb, #cfd1cf); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf'); +} + +.cke_rtl .cke_dialog_footer +{ + text-align: left; +} + +.cke_hc .cke_dialog_footer +{ + outline: none; + border-top: 1px solid #fff; +} + +.cke_dialog .cke_resizer +{ + margin-top: 22px; +} + +.cke_dialog .cke_resizer_rtl +{ + margin-left: 5px; +} + +.cke_dialog .cke_resizer_ltr +{ + margin-right: 5px; +} + +/* +Dialog tabs +------------- + +Tabs are presented on some of the dialogs to make it possible to have its +contents split on different groups, visible one after the other. + +The main element that holds the tabs can be made hidden, in case of no tabs +available. + +The following is the visual representation of the tabs block: + ++-- .cke_dialog_tabs ------------------------------------+ +| +-- .cke_dialog_tab --+ +-- .cke_dialog_tab --+ ... | +| | | | | | +| +---------------------+ +---------------------+ | ++--------------------------------------------------------+ + +The .cke_dialog_tab_selected class is appended to the active tab. +*/ + +/* The main tabs container. */ +.cke_dialog_tabs +{ + height: 24px; + display: inline-block; + margin: 5px 0 0; + position: absolute; + z-index: 2; + left: 10px; +} + +.cke_rtl .cke_dialog_tabs +{ + right: 10px; +} + +/* A single tab (an element). */ +a.cke_dialog_tab +{ + + height: 16px; + padding: 4px 8px; + margin-right: 3px; + display: inline-block; + cursor: pointer; + line-height: 16px; + outline: none; + color: #595959; + border: 1px solid #bfbfbf; + + border-radius: 3px 3px 0 0; + + background: #d4d4d4; + background-image: linear-gradient(to bottom, #fafafa, #ededed); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fafafa', endColorstr='#ededed'); +} + +.cke_rtl a.cke_dialog_tab +{ + margin-right: 0; + margin-left: 3px; +} + +/* A hover state of a regular inactive tab. */ +a.cke_dialog_tab:hover, +a.cke_dialog_tab:focus +{ + background: #ebebeb; + background: linear-gradient(to bottom, #ebebeb 0%,#dfdfdf 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#dfdfdf',GradientType=0 ); +} + +a.cke_dialog_tab_selected +{ + background: #fff; + color: #383838; + border-bottom-color: #fff; + cursor: default; + filter: none; +} + +/* A hover state for selected tab. */ +a.cke_dialog_tab_selected:hover, +a.cke_dialog_tab_selected:focus +{ + background: #ededed; + background: linear-gradient(to bottom, #ededed 0%,#ffffff 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff',GradientType=0 ); +} + +.cke_hc a.cke_dialog_tab:hover, +.cke_hc a.cke_dialog_tab:focus, +.cke_hc a.cke_dialog_tab_selected +{ + border: 3px solid; + padding: 2px 6px; +} + +a.cke_dialog_tab_disabled +{ + color: #bababa; + cursor: default; +} + +/* The .cke_single_page class is appended to the dialog outer element in case + of dialogs that has no tabs. */ +.cke_single_page .cke_dialog_tabs +{ + display: none; +} + +.cke_single_page .cke_dialog_contents +{ + padding-top: 5px; + margin-top: 0; + border-top: none; +} + +/* The close button at the top of the dialog. */ + +a.cke_dialog_close_button +{ + background-image: url(images/close.png); + background-repeat: no-repeat; + background-position: 50%; + position: absolute; + cursor: pointer; + text-align: center; + height: 20px; + width: 20px; + top: 4px; + z-index: 5; + opacity: 0.8; + filter: alpha(opacity = 80); +} + +.cke_dialog_close_button:hover +{ + opacity: 1; + filter: alpha(opacity = 100); +} + +.cke_hidpi .cke_dialog_close_button +{ + background-image: url(images/hidpi/close.png); + background-size: 16px; +} + +.cke_dialog_close_button span +{ + display: none; +} + +.cke_hc .cke_dialog_close_button span +{ + display: inline; + cursor: pointer; + font-weight: bold; + position: relative; + top: 3px; +} + +.cke_ltr .cke_dialog_close_button +{ + right: 5px; +} + +.cke_rtl .cke_dialog_close_button +{ + left: 6px; +} + +.cke_dialog_close_button +{ + top: 4px; +} + +/* +Dialog UI Elements +-------------------- + +The remaining styles define the UI elements that can be used inside dialog +contents. + +Most of the UI elements on dialogs contain a textual label. All of them share +the same labelling structure, having the label text inside an element with +.cke_dialog_ui_labeled_label and the element specific part inside the +.cke_dialog_ui_labeled_content class. +*/ + +/* If an element is supposed to be disabled, the .cke_disabled class is + appended to it. */ +div.cke_disabled .cke_dialog_ui_labeled_content div * +{ + background-color: #ddd; + cursor: default; +} + +/* +Horizontal-Box and Vertical-Box +--------------------------------- + +There are basic layou element used by the editor to properly align elements in +the dialog. They're basically tables that have each cell filled by UI elements. + +The following is the visual representation of a H-Box: + ++-- .cke_dialog_ui_hbox --------------------------------------------------------------------------------+ +| +-- .cke_dialog_ui_hbox_first --+ +-- .cke_dialog_ui_hbox_child --+ +-- .cke_dialog_ui_hbox_last --+ | +| + + + + + + | +| +-------------------------------+ +-------------------------------+ +------------------------------+ | ++-------------------------------------------------------------------------------------------------------+ + +It is possible to have nested V/H-Boxes. +*/ + +.cke_dialog_ui_vbox table, +.cke_dialog_ui_hbox table +{ + margin: auto; +} + +.cke_dialog_ui_vbox_child +{ + padding: 5px 0px; +} + +.cke_dialog_ui_hbox +{ + width: 100%; +} + +.cke_dialog_ui_hbox_first, +.cke_dialog_ui_hbox_child, +.cke_dialog_ui_hbox_last +{ + vertical-align: top; +} + +.cke_ltr .cke_dialog_ui_hbox_first, +.cke_ltr .cke_dialog_ui_hbox_child +{ + padding-right: 10px; +} + +.cke_rtl .cke_dialog_ui_hbox_first, +.cke_rtl .cke_dialog_ui_hbox_child +{ + padding-left: 10px; +} + +.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first, +.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child +{ + padding-right: 5px; +} + +.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first, +.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child +{ + padding-left: 5px; + padding-right: 0; +} + +/* Applies to all labeled dialog fields */ +.cke_hc div.cke_dialog_ui_input_text, +.cke_hc div.cke_dialog_ui_input_password, +.cke_hc div.cke_dialog_ui_input_textarea, +.cke_hc div.cke_dialog_ui_input_select, +.cke_hc div.cke_dialog_ui_input_file +{ + border: 1px solid; +} + +/* +Text Input +------------ + +The basic text field to input text. + ++-- .cke_dialog_ui_text --------------------------+ +| +-- .cke_dialog_ui_labeled_label ------------+ | +| | | | +| +--------------------------------------------+ | +| +-- .cke_dialog_ui_labeled_content ----------+ | +| | +-- div.cke_dialog_ui_input_text --------+ | | +| | | +-- input.cke_dialog_ui_input_text --+ | | | +| | | | | | | | +| | | +------------------------------------+ | | | +| | +----------------------------------------+ | | +| +--------------------------------------------+ | ++-------------------------------------------------+ +*/ + +/* +Textarea +---------- + +The textarea field to input larger text. + ++-- .cke_dialog_ui_textarea --------------------------+ +| +-- .cke_dialog_ui_labeled_label ----------------+ | +| | | | +| +------------------------------------------------+ | +| +-- .cke_dialog_ui_labeled_content --------------+ | +| | +-- div.cke_dialog_ui_input_textarea --------+ | | +| | | +-- input.cke_dialog_ui_input_textarea --+ | | | +| | | | | | | | +| | | +----------------------------------------+ | | | +| | +--------------------------------------------+ | | +| +------------------------------------------------+ | ++-----------------------------------------------------+ +*/ + +textarea.cke_dialog_ui_input_textarea +{ + overflow: auto; + resize: none; +} + +input.cke_dialog_ui_input_text, +input.cke_dialog_ui_input_password, +textarea.cke_dialog_ui_input_textarea +{ + background-color: #fff; + border: 1px solid #c9cccf; + border-top-color: #aeb3b9; + padding: 4px 6px; + outline: none; + width: 100%; + *width: 95%; + + box-sizing: border-box; + + border-radius: 3px; + + box-shadow: 0 1px 2px rgba(0,0,0,.15) inset; +} + +input.cke_dialog_ui_input_text:hover, +input.cke_dialog_ui_input_password:hover, +textarea.cke_dialog_ui_input_textarea:hover +{ + border: 1px solid #aeb3b9; + border-top-color: #a0a6ad; +} + +input.cke_dialog_ui_input_text:focus, +input.cke_dialog_ui_input_password:focus, +textarea.cke_dialog_ui_input_textarea:focus, +select.cke_dialog_ui_input_select:focus +{ + outline: none; + border: 1px solid #139ff7; + border-top-color: #1392e9; +} + +/* +Button +-------- + +The buttons used in the dialog footer or inside the contents. + ++-- a.cke_dialog_ui_button -----------+ +| +-- span.cke_dialog_ui_button --+ | +| | | | +| +-------------------------------+ | ++-------------------------------------+ +*/ + +/* The outer part of the button. */ +a.cke_dialog_ui_button +{ + display: inline-block; + *display: inline; + *zoom: 1; + + padding: 4px 0; + margin: 0; + + text-align: center; + color: #333; + vertical-align: middle; + cursor: pointer; + + border: 1px solid #b6b6b6; + border-bottom-color: #999; + border-radius: 3px; + box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; + + background: #e4e4e4; + background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); + +} + +span.cke_dialog_ui_button +{ + padding: 0 10px; +} + +a.cke_dialog_ui_button:hover +{ + border-color: #9e9e9e; + + background: #ccc; + background-image: linear-gradient(to bottom, #f2f2f2, #ccc); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); +} + +/* :focus/:active styles for dialog buttons: regular and footer. */ +a.cke_dialog_ui_button:focus, +a.cke_dialog_ui_button:active +{ + border-color: #969696; + outline: none; + box-shadow: 0 0 6px rgba(0,0,0,.4) inset; +} + +.cke_hc a.cke_dialog_ui_button:hover, +.cke_hc a.cke_dialog_ui_button:focus, +.cke_hc a.cke_dialog_ui_button:active +{ + border: 3px solid; + padding-top: 1px; + padding-bottom: 1px; +} + +.cke_hc a.cke_dialog_ui_button:hover span, +.cke_hc a.cke_dialog_ui_button:focus span, +.cke_hc a.cke_dialog_ui_button:active span +{ + padding-left: 10px; + padding-right: 10px; +} + +/* +a.cke_dialog_ui_button[style*="width"] +{ + display: block !important; + width: auto !important; +} +*/ +/* The inner part of the button (both in dialog tabs and dialog footer). */ +.cke_dialog_footer_buttons a.cke_dialog_ui_button span +{ + color: inherit; + font-size: 12px; + font-weight: bold; + line-height: 18px; + padding: 0 12px; +} + +/* Special class appended to the Ok button. */ +a.cke_dialog_ui_button_ok +{ + color: #fff; + text-shadow: 0 -1px 0 #55830c; + border-color: #62a60a #62a60a #4d9200; + + background: #69b10b; + background-image: linear-gradient(to bottom, #9ad717, #69b10b); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#9ad717', endColorstr='#69b10b'); +} + +a.cke_dialog_ui_button_ok:hover +{ + border-color: #5b9909 #5b9909 #478500; + + background: #88be14; + background: linear-gradient(to bottom, #88be14 0%,#5d9c0a 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88be14', endColorstr='#5d9c0a',GradientType=0 ); +} + +a.cke_dialog_ui_button_ok.cke_disabled { + border-color: #7D9F51; + + background: #8DAD62; + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#B3D271), to(#8DAD62)); + background-image: -webkit-linear-gradient(top, #B3D271, #8DAD62); + background-image: -o-linear-gradient(top, #B3D271, #8DAD62); + background-image: linear-gradient(to bottom, #B3D271, #8DAD62); + background-image: -moz-linear-gradient(top, #B3D271, #8DAD62); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#B3D271', endColorstr='#8DAD62'); +} + +a.cke_dialog_ui_button_ok.cke_disabled span { + color: #E0E8D1; +} + +/* Default text shadow used for inner parts of all dialog buttons (both in dialog tabs and dialog footer). */ +a.cke_dialog_ui_button span +{ + text-shadow: 0 1px 0 #fff; +} + +/* Text shadow used for inner part of OK dialog button in footer. */ +a.cke_dialog_ui_button_ok span +{ + text-shadow: 0 -1px 0 #55830c; +} + +span.cke_dialog_ui_button +{ + cursor: pointer; +} + +/* :focus/:active styles for dialog footer buttons (ok & cancel) */ +a.cke_dialog_ui_button_ok:focus, +a.cke_dialog_ui_button_ok:active, +a.cke_dialog_ui_button_cancel:focus, +a.cke_dialog_ui_button_cancel:active +{ + border-width: 2px; + padding: 3px 0; +} + +a.cke_dialog_ui_button_ok:focus, +a.cke_dialog_ui_button_ok:active +{ + border-color: #568C0A; +} + +a.cke_dialog_ui_button_ok.cke_disabled:focus, +a.cke_dialog_ui_button_ok.cke_disabled:active +{ + border-color: #6F8C49; +} + +/* :focus/:active styles for dialog footer buttons (ok & cancel) spans */ +a.cke_dialog_ui_button_ok:focus span, +a.cke_dialog_ui_button_ok:active span, +a.cke_dialog_ui_button_cancel:focus span, +a.cke_dialog_ui_button_cancel:active span +{ + padding: 0 11px; /* Thick button border must be compensated. */ +} + +/* A special container that holds the footer buttons. */ +.cke_dialog_footer_buttons +{ + display: inline-table; + margin: 5px; + width: auto; + position: relative; + vertical-align: middle; +} + +/* +Styles for other dialog element types. +*/ + +div.cke_dialog_ui_input_select +{ + display: table; +} + +select.cke_dialog_ui_input_select +{ + height: 25px; + line-height: 25px; + + background-color: #fff; + border: 1px solid #c9cccf; + border-top-color: #aeb3b9; + padding: 3px 3px 3px 6px; + outline: none; + border-radius: 3px; + box-shadow: 0 1px 2px rgba(0,0,0,.15) inset; +} + +.cke_dialog_ui_input_file +{ + width: 100%; + height: 25px; +} + +.cke_hc .cke_dialog_ui_labeled_content input:focus, +.cke_hc .cke_dialog_ui_labeled_content select:focus, +.cke_hc .cke_dialog_ui_labeled_content textarea:focus +{ + outline: 1px dotted; +} + +/* + * Some utility CSS classes for dialog authors. + */ +.cke_dialog .cke_dark_background +{ + background-color: #DEDEDE; +} + +.cke_dialog .cke_light_background +{ + background-color: #EBEBEB; +} + +.cke_dialog .cke_centered +{ + text-align: center; +} + +.cke_dialog a.cke_btn_reset +{ + float: right; + background: url(images/refresh.png) top left no-repeat; + width: 16px; + height: 16px; + border: 1px none; + font-size: 1px; +} + +.cke_hidpi .cke_dialog a.cke_btn_reset { + background-size: 16px; + background-image: url(images/hidpi/refresh.png); +} + +.cke_rtl .cke_dialog a.cke_btn_reset +{ + float: left; +} + +.cke_dialog a.cke_btn_locked, +.cke_dialog a.cke_btn_unlocked +{ + float: left; + width: 16px; + height: 16px; + background-repeat: no-repeat; + border: none 1px; + font-size: 1px; +} + +.cke_dialog a.cke_btn_locked .cke_icon +{ + display: none; +} + +.cke_rtl .cke_dialog a.cke_btn_locked, +.cke_rtl .cke_dialog a.cke_btn_unlocked +{ + float: right; +} + +.cke_dialog a.cke_btn_locked +{ + background-image: url(images/lock.png); +} + +.cke_dialog a.cke_btn_unlocked +{ + background-image: url(images/lock-open.png); +} + +.cke_hidpi .cke_dialog a.cke_btn_unlocked, +.cke_hidpi .cke_dialog a.cke_btn_locked { + background-size: 16px; +} + +.cke_hidpi .cke_dialog a.cke_btn_locked { + background-image: url(images/hidpi/lock.png); +} + +.cke_hidpi .cke_dialog a.cke_btn_unlocked { + background-image: url(images/hidpi/lock-open.png); +} + +.cke_dialog .cke_btn_over +{ + border: outset 1px; + cursor: pointer; +} + +/* +The rest of the file contains style used on several common plugins. There is a +tendency that these will be moved to the plugins code in the future. +*/ + +.cke_dialog .ImagePreviewBox +{ + border: 2px ridge black; + overflow: scroll; + height: 200px; + width: 300px; + padding: 2px; + background-color: white; +} + +.cke_dialog .ImagePreviewBox table td +{ + white-space: normal; +} + +.cke_dialog .ImagePreviewLoader +{ + position: absolute; + white-space: normal; + overflow: hidden; + height: 160px; + width: 230px; + margin: 2px; + padding: 2px; + opacity: 0.9; + filter: alpha(opacity = 90); + + background-color: #e4e4e4; +} + +.cke_dialog .FlashPreviewBox +{ + white-space: normal; + border: 2px ridge black; + overflow: auto; + height: 160px; + width: 390px; + padding: 2px; + background-color: white; +} + +.cke_dialog .cke_pastetext +{ + width: 346px; + height: 170px; +} + +.cke_dialog .cke_pastetext textarea +{ + width: 340px; + height: 170px; + resize: none; +} + +.cke_dialog iframe.cke_pasteframe +{ + width: 346px; + height: 130px; + background-color: white; + border: 1px solid #aeb3b9; + border-radius: 3px; +} + +.cke_dialog .cke_hand +{ + cursor: pointer; +} + +.cke_disabled +{ + color: #a0a0a0; +} + +.cke_dialog_body .cke_label +{ + display: none; +} + +.cke_dialog_body label +{ + display: inline; + margin-bottom: auto; + cursor: default; +} + +.cke_dialog_body label.cke_required +{ + font-weight: bold; +} + +a.cke_smile +{ + overflow: hidden; + display: block; + text-align: center; + padding: 0.3em 0; +} + +a.cke_smile img +{ + vertical-align: middle; +} + +a.cke_specialchar +{ + cursor: inherit; + display: block; + height: 1.25em; + padding: 0.2em 0.3em; + text-align: center; +} + +a.cke_smile, +a.cke_specialchar +{ + border: 1px solid transparent; +} + +a.cke_smile:hover, +a.cke_smile:focus, +a.cke_smile:active, +a.cke_specialchar:hover, +a.cke_specialchar:focus, +a.cke_specialchar:active +{ + background: #fff; + outline: 0; +} + +a.cke_smile:hover, +a.cke_specialchar:hover +{ + border-color: #888; +} + +a.cke_smile:focus, +a.cke_smile:active, +a.cke_specialchar:focus, +a.cke_specialchar:active +{ + border-color: #139FF7; +} + +/** + * Styles specific to "cellProperties" dialog. + */ + +.cke_dialog_contents a.colorChooser +{ + display: block; + margin-top: 6px; + margin-left: 10px; + width: 80px; +} + +.cke_rtl .cke_dialog_contents a.colorChooser +{ + margin-right: 10px; +} + +/* Compensate focus outline for some input elements. (#6200) */ +.cke_dialog_ui_checkbox_input:focus, +.cke_dialog_ui_radio_input:focus, +.cke_btn_over +{ + outline: 1px dotted #696969; +} + +.cke_iframe_shim +{ + display: block; + position: absolute; + top: 0; + left: 0; + z-index: -1; + filter: alpha(opacity = 0); + width: 100%; + height: 100%; +} diff --git a/sources/skins/moono/dialog_ie.css b/sources/skins/moono/dialog_ie.css new file mode 100644 index 0000000..af86642 --- /dev/null +++ b/sources/skins/moono/dialog_ie.css @@ -0,0 +1,62 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +dialog_ie.css +=============== + +This file contains styles to used by all versions of Internet Explorer only. +*/ + +/* Base it on dialog.css, overriding it with styles defined in this file. */ +@import url("dialog.css"); + +/* IE doesn't leave enough padding in text input for cursor to blink in RTL. (#6087) */ +.cke_rtl input.cke_dialog_ui_input_text, +.cke_rtl input.cke_dialog_ui_input_password +{ + padding-right: 2px; +} +/* Compensate the padding added above on container. */ +.cke_rtl div.cke_dialog_ui_input_text, +.cke_rtl div.cke_dialog_ui_input_password +{ + padding-left: 2px; +} +.cke_rtl div.cke_dialog_ui_input_text { + padding-right: 1px; +} + +.cke_rtl .cke_dialog_ui_vbox_child, +.cke_rtl .cke_dialog_ui_hbox_child, +.cke_rtl .cke_dialog_ui_hbox_first, +.cke_rtl .cke_dialog_ui_hbox_last +{ + padding-right: 2px !important; +} + + +/* Disable filters for HC mode. */ +.cke_hc .cke_dialog_title, +.cke_hc .cke_dialog_footer, +.cke_hc a.cke_dialog_tab, +.cke_hc a.cke_dialog_ui_button, +.cke_hc a.cke_dialog_ui_button:hover, +.cke_hc a.cke_dialog_ui_button_ok, +.cke_hc a.cke_dialog_ui_button_ok:hover +{ + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +/* Remove border from dialog field wrappers in HC + to avoid double borders. */ +.cke_hc div.cke_dialog_ui_input_text, +.cke_hc div.cke_dialog_ui_input_password, +.cke_hc div.cke_dialog_ui_input_textarea, +.cke_hc div.cke_dialog_ui_input_select, +.cke_hc div.cke_dialog_ui_input_file +{ + border: 0; +} diff --git a/sources/skins/moono/dialog_ie7.css b/sources/skins/moono/dialog_ie7.css new file mode 100644 index 0000000..148645d --- /dev/null +++ b/sources/skins/moono/dialog_ie7.css @@ -0,0 +1,68 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +dialog_ie7.css +=============== + +This file contains styles to used by Internet Explorer 7 only. +*/ + +/* Base it on dialog_ie.css, overriding it with styles defined in this file. */ +@import url("dialog_ie.css"); + +.cke_dialog_title +{ + /* gradient fix */ + zoom: 1; +} + +.cke_dialog_footer +{ + /* IE7 ignores footer's outline. Use border instead. */ + border-top: 1px solid #bfbfbf; +} + +/* IE7 needs position static #6806 */ +.cke_dialog_footer_buttons +{ + position: static; +} + +/* IE7 crops the bottom pixels of footer buttons (#9491) */ +.cke_dialog_footer_buttons a.cke_dialog_ui_button +{ + vertical-align: top; +} + +/* IE7 margin loose on float. */ +.cke_dialog .cke_resizer_ltr +{ + padding-left: 4px; +} +.cke_dialog .cke_resizer_rtl +{ + padding-right: 4px; +} + +/* IE7 doesn't support box-sizing and therefore we cannot + have sexy inputs which go well with the layout. */ +.cke_dialog_ui_input_text, +.cke_dialog_ui_input_password, +.cke_dialog_ui_input_textarea, +.cke_dialog_ui_input_select +{ + padding: 0 !important; +} + +/* Predefined border to avoid visual size change impact. */ +.cke_dialog_ui_checkbox_input, +.cke_dialog_ui_ratio_input, +.cke_btn_reset, +.cke_btn_locked, +.cke_btn_unlocked +{ + border: 1px solid transparent !important; +} diff --git a/sources/skins/moono/dialog_ie8.css b/sources/skins/moono/dialog_ie8.css new file mode 100644 index 0000000..1926e50 --- /dev/null +++ b/sources/skins/moono/dialog_ie8.css @@ -0,0 +1,24 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +dialog_ie8.css +=============== + +This file contains styles to used by Internet Explorer 8 only. +*/ + +/* Base it on dialog_ie.css, overriding it with styles defined in this file. */ +@import url("dialog_ie.css"); + +/* Without the following, IE8 cannot compensate footer button thick borders + on :focus/:active. */ +a.cke_dialog_ui_button_ok:focus span, +a.cke_dialog_ui_button_ok:active span, +a.cke_dialog_ui_button_cancel:focus span, +a.cke_dialog_ui_button_cancel:active span +{ + display: block; +} diff --git a/sources/skins/moono/dialog_iequirks.css b/sources/skins/moono/dialog_iequirks.css new file mode 100644 index 0000000..2f89fdf --- /dev/null +++ b/sources/skins/moono/dialog_iequirks.css @@ -0,0 +1,21 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +dialog_ie7.css +=============== + +This file contains styles to used by Internet Explorer in +Quirks mode only. +*/ + +/* Base it on dialog_ie.css, overriding it with styles defined in this file. */ +@import url("dialog_ie.css"); + +/* [IE7-8] Filter on footer causes background artifacts when opening dialog. */ +.cke_dialog_footer +{ + filter: ""; +} diff --git a/sources/skins/moono/editor.css b/sources/skins/moono/editor.css new file mode 100644 index 0000000..f3f65df --- /dev/null +++ b/sources/skins/moono/editor.css @@ -0,0 +1,69 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +editor.css +============ + +This is he heart of the skin system. This is the file loaded by the editor to +style all elements inside its main interface. + +To make it easier to maintain, instead of including all styles here, we import +other files. +*/ + +/* "Reset" styles, necessary to avoid the editor UI being broken by external CSS. */ +@import url("reset.css"); + +/* Styles the main interface structure (holding box). */ +@import url("mainui.css"); + +/* Styles all "panels", which are the floating elements that appear when + opening toolbar combos, menu buttons, context menus, etc. */ +@import url("panel.css"); + +/* Styles the color panel displayed by the color buttons. */ +@import url("colorpanel.css"); + +/* Styles to toolbar. */ +@import url("toolbar.css"); + +/* Styles menus, which are lists of selectable items (context menu, menu button). */ +@import url("menu.css"); + +/* Styles toolbar combos. */ +@import url("richcombo.css"); + +/* Styles the elements path bar, available at the bottom of the editor UI.*/ +@import url("elementspath.css"); + +/* Contains hard-coded presets for "configurable-like" options of the UI + (e.g. display labels on specific buttons) */ +@import url("presets.css"); + +/* Styles for notifications. */ +@import url("notification.css"); + +/* Important! + To avoid showing the editor UI while its styles are still not available, the + editor creates it with visibility:hidden. Here, we restore the UI visibility. */ +.cke_chrome +{ + visibility: inherit; +} + +/* For accessibility purposes, several "voice labels" are present in the UI. + These are usually elements that show not be visible, but that are + used by screen-readers to announce other elements. Here, we hide these + , in fact. */ +.cke_voice_label +{ + display: none; +} + +legend.cke_voice_label +{ + display: none; +} diff --git a/sources/skins/moono/editor_gecko.css b/sources/skins/moono/editor_gecko.css new file mode 100644 index 0000000..370ffff --- /dev/null +++ b/sources/skins/moono/editor_gecko.css @@ -0,0 +1,25 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +editor_gecko.css +================== + +This file contains styles to used by all Gecko based browsers (Firefox) only. +*/ + +/* Base it on editor.css, overriding it with styles defined in this file. */ +@import url("editor.css"); + +.cke_bottom +{ + padding-bottom: 3px; +} + +.cke_combo_text +{ + margin-bottom: -1px; + margin-top: 1px; +} diff --git a/sources/skins/moono/editor_ie.css b/sources/skins/moono/editor_ie.css new file mode 100644 index 0000000..504789f --- /dev/null +++ b/sources/skins/moono/editor_ie.css @@ -0,0 +1,71 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +editor_ie.css +=============== + +This file contains styles to used by all versions of Internet Explorer only. +*/ + +/* Base it on editor.css, overriding it with styles defined in this file. */ +@import url("editor.css"); + +a.cke_button_disabled, + +/* Those two are to overwrite the gradient filter since we cannot have both of them. */ +a.cke_button_disabled:hover, +a.cke_button_disabled:focus, +a.cke_button_disabled:active +{ + filter: alpha(opacity = 30); +} + +/* PNG Alpha Transparency Fix For IE<9 */ +.cke_button_disabled .cke_button_icon +{ + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff, endColorstr=#00ffffff); +} + +.cke_button_off:hover, +.cke_button_off:focus, +.cke_button_off:active +{ + filter: alpha(opacity = 100); +} + +.cke_combo_disabled .cke_combo_inlinelabel, +.cke_combo_disabled .cke_combo_open +{ + filter: alpha(opacity = 30); +} + +.cke_toolbox_collapser +{ + border: 1px solid #a6a6a6; +} + +.cke_toolbox_collapser .cke_arrow +{ + margin-top: 1px; +} + +/* Gradient filters must be removed for HC mode to reveal the background. */ +.cke_hc .cke_top, +.cke_hc .cke_bottom, +.cke_hc .cke_combo_button, +.cke_hc a.cke_combo_button:hover, +.cke_hc a.cke_combo_button:focus, +.cke_hc .cke_toolgroup, +.cke_hc .cke_button_on, +.cke_hc a.cke_button_off:hover, +.cke_hc a.cke_button_off:focus, +.cke_hc a.cke_button_off:active, +.cke_hc .cke_toolbox_collapser, +.cke_hc .cke_toolbox_collapser:hover, +.cke_hc .cke_panel_grouptitle +{ + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} diff --git a/sources/skins/moono/editor_ie7.css b/sources/skins/moono/editor_ie7.css new file mode 100644 index 0000000..8079504 --- /dev/null +++ b/sources/skins/moono/editor_ie7.css @@ -0,0 +1,213 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +editor_ie7.css +=============== + +This file contains styles to used by Internet Explorer 7 only. +*/ + +/* Base it on editor_ie.css, overriding it with styles defined in this file. */ +@import url("editor_ie.css"); + +.cke_rtl .cke_toolgroup, +.cke_rtl .cke_toolbar_separator, +.cke_rtl .cke_button, +.cke_rtl .cke_button *, +.cke_rtl .cke_combo, +.cke_rtl .cke_combo *, +.cke_rtl .cke_path_item, +.cke_rtl .cke_path_item *, +.cke_rtl .cke_path_empty +{ + float: none; +} + +.cke_rtl .cke_toolgroup, +.cke_rtl .cke_toolbar_separator, +.cke_rtl .cke_combo_button, +.cke_rtl .cke_combo_button *, +.cke_rtl .cke_button, +.cke_rtl .cke_button_icon +{ + display: inline-block; + vertical-align: top; +} + +.cke_toolbox +{ + display:inline-block; + padding-bottom: 5px; + height: 100%; +} +.cke_rtl .cke_toolbox +{ + padding-bottom: 0; +} + +.cke_toolbar +{ + margin-bottom: 5px; +} +.cke_rtl .cke_toolbar +{ + margin-bottom: 0; +} + +/* IE7: toolgroup must be adapted to toolbar items height. */ +.cke_toolgroup +{ + height: 26px; +} + +/* Avoid breaking elements that use background gradient when page zoom > 1 (#9548) */ +.cke_toolgroup, +.cke_combo +{ + position: relative; +} + +a.cke_button +{ + /* IE7: buttons must not float to wrap the toolbar in a whole. */ + float:none; + + /* IE7: buttons have to be aligned to top. Otherwise, some buttons like + * source and scayt are displayed a few pixels below the base line. + */ + vertical-align:top; +} + +.cke_toolbar_separator +{ + display: inline-block; + float: none; + vertical-align: top; + background-color: #c0c0c0; +} + +.cke_toolbox_collapser .cke_arrow +{ + margin-top: 0; +} +.cke_toolbox_collapser .cke_arrow +{ + border-width:4px; +} +.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow +{ + border-width:3px; +} + +.cke_rtl .cke_button_arrow +{ + padding-top: 8px; + margin-right: 2px; +} + +.cke_rtl .cke_combo_inlinelabel +{ + display: table-cell; + vertical-align: middle; +} + +/* + * Editor menus are display:table-driven. IE7 doesn't support this approach, + * hence this position&float hybrid fall-back. + */ +.cke_menubutton +{ + display: block; + height: 24px; +} + +.cke_menubutton_inner +{ + display: block; + position: relative; +} + +.cke_menubutton_icon +{ + height: 16px; + width: 16px; +} + +.cke_menubutton_icon, +.cke_menubutton_label, +.cke_menuarrow +{ + display: inline-block; +} + +.cke_menubutton_label +{ + width: auto; + vertical-align: top; + line-height: 24px; + height: 24px; + margin: 0 10px 0 0; +} + +.cke_menuarrow +{ + width: 5px; + height: 6px; + padding: 0; + position: absolute; + right: 8px; + top: 10px; + + background-position: 0 0; +} + +/* Menus in RTL mode. */ +.cke_rtl .cke_menubutton_icon +{ + position: absolute; + right: 0px; + top: 0px; +} + +.cke_rtl .cke_menubutton_label +{ + float: right; + clear: both; + margin: 0 24px 0 10px; +} + +.cke_hc .cke_rtl .cke_menubutton_label +{ + margin-right: 0; +} + + +.cke_rtl .cke_menuarrow +{ + left: 8px; + right: auto; + background-position: 0 -24px; +} + +.cke_hc .cke_menuarrow +{ + top: 5px; + padding: 0 5px; +} + +.cke_rtl input.cke_dialog_ui_input_text, +.cke_rtl input.cke_dialog_ui_input_password +{ + /* Positioning is required for IE7 on text inputs not to stretch dialog horizontally. (#8971)*/ + position: relative; +} + +/* Reset vertical paddings which put editing area under bottom UI space. (#9721) */ +.cke_wysiwyg_div +{ + padding-top: 0 !important; + padding-bottom: 0 !important; +} diff --git a/sources/skins/moono/editor_ie8.css b/sources/skins/moono/editor_ie8.css new file mode 100644 index 0000000..9862024 --- /dev/null +++ b/sources/skins/moono/editor_ie8.css @@ -0,0 +1,27 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +editor_ie8.css +=============== + +This file contains styles to used by Internet Explorer 8 only. +*/ + +/* Base it on editor_ie.css, overriding it with styles defined in this file. */ +@import url("editor_ie.css"); + +.cke_toolbox_collapser .cke_arrow +{ + border-width:4px; +} +.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow +{ + border-width:3px; +} +.cke_toolbox_collapser .cke_arrow +{ + margin-top: 0; +} diff --git a/sources/skins/moono/editor_iequirks.css b/sources/skins/moono/editor_iequirks.css new file mode 100644 index 0000000..2376992 --- /dev/null +++ b/sources/skins/moono/editor_iequirks.css @@ -0,0 +1,79 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +editor_iequirks.css +=============== + +This file contains styles to used by all versions of Internet Explorer +in Quirks mode only. +*/ + +/* Base it on editor_ie.css, overriding it with styles defined in this file. */ +@import url("editor_ie.css"); + +.cke_top, +.cke_contents, +.cke_bottom +{ + width: 100%; /* hasLayout = true */ +} + +.cke_button_arrow +{ + font-size: 0; /* Set minimal font size, so arrow won't be streched by the text that doesn't exist. */ +} + +/* Bring back toolbar buttons in RTL. */ + +.cke_rtl .cke_toolgroup, +.cke_rtl .cke_toolbar_separator, +.cke_rtl .cke_button, +.cke_rtl .cke_button *, +.cke_rtl .cke_combo, +.cke_rtl .cke_combo *, +.cke_rtl .cke_path_item, +.cke_rtl .cke_path_item *, +.cke_rtl .cke_path_empty +{ + float: none; +} + +.cke_rtl .cke_toolgroup, +.cke_rtl .cke_toolbar_separator, +.cke_rtl .cke_combo_button, +.cke_rtl .cke_combo_button *, +.cke_rtl .cke_button, +.cke_rtl .cke_button_icon +{ + display: inline-block; + vertical-align: top; +} + +/* Otherwise formatting toolbar breaks when editing a mixed content (#9893). */ +.cke_rtl .cke_button_icon +{ + float: none; +} + +.cke_resizer +{ + width: 10px; +} + +.cke_source +{ + white-space: normal; +} + +.cke_bottom +{ + position: static; /* Without this bottom space doesn't move when resizing editor. */ +} + +.cke_colorbox +{ + font-size: 0; /* Set minimal font size, so button won't be streched by the text that doesn't exist. */ +} diff --git a/sources/skins/moono/elementspath.css b/sources/skins/moono/elementspath.css new file mode 100644 index 0000000..3bf10d6 --- /dev/null +++ b/sources/skins/moono/elementspath.css @@ -0,0 +1,76 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +elementspath.css (part of editor.css) +======================================= + +This file styles the "Elements Path", whith is the list of element names +present at the the bottom bar of the CKEditor interface. + +The following is a visual representation of its main elements: + ++-- .cke_path ---------------------------------------------------------------+ +| +-- .cke_path_item ----+ +-- .cke_path_item ----+ +-- .cke_path_empty ---+ | +| | | | | | | | +| +----------------------+ +----------------------+ +----------------------+ | ++----------------------------------------------------------------------------+ +*/ + +/* The box that holds the entire elements path. */ +.cke_path +{ + float: left; + margin: -2px 0 2px; +} + +/* Each item of the elements path. */ +a.cke_path_item, +/* Empty element available at the end of the elements path, to help us keeping + the proper box size when the elements path is empty. */ +span.cke_path_empty +{ + display: inline-block; + float: left; + padding: 3px 4px; + margin-right: 2px; + cursor: default; + text-decoration: none; + outline: 0; + border: 0; + color: #4c4c4c; + text-shadow: 0 1px 0 #fff; + font-weight: bold; + font-size: 11px; +} + +.cke_rtl .cke_path, +.cke_rtl .cke_path_item, +.cke_rtl .cke_path_empty +{ + float: right; +} + +/* The items are elements, so we define its hover states here. */ +a.cke_path_item:hover, +a.cke_path_item:focus, +a.cke_path_item:active +{ + background-color: #bfbfbf; + color: #333; + text-shadow: 0 1px 0 rgba(255,255,255,.5); + + border-radius: 2px; + + box-shadow: 0 0 4px rgba(0,0,0,.5) inset, 0 1px 0 rgba(255,255,255,.5); +} + +.cke_hc a.cke_path_item:hover, +.cke_hc a.cke_path_item:focus, +.cke_hc a.cke_path_item:active +{ + border: 2px solid; + padding: 1px 2px; +} diff --git a/sources/skins/moono/icons/about.png b/sources/skins/moono/icons/about.png new file mode 100644 index 0000000000000000000000000000000000000000..d36b8a1a50c401fe279e3cf150a3640d72b35012 GIT binary patch literal 1101 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7v$&^=V~E9R-$}L}#o;o? z<`=);Dc|YoqY@P4`}%j%4#tnGHLmJ(O>S=DlikF!|CUpGS!so=Rf*6nzG;486VK^c zu`*e)NZT^u+V89164oH$q< zUz|Jla89!!+cAlp+waab70(Rf^3oJ>ZM^^f_~FBc*Dnp~oPIhrPHXC|w#1s}WxEwm z8>x6QEfra$(bUu1+bF=~#G$d2gRObTzJ1RwW{4~d;E?NQ?{#BtOMLL}-@X-@w~k-G z9=>Pq-clKsX2&nzz8!k~_0Z#w3e!)|J$L?maz+Nnw%qh-)25x%IlW6(QqoaJ>~}$B z<j`@!W`uU6R$aMWBV-7Ck{ z`s?2P`v)bMJ=G=~_zF);O-xT`?{ryoR${f<WmCFJ5Tm+-}Rg&7dGJEBlxE0LzEdj~^?S#JVrO=wLScZ&G3+<0hTM&p(%P zPE6X!an91>IRnEniFxzq7uMDFUA`Q=BuG=E>(lKwZ{GMfIxq+e3oo5MefoJ-&sPB% zX0z`epHsXgN>@f+{_&G1EZetlumASt%bM@szbi}dEQ(t%ZamZH*MkQSqNkr`^_=9O zbNbb^r8jdPefS{ovP5cH>cSX3bESzL>+j|%%k|IC&&jFTyLa!~sJOVc(@%ln|K$Jv z_wU{<3eYII^tNSs;qJQ|U6dx?zH`UMXK7Hq#oYiAR$vTSC7wBRCLt?}t8TyiA`K=6 zJs|M8{KqSBiagL6n}PBBp=$4kpEVOyR$fjx{_ns62Cb=H+ov)(XofO3Hbkur+aD7h zefrtw%AWpyWwGwWf&zgi1&0!rM;|SKiQu`+vdpByLcvz2hbl6B&eNXehlKv!8MXG& zyLWuy;o%XHkuTRg;PCPHUmUi2Vch!1FJE%Le*JpJoH<*vw$56UdF%egj4g-nK77BU zgvG?ydG*y-+djQ{!&6*bTzc$AdXqxTvdb^|zW)y^Vfn{;YFo@a?FDTsfw@Mt#5JNM zC9x#cD!C{XNHG{07@FxCnCTiBh8S2{85mg^8)*Yc1B3gO-1AU0SIA$cEtjw370~qEv?R@^Zb*yzJuS#DY}4{G#;P?`))iiWody{an^LB{Ts5XUN}@ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/anchor-rtl.png b/sources/skins/moono/icons/anchor-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..a07d34ee25dbd80601dd6d514a9cf50878995606 GIT binary patch literal 893 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7le?#jV~EA+xsx|~M?1y8ABx6S`t0hUoS3{+0Wb5uym>FBa3sTR&(Xe&CT~AWM7HMi z(=u{$%Np7aCw_hKAfd3n{=f1Ez5s@$K`W=9ep*pe?!zn5~%_Dd&! zu;G8e{K417?r338$AuiTl_6Sx7cW-sF+88U_4ZqnPX!h!>FMbozkK;}{?{+7dCwpI zwwvk0CYWd-QBYXuxHW3&<(C#qr<_PI@Mx4w4&s~leBl(YgObTRcI|rf}9+In$>j*`CZ)#)MYuRlL_H0k2i*QGzXT^3s2)c@Bh225qDC9V-ADTyViR>?)F zK#IZ0z|c(Bz)aW3FvP&p%D~9V*hm{l8W`NKE rrERK(!v>gTe~DWM4fgP?N? literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/anchor.png b/sources/skins/moono/icons/anchor.png new file mode 100644 index 0000000000000000000000000000000000000000..2d2f91db771baff1b97f49bb21dcb9b0c967facc GIT binary patch literal 913 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q?#dxV~EA+sgv!!jUy$F z)_*^jVpKnebNwPsGp*BNO&6+q(0j9qJ+E-b_j%9fRPR`IH}A8cmu6Xc`OY0XepDLGGXR<}#&fU9zKYjJe%goH|-;FzWYHF*hCOv=t z{62fLqjHy0&HZ!(i9a8{eN!uxS*a6dCE$mOTtzk{q@T#D*Kbo^03v0v(GXV zJfGZSxMN*(ZjDRiw5d1dbaSkG{U|EiUiP2$fBhZ*zaO$^=`j?&7!^EC_1Fym`~_Rx zG(%lyEDl>;TlSz*?(xSNI;T&3{&Py=bMhpW*ZbZ-u9S;LCI%% zaMz*(5{Li(wf+73_rbGg&sNJE&sbaN+VWGX*KJAWsaLPGw6(P@`kLSW?%=oIGCCg z4&1$Ui|N6qPm|)-hlgH&|NUi&6+=ylrc&rqFU>1oznU`ajq|@`@;Bs5%!m6Qcr65E zAK7nqSOrXZswJ)wB`Jv|saDBFsX&Us$iUD{*T78I$S}mf(#pWd%GgL7NE#U2ujHPG zq9HdwB{QuOw}y2po0WhXBtbR==ckpFCl;kLl$V$5W#(lUCnpx9>g5-u&wghk1ysb~ M>FVdQ&MBb@0D{qkfB*mh literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/bgcolor.png b/sources/skins/moono/icons/bgcolor.png new file mode 100644 index 0000000000000000000000000000000000000000..549f0fa74831b21656e5acfca2a599d1602f7aff GIT binary patch literal 1005 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7({@i6#}JFtslm1$(SaiW z-tjB`Q|UUn+E7cXrfWsOghvVzN49h*_$}qr)k_mF+97sir7Y9bN7FVs>y&VAWm)ns zAZANYh`@BA70w%7J)Uq*eP+A&{XD*3PFvXdWZwP!{jPlf>0iHo9k66i=IJr42$K~S zT-Dp*;Bq0#`Pbh%85x-a20gy#em;Jcq`yw?m}UFxUD7vm%4!l58Fl3P7YAs(;o;-s zJDy}{aLmD_AXeNg((0b16>nTfYCy`SZs+S2$S+ zI&v_++Zg$F`t<1%($dw|#>UMF1|1nDzjnpw{V$CD?k6kgxNBW?d+Ab`lDuFc+bZB^GU2T2n zp#czCSy@du|9n1U#f2L;DhgH$duSd^OHWUX3|kqY)264Vmk=rT>h)nWt zjQlzAWJ<%{y|(W~?Jo7k3J1>Y_;>H~r`)~{4fZ=<{xSPb*zafjxpyxxRjZb`MwFx^ zmZVxG7o`Fz1|tJQGhG8ST_eK~14}CdBP(MgZ6Il2aKDm!9*TzC{FKbJO57UOsccpP xYLEok5S*V@Ql40p%1~Zju9umYU7Va)kgAtols@~NjTBH3gQu&X%Q~loCICz+n!f-5 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/bidiltr.png b/sources/skins/moono/icons/bidiltr.png new file mode 100644 index 0000000000000000000000000000000000000000..8a11ec50198b7bca4f72cd3065139c8d3e0261b8 GIT binary patch literal 954 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q;VmIV~EA+(#hw&r5#0% z@Bf^3EcW`zel1VG&P@s$j=dF^vKMwt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inC5YMy9w-r4J?XhNizm*%>4>*{pGy64ASSDos$ zasPh*r9qBfosTUf+74d6EX>c(|DGYKv{dx4!HVmzt5Q>24R|W6s}FC>4P1Zy>%)hN z?Ck7Lnn&Ng)9ZC(R&?Q+a5HC`kD9aI^u@Q|KKgCP5S8t7IiSe##kALj(+`W`uzFxAN%~xW-q<`^1&{>w`H?;?zA+T$+Ioj*wpms&6|;_>FLiGg=lTu zv!~}mRPfrc&P5vkZWrxb)8E&3PsvQH#I0eS%4Q{?21$?&!TD(=<%vb9 l4CUqJdYO6I#mR{Use1WE>9gP2NC6cwc)I$ztaD0e0stdwr>Fn` literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/blockquote.png b/sources/skins/moono/icons/blockquote.png new file mode 100644 index 0000000000000000000000000000000000000000..61d8fd39d0b3c550a0e64d2891b2d9456bd1170c GIT binary patch literal 1126 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7vw^3JV~EA+*vbAL+UX)k z&zpa)eLQ2P%H%?YlL;Mu2Y>KS(dh3IFyOFT(!Ir7QBP}qbh$3$!QRumHr&=y+La}y z=fb10h|RHut*ckSQ6s~^DR8oRB9rH{*Ne_NSCvh#KHtCDV)~IJLxzUeyB^GGF7E5I zcrL)g*did{^dWBU%%XFS9E}Pb@jn0AOBvoP&XvApSkCbN@{V=CkN&XpOn<&hkHt$< zB6-1-MKOBy!8&5Kn{=EfsRVdAYPPC)PEg^Dj*eatq9w2D$&}2~V>qG0rq5~N1!=BU zIiJfdxwk8-tE*)tBrd%EYQ>=lRQ>(?_x-C^NnJPL_4oI$sH>BkKV!y^<|-RGm&F$! zrxG5aJpFgg9nu)=puX*$4&ED&;uMUcwmKb?W z;knG#DBczU7AD4)!w=t!y6zNk72Lab?|rGZ#;mPeP8=?QM?QSm@aX$*#S@!)+S}Xx zx8)w*mTS?+e7x|(uV24zpFGLwv{2yK@#FP*CQ>V|X05pXx2 zT)6PiuU}TmEh>5W`4{uH7uMDN6JGjdbLOlL7o{6FZd7d6d7W%GKY!;s?Hk)_&5VsV zD`(7NJ0@W?^USGFpFUk*8^%4=i*?t!dI?$Cqc?6y@EksH>(;Gfj~*#iR#qoX^wGp7ovLr5Y0(t2ot5ajxIt_usc)dTH`} zj{Vv-YZRuRe)#K`R7hy3!LeuW-o4w@wdl{(^Uv#jRD?cM?X|G7YC8V-;JbJ0N^5Fj z=FFXYHf{6Gt-vVUf1f`z)G=tKNYX|LH#fJ0NU^4a3N?1}E`cs;lNlLYlmuri>r61< zh`s*sYt_S#6$+<6?ccvZgNvz=p(M8b{B!5>a&w^1R$bMSNDdHTowaP?^5yJpi4K=d zG`g4~r+wt-eduIkr{`$~%ucE$t`Q|Ei6yC4$wjF^iowXh&`j6BOxMUT#K6+Zz{twj zNE=8R7~HSqo`<3#H$NpatrE9}bt;>cfEpx0HU#IVm6RtIr81P4m+NKbWfvzW7NqLs W7p2dBXCnnv#Ng@b=d#Wzp$Py!57s#V literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/bold.png b/sources/skins/moono/icons/bold.png new file mode 100644 index 0000000000000000000000000000000000000000..885e91660a8ef0f5a032fdd40641a16c824184a3 GIT binary patch literal 985 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(_&8-#}JFtt--$D(t#qj z<@aW*ScPQqXjn*@3SDuU?dW|WR--uLw;(e1#iF21+S?u+ z(qdiM>eLj)%h9+Olv=_2y&zn5mK0>=T% z=MNVz%T!P@IQCD8t4V>ybauyq#TPRy)?`Ypy85a$=+!;}B^JSnEFTi9tAD?|b4RA; ze!IY<^Vc3feylj7m`~|fUgS0B^PdYUD><*1KKyN$bNkrEi-LZBeqT0jGz9XOOi5s7 zW_~cIxtK5Zdf@u&^S5u`UOs>R{N&tRUSnfp4;7*L+EcyiwWc0=`7-mA$=UBchA(#U z)rHGwsRY#XP9*L_3>@ryxG{sf48Vd~!vJRqV;9MU|SW)22~ z7zg9|&jIVNADkMry(ZMlk%RGiX=3Cx@!Q*YmtIl6UTSD)_>twn=Ae~ZZe^G}sJv%- z@T_pn{rq*e84{Qr^rrtdv$C4idHnJFsOaeM?5(%v@1Jls%~@J9dBxSN_{k@qBp)wK zh!p$!_3OeIy~V3nzrOnJ-8*R|r;QPB&OQGedhX{|Zm*RamQHyv=kbpp67B8nH}2eV z$zKU}F&HViQ?JTpFCDzy5-@2kW(Zj*3Q-MP-=DMyZSL?qVv)_fu z$;@qu2Ml;F{Q6bp!N9P2^JcS#>i--M^cnQa%F4Rh5*5U{9j}*OIC${jS_|twVKrff zq>T|C_s)2$2sN&IozU~pynlLvR856g5-^YD+41dVmmtT}V`<;yxP!WTttDnm{r-UW|PzI5@ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/bulletedlist-rtl.png b/sources/skins/moono/icons/bulletedlist-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..617096f4db39e90929dc3fb11eb3cb2542d44939 GIT binary patch literal 814 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7;}1_4#}JFtt&{ezdK4gV zY=5zZmS@)l(VkAJqxJ&p6_PeaM{(?HYu(GQ%<)S5Mt8*0&<)1o-MM>ivrNfW)R;A6 z^U*vfymmezB+&^Bo|M=Uo-%1aD|C4X@TH16nh8TuYynRWKr?)SeJ?2O@i{`u$h*Sj9fX@9v(@7(jx?aMMJq)I+5x|z2% zDr0Mu##FCuI;VjmCKEjx1e64wKB%Y$iY#2E#dFxfM$X+vu02uWM2gXgr$q^Ei4Dd7 z-pY%qEWfNNk^JIo)#{B4bj?Ld@erOXZhs`DxAC4-CmY?$i#Qa<;>_wDjt)*NG(?2 z@K_oYAfhS~F2cHNo$~CnO>7d2Z!6E#5#d^KHA|xZ`02ZO-*?`AYv;cB;;Ojyi!Ww0 zdAd<{8CCH+$*>Cx0*2g(!(Scr$ea9aMw*)c)Jy~MgCBRU}ykV`zmK|%F zPXm*MYKdz^NlIc#s#S7PDv)9@GB7mLH89gPG7K@Wv@$TVGB(l%k_HC%E4k;PXvob^ z$xN%ntzn(YW+k8oNstY}`DrEPiAAXl<>lpinR(g8$%zH2dih1^v)|cB0TnTLy85}S Ib4q9e0A1fklmGw# literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/bulletedlist.png b/sources/skins/moono/icons/bulletedlist.png new file mode 100644 index 0000000000000000000000000000000000000000..6bef9a524ed595e1f375d7b021f3a092161e470c GIT binary patch literal 811 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<5y1?#}JFtt&?}3dgLI{ zc3EMi9@5Ssl7^jyE^kKexK zoqW>e$3FgZKc8=uY}Pp~!NaDKIg8Erazf;^+j-kB=4}sL8y4$(dBW+Z1$Oi6fhrYU zB=)_3Tx0iNXR6l(ucbmOOt3HoF*4WwFQ2^mX3Jv>iC#DD^Pm0ZJ)e8*@yAUUGZqA`+;hxguAd+a z?qJs{O^N$lfsW9JMQKk4(GcVvr=X9Np_+00sojL&Ex43;P?6s zOcSalt`Q|Ei6yC4$wjF^iowXh&`j6BOxMUT#K6+Zz{twjNE=8R7~HSqo`<3#H$Npa ztrE9}bt;>cfEpx0HU#IVm6RtIr81P4m+NKbWfvzW7NqLs7p2dBXCnnv#Ng@b=d#Wz Gp$P!~A4GEi literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/button.png b/sources/skins/moono/icons/button.png new file mode 100644 index 0000000000000000000000000000000000000000..c0f2fcc2a9d602539a2489d224a0d71e10ac34cf GIT binary patch literal 637 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7qr0bzV~EA+rIQ`A4kZY* z?*D1**~7I^@0HzybzZ-? zv$NI8k<&iPuP|g|5Ik62AAY%XEt_LQhk_D=x#zmqd%kDL9AEM3@apRKh36CxTuv~! z(b-|A#JJ-7@4uV*+7F+9S+eSH-T&EBqBTwjiFY4e-go@*bQRAVIc6cDrQ(ep3s(84 zO%{J!V#OfC$9~9QN$FFu#^S!b?cHIat^zDqN_#u*xEAo*&Oa~H@BV7nzqHG?dRxri zO*{Q`v*ELcFEeMoOW7N@|7_ak{KSvs|R{sKhEzgmqS`08-nxGO3D+9QW?t2 i%k?tzvWt@w3sUv+i_&MmvylQSV(@hJb6Mw<&;$T?ANc!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7({@i6#}JFtrIQbOtGG)X ztq;A+ckaX&ld6jnt(=>?c5OMCR3grQ&a3*wvqu+$4b=O8sjGwsUa)sycDmBMn|rGNWR zNlczM_ujN1r4|RT&eX_~cmKCLWcLPftu;L+@n+pRJ)P4^lTR+05cIFx^SS9-(?F4> z0bYsEi!6<1@+3;sy|g&j8q}rYd1;{^r{acO>C>Bb?B4x5tE}wXb&akKvd0(h-aUKa z!iC*;@7^`v_uilRm;7d_4o21+%a<<~KYjYN_`26!?d|MK9$P&5TxoOu@b|y{4w4nD zHQY7Kdsya$YE6CLc=6}YpZxQlPdxv;P=qBeehtxjF~eR252x`$S~Ql zXHQCU@?mKSi60ko%<3Z|BY%GU_wOEuVoMO0v`1*J+3YuO-x?YkI!d%LusD9Gsj2z1 z_IV|X;{@|#3#NFrPLsX3<=U1g-M;?*{T3D$295$XvMdKDZ``#3)oZpi(;`{YT_O*h|EPEzUV=}}nv=jDeFAD({uRu-t~+U|O4 z!Qn%tv5zd|UcY>KQ(jJPS%i+#(mR$`R$A}hzZd`g>(`Eb`~1!>nc}3Qr^h64eB(=? z=-$11*Q{Uv|Jm<<*2z69uV$U!zHQsQw9S!+44!=ZCUziVnre%H$MsT85w0z_bIZ!g z<^dfY79Otd=jX?kwe?ndc6PS^>#tT3TEv+^6RK@PQ$4X;kuDj;s_$R8{qB zdTVRzOpCs!%OzhtIU>tvz)Te-nnyUwnkSR!+z#^8!P?; zOezWudJl>pe0^+msToy!{dUI4G0NF(++5-E{pQV^$AeZ*VSDTUxZ1CV!EK`m zFjcFTxJHzuB$lLFB^RXvDF!10Lo;0iGhHLY5Ccmq10ySABW)mQU~s>Zdmf60-29Zx zv`X9>)~Re(0&0*1*$|wcR#Ki=l*&+EUaps!mtCBkSdglhUz9%kosASw5re0zpUXO@ GgeCxrZn|Rt literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/codesnippet.png b/sources/skins/moono/icons/codesnippet.png new file mode 100644 index 0000000000000000000000000000000000000000..6493f6f9366e74b309cab0240621ebb438b111cd GIT binary patch literal 827 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh76RW3-V~EA+-pPj9N`WG+ z=WCUXmD1#lokWrnPACx4YPofeEZhf`mdsRIA`!s6t?abk zlE|5fv*ua|mp#ifRCy!hs4sJ__Rgc4JKyED-p*xUFiyU$w5UJM#?G#2Y0$wEtEbJ) z&AoQB&+Z6X`QYcznX9jA9eMp)yX&Zu&H3gjLi3&1X? zJW@DENTaJs#dDid$76|AtCV=0Q;cR#QSh9!_EINDqJ-1+(u`SbiY{IXEjP60&NQ6q zlQ2tdk%rUCkXt?l)z#k32OBz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P)hg zeO{j5@A*A{-gDv58x_Z1IEEldMX-^H!2P)W9XSmDRgNc{;r6`AwwldqkD26kfcQnV z8=yg%?*$RSi^BugK|O*Tu9BjyW-E7^5>(mA+dfW9)*u=|>Q7l3FC>78c7t9?@nOGz zHHV>+=)+pv9KmTch)azr9WLN%tPIz#Va1bO#5|oQT_ZJ4E z>0%ERVH);hLCc55O;e+AJef>7lhsaD@5M=v$Ac3t+~smW4~H?Vn7rjsjFTk>1{i`a zX{MwqsLjZCtAnNwgGwK!AZrJ-im_iNSTNk;HJo%3c1k5jj{9#{Sw8SK%m{d-_g{&P z=&%Ox2r$$^U4V`2IcbN|C|U=+sp?Tx?Jrd^99K=%h^rb()5WTxRU9u!ihcQV5yf#- zP%%ti5kQdfVUWiuNh0O)yO}zc4bTlP4@t7_0R0-_r)z1phOP?`3{k=|sxT-6#VldP zM_9Tn)*c91gOM4aOG7|x&{Y{NCQeD^wRp<%?PJCATKr|PI2421?fpl)OIL7)?Bl`k zLgQfkfdXe09apNUs+k%+1c6J+ENrHoldv3 zw2X|5EH5uFEiFw?PcsZNH8r)iwzj*wJ1{UXJ3HIg*SER3IX5?#&*w)+M;8|tCnqNt z78VkT#QgkxHk-99OAv%iCIc02T)!Yg!L?>2)C|r4v5@0!nGYdFI>`8=){XwLYfqmg z5a!btFNJd-yp{bK@fHeF&*#khcf7w{{Vsp;uS22p6yU_MUvE`z3_bVl*xH#p-g`fe zSAO5`J^I*{_nx|ThW_}-g-=f0eY5HQ(Mx|msQziEZr0+59!IWTekuP<>?RK-Awf38d=cn6`!_&T`ZWLm literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/creatediv.png b/sources/skins/moono/icons/creatediv.png new file mode 100644 index 0000000000000000000000000000000000000000..79d5bb5a05d1812d05d3763424ffa4b2e75c68f2 GIT binary patch literal 1128 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7vyrEZV~EA++KJX4#pw)f z^WV>j@pExieZth`x!}ifX{j}mZxnWPbceiHxPy!DZjAK}*IZX~als|c9j#71Ub8cn zJ8i0Pv=&|M;&@T(;*}SkJm02)46>w2ZV}VHqjL8 zzOn7>|AQBA+~`=Ou_H#0kB@IjqQr_-r%s&c2oP!AyxCZ?)5S$^`s9foE(|d-F((Qv zbQoIJy zjp?U1?c5o;XYbyRA3iAfUKWw-ci*>nFX!^hnm`W2{G#Lau|Ahw0!6%*3I%yBnPMTs zr*rzy%aWu>v93i736WxQ{p<{`UY)tOBc{1-jZ&R|K3GR=qt5HvGq-L&v!q5{aU+g(Sx$xl~q-T-hVGHEp>HvX729pUa?AxG3Rz#ZSCA& zzp9SBdGluXfrAGd@7%k`=HPYm)2B@y%P$ud6a0$0}UNVlYacIo3d`5 z-mcxdU%q*hlAZlJHYYdNw_}RR>j1{ z85tWdW;%80(xl4r^5bXDoM~9K>i+F*e|Z<=<>mb=tf)Bg__4CNxp_y0P2aN29e4A- zefu^mDk@5D-u(IJj~_c`w|nQ#hkyRW{Hn3rbn}h)*|TS7dM#~Q_xjO`7cU+cZ{508 zqwCPUdvVbkB2_>~{ukkDT{LAKP zU2Q$pt2IXNyR(H%T20NL?GGO&-hKR0fP-b53?F-Oaq<4LvNENX71vAup3mC)E3v5P z)9Zx`7tWtjVdEDcFF$?ybR`k4r^}Wt+jr~k-QMz&5&<4Id;O_iTefbk{r>3_(}&L| zPo8Xl`SRuQ%a<>E<>%|m$jeVYnc|@$PsvQH#I0eS%4Q{?21$?&!TD(=<%vb94CUqJdYO6I d#mR{Use1WE>9gP2NC6cwc)I$ztaD0e0sz{g@F)NP literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/cut-rtl.png b/sources/skins/moono/icons/cut-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..97f826ec894fd6b25d8c7dceca9320d7b67dc45b GIT binary patch literal 1177 zcme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dgfu)s! zk(IHLHjp$hxL?UV4@E<6eoAIqC2kGtR5mLCHAsSN2+mI{DNig)WdLRYz0ADq;^f4F ZRK5J7^x5xhq=1STJYD@<);T3K0RVjX{Vf0h literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/cut.png b/sources/skins/moono/icons/cut.png new file mode 100644 index 0000000000000000000000000000000000000000..97f826ec894fd6b25d8c7dceca9320d7b67dc45b GIT binary patch literal 1177 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7bF!z4V~EA++=-4J%H*1R>Jw84@3vT8#1#vYWYbZ-^&~fFI)ouM0|hw zl2hmOyz=t$<4y|&WF;gN%+1XgOgZ$jBq=+)+t1f`;mw?Vi>KJ_zk2_Ezk>q9{`>s> z$D31(DsN?N73e;?K;zWZn>lSj=Pc4lU%Ys6MNQ3-A3uKh=WUm^o6qlKA>*bY;-nzZ zaQ*esCr_UAfB*jd!po8lx5ayB`aE0x`SWLeH#fIq7JY~B-jxkn8FKCUXGIB~rkMEn z#TPRcgsol}qU9JUvS!`7eZDF}fBlvVw>mMdTD55Ta&~@x{u}r2*V|iL-`>7s2gmHQ zY|En7IxWB4_}GG@sbS$lMFFQJd-v`wznUewNaN7!uZyDACgtY74WIYC{n_*9iX2Qn zYQiNaQ-s92S!HEqKUCOkh*}#F7uR<9p~tFKzoHjkWKd*T8^-;x;K%8uOPB6CnBcH9 z$Z=sngWqM75G~OwS*A}uSI#(_W--?9)vw*NOUHg;aO zZe76o>kC(DNlZ)qsMPmZ;dD{G)!cnja&p@~+SKcv-t_a)Bd3h~e1CT(K^a-utErLy z<~*<5pu_DZzydV-gH8YG)2H9N2G&S-x({S; z1-tJa-x<@#)x>b@Y0<%l1qa@LKm4}L|7p=qesy*A7#*?Q6I5QFeegixO_}ux|FOOR<{<7rOnJ?eIEn2;r+uGXtfd!vf_tV=+8*gmhz5BMYnc27Nr;ijD7eBpy z`?ep$d;zC8V;*KN&D1}2_9~u-e*LmCGdC{|Tm7|Hqif6N&7YrvqTF+m01w;7y?bkA z`P%ObJ83lJhlPdN9eMoGYST>}5!XhY(+j5TTQnu^a{9jLhzJL>*{)`@kG_1Vsj)Qv zfAQ*Iug6`B9^_|Ss9Y<2#McLy16500BT7;dOH!?pi&B9UgOP!unXZAEu90Dgfu)s! zk(IHLHjp$hxL?UV4@E<6eoAIqC2kGtR5mLCHAsSN2+mI{DNig)WdLRYz0ADq;^f4F ZRK5J7^x5xhq=1STJYD@<);T3K0RVjX{Vf0h literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/docprops-rtl.png b/sources/skins/moono/icons/docprops-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..1e6d2123254995fd02b9db2c48f83e39c0fadc1f GIT binary patch literal 1093 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Gry;cV~EA+)XCP~#+edr z>&uPKH5PiPoMhooIO3ctr1D_bQL(T|$DBUe-_VK3eQ5tiRskZcu7MSGb^jJ^)af?hnHZ$R)ylLiv#7RK*L$hZ z$BI44+1alzeyDior{Q0x+RTJNm*yYQYw^!KA zi;0R_btK8~+4JW+ckO!g@87-)SFdi(iWKW~VbXjW@9*!wXWzb0pFTCsm^I5OP^3v= z!rQlR7wz6Xd-rbZzP>(<>8I_}jb`TF-qxBZabw%rqeok9tgU~imXws7{$6|J$rF|T z9;;SqmBc=O`jqwl_m$UQ8%_24_~VC$&H2M7zCkOe08Lku>gCc@^;&#!LFW0-KYsi; zut{gpMU7d@9{#rb{rh)49}mxl?c2ZK{cJPoq)KjX?vclZM}Vrt85NW!a=a|rwKKP} zqT*4EW&5^W3|O$-c|P1YVgder%N;fptK zTx4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literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/find-rtl.png b/sources/skins/moono/icons/find-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..8d944551f90704ae6c0fcea34be757916f490925 GIT binary patch literal 1132 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7vze!hV~EA+)Zp{pS(P%j z_g{yu&%CE|^jMaTP;-n$qT_C}k7jy{<-af`emnW5>3B|CW&cm+sH1C=vJw`At!73?DTCrvrsD z9Eu7p4TfyTBs7*L^c*zkdB?}Vq4=P39{cga2bFSp+ofmvq)ivt={_E~4uqN980)=u|Z z{@&f){p8`p%qG6CPd!-^rX95MN}h_4QeDmwquLXAV z+fP4LirlHk*-QO3;g4e0d283{46t zJck>uzdk$dbgIXsmgURUL$pLsZ0b39@Zf%igtD@4CsK?W4cpQ-b9zoX(A(dioS*;R z-!)KxhwZSqxOn~ixpNDFp}&3m_KT}mul{}VLlVS;1r-WwV<-{XR?OKuP?uT{ZdP;sE_~# zEeBik#mSR}dwP54b}fqd^s}bGYVLm>U0qr0x#y}@Up;i;f`HS)3&(fw-aWr!UVV4{ z!hnWlnHgK7Zrr$W;NinWp#!_mFT2L@hi8Fo_t83CvF;5wb0(xp9!>fZr#5Aqe<4SPK-?o3&K__&OZC?LzBXv^$PJ0 znyoi;-0JJ?w{6>22K4gDQ>RYlo12>#Sjgn}{`vK&-ci$aZCJC4XMhOns#QrqFWr6l zGV{})KQ+2@{oeoM{-eJ;GVy_Q4KP!wmbgZgq$HN4S|t~y0x1R~14A=i12bJC!w>^Y zD+41dVmmtT}V`<;yxP!WTttDnm{r-UW|o$>48 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/find.png b/sources/skins/moono/icons/find.png new file mode 100644 index 0000000000000000000000000000000000000000..8d944551f90704ae6c0fcea34be757916f490925 GIT binary patch literal 1132 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7vze!hV~EA+)Zp{pS(P%j z_g{yu&%CE|^jMaTP;-n$qT_C}k7jy{<-af`emnW5>3B|CW&cm+sH1C=vJw`At!73?DTCrvrsD z9Eu7p4TfyTBs7*L^c*zkdB?}Vq4=P39{cga2bFSp+ofmvq)ivt={_E~4uqN980)=u|Z z{@&f){p8`p%qG6CPd!-^rX95MN}h_4QeDmwquLXAV z+fP4LirlHk*-QO3;g4e0d283{46t zJck>uzdk$dbgIXsmgURUL$pLsZ0b39@Zf%igtD@4CsK?W4cpQ-b9zoX(A(dioS*;R z-!)KxhwZSqxOn~ixpNDFp}&3m_KT}mul{}VLlVS;1r-WwV<-{XR?OKuP?uT{ZdP;sE_~# zEeBik#mSR}dwP54b}fqd^s}bGYVLm>U0qr0x#y}@Up;i;f`HS)3&(fw-aWr!UVV4{ z!hnWlnHgK7Zrr$W;NinWp#!_mFT2L@hi8Fo_t83CvF;5wb0(xp9!>fZr#5Aqe<4SPK-?o3&K__&OZC?LzBXv^$PJ0 znyoi;-0JJ?w{6>22K4gDQ>RYlo12>#Sjgn}{`vK&-ci$aZCJC4XMhOns#QrqFWr6l zGV{})KQ+2@{oeoM{-eJ;GVy_Q4KP!wmbgZgq$HN4S|t~y0x1R~14A=i12bJC!w>^Y zD+41dVmmtT}V`<;yxP!WTttDnm{r-UW|o$>48 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/flash.png b/sources/skins/moono/icons/flash.png new file mode 100644 index 0000000000000000000000000000000000000000..6b7c843d81f6f3061c50fd4b4d281b741cf04633 GIT binary patch literal 1162 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7bBL#lV~E9R-{7;}+Tk*` z<;Q#`IUR8^Qk!7%%vogfhGmZ8dQ)sN#5eA!U=`>3$K2GNl-)J^lG5EhTJKCFcI)bf zE?K%~f=1F;(74iC^Us2+s#(k*79M`+!N`#O#@y+|_QQt{ z$6t9}I%C;QI~O)~_KO!UGPWOXEZQl<#ln>T=%YnSq+5BpdCqOOy>ab}G+0(M^{sm?|NYyyx@$RRiWV|_B3!L8R&&{wimVOe?lCktb|J&$#;aGaKK}ak%R=!< z|HO$CV>aLXvgC56NcT~HRnH~`PoYB(KNNdTy7e$(8tY*L19S85r%#Y{-+hd$D#Z&7%qv-@8eLAoE2pS% zFui;KUa?C_Fh)<@C9vkKM027!K@ zt{S^~iT>k?E{g+GHs4%tW^TUT#J4)TvhpUI!KVHD>nHfArL#C@aLdcdEm)yLa#J2%T^D z-o1PGK5o7Eim=ryLbNoddOeuKUwrQ8rAwC_l_pla{QNU3Zhd&Ci;}&ro}So`{SsPJ zy@2X~sui|I@lLr^#;vcXXJBgjRj?tQ;okrJv-V6HZ{EDw!C8<`)MX5lF!N|bSOxM6n*T^u$z|zXV$jaDA8%P=$+^^)GhoT`j zKP5A*61RqRDw~yn8YDqB1m~xflqVLYGL)B>>t*I;7bhncr0V4trO$q6BL!5%;OXk; Jvd$@?2>_*I?vMZg literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/form.png b/sources/skins/moono/icons/form.png new file mode 100644 index 0000000000000000000000000000000000000000..68c5b6b78a7f6ca992782068b59c653f3cb8661a GIT binary patch literal 819 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<6ln~#}JFtODEg=OFIf2 zt>3);x$(XUM>v#J^<)=sG1FDmT~u&s;;gP~yzveE%@Y_p&($<>XvQw#(EPJerkR7! zaE9sj&6)26f}|$(d|7g}@80aW=9@2Nm~be5&{tHtq0#lvU%^wTVZWH5Aj6w4UrgNH z-OX1;1zuI3*lQ?}ocH=`RaSah+Kjn#*Ivoms=nXJ<;B-3(a@t|t3x;GEWZEVc&3k> zONgjo<$>fPnd3_`yS9o&>rJ<`w@(&{`^*e9AIi(Re|brD-O?A&?s>sQn6?rw|c0iivHBHhpT9+zm|dhOAi$M4?p39b}l z<6~p)F_e*!sbSjp^s**nKG3l{_Uuvd4SrE#rK6+MQ@nkCPuS|x%P&hN+`St+ZTfWP z3+#D}tSasdn`+p*HXJZsuxdTCx3% z8G_$kZ3VS}34uYi#5JNMC9x#cD!C{XNHG{07@FxCnCTiBh8S2{85mg^8)*Yc1B3gO z-1AU0SIA$cEtjw370~qEv?R@^Zb*yzJuS#DY}4{G#;P?`))i PiWody{an^LB{Ts52(m=+ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hiddenfield.png b/sources/skins/moono/icons/hiddenfield.png new file mode 100644 index 0000000000000000000000000000000000000000..ddc547f74552d311fd059e90dd85ef8798026f24 GIT binary patch literal 1092 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7GoPo6V~EA+-pTeJ$&nIA z&)0r$RXP8JRk-Br3jKeqC)t`(gfB&8BqnF3CZ}dEyXfRCy}Dt-p<`Y?o3pk?__yc? zUdw4Z$CVwUddA{S+9X-06PLdi-T%9+VCLK;v2O=5&wp<&wiD}hTewQg;(0>P!~IVz z_#~27gsuMT?Cf0ct!eMN_~L?9nNq)g{d!Qgd!fcDbLS3@ZMn`IjUFnWPG7ntWHj^4 z`I|XnJO|3-)_?a`WU1PF&wRb{u?Iyv7p&3}6B85QU@0gm`O;-*)*GPl<>9}7``rFJ zpFVwh>eQ*CRTUL4-o1O*)X{de#7b69UjDjdvMR%U<{umO@3*%xHfHv{eBotDL2+^O z*RQ1}vwc7P{yYEJv137VidU@q701iM6cHW$dd<3Z$2vL~c+91ERVI68%xdfI<_^&k z<>BMoH-G;8<3RPUdee7*uG%Z$fBxjCPCj`yYb)1flYe=2>*meIGnR4oA7?&nu&Qpqd~|el z>)yS4?=v+rh`2HeI!+7%8qA@nu(U;hXGSpV{Te+jRb8l)H}<+> zOM?JY&&KHtnyMDhUwo|!2o>#G)KJWK&XVWwkE_o=C#I)A_cfbc`?_p*;%zgF=lU#r zOrK}pqt>=n?d?n3{Iiwe`t|Gfh39rN zyvY7tW9PN}vWdC5`>u7DzkM@nI;fDFm!~Ac6{t6zxnYV>_t7|RMH8h%*Zow4M9*3J z`TPIR*nYd?_~VSNQ65W!GR$Th@G!f4>AIR_>Y;ftZ~Mi!Wrd}stv+ha5jt*l`}YTG zO|3ie{PX)qA1#2fEZFH%P+s2t^5x6vvOGLI4IK+!Tb(<9zOb^gv%um{VNsC~J3D*+ zrkiheSJ?C=7<5dWC}?m@fUkXj&CB$AO7mR`wk|yb%q*%Ut`Q|Ei6yC4$wjF^iowXh z&`j6BOxMUT#K6+Zz{twjNE=8R7~HSqo`<3#H$NpatrE9}bt;>cfEpx0HU#IVm6RtI mr81P4m+NKbWfvzW7NqLs7p2dBXCnnv#Ng@b=d#Wzp$Py8h|5s` literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/.DS_Store b/sources/skins/moono/icons/hidpi/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9d2abe586afd598c73dffd2f39654a23883933d9 GIT binary patch literal 12292 zcmeI2%W@k<6oz{gCmG!=Ic2I?YQe%AC|JQ#l}b{ug$;{T3R#jJ6WKDdga1E0mQIgO&$x<$1@5VuX=!x6KHdMEzK)!8+0*6ZGw1f4b2(0? z{SGcaIyYz|RR@3Pxp6$eoebwoocP>#?!+Csr5oWo-LT%g(ZDV8TR1yz22S&zxKn=r zYBnG5&*uBEfdlu#xyG-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0m3wiNhUQB@^{aXPF0aG}5Wk{v=BOais&_}#P7mE=NR z@XSxdUVN}u19HManbI8MB>Bdn(D-m+XJu3jP`~8FnOJ*(uunQX_y-n?&9Ot+jAA~l zU~FCg7#<#OczX4rcf&YFA>Bq`)e}R7RZYL_l6c>&0=$0xxxK2K{6K{;S8Ee*Q6y9IRf4h|~PZ0du=k!J~+tfr)m>&TKj zoih;9$w4V8-5y$nJz3bqhSL)+=viW62UN^wLaI5eCcGU=&)jS!uu5KmEID4$ zd*lqzt;>fv)2JSgPoBbbP;x~L3D{D!{12D16^Rhe1WMn)puDxE<%kv$aqWSvo{yOA zrDFLQY-z!w+;-%cF50K529tj+Sd}D3a)oD76B0a9cUQ@0)4D}x<3%ZVC!<<@&Q8C( z@G?T&GGVPF{e*NKGjAXyW}#alMmSzCFjvfk_Hw3`1cd;0>C2ZRLzZ4rncs~qPCV5@ zHxsTZOW?<2$$k9zv14UKJ|AZ*&SpQxZOD#_9B!-8D{kuq%RMxYz^IKEY z47SM0;E^3QIr$(_K|#TcRX2l~M+ z6z?u=5OU%CQ9Goc;d7{EW5h+nGu_v=liQ%A7*gReLVQsr#<&n9-WjLyi??oZsyd-y zv3Q{5G9%baNE(}(`g>buZMN+U*b%dcViS?4fV}3=p@QpWxV|l1^jo!Agz|lb*62AV z9O5zdCPnlg)~Dy!-hn;D>*gTnvXuvxH#Xj?+_%jb3B!mB_J_*x?Lp%ytjfl_hX>`( zHm-Rr&xQtJ4r1jjfG?o&h6V>&xd^fFArWf7O7Fe_?_LAuZa7Ux(?#Pw>PXH}CC_LoO{|{(DH0yx@>fdj0 qiw=oP^p6b&KtUOYN8P#|=uZzej*bm2*}!RlhX8xhb=w9aHRHdceBz4$ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/anchor-rtl.png b/sources/skins/moono/icons/hidpi/anchor-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..318a138811227f8786ce124dc1859f4ed75a7d66 GIT binary patch literal 1474 zcmZ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o7kVdMYugW-$6qptno)(3prbIyiY_Qh$mRNgB8*4x8VI0;5XKQl+s#xrF zmdbw@5|Se0qO<;gp~2|!en?^Owt{a`bXsP3N)*V<%*4bc(o(76r=l=PDKV^NCloXU MJV`#p20~cwzZZL$ApigX literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/anchor.png b/sources/skins/moono/icons/hidpi/anchor.png new file mode 100644 index 0000000000000000000000000000000000000000..53486a88ea42c26b0ce9641988e2431029a0141b GIT binary patch literal 1527 zcmZ`(do48Uv% z0JKs7bmPS>`yJqda@alw9jvY2s#?S49!C4TDb63YaU(IGdp$QMAC3ug z&HK%*#_7G$($gp9y!MKeubP?|%xh}+xqrOr>47ntQ1K`K4;Nn<_|O%DA(*j|5p@E6 zU(~rw0Y*yhlgV;D&A#54q6Qx%m3$J3M0*EhvYO_&QU9QzAfVl@O@Kn7I5quMlCH;(nMpoA&mxJ1KRXyREOFAMC42a=NG0|6@1I>=UA3_e zZkH!IUCu4mW-~AA5Wnd1mp=O4x^-(tp-3kZ`@VgUl>_lE!Cq9y@GyR;DgT${`KM;u zc{VmdE$A0^t5=OBVnK0FghR>~^w4pf#6R{1hcxO5v3-oX7ZAP|a)h)rsJVGr#vv(n zC!D4zmz9+rLx$*`G9yw8+}`l@0|EkQmpol#G%ZYpQapCER-sBZ zhdIP%s^v=E9336?^z}10A)8{ikjajYY01x`0gJi6?MQBf-`LJO12_B4V&zd`=d|7# ziUr)-{g${Z#Yn9yH8tvVv@DSTWq)WvgU&x1OH>Ia(4t6QXk_5!ZvjEYPPTt@Uw%4J zCoA_pqY`KieI|Vc;=ViGTeS!o75I772~!lWv!G{f0AU!lhN6l#E0*BFBvYlOa?#3-R{=GowjC5cMoRKT~9psGjAkfpS z=#z8m;s!vrwf!oU%jLUAM@P4mR;v=wfwDai+oi!*-p(PVAwwn}WT}ufP{O%k$psCe zNc4PqdTUpAw_|qK*jVMZZ0;-^9}qCI3yg!i+Q(Z?tSM|Rd3N1R{Wd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!mB0QEi{SBeE3aoX=!QIPc=2qV1kAQD`>~7@$v0w>8FPSiL>7# zGvp!IdEn(Cw0snk_=f!lO)b^tc7pmA^EP%x*g^F)(43-M*)tNEoY-hK-99P#yBjNRCXfh_h(SJ0 H1X}K20ORR~ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/bidirtl.png b/sources/skins/moono/icons/hidpi/bidirtl.png new file mode 100644 index 0000000000000000000000000000000000000000..80f063d747ff7edff0b5fe25fff2bfd7a501886c GIT binary patch literal 1702 zcmZ`(Yc!kb7JlPY;}VrxX&X`M*2*zxXrkqyaTnK$7^zA}T#Lpv5;1NiI+K)9LvN(2 zt0xp^C|VgICaq#nbVfUxrIny{sSZk8MQ}bp&yTa-wfD2$XYXh2{o`4icgEjSO9P_; z0MH_Nxsf3>+zqw8P)^It`~<L0OWB2*np_KIRMge z0K5+e!2Tuxhmr;2KnJL>H^Rr$4eac`YDsMw#Hc5GolS$LjqL`^1zVW`k#Hu-&mFGV zdq7>q5MNdC9st#3lAAMy+Wjsh-~uWHy(3wRiD_-sW3k>S&yreNF1pD~6?ct2yq^}D zUJXhO$v>DG9~in!`I}@8`=^1i_1?$#@M?DD@%xUxCu!Gs6zAKa9+Gs+bamLQRo2Ys ztDW=yE$8k%4mzFT(3PFrCEx6luMLT$J2Wrh&)&l7dULGMkei2GsauPn)9Id@C~$$n zctdnm!wQ|i`uHr$9aDNwN17;kU;^qW11BwF-272tYR@>*pd%-X$6o1%-H15x+u`CVO3VI3?+T|+}d z%F=|y>sZLG|hBX`l71uI9Qr^~QxK z=``wf)ls}PfuIV|XtcD-@p~nbfX83#a474~LKA7U+e?{#qscqlTV(|W1;so!m7k`i zs}4q7q#!NS>c&>V!otD>hTc!p#Ngn!tLwni=9Vw9$vx&Mrg)>75_|x@@9O-en{8(uNfG&D4{bo<2UB8igvuRgQYN#yHIR-*O!Pl*wdfK@+pRuU_4}BkzgW z|1m>3(%;|zmso6nYr(*_OIN2@&{JdfV@=$JgalWoJALhGvk$~#49@BF>D=aqh6NYf z%ASD%4fW(m7VBW+LPU19enLXRsg$Xw%2E^0PO1g#%vd^>-$G!)fZp&c>UW``PbyC) zDI?nAlrEm0eLY{ku#$%#+nHT^YTCx=PNyXg2VzkVlH^@Yph!46FCU#}2H-J;HF0N9 z?&3r}!29sBAw(hAJf6G0@~)&kZ1IPSwpUWy5hJURuhjot8b4qrbFo`rKb>jg&34%#IKjw_?bb$HU2|EvNlKVM(OyVQ31 z#c_|wNE032o~e(g5ZzyIAkV$AcW^+A;wL#(VTW@54EY0QSn8$t>z8v*b%XD04)Gbz6C%?^3lkV0xp5I1(G2$H%dmz`yod`iYXNekfGDw%Ay2;}{s zedOo(%$_c3J70xDctLuRj21e{f-~H1QV|RU_s*ATaQ@k~)7f2|C9|neJ3(6rCAuADJ2r0kFYY+gjpm zEp4nRI6Hfsjr|FmZ=j6B$vK);|07@|Ma9K%{=cBnwAC0A=8a6x&1PH0 eB_^ar(vzdDl2T(U7acHA6CkVeAorR8 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/blockquote.png b/sources/skins/moono/icons/hidpi/blockquote.png new file mode 100644 index 0000000000000000000000000000000000000000..965f91082e910350937d5bc275d853c60f3744a8 GIT binary patch literal 2421 zcmZ`*dpy(KAOB`gt}B;EnQN}g%01+fXR;=@5E>JPv24=jzKoPGJ;;(MhNT|!gqKS_ zN`@u0kR+F3luO8viZTk%w?BV>{9fmr&*$~}ob!2|bKd9u{=Cj#r`;U(NUKN#0I1^xss=lPc8iGGCUF z@@|?(6<9|VCv7iLmAb-4Nj;5%Ufe=Ug6+=E&V0fl#|Se3kNCOfkz|IvqvIqSNUdu^rW1LS#L*TGS#pU5f4LkIsH9FLEut z<E7rg}iLYpnP}k4&98;Cb?8KA&=-3xnt|5=|p{}Fn4?q!v={MgK zz^@;TXq+I!;qcOygw?spwY7hXOG`_Oii>UJvpVYp%Oeq%=B|gOu=rUu4MxTyzxF_3 zQIT+KbFp@IaBy(m%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O_sAGl=|=lMuV+qzF(FD)|W+tYVh9;JVW~OIM{;)PNvp!;W z7_=rP?-OK7|0m%BC6sh7;r}Pp=swa06O@1L;6*tXOAU@D08}c~h(tag6A~OrFrq|< TF+bU;fQtYpdpC3qD(LEeLXdwF literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/bold.png b/sources/skins/moono/icons/hidpi/bold.png new file mode 100644 index 0000000000000000000000000000000000000000..613319b136f8935ad31c353161af7896f37ab71a GIT binary patch literal 1987 zcmZ`)dpOj27yrg!#4sULL&jy-Vi}j$YG^SHW=7*O1|`>wyl%P8L@eW0E`wEB*GZ~H z$i1}4Ws|VBQtDMk8Y)ARTQjr9CElMu-#^~x`#tA8&pGGwoacPb`99xVHy02+FOFyL+d)x9%F`k&Pjoj)$sE?#Vu!eq|!$l%W&J4l-Qn zgR&A@7F89WAz%R!Z%;inc-@;E>GAg9PV>r^C_XY%QdU9U|KqUos`ddyt3#SfJu5tq zR$!qN{+23VVPr90>;dB2f9#ZOrDm)*Frn{wah+q<_Nq5Ua> zc?4>Bjll0-{s)D8P^v4NcdOdhm?KJh#~ER&tXP5^qp^iAU+@VDKk3(~Yic?gmmXmX z7hZ^0S23sk{4PatW;8jS9P9CuHj|85tHObbo@TkR_MEVaJ6?@k_6bi<^~?JPG1UzQ zw9`+xT&<*}q@qz;ZT98M&tCBv;(iUHK0$|#q{X4K?>03xxsu65@aW9v4eNyE>B_P) zf=DFNcx{0wrob}o*)|uy(jh8KN=yG#kGOLbAO{q1@U@Pzm}l;duOIad?yF9w(}iQ@ z<>kk<&GB~>HLzLy$(Ey3&x3il>?SN=nSZ`JHjdiou7kT-WMOJ*Us6&+xbLGUCnpCR zfTwAWwSUf7EBufXef=|5tFlNH1rI4eD^o5g2iV-Iw6bliCz z?xrG@iji^>PWjh2+Uvl8SxD^osq7L z8yOg|%Ut#%bKe-O6n?+}^LlFd$CowE`oEF%RrW)7geS;xysfXw>S5UlDn3|2J^3F+ zeyXI9bcqr*Dl0R+Tj9^EjzbC8%1_S!R2z0SK3-Xrq|q6bjQNr$xdX>M8QI+IW~|K( zaW3KP&*h^lpEh*)E}J{JOApRsuvqLkhr^K8EvHN5eix_n`-wgY@kJl=`?*NN8qj&Sri z!%qq$&#eQg(%d6}DV-K+xh2}%++;fJ#-L=NVXm*dw>8>im6=ar$89JZx$x~%ImQ8f zHrD3m0>!a*v(Bi1Ca=c+zdyyn2KpI(Ohat#2dnDhTRlC=z9k_oD1LXJHGG>f;H*J> zG*)U7E0`xk`)u#7QcTi&$lTRjq;HlPjrm#`2XfxLNmOSI9iGn%eO|T1mfCryr;UT# zx1D;NDWe#(zU&9mjK-jO2?PSk&}ZzmYUS-wouK`Tp3l{Guln|x#FY+Jzh*G5?twHI~DqBwV`2GFE_2@C{KhqEzn_&Gg!X^Ko2 zIJ%fZGdpA~Bv0U(Ok3?M@PC##GMvs{A9v%@*q!YS@2sLT9v&W6FXKqPCUeYP`du-&MvHkXb~35|@56h6*X&cSOhEG(o2sV`~3FX0d#u{D(R zkkhN=Az!>iU%gN3OuJF>SjgSGcWEvDz1^|1k1n}`571L+Xuw_7%?W?|GX2Vx118=- z)Fg^m(E!kwCoqFuSnTFx579V0_$7K;aoH27|9) zN0#d?N=ms#+3)FjCay6Gwr!r=aW9#D?`1@4ac75UwEw9|>2-xo=Hvbqrqfe5;UB{5 zjnH4EM|U_yrv=eNu)%R5kO5{GQ_CMQmOq-AQZdJ{7&EN7nIWVxnD-aus{RKM6-^5} zck%xNnsqz0A;6)%3Leqt=m|k_As`_k!8q)EM0{{iOo(xGTxjL8&0#1B5FK3b&A7mf F{{ljOjRF7w literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/bulletedlist-rtl.png b/sources/skins/moono/icons/hidpi/bulletedlist-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..34da46b3aec3f47821dc3c2f98586149f7c1d529 GIT binary patch literal 1659 zcmZ`(do|k> zfi6}T0AS$jLl1(`a>tO`kk81;S%C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$W zn`_>j#`^gE>!*Da6B9bljx<`}AF7y6skFodrj%bW)Ffq=u7$p!!PkB6S^wq*W45h*jyQP}=hmZdr)ul@2ZnzmV?HkbGu^P(wZc1N zcKJ%}2YIrdv!mDsddgE&)8LNXvexvaM8DY7Uq4s!5QW`as;@%SDo7s^+a}W;9tQV+ zB@%WN^+41HdT!B!=H?+(KxTX-^GQHEPVCKM_)r#pG{eO@K7|!$tAMCkhCvPpl^CMvV=)Qt*(Th_OXjz zD|?2%7|o1y2A3~=T(J{whgLE$OQHlOh0&A3iHyW>$N*~`-qsRlYiW)5$Jr5a*2G=b z7Ldl_Moz3L{ZB$nTv&9(iT_XFZn=Yj64tL)@QaH`N}(r)gOrpMtLRuJi$RYMw~9-Q TES@24fIz^F;z{N@hh+W>LiFXJ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/button.png b/sources/skins/moono/icons/hidpi/button.png new file mode 100644 index 0000000000000000000000000000000000000000..a7b2b4289a33ad2ca210b1882f7d29e80e626a5b GIT binary patch literal 988 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zS>O>_47BY!2s1iq%&q_mvX^-Jy0SlD6Xj%5Fqt>&6$1m)GEW!Bkch)?r|tJr4iq`I zzxdr9&O(Dg#YR`1Egp}P5{1iZ8R8wJ6YqM>PY|qOa{R`+f%J+RvZz%u!e$mdIJIz@+IyhXus6AWN)iCp; zn82!E><6N_)7Xre9o{Ld;$jdG?BHlJ;MursTie~ccjaBaWPZ4?VQQ>jXnkI8Zmpe_ z6;p0b&VwI6BE-eS0#=3u=!hvQ)nDX0J!9rX6;3%hxq`B?wx>^17ZvTS*|2NZE zi8d=s%axv!0@h!5mS~f2@>&}7wrux|xpPC`+lGj)4dX5^FVEP1+nM!*UWkUsl#Ufq zYr~kc*Q$9gdi?lt!MTSYKMGEtK7GSAC7#0zXQneSJlGqa7M88cdd{-+93w-I;f|d< z9nGX&QdYz#Y*-h^72CWj6O{C1S>>hV)VOuq z<2l{u&YxenDoRJJxZff4WVL^*(?a1h=g+@Bd6IL@){??P#i!=_seEHJq?c2AB#l@R9@7-&AEyF~mFS$e>-vi8ufIsUEqW&WzCw6DFcGVkxJHzuB$lLFB^RXvDF!10Lo;0i zGhHLY5Ccmq10ySABW)mQU~s>Zdmf60-29Zxv`X9>)~Re(0&0*1*$|wcR#Ki=l*#~% icfHKK?Be9af>gcyqV(DCY@~pS7(8A5T-G@yGywo?|B+4r literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/checkbox.png b/sources/skins/moono/icons/hidpi/checkbox.png new file mode 100644 index 0000000000000000000000000000000000000000..53ac3575699f4eefee75cce96ac768ca34e7fefc GIT binary patch literal 1905 zcmZ`)c{H2b7XJ`L#Ly~IS6xxF)QVIMi58J4K~<#2+g7M(LTVOc5xLsB1n;F(46T|~ z(Sa59qg1Z+{ z@w0-alB~XU6@Lx{;@k<&lz^dc{>P&<1X?>Z7LBz4G5K=hAkGP{nped!)rS?k9B^4? z7nw@hobw1n#M;#T&w9_0eGClE8{J*9oggs21B|Cntu{f9yTgZ#4Re8wRB)Sf%QuR> zE-xBwCPvpDj=cLp+7~Zm2`glFK55HjQOxCs5hwwhIT4aC1K3SpwAN9_JCUUEKWWI4 z%ydWSh6EvHOK*Pg4An>98Y;8-9BOy%`7^N3*>i-KK z#W$|y1sjC$>pz;nhmIitCryuaWhc2i5yVgn2uMXmL>kmo+=e~3_F|4lX}zjCZegoa zK&T@-$MbgP$-p&&EO&~+)jQ5l|9g%8+fg#9=%1}kG1_W4W?K^bzBkQZ&mmbIjAAmG zj`G`6&0~y4ig~hh#mMs96E{7_%W$FnAew;4)z8Vv!J_i5zQ%Qx`8J$VS@_udlZkhg zZg0x!cMYMmggk&4x^CgWv;6sK&g`S;Pm??UZ0%xWJ`e08I+2txS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%9vK5K{l3nydNiH&DBSn+K`Td zy}doNlmkN5=)$G0Xs$gB2J>tUmCnk_0#eRtYipD`3a63DB> z$sj>wa1y(`M$^bO%~(#2Sz};7oW@`{D=I2#LjRn*1+w|3CwZ^pQapdfvn5!9T=R;< z>8D&y^7HLZjJ@sPAZ1b}U9HgF-Cd4|wRcU~URuJ|)YQ!9s}aGb7{cLEFCyF5`R^{F z(tf-rqX|vviRCFNpY!`TUhRO#<29fuh)4cf(*XH>RIv6=+=* z{;GEzLLXwY`@-Aq=mro7zQEhat@0;yUVd>gIOmI9Xf%4nf*3nV|9S2+_b)eh_rakd zNRIkt*Jts9`GLICfGq3f%R6PIrKPHg*U;SRD~rUPe*Di zxPr@5m4MX$0J~m=F8}}l literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/copy-rtl.png b/sources/skins/moono/icons/hidpi/copy-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..6c9a0fe842e646a92ddca71018fdfda85be4392b GIT binary patch literal 1905 zcmZ`)c{tST7ymXi%tV$flVlnDJ~3%XLS&C7Yql(7Ffn3Wnn}Yjxt6G(GRam=_!%{> zrE!NlTnq}6m>XpoTcs%JlDa7O>(AdGzvq3`Ml>j+xzBvpK+FktH1#Okal%( z#DY>|mn5MePbQPsK_QN}_p}Fq#-e@O;d^(DkuF$I03hoEKt?tIY=Wwc_W+QB0)V9p z0APIw0F)EU+s@j6255x4vm>yxd+zaSi$M)6(Iqe$j5fYYdmQx3(mO5{Dz&$I)C=pFJrKX>Prn~qH} z7Fo?t2?-v@;c)bBF9>Earuu(>}_(q2PWLq2zPj3~ zRaD&4BGq7KaEa4)zP{PAuQ(xV4TSKtG=zapad9#5#mBIho4hD5x>mS=_OQDYqHLh! zAc?#w`R((JGJ!w%~~0gT3TAcomVS1Hhwu%VXa90v6*6{ zy8nO_6ebSoI4u68pkrf zV?b1T`r#hb)rzVrVqR}V=W<&ids#fo-Zp)cgvt!z(`5rnZoAY9e`mYn@p>#4vU-x&3!Lq#( zH%Zolp&_Z)7sqBE`NifWMsw*GM3vwzs>5Fwzj1S&ZkA%;sRzrH+Th)tuq8W zk11Shc>er(r*ghiC%>NA*wjShggxf8w0x&t{rKugUN3T{liH6Kz~!-Ss{Qto_88T7 zt8+aMg&#UijE&!HZEY>QCHOfoG{H=olWS5Q!Zva#_93OY1BJ^h8t<<8K$G}_oqmLZGvK!2d9 zmZ9;|uhK>>vIm7Ybm)Nk$*b$Po2CYCCy_|Ef?5+sCMMkc{r#_mhik6XJ=F67ksIsl zX?$L@8>Xpxk{_pHX%XS2u{`39va=UK!>~wpo zBl2b#nC6Va_0v>;Uqw&hhWx7&%Z|Fm;mOGdgy`6~I0qq`I@R=uKQW=gULJk2LhY+ibvSY;m3@^qKiM4fgFfW#Lj~y(h2eg7kr#oaa%);6R2M1R+H{049 z8|PH6%`wh%74x0cY_Gh};VHpmqRbD%=_~$Qdtw--A&}XX>Gq?_RpsST zNlEg9O&cb>rCvN9fBDP&ULzx;sOG?v{u{FT?%j8PJ;!(g!VuD{xH9+jrWS=2H7xhnA%wd6;_GJo(POEqIgcNkn3sA? zOPiNUtuCB?tW*z&d{z3L{54MSVuIsoS%#xfCW+olU29gP_p)v5@iX1z;`$2SHAQL`oA^G!arwfBfN*oNTc;T-8v3<+%!lLdBV^tgP#>u07!PDN@FCyhSk(#I-qy zlScnAlyg>610w#*Atm)4iMStw=M5!3OMpL%4#_Ei6ctXwSw|+}KmnMej#!$YEKSUh z_@Jz;QRdbb=0+e#p=K`ctNb58JTWRZ`ttt=u(g|!AmHF`gmc7bQfhb-4oFQ+HH}Rm cBu9oP;!KH2__7rn70?NAbvon7cDO+M7qlW}VgLXD literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/copy.png b/sources/skins/moono/icons/hidpi/copy.png new file mode 100644 index 0000000000000000000000000000000000000000..6c9a0fe842e646a92ddca71018fdfda85be4392b GIT binary patch literal 1905 zcmZ`)c{tST7ymXi%tV$flVlnDJ~3%XLS&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d6;_GJo(POEqIgcNkn3sA? zOPiNUtuCB?tW*z&d{z3L{54MSVuIsoS%#xfCW+olU29gP_p)v5@iX1z;`$2SHAQL`oA^G!arwfBfN*oNTc;T-8v3<+%!lLdBV^tgP#>u07!PDN@FCyhSk(#I-qy zlScnAlyg>610w#*Atm)4iMStw=M5!3OMpL%4#_Ei6ctXwSw|+}KmnMej#!$YEKSUh z_@Jz;QRdbb=0+e#p=K`ctNb58JTWRZ`ttt=u(g|!AmHF`gmc7bQfhb-4oFQ+HH}Rm cBu9oP;!KH2__7rn70?NAbvon7cDO+M7qlW}VgLXD literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/copyformatting.png b/sources/skins/moono/icons/hidpi/copyformatting.png new file mode 100644 index 0000000000000000000000000000000000000000..4f95e7a7aa52d12d2a997bada2ef9ae2b66b6f85 GIT binary patch literal 1642 zcmcIkTTB#J7#_5?mPRF2+elNHu8BpY8%W(L^Z zDv<&Tf+EyLHG+a}3mm#kcdlurm05a!_0DbUOi znUsYh9PXT7s1N{H8A#jgk{#cRk{qKVygn)y!^>y@2-)T02{Mb4z;r5;X7!56pF0&G z?a(XYH8_m(80Dn*cm&GoiMElREK=uC>2wgRhSX}M?4cChtVFn!thi;7!AOau zK=TsKv7nccNau1Ty+Y3PWeE(wM9Yc`ZIT-Xxd2^1l5f{o*{7rPkaqq|8RWLgrD?v;)-!V;H8@n6PlQ2|-L61NJc-hV8^mJ20&QHo}WoBS+>k z6e}%a9j~zA%VNEPV0byQkrL=U$`LMb3^-pnN-v)awk+QQ*0Fpp#$~aPoDAe0??1-9 zcqMDddt4H)Y%Iy2Vr9(>vbeW?r_2QapRF-_Z6<@kFgG`6GMVJ&MMOkctyZ(y92FI{ zfB$|Q$M@~q7aJR!l$7-F;lsql#Q6Alk|dLplM@mWXqrw{0D=#l^ zZf+JuF)J%;WMpJ^cDAFVqq@4fva&KVGSXtPl$4aTw6wIgwzjvovn=a$IvW}qYHMp7 z8yjnCYMwoNHa0fa+uPgS-F^T5{h^_u6DLkgPfu4>Re3y~%*@P3j~-=bXAcezo;-Q7 zuCA`HudlecxT&dWYHF&WpuldoU%q^~r>Cc)q9P|Jr@z1d$&)8tU0nkM1H;3^* z8|?c@%@P0g&bR2JgIMe4_1V#6Mf)FVtgp5I==FOw=fd`!@$(Ixj0?J5&{Xf&aQe?O z@YbmI(pfH4C_O_Cm)#?4htZ<;fX82Th^IoMnx;nEcX#3$BZiygjaw<_dlOENUuWLA zwKin!eOHN_8jhDFCv9i-Tq&ct2a8oMJj{E_ir%U1CPJ<{hc-WwJ~At&(9wO z(V>9tKfSwY#f6X5UvA!bB`7xV+V8qUzN1$<53T-6!nnXLnY?mk^%99wnx%1r3? zsdAsm)SaqhLf;$fy0+E#^d9~&WdnFb$<jaLOZ&aAzu6RRyktoG F>~DWjz2E=< literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/creatediv.png b/sources/skins/moono/icons/hidpi/creatediv.png new file mode 100644 index 0000000000000000000000000000000000000000..808e466e7bc91068c000c54b40eb4afaeb53409d GIT binary patch literal 3049 zcmZ{mc|4R|8^`Y{ge2LU#u^f0k|aw-gk;~#Hr9s>GX{e&5(**XF_y7KDPwz#C9;f? zJd-s`6Ju?ZLe?Z(-qZWv`^WpaKj)m!ea^Ygb)VmLuJ5@MEzAs$aKpJF2s&bHq;CaU z$v=gY1Jt;Ph##O~^U*ccg`k?W!@DT|dw)+%E)iU@W#alMLn ziLES`R`^|Jf)i43*1al_NNUh4*0Xq26gQr$R~&mR+fB-ellLe4i3hCgkHWlWH$FX3 zI&mts#-n9)BLd$RYPK&~TT|k+k(uiKB_G$f({r&uyb%9nq8VR19LLvG?&bJo$X8fc zcpxPI^=m!53WvKg#=C?sspe0u-mtKdmn0PJD%$7PVMPm?iTVdVr?KOgy&T^zY!G|B zv4~T1he)t3kKea+R5rQ;kWy?!8Lk&}s#1$fwUJy#-@w2?Z8S~7kz{Eb;z%QtDU^Sy z50$!KFK;F<_6-daef|C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q`KD=>V`)Z1(}Pj1o@Ql$s@ zJp2}gE0%&B3Wg45eP~0eAB~ZEeqqlNO%1Sce0!1|N#UhQ?!v;t^_(a~hXR@M?{!{5Tq1QBGtJ9^9EOT9eyr=yg^>Oojw| zm6Wz>YieXGT@avp<8B#xr(pPiM|ljr)5j4MN?4d24jBNrojrbaJE`F0odF3mG1Yux zm1YTex~RPTUDDQ%wKzyD7H8O1g9gq?+guR_%fR6$v$C=ZKn+$2=dAW++B(aoK#m0{ zgw&U>e50%F0lYjJK<4$M;n>oCfO+-L26;4 zA|Ts^Cy;JQNy!^Vk4w|=Fd2iv_=bkcrrsdfAnx72zrp7Edr%*F=~!D^YiE6!+yt4q zxsqL8TnsL<<5=aV-Q5y@Z*N^f*?dSvxsu6oM5eeit+sFZ^0tVVzgQsuyu7q@!!c!W z)&wvoV1olU5$hWp_?U-c1Hltn__YkKzr!6@aDQgnN`T}gB_(YOR`-IN*ls{`dZLbm zQzQU*!?Zri+c<=?zj<4dO{yyr)@Ce#|G|S) zf;;tsA2rZCASMt92!}N`HNcu0;Edg{N6oP~^WSiXz=*|8B+9Y=$Km(L3zVS5|L;(z z!#MyP_Wj)9Ok@x>!7nBdN=QgBq(p?p2KYq<8b-zhmo8YUfJu-e!P&OX#y91^KQ}d` literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/cut.png b/sources/skins/moono/icons/hidpi/cut.png new file mode 100644 index 0000000000000000000000000000000000000000..39c4af069576bcf893a2b1041b30eb426d556b11 GIT binary patch literal 2855 zcmZ`*c|6ox8~=@EOpKbkNVbTWtHGEn$&yCKl14_R$nsjU46b!BDm5hgQs$bhBix#s zBFt-v+$@bL6H}q#D%3QVh~%XZ-qWA&AMfXP&Urq+=Q+=c$2x`ce`{5`3(-`33N`#<`x)4N9g`jnyqR&83 z92SB;`9hF+5d`gxDr+NI0t4LN$=(*){`uVQU^9SbN0fs{EZ9x>v%_rAr8Jl@5Q)zkOuWbwcGnD`Zf!#bI<=u{(#Or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E6!+yt4q zxsqL8TnsL<<5=aV-Q5y@Z*N^f*?dSvxsu6oM5eeit+sFZ^0tVVzgQsuyu7q@!!c!W z)&wvoV1olU5$hWp_?U-c1Hltn__YkKzr!6@aDQgnN`T}gB_(YOR`-IN*ls{`dZLbm zQzQU*!?Zri+c<=?zj<4dO{yyr)@Ce#|G|S) zf;;tsA2rZCASMt92!}N`HNcu0;Edg{N6oP~^WSiXz=*|8B+9Y=$Km(L3zVS5|L;(z z!#MyP_Wj)9Ok@x>!7nBdN=QgBq(p?p2KYq<8b-zhmo8YUfJu-e!P&OX#y91^KQ}d` literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/docprops-rtl.png b/sources/skins/moono/icons/hidpi/docprops-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..de8722fdf8ba1ed8e8c982be1c7984ac7bcf71bc GIT binary patch literal 2179 zcmZ`)c{H2b7XLy*N(@C!rD&-Xt(X%xHB}H5R1+^LT4|`J6;k4gSyIELE$^o0S^IFM z<+iLE(o$};E@^RDHB_H+(U@A=l$u)a^Zt8(ymi(-d#%0CKKuOk+2?n%e7)Tj-=)I#oiq+TBd?T@OCy1Ss|0MmmK4Q3nL7l;e8lnokXS$G0Y zc3S4p0V#d!ijpPJLcqH^6Uo8`|Fb^C0QDamaig7J8pr5EzHrqxL=PKXJ_niD#IXpWo0&9*4Jy=3OEqBWVP} z>o*Mntw+nfkCnb|Mxfm#Kj21j!5 zH#e(h-}80(v*eAHl=r%*duM0o@Xssbe`z9QX1?v{uJwoqE6;G80PLX9;5imqLk z7M#Muj6aCQTJ`J6=4@<*j+FVuXPZy>{H1Gn`~f*Rxq_P-bMy1gYB&&p=Lt7=_rIp5 za_Z|(gik%wl2z2{nrw~yJlCfRRuFd%Wn%+#fm;&-Mr`JWs?T7g%8HAtt9{`x7|eU} zADqdSJKNjw*!ZstDOsH)&08;g0|ODB_4i?KM@DWY?Q9$rHED9d{b=Fg2ri#*2I;-A zw)4HHqT*#o!Z$$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6IE}A_!X@i QAfZLT+|=6Sm9YouACjf;VgLXD literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/find-rtl.png b/sources/skins/moono/icons/hidpi/find-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..ff0e0c66108348453626efaeb5fb5d211579f765 GIT binary patch literal 2407 zcmZ`*dpy(o8~>tADCszrYX_^=%o<0M?MNFjj3UXA-+kAp4aPnzR&yfeV)(zdB47?=NxTzD{3eL z0I(ZxYvl~uU$&QmJh+EbC|^OdBj60-3;@(-Ds6i2+z$HMIuihZas&XVi2$$;x~NkC z5QzeSnX3R`{r~_DgcLTP$AAHOAA1`sK)U^uK7E)CdUl1_x`%_O4Q?+PEUX|JbV4HV z1Z&7A`JZ>m{$f&0n*jg?BfQm_3zs^J@;n{127l%ykS(I3p6+N->LB*+LG*YNWp8NF zH1yhYYXa}Dj_YQzS{m40xMHT=`3WY8W|nh^X?JH`&HCc~m1EV>*9t5iJnu*=TTHHj z*95u9_1M=`vxihL)Jflfhbn!4?SJdY(3-v;WfLn|8x9w&m2hP(2O|^r+GeRK>+Z08 z6V8e$cKe3N<994zGRw;k7yHo%)-I+zCu39K3W8n>5<`utsD z{`>d8BQH1gySllNtz6&u)*-$FO>Fdp*-NjBZf;Uj6e?tHv@^MhZC`nT;uE2xd8-Ib zmgi;@)$v*9)RNA@x?aD2t(0oz1K*#nn#rr=a30pys#1eY?U8xg;n(wgZ`^pME@b?<@ zV5E$xb#EO4d8Osw170_c-j0k&pH55=?aG~jF4=&KOlCu4W7y)DHHXVB zxByQgi7w?P5#2GAuL}G+px@+Xg{nZm^ILt)tYHWgi17 zly6*zU@+mMArBT87wd62+*I?+o*wybpL-5Re3f)9G}P7C{DOjlh(SS!lg7qNse8v5 z4oAk-(ydKRP5UE@%F1+mcs#-FPVWn@-Ck0>E3~<}S$47{VQWpPv$NBsneFSo|F(C? zc+Z{i`ucj$_Kc&S&zlxG3T8h(jh(7|Sd0~#hMup=4 zVcO~4D`hZz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rjUaG6y+-%J8e4Cq_ zg?w?(0vr{tKR0IWUMwmP@b9H%5$rXy2~)5#H#avlGmB^9LsTX7C%QJ0>&zjPl$6
      + element (e.g. divarea plugin). In that case, this is the class applied to + that element. */ +.cke_wysiwyg_div +{ + display: block; + height: 100%; + overflow: auto; + padding: 0 8px; + outline-style: none; + + box-sizing: border-box; +} diff --git a/sources/skins/moono/menu.css b/sources/skins/moono/menu.css new file mode 100644 index 0000000..0c1ab59 --- /dev/null +++ b/sources/skins/moono/menu.css @@ -0,0 +1,207 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +menu.css (part of editor.css) +=============================== + +This file styles menus used in the editor UI. These menus are the list of +options available inside some "floating panels", like menu buttons of the +toolbar or the context menu. + +Note that the menu itself doesn't include the floating element that holds it. +That element is styles in the panel.css file. + +The following is a visual representation of the main elements of a menu: + ++-- .cke_menu -----------------+ +| +-- .cke_menuitem --------+ | +| | +-- .cke_menubutton ---+ | | +| | | | | | +| | +----------------------+ | | +| +--------------------------+ | +| +-- .cke_menuseparator ----+ | +| ... | ++------------------------------+ + +This is the .cke_menubutton structure: +(Note that the menu button icon shares with toolbar button the common class .cke_button_icon to achieve the same outlook.) + ++-- .cke_menubutton -------------------------------------------------------------------------+ +| +-- .cke_menubutton_inner ---------------------------------------------------------------+ | +| | +-- .cke_menubutton_icon ---+ +-- .cke_menubutton_label --+ +-- .cke_cke_menuarrow --+ | | +| | | +-- .cke_button_icon ---+ | | | | | | | +| | | | | | | | | | | | +| | | +-----------------------+ | | | | | | | +| | +---------------------------+ +---------------------------+ +------------------------+ | | +| +----------------------------------------------------------------------------------------+ | ++--------------------------------------------------------------------------------------------+ + +Special outer level classes used in this file: + + .cke_hc: Available when the editor is rendered on "High Contrast". + .cke_rtl: Available when the editor UI is on RTL. +*/ + +/* .cke_menuitem is the element that holds the entire structure of each of the + menu items. */ + +.cke_menubutton +{ + /* The "button" inside a menu item is a element. + Transforms it into a block. */ + display: block; +} + +.cke_menuitem span +{ + /* Avoid the text selection cursor inside menu items. */ + cursor: default; +} + +.cke_menubutton:hover, +.cke_menubutton:focus, +.cke_menubutton:active +{ + background-color: #D3D3D3; + display: block; +} + +.cke_hc .cke_menubutton +{ + padding: 2px; +} + +.cke_hc .cke_menubutton:hover, +.cke_hc .cke_menubutton:focus, +.cke_hc .cke_menubutton:active +{ + border: 2px solid; + padding: 0; +} + +.cke_menubutton_inner { + display: table-row; +} + +.cke_menubutton_icon, +.cke_menubutton_label, +.cke_menuarrow { + display: table-cell; +} + +/* The menu item icon. */ +.cke_menubutton_icon +{ + background-color: #D7D8D7; + opacity: 0.70; /* Safari, Opera and Mozilla */ + filter: alpha(opacity=70); /* IE */ + padding: 4px; +} + +.cke_hc .cke_menubutton_icon +{ + height: 16px; + width: 0; + padding: 4px 0; +} + +.cke_menubutton:hover .cke_menubutton_icon, +.cke_menubutton:focus .cke_menubutton_icon, +.cke_menubutton:active .cke_menubutton_icon +{ + background-color: #D0D2D0; +} + +.cke_menubutton_disabled:hover .cke_menubutton_icon, +.cke_menubutton_disabled:focus .cke_menubutton_icon, +.cke_menubutton_disabled:active .cke_menubutton_icon +{ + /* The icon will get opacity as well when hovered. */ + opacity: 0.3; + filter: alpha(opacity=30); +} + +/* The textual part of each menu item. */ +.cke_menubutton_label +{ + padding: 0 5px; + background-color: transparent; + width: 100%; + vertical-align: middle; +} + +/* Keyboard shortcut placed next to the label. */ +.cke_menubutton_shortcut +{ + color: #979797; +} + +.cke_menubutton_disabled .cke_menubutton_label +{ + /* Greyed label text indicates a disabled menu item. */ + opacity: 0.3; + filter: alpha(opacity=30); +} + +.cke_menubutton_on +{ + border: 1px solid #dedede; + background-color: #f2f2f2; + + box-shadow: 0 0 2px rgba(0,0,0,.1) inset; +} + +.cke_menubutton_on .cke_menubutton_icon +{ + padding-right: 3px; +} + +.cke_menubutton:hover, +.cke_menubutton:focus, +.cke_menubutton:active +{ + background-color: #EFF0EF; +} + +.cke_panel_frame .cke_menubutton_label +{ + display: none; +} + +/* The separator used to separate menu item groups. */ +.cke_menuseparator +{ + background-color: #D3D3D3; + height: 1px; + filter: alpha(opacity=70); /* IE */ + opacity: 0.70; /* Safari, Opera and Mozilla */ +} + +/* The small arrow shown for item with sub-menus. */ +.cke_menuarrow +{ + background-image: url(images/arrow.png); + background-position: 0 10px; + background-repeat: no-repeat; + padding: 0 5px; +} + +.cke_rtl .cke_menuarrow +{ + background-position: 5px -13px; + background-repeat: no-repeat; +} + +.cke_menuarrow span +{ + display: none; +} + +.cke_hc .cke_menuarrow span +{ + vertical-align: middle; + display: inline; +} diff --git a/sources/skins/moono/notification.css b/sources/skins/moono/notification.css new file mode 100644 index 0000000..659fef7 --- /dev/null +++ b/sources/skins/moono/notification.css @@ -0,0 +1,168 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/** + * Progress notification structure: + * + * +---div.cke_notification cke_notification_info--------------------------+ + * | | + * | +---div.cke_notification_progress-----------------------------------+ | + * | | | | + * | +-------------------------------------------------------------------+ | + * | | + * | +---p.cke_notification_message--------------------------------------+ | + * | | Foo | | + * | +-------------------------------------------------------------------+ | + * | | + * | +---a.cke_notification_close----------------------------------------+ | + * | | +---span.cke_label----------------------------------------------+ | | + * | | | X | | | + * | | +---------------------------------------------------------------+ | | + * | +-------------------------------------------------------------------+ | + * | | + * +-----------------------------------------------------------------------+ + * + * + * Warning notification structure: + * + * +---div.cke_notification cke_notification_warning-----------------------+ + * | | + * | +---p.cke_notification_message--------------------------------------+ | + * | | Foo | | + * | +-------------------------------------------------------------------+ | + * | | + * | +---a.cke_notification_close----------------------------------------+ | + * | | +---span.cke_label----------------------------------------------+ | | + * | | | X | | | + * | | +---------------------------------------------------------------+ | | + * | +-------------------------------------------------------------------+ | + * | | + * +-----------------------------------------------------------------------+ + * + * Success and info notifications have the same structure as warning, but use + * `cke_notification_success` and `cke_notification_info` instead of `cke_notification_warning`. + */ +.cke_notifications_area +{ + /* Prevent notification margin capture clicking. */ + pointer-events: none; +} +.cke_notification +{ + pointer-events: auto; + position: relative; + margin: 10px; + width: 300px; + color: white; + border-radius: 3px; + text-align: center; + opacity: 0.95; + filter: alpha(opacity = 95); + box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.3); + + -webkit-animation: fadeIn 0.7s; + animation: fadeIn 0.7s; +} + +.cke_notification_message a +{ + color: #12306F; +} + +@-webkit-keyframes fadeIn +{ + from { opacity: 0.4; } + to { opacity: 0.95; } +} + +@keyframes fadeIn +{ + from { opacity: 0.4; } + to { opacity: 0.95; } +} + +.cke_notification_success +{ + background: #72B572; + border: 1px solid #63A563; +} + +.cke_notification_warning +{ + background: #C83939; + border: 1px solid #902B2B; +} + +.cke_notification_info +{ + background: #2E9AD0; + border: 1px solid #0F74A8; +} + +.cke_notification_info span.cke_notification_progress +{ + background-color: #0F74A8; + display: block; + padding: 0; + margin: 0; + height: 100%; + overflow: hidden; + position: absolute; + z-index: 1; +} + +.cke_notification_message +{ + position: relative; + margin: 4px 23px 3px; + font-family: Arial, Helvetica, sans-serif; + font-size: 12px; + line-height: 18px; + z-index: 4; + text-overflow: ellipsis; + overflow: hidden; +} + +.cke_notification_close +{ + background-image: url(images/close.png); + background-repeat: no-repeat; + background-position: 50%; + position: absolute; + cursor: pointer; + text-align: center; + height: 20px; + width: 20px; + top: 1px; + right: 1px; + padding: 0; + margin: 0; + z-index: 5; + opacity: 0.6; + filter: alpha(opacity = 60); +} + +.cke_notification_close:hover +{ + opacity: 1; + filter: alpha(opacity = 100); +} + +.cke_notification_close span +{ + display: none; +} + +.cke_notification_warning a.cke_notification_close +{ + opacity: 0.8; + filter: alpha(opacity = 80); +} + +.cke_notification_warning a.cke_notification_close:hover +{ + opacity: 1; + filter: alpha(opacity = 100); +} diff --git a/sources/skins/moono/panel.css b/sources/skins/moono/panel.css new file mode 100644 index 0000000..b1f457f --- /dev/null +++ b/sources/skins/moono/panel.css @@ -0,0 +1,237 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +panel.css (part of editor.css) +================================ + +Panels are floating elements that can hold different types of contents. +The following are common uses of it: + + - The element that toolbar combos display when opening them. + - The context menu. + - The list of items displayed by "menu buttons" (e.g. scayt). + - The panel shown when opening "panel buttons" (e.g. color buttons). + +Panel contents are wrapped into an iframe, so it is possible to have additional +CSS loaded inside them (e.g. to have more accurate preview on the styles combo). + +The following is a visual representation of the outer elements of a panel: + ++-- .cke_panel(*) ---------------------+ +| +-- IFRAME.cke_panel_frame --------+ | +| | +-- HTML.cke_panel_container --+ | | +| | | +-- .cke_panel_block ------+ | | | +| | | | | | | | +| | | | (contents here) | | | | +| | | | | | | | +| | | +--------------------------+ | | | +| | +------------------------------+ | | +| +----------------------------------+ | ++--------------------------------------+ + +(*) All kinds of panel share the above structure. Menu panels adds the + .cke_menu_panel class to the outer element, while toolbar combos add the + .cke_combopanel class. + +This file also defines styles for panel lists (used by combos). For menu-like +panel contents and color panels check menu.css and colorpanel.css. +*/ + +/* The box that holds an IFRAME. It's inserted into a host document and positioned + absolutely by the application. It floats above the host document/editor. */ +.cke_panel +{ + /* Restore the loading hide */ + visibility: visible; + width: 120px; + height: 100px; + overflow: hidden; + + background-color: #fff; + border: 1px solid #b6b6b6; + border-bottom-color: #999; + + border-radius: 3px; + + box-shadow: 0 0 3px rgba(0,0,0,.15); +} + +/* This class represents panels which are used as context menus. */ +.cke_menu_panel +{ + padding: 0; + margin: 0; +} + +/* This class represents panels which are used by rich combos. */ +.cke_combopanel +{ + width: 150px; + height: 170px; +} + +/* The IFRAME the panel is wrapped into. */ +.cke_panel_frame +{ + width: 100%; + height: 100%; + font-size: 12px; + + overflow: auto; + overflow-x: hidden; +} + +/* The HTML document which is a direct descendant of the IFRAME */ +.cke_panel_container +{ + overflow-y: auto; + overflow-x: hidden; +} + +/* +Here we start the definition of panel lists (e.g. combo panels). The following +is its visual representation: + ++-- .cke_panel_block -----------------+ +| +-- .cke_panel_grouptitle --------+ | +| | | | +| +---------------------------------+ | +| +-- .cke_panel_list --------------+ | +| | +-- .cke_panel_listItem ------+ | | +| | | +-- a --------------------+ | | | +| | | | +-- span -------------+ | | | | +| | | | | | | | | | +| | | | +---------------------+ | | | | +| | | +-------------------------+ | | | +| | +-----------------------------+ | | +| | +-- .cke_panel_listItem ------+ | | +| | | +-- a --------------------+ | | | +| | | | +-- span -------------+ | | | | +| | | | | | | | | | +| | | | +---------------------+ | | | | +| | | +-------------------------+ | | | +| | +-----------------------------+ | | +| | ... | | +| +---------------------------------+ | ++-------------------------------------+ +*/ + + +/* The list of panel items. */ +.cke_panel_list +{ + list-style-type: none; + margin: 3px; + padding: 0; + white-space: nowrap; +} + +/* The item of .cke_panel_list */ +.cke_panel_listItem +{ + margin: 0; + padding-bottom: 1px; +} + +/* The child of .cke_panel_listItem. These elements contain spans which are + to display a real name of the property which is visible for an end-user. */ +.cke_panel_listItem a +{ + padding: 3px 4px; + display: block; + border: 1px solid #fff; + color: inherit !important; + text-decoration: none; + overflow: hidden; + text-overflow: ellipsis; + + border-radius: 2px; +} + +/* IE6 */ +* html .cke_panel_listItem a +{ + width : 100%; + + /* IE is not able to inherit the color, so we must force it to black */ + color: #000; +} + +/* IE7 */ +*:first-child+html .cke_panel_listItem a +{ + /* IE is not able to inherit the color, so we must force it to black */ + color: #000; +} + +.cke_panel_listItem.cke_selected a +{ + border: 1px solid #dedede; + background-color: #f2f2f2; + + box-shadow: 0 0 2px rgba(0,0,0,.1) inset; +} + +.cke_panel_listItem a:hover, +.cke_panel_listItem a:focus, +.cke_panel_listItem a:active +{ + border-color: #dedede; + background-color: #f2f2f2; + + box-shadow: 0 0 2px rgba(0,0,0,.1) inset; +} + +.cke_hc .cke_panel_listItem a +{ + border-style: none; +} + +.cke_hc .cke_panel_listItem a:hover, +.cke_hc .cke_panel_listItem a:focus, +.cke_hc .cke_panel_listItem a:active +{ + border: 2px solid; + padding: 1px 2px; +} + +/* The title of the entire panel which is visible on top of the list. */ +.cke_panel_grouptitle +{ + cursor: default; + font-size: 11px; + font-weight: bold; + white-space: nowrap; + margin: 0; + padding: 4px 6px; + + color: #474747; + text-shadow: 0 1px 0 rgba(255,255,255,.75); + border-bottom: 1px solid #b6b6b6; + + border-radius: 2px 2px 0 0; + + box-shadow: 0 1px 0 #fff inset; + + background: #cfd1cf; + background-image: linear-gradient(to bottom, #f5f5f5, #cfd1cf); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf'); +} + +/* The following styles set defaults of the elements used by the Paragraph + Format panel. */ +.cke_panel_listItem p, +.cke_panel_listItem h1, +.cke_panel_listItem h2, +.cke_panel_listItem h3, +.cke_panel_listItem h4, +.cke_panel_listItem h5, +.cke_panel_listItem h6, +.cke_panel_listItem pre +{ + margin-top: 0px; + margin-bottom: 0px; +} diff --git a/sources/skins/moono/presets.css b/sources/skins/moono/presets.css new file mode 100644 index 0000000..2d06deb --- /dev/null +++ b/sources/skins/moono/presets.css @@ -0,0 +1,41 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* "Source" button label */ +.cke_button__source_label, +.cke_button__sourcedialog_label +{ + display: inline; +} + +/* "Font Size" combo width */ +.cke_combo__fontsize .cke_combo_text +{ + width: 30px; +} + +/* "Font Size" panel size */ +.cke_combopanel__fontsize +{ + width: 120px; +} + +/* Editable regions */ +textarea.cke_source +{ + font-family: 'Courier New', Monospace; + font-size: small; + background-color: #fff; + white-space: pre-wrap; + border: none; + padding: 0; + margin: 0; + display: block; +} + +.cke_wysiwyg_frame, .cke_wysiwyg_div +{ + background-color: #fff; +} diff --git a/sources/skins/moono/readme.md b/sources/skins/moono/readme.md new file mode 100644 index 0000000..4a4ed6b --- /dev/null +++ b/sources/skins/moono/readme.md @@ -0,0 +1,49 @@ +"Moono" Skin +==================== + +This skin has been chosen for the **default skin** of CKEditor 4.x (replaced by "Moono-lisa" skin since CKEditor 4.6.0), +elected from the CKEditor [skin contest](http://ckeditor.com/blog/new_ckeditor_4_skin) and further shaped by +the CKEditor team. "Moono" is maintained by the core developers. + +For more information about skins, please check the [CKEditor Skin SDK](http://docs.cksource.com/CKEditor_4.x/Skin_SDK) +documentation. + +Features +------------------- +"Moono" is a monochromatic skin, which offers a modern look coupled with gradients and transparency. +It comes with the following features: + +- Chameleon feature with brightness, +- high-contrast compatibility, +- graphics source provided in SVG. + +Directory Structure +------------------- + +CSS parts: +- **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenance, +- **mainui.css**: the file contains styles of entire editor outline structures, +- **toolbar.css**: the file contains styles of the editor toolbar space (top), +- **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar, +- **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded +until the first panel open up, +- **elementspath.css**: the file contains styles of the editor elements path bar (bottom), +- **menu.css**: the file contains styles of all editor menus including context menu and button drop-down, +it's not loaded until the first menu open up, +- **dialog.css**: the CSS files for the dialog UI, it's not loaded until the first dialog open, +- **reset.css**: the file defines the basis of style resets among all editor UI spaces, +- **preset.css**: the file defines the default styles of some UI elements reflecting the skin preference, +- **editor_XYZ.css** and **dialog_XYZ.css**: browser specific CSS hacks. + +Other parts: +- **skin.js**: the only JavaScript part of the skin that registers the skin, its browser specific files and its icons and defines the Chameleon feature, +- **icons/**: contains all skin defined icons, +- **images/**: contains a fill general used images, +- **dev/**: contains SVG source of the skin icons. + +License +------- + +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + +For licensing, see LICENSE.md or [http://ckeditor.com/license](http://ckeditor.com/license) diff --git a/sources/skins/moono/reset.css b/sources/skins/moono/reset.css new file mode 100644 index 0000000..d64bf82 --- /dev/null +++ b/sources/skins/moono/reset.css @@ -0,0 +1,115 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +reset.css (part of editor.css) +================================ + +This file holds the "reset" requirements of CKEditor, as well as define the +default interface styles. + +CKEditor includes two main "reset" class names in the DOM structure created for +editors: + + * .cke_reset: Intended to reset a specific element, but not its children. + Because of this, only styles that will not be inherited can be defined. + + * .cke_reset_all: Intended to reset not only the element holding it, but + also its child elements. + +To understand why "reset" is needed, check the CKEditor Skin SDK: +http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Reset +*/ + +/* Reset for single elements, not their children. */ +.cke_reset +{ + /* Do not include inheritable rules here. */ + margin: 0; + padding: 0; + border: 0; + background: transparent; + text-decoration: none; + width: auto; + height: auto; + vertical-align: baseline; + box-sizing: content-box; + position: static; + transition: none; +} + +/* Reset for elements and their children. */ +.cke_reset_all, .cke_reset_all *, +.cke_reset_all a, .cke_reset_all textarea +{ + /* The following must be identical to .cke_reset. */ + margin: 0; + padding: 0; + border: 0; + background: transparent; + text-decoration: none; + width: auto; + height: auto; + vertical-align: baseline; + box-sizing: content-box; + position: static; + transition: none; + + /* These are rule inherited by all children elements. */ + border-collapse: collapse; + font: normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif; + color: #000; + text-align: left; + white-space: nowrap; + cursor: auto; + float: none; +} + +.cke_reset_all .cke_rtl * +{ + text-align: right; +} + +/* Defaults for some elements. */ + +.cke_reset_all iframe +{ + vertical-align: inherit; /** For IE */ +} + +.cke_reset_all textarea +{ + white-space: pre-wrap; +} + +.cke_reset_all textarea, +.cke_reset_all input[type="text"], +.cke_reset_all input[type="password"] +{ + cursor: text; +} + +.cke_reset_all textarea[disabled], +.cke_reset_all input[type="text"][disabled], +.cke_reset_all input[type="password"][disabled] +{ + cursor: default; +} + +.cke_reset_all fieldset +{ + padding: 10px; + border: 2px groove #E0DFE3; +} + +.cke_reset_all select +{ + box-sizing: border-box; +} + +.cke_reset_all table +{ + table-layout: auto; +} diff --git a/sources/skins/moono/richcombo.css b/sources/skins/moono/richcombo.css new file mode 100644 index 0000000..7897a66 --- /dev/null +++ b/sources/skins/moono/richcombo.css @@ -0,0 +1,210 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +richcombo.css (part of editor.css) +================================= + +This file holds the style set of the "Rich Combo" widget which is commonly used +in the toolbar. It doesn't, however, styles the panel that is displayed when +clicking on the combo, which is instead styled by panel.css. + +The visual representation of a rich combo widget looks as follows: + ++-- .cke_combo----------------------------------------------------------------------+ +| +-- .cke_combo_label --+ +-- .cke_combo_button ---------------------------------+ | +| | | | +-- .cke_combo_text --+ +-- .cke_combo_open -------+ | | +| | | | | | | +-- .cke_combo_arrow --+ | | | +| | | | | | | | | | | | +| | | | | | | +----------------------+ | | | +| | | | +---------------------+ +--------------------------+ | | +| +----------------------+ +------------------------------------------------------+ | ++-----------------------------------------------------------------------------------+ +*/ + +/* The box that hold the entire combo widget */ +.cke_combo +{ + display: inline-block; + float: left; +} + +.cke_rtl .cke_combo +{ + float: right; +} + +.cke_hc .cke_combo +{ + margin-top: -2px; +} + +/* The label of the combo widget. It is invisible by default, yet + it's important for semantics and accessibility. */ +.cke_combo_label +{ + display: none; + float: left; + line-height: 26px; + vertical-align: top; + margin-right: 5px; +} + +.cke_rtl .cke_combo_label +{ + float: right; + margin-left: 5px; + margin-right: 0; +} + +/* The container for combo text and arrow. */ +a.cke_combo_button +{ + cursor: default; + display: inline-block; + float: left; + margin: 0 6px 5px 0; + + border: 1px solid #a6a6a6; + border-bottom-color: #979797; + + border-radius: 3px; + + box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; + + background: #e4e4e4; + background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); +} + +/* Different states of the container. */ +.cke_combo_off a.cke_combo_button:hover, +.cke_combo_off a.cke_combo_button:focus +{ + background: #ccc; + background-image: linear-gradient(to bottom, #f2f2f2, #ccc); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); + + outline: none; +} + +.cke_combo_off a.cke_combo_button:active, +.cke_combo_on a.cke_combo_button +{ + border: 1px solid #777; + + box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 1px 5px rgba(0,0,0,.6) inset; + + background: #b5b5b5; + background-image: linear-gradient(to bottom, #aaa, #cacaca); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#aaaaaa', endColorstr='#cacaca'); +} + +.cke_combo_on a.cke_combo_button:hover, +.cke_combo_on a.cke_combo_button:focus, +.cke_combo_on a.cke_combo_button:active +{ + box-shadow: 0 1px 6px rgba(0,0,0,.7) inset, 0 1px 0 rgba(0,0,0,.2); +} + +.cke_rtl .cke_combo_button +{ + float: right; + margin-left: 5px; + margin-right: 0; +} + +.cke_hc a.cke_combo_button +{ + padding: 3px; +} + +.cke_hc .cke_combo_on a.cke_combo_button, +.cke_hc .cke_combo_off a.cke_combo_button:hover, +.cke_hc .cke_combo_off a.cke_combo_button:focus, +.cke_hc .cke_combo_off a.cke_combo_button:active +{ + border-width: 3px; + padding: 1px; +} + +/* The label that shows the current value of the rich combo. + By default, it holds the name of the property. + See: .cke_combo_inlinelabel */ +.cke_combo_text +{ + line-height: 26px; + padding-left: 10px; + text-overflow: ellipsis; + overflow: hidden; + float: left; + cursor: default; + color: #474747; + text-shadow: 0 1px 0 rgba(255,255,255,.5); + width: 60px; +} + +.cke_rtl .cke_combo_text +{ + float: right; + text-align: right; + padding-left: 0; + padding-right: 10px; +} + +.cke_hc .cke_combo_text +{ + line-height: 18px; + font-size: 12px; +} + +/* The handler which opens the panel of rich combo properties. + It holds an arrow as a visual indicator. */ +.cke_combo_open +{ + cursor: default; + display: inline-block; + font-size: 0; + height: 19px; + line-height: 17px; + margin: 1px 7px 1px; + width: 5px; +} + +.cke_hc .cke_combo_open +{ + height: 12px; +} + +/* The arrow which is displayed inside of the .cke_combo_open handler. */ +.cke_combo_arrow +{ + cursor: default; + margin: 11px 0 0; + float: left; + + /* Pure CSS Arrow */ + height: 0; + width: 0; + font-size: 0; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-top: 3px solid #474747; +} + +.cke_hc .cke_combo_arrow +{ + font-size: 10px; + width: auto; + border: 0; + margin-top: 3px; +} + +/* Disabled combo button styles. */ +.cke_combo_disabled .cke_combo_inlinelabel, +.cke_combo_disabled .cke_combo_open +{ + opacity: 0.3; +} diff --git a/sources/skins/moono/skin.js b/sources/skins/moono/skin.js new file mode 100644 index 0000000..420b22e --- /dev/null +++ b/sources/skins/moono/skin.js @@ -0,0 +1,316 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/* +skin.js +========= + +In this file we interact with the CKEditor JavaScript API to register the skin +and enable additional skin related features. + +The level of complexity of this file depends on the features available in the +skin. There is only one mandatory line of code to be included here, which is +setting CKEDITOR.skin.name. All the rest is optional, but recommended to be +implemented as they make higher quality skins. + +For this skin, the following tasks are achieved in this file: + + 1. Register the skin. + 2. Register browser specific skin files. + 3. Define the "Chameleon" feature. + 4. Register the skin icons, to have them used on the development version of + the skin. +*/ + +// 1. Register the skin +// ---------------------- +// The CKEDITOR.skin.name property must be set to the skin name. This is a +// lower-cased name, which must match the skin folder name as well as the value +// used on config.skin to tell the editor to use the skin. +// +// This is the only mandatory property to be defined in this file. +CKEDITOR.skin.name = 'moono'; + +// 2. Register browser specific skin files +// ----------------------------------------- +// (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Browser_Hacks) +// +// To help implementing browser specific "hacks" to the skin files and have it +// easy to maintain, it is possible to have dedicated files for such browsers, +// for both the main skin CSS files: editor.css and dialog.css. +// +// The browser files must be named after the main file names, appended by an +// underscore and the browser name (e.g. editor_ie.css, dialog_ie8.css). +// +// The accepted browser names must match the CKEDITOR.env properties. The most +// common names are: ie, webkit and gecko. Check the documentation for the complete +// list: +// http://docs.ckeditor.com/#!/api/CKEDITOR.env +// +// Internet explorer is an expection and the browser version is also accepted +// (ie7, ie8, ie9, ie10), as well as a special name for IE in Quirks mode (iequirks). +// +// The available browser specific files must be set separately for editor.css +// and dialog.css. +CKEDITOR.skin.ua_editor = 'ie,iequirks,ie7,ie8,gecko'; +CKEDITOR.skin.ua_dialog = 'ie,iequirks,ie7,ie8'; + +// 3. Define the "Chameleon" feature +// ----------------------------------- +// (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Chameleon) +// +// "Chameleon" is a unique feature available in CKEditor. It makes it possible +// to end users to specify which color to use as the basis for the editor UI. +// It is enough to set config.uiColor to any color value and voila, the UI is +// colored. +// +// The only detail here is that the skin itself must be compatible with the +// Chameleon feature. That's because the skin CSS files are the responsible to +// apply colors in the UI and each skin do that in different way and on +// different places. +// +// Implementing the Chameleon feature requires a bit of JavaScript programming. +// The CKEDITOR.skin.chameleon function must be defined. It must return the CSS +// "template" to be used to change the color of a specific CKEditor instance +// available in the page. When a color change is required, this template is +// appended to the page holding the editor, overriding styles defined in the +// skin files. +// +// The "$color" placeholder can be used in the returned string. It'll be +// replaced with the desired color. +CKEDITOR.skin.chameleon = ( function() { + // This method can be used to adjust colour brightness of various element. + // Colours are accepted in 7-byte hex format, for example: #00ff00. + // Brightness ratio must be a float number within [-1, 1], + // where -1 is black, 1 is white and 0 is the original colour. + var colorBrightness = ( function() { + function channelBrightness( channel, ratio ) { + var brighten = ratio < 0 ? ( + 0 | channel * ( 1 + ratio ) + ) : ( + 0 | channel + ( 255 - channel ) * ratio + ); + + return ( '0' + brighten.toString( 16 ) ).slice( -2 ); + } + + return function( hexColor, ratio ) { + var channels = hexColor.match( /[^#]./g ); + + for ( var i = 0 ; i < 3 ; i++ ) + channels[ i ] = channelBrightness( parseInt( channels[ i ], 16 ), ratio ); + + return '#' + channels.join( '' ); + }; + } )(), + + // Use this function just to avoid having to repeat all these rules on + // several places of our template. + verticalGradient = ( function() { + var template = new CKEDITOR.template( 'background:#{to};' + + 'background-image:linear-gradient(to bottom,{from},{to});' + + 'filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr=\'{from}\',endColorstr=\'{to}\');' ); + + return function( from, to ) { + return template.output( { from: from, to: to } ); + }; + } )(), + + // Style templates for various user interface parts: + // * Default editor template. + // * Default panel template. + templates = { + editor: new CKEDITOR.template( + '{id}.cke_chrome [border-color:{defaultBorder};] ' + + '{id} .cke_top [ ' + + '{defaultGradient}' + + 'border-bottom-color:{defaultBorder};' + + '] ' + + '{id} .cke_bottom [' + + '{defaultGradient}' + + 'border-top-color:{defaultBorder};' + + '] ' + + '{id} .cke_resizer [border-right-color:{ckeResizer}] ' + + + // Dialogs. + '{id} .cke_dialog_title [' + + '{defaultGradient}' + + 'border-bottom-color:{defaultBorder};' + + '] ' + + '{id} .cke_dialog_footer [' + + '{defaultGradient}' + + 'outline-color:{defaultBorder};' + + 'border-top-color:{defaultBorder};' + // IE7 doesn't use outline. + '] ' + + '{id} .cke_dialog_tab [' + + '{lightGradient}' + + 'border-color:{defaultBorder};' + + '] ' + + '{id} .cke_dialog_tab:hover [' + + '{mediumGradient}' + + '] ' + + '{id} .cke_dialog_contents [' + + 'border-top-color:{defaultBorder};' + + '] ' + + '{id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [' + + 'background:{dialogTabSelected};' + + 'border-bottom-color:{dialogTabSelectedBorder};' + + '] ' + + '{id} .cke_dialog_body [' + + 'background:{dialogBody};' + + 'border-color:{defaultBorder};' + + '] ' + + + // Toolbars, buttons. + '{id} .cke_toolgroup [' + + '{lightGradient}' + + 'border-color:{defaultBorder};' + + '] ' + + '{id} a.cke_button_off:hover, {id} a.cke_button_off:focus, {id} a.cke_button_off:active [' + + '{mediumGradient}' + + '] ' + + '{id} .cke_button_on [' + + '{ckeButtonOn}' + + '] ' + + '{id} .cke_toolbar_separator [' + + 'background-color: {ckeToolbarSeparator};' + + '] ' + + + // Combo buttons. + '{id} .cke_combo_button [' + + 'border-color:{defaultBorder};' + + '{lightGradient}' + + '] ' + + '{id} a.cke_combo_button:hover, {id} a.cke_combo_button:focus, {id} .cke_combo_on a.cke_combo_button [' + + 'border-color:{defaultBorder};' + + '{mediumGradient}' + + '] ' + + + // Elementspath. + '{id} .cke_path_item [' + + 'color:{elementsPathColor};' + + '] ' + + '{id} a.cke_path_item:hover, {id} a.cke_path_item:focus, {id} a.cke_path_item:active [' + + 'background-color:{elementsPathBg};' + + '] ' + + + '{id}.cke_panel [' + + 'border-color:{defaultBorder};' + + '] ' + ), + panel: new CKEDITOR.template( + // Panel drop-downs. + '.cke_panel_grouptitle [' + + '{lightGradient}' + + 'border-color:{defaultBorder};' + + '] ' + + + // Context menus. + '.cke_menubutton_icon [' + + 'background-color:{menubuttonIcon};' + + '] ' + + '.cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [' + + 'background-color:{menubuttonIconHover};' + + '] ' + + '.cke_menuseparator [' + + 'background-color:{menubuttonIcon};' + + '] ' + + + // Color boxes. + 'a:hover.cke_colorbox, a:focus.cke_colorbox, a:active.cke_colorbox [' + + 'border-color:{defaultBorder};' + + '] ' + + 'a:hover.cke_colorauto, a:hover.cke_colormore, a:focus.cke_colorauto, a:focus.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [' + + 'background-color:{ckeColorauto};' + + 'border-color:{defaultBorder};' + + '] ' + ) + }; + + return function( editor, part ) { + var uiColor = editor.uiColor, + // The following are CSS styles used in templates. + // Styles are generated according to current editor.uiColor. + templateStyles = { + // CKEditor instances have a unique ID, which is used as class name into + // the outer container of the editor UI (e.g. ".cke_1"). + // + // The Chameleon feature is available for each CKEditor instance, + // independently. Because of this, we need to prefix all CSS selectors with + // the unique class name of the instance. + id: '.' + editor.id, + + // These styles are used by various UI elements. + defaultBorder: colorBrightness( uiColor, -0.1 ), + defaultGradient: verticalGradient( colorBrightness( uiColor, 0.9 ), uiColor ), + lightGradient: verticalGradient( colorBrightness( uiColor, 1 ), colorBrightness( uiColor, 0.7 ) ), + mediumGradient: verticalGradient( colorBrightness( uiColor, 0.8 ), colorBrightness( uiColor, 0.5 ) ), + + // These are for specific UI elements. + ckeButtonOn: verticalGradient( colorBrightness( uiColor, 0.6 ), colorBrightness( uiColor, 0.7 ) ), + ckeResizer: colorBrightness( uiColor, -0.4 ), + ckeToolbarSeparator: colorBrightness( uiColor, 0.5 ), + ckeColorauto: colorBrightness( uiColor, 0.8 ), + dialogBody: colorBrightness( uiColor, 0.7 ), + // Use gradient instead of simple hex to avoid further filter resetting in IE. + dialogTabSelected: verticalGradient( '#FFFFFF', '#FFFFFF' ), + dialogTabSelectedBorder: '#FFF', + elementsPathColor: colorBrightness( uiColor, -0.6 ), + elementsPathBg: uiColor, + menubuttonIcon: colorBrightness( uiColor, 0.5 ), + menubuttonIconHover: colorBrightness( uiColor, 0.3 ) + }; + + return templates[ part ] + .output( templateStyles ) + .replace( /\[/g, '{' ) // Replace brackets with braces. + .replace( /\]/g, '}' ); + }; +} )(); + +// %REMOVE_START% + +// 4. Register the skin icons for development purposes only +// ---------------------------------------------------------- +// (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Icons) +// +// This code is here just to make the skin work fully when using its "source" +// version. Without this, the skin will still work, but its icons will not be +// used (again, on source version only). +// +// This block of code is not necessary on the release version of the skin. +// Because of this it is very important to include it inside the REMOVE_START +// and REMOVE_END comment markers, so the skin builder will properly clean +// things up. +// +// If a required icon is not available here, the plugin defined icon will be +// used instead. This means that a skin is not required to provide all icons. +// Actually, it is not required to provide icons at all. + +( function() { + // The available icons. This list must match the file names (without + // extension) available inside the "icons" folder. + var icons = ( 'about,anchor-rtl,anchor,bgcolor,bidiltr,bidirtl,blockquote,' + + 'bold,bulletedlist-rtl,bulletedlist,button,checkbox,copy-rtl,copy,copyformatting,' + + 'creatediv,cut-rtl,cut,docprops-rtl,docprops,find-rtl,find,flash,form,' + + 'hiddenfield,horizontalrule,icons,iframe,image,imagebutton,indent-rtl,' + + 'indent,italic,justifyblock,justifycenter,justifyleft,justifyright,' + + 'link,maximize,newpage-rtl,newpage,numberedlist-rtl,numberedlist,' + + 'outdent-rtl,outdent,pagebreak-rtl,pagebreak,paste-rtl,paste,' + + 'pastefromword-rtl,pastefromword,pastetext-rtl,pastetext,preview-rtl,' + + 'preview,print,radio,redo-rtl,redo,removeformat,replace,save,scayt,' + + 'select-rtl,select,selectall,showblocks-rtl,showblocks,smiley,' + + 'source-rtl,source,specialchar,spellchecker,strike,subscript,' + + 'superscript,table,templates-rtl,templates,textarea-rtl,textarea,' + + 'textcolor,textfield-rtl,textfield,uicolor,underline,undo-rtl,undo,unlink' ).split( ',' ); + + var iconsFolder = CKEDITOR.getUrl( CKEDITOR.skin.path() + 'icons/' + ( CKEDITOR.env.hidpi ? 'hidpi/' : '' ) ); + + for ( var i = 0; i < icons.length; i++ ) { + CKEDITOR.skin.addIcon( icons[ i ], iconsFolder + icons[ i ] + '.png' ); + } +} )(); + +// %REMOVE_END% diff --git a/sources/skins/moono/toolbar.css b/sources/skins/moono/toolbar.css new file mode 100644 index 0000000..a5d32d4 --- /dev/null +++ b/sources/skins/moono/toolbar.css @@ -0,0 +1,387 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +toolbar.css (part of editor.css) +================================== + +This files styles the CKEditor toolbar and its buttons. For toolbar combo +styles, check richcombo.css. + +The toolbar is rendered as a big container (called toolbox), which contains +smaller "toolbars". Each toolbar represents a group of items that cannot be +separated. The following is the visual representation of the toolbox. + ++-- .cke_toolbox ----------------------------------------------------------+ +| +-- .cke_toolbar --+ +-- .cke_toolbar --+ ... +-- .cke_toolbar_break --+ | +| | | | | | | | +| +------------------+ +------------------+ +------------------------+ | +| +-- .cke_toolbar --+ +-- .cke_toolbar --+ ... | +| | | | | | +| +------------------+ +------------------+ | ++--------------------------------------------------------------------------+ + +The following instead is the visual representation of a single toolbar: + ++-- .cke_toolbar ----------------------------------------------------------------+ +| +-- .cke_toolbar_start --+ +-- .cke_toolgroup (*) --+ +-- .cke_toolbar_end --+ | +| | | | | | | | +| +------------------------+ +------------------------+ +----------------------+ | ++--------------------------------------------------------------------------------+ +(*) .cke_toolgroup is available only when the toolbar items can be grouped + (buttons). If the items can't be group (combos), this box is not available + and the items are rendered straight in that place. + +This file also styles toolbar buttons, which are rendered inside the above +.cke_toolgroup containers. This is the visual representation of a button: + ++-- .cke_button -------------------------------------+ +| +-- .cke_button_icon --+ +-- .cke_button_label --+ | +| | | | | | +| +----------------------+ +-----------------------+ | ++----------------------------------------------------+ + +Special outer level classes used in this file: + + .cke_hc: Available when the editor is rendered on "High Contrast". + .cke_rtl: Available when the editor UI is on RTL. +*/ + +/* The box that holds each toolbar. */ +.cke_toolbar +{ + float: left; +} + +.cke_rtl .cke_toolbar +{ + float: right; +} + +/* The box that holds buttons. */ +.cke_toolgroup +{ + float: left; + margin: 0 6px 5px 0; + border: 1px solid #a6a6a6; + border-bottom-color: #979797; + + border-radius: 3px; + + box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; + + background: #e4e4e4; + background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); +} + +.cke_hc .cke_toolgroup +{ + border: 0; + margin-right: 10px; + margin-bottom: 10px; +} + +.cke_rtl .cke_toolgroup +{ + float: right; + margin-left: 6px; + margin-right: 0; +} + +/* A toolbar button . */ +a.cke_button +{ + display: inline-block; + height: 18px; + padding: 4px 6px; + outline: none; + cursor: default; + float: left; + border: 0; +} + +.cke_ltr .cke_button:last-child, +.cke_rtl .cke_button:first-child +{ + /* Don't distort parent's rounded border. */ + border-radius: 0 2px 2px 0; +} + +.cke_ltr .cke_button:first-child, +.cke_rtl .cke_button:last-child +{ + /* Don't distort parent's rounded border. */ + border-radius: 2px 0 0 2px; +} + +.cke_rtl .cke_button +{ + float: right; +} + +.cke_hc .cke_button +{ + border: 1px solid black; + + /* Compensate the added border */ + padding: 3px 5px; + margin: -2px 4px 0 -2px; +} + +/* This class is applied to the button when it is "active" (pushed). + This style indicates that the feature associated with the button is active + i.e. currently writing in bold or when spell checking is enabled. */ +a.cke_button_on +{ + box-shadow: 0 1px 5px rgba(0,0,0,.6) inset, 0 1px 0 rgba(0,0,0,.2); + + background: #b5b5b5; + background-image: linear-gradient(to bottom, #aaa, #cacaca); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#aaaaaa', endColorstr='#cacaca'); +} + +.cke_hc .cke_button_on, +.cke_hc a.cke_button_off:hover, +.cke_hc a.cke_button_off:focus, +.cke_hc a.cke_button_off:active, +.cke_hc a.cke_button_disabled:hover, +.cke_hc a.cke_button_disabled:focus, +.cke_hc a.cke_button_disabled:active +{ + border-width: 3px; + + /* Compensate the border change */ + padding: 1px 3px; +} + +/* This class is applied to the button when the feature associated with the + button cannot be used (grayed-out). + i.e. paste button remains disabled when there is nothing in the clipboard to + be pasted. */ +.cke_button_disabled .cke_button_icon +{ + opacity: 0.3; +} + +.cke_hc .cke_button_disabled +{ + opacity: 0.5; +} + +a.cke_button_on:hover, +a.cke_button_on:focus, +a.cke_button_on:active +{ + box-shadow: 0 1px 6px rgba(0,0,0,.7) inset, 0 1px 0 rgba(0,0,0,.2); +} + +a.cke_button_off:hover, +a.cke_button_off:focus, +a.cke_button_off:active, +a.cke_button_disabled:hover, +a.cke_button_disabled:focus, +a.cke_button_disabled:active +{ + box-shadow: 0 0 1px rgba(0,0,0,.3) inset; + + background: #ccc; + background-image: linear-gradient(to bottom, #f2f2f2, #ccc); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); +} + +/* The icon which is a visual representation of the button. */ +.cke_button_icon +{ + cursor: inherit; + background-repeat: no-repeat; + margin-top: 1px; + width: 16px; + height: 16px; + float: left; + display: inline-block; +} + +.cke_rtl .cke_button_icon +{ + float: right; +} + +.cke_hc .cke_button_icon +{ + display: none; +} + +/* The label of the button that stores the name of the feature. By default, + labels are invisible. They can be revealed on demand though. */ +.cke_button_label +{ + display: none; + padding-left: 3px; + margin-top: 1px; + line-height: 17px; + vertical-align: middle; + float: left; + cursor: default; + color: #474747; + text-shadow: 0 1px 0 rgba(255,255,255,.5); +} + +.cke_rtl .cke_button_label +{ + padding-right: 3px; + padding-left: 0; + float: right; +} + +.cke_hc .cke_button_label +{ + padding: 0; + display: inline-block; + font-size: 12px; +} + +/* The small arrow available on buttons that can be expanded + (e.g. the color buttons). */ +.cke_button_arrow +{ + /* Arrow in CSS */ + display: inline-block; + margin: 8px 0 0 1px; + width: 0; + height: 0; + cursor: default; + vertical-align: top; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-top: 3px solid #474747; +} + +.cke_rtl .cke_button_arrow +{ + margin-right: 5px; + margin-left: 0; +} + +.cke_hc .cke_button_arrow +{ + font-size: 10px; + margin: 3px -2px 0 3px; + width: auto; + border: 0; +} + +/* The vertical separator which is used within a single toolbar to split + buttons into sub-groups. */ +.cke_toolbar_separator +{ + float: left; + background-color: #c0c0c0; + background-color: rgba(0,0,0,.2); + margin: 5px 2px 0; + height: 18px; + width: 1px; + + box-shadow: 1px 0 1px rgba(255,255,255,.5); +} + +.cke_rtl .cke_toolbar_separator +{ + float: right; + + box-shadow: -1px 0 1px rgba(255,255,255,.1); +} + +.cke_hc .cke_toolbar_separator +{ + width: 0; + border-left: 1px solid; + margin: 1px 5px 0 0px; +} + +/* The dummy element that breaks toolbars. + Once it is placed, the very next toolbar is moved to the new row. */ +.cke_toolbar_break +{ + display: block; + clear: left; +} + +.cke_rtl .cke_toolbar_break +{ + clear: right; +} + +/* The button, which when clicked hides (collapses) all the toolbars. */ +a.cke_toolbox_collapser +{ + width: 12px; + height: 11px; + float: right; + margin: 11px 0 0; + font-size: 0; + cursor: default; + text-align: center; + + border: 1px solid #a6a6a6; + border-bottom-color: #979797; + + border-radius: 3px; + + box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; + + background: #e4e4e4; + background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); +} + +.cke_toolbox_collapser:hover +{ + background: #ccc; + background-image: linear-gradient(to bottom, #f2f2f2, #ccc); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); +} + +.cke_toolbox_collapser.cke_toolbox_collapser_min +{ + margin: 0 2px 4px; +} + +.cke_rtl .cke_toolbox_collapser +{ + float: left; +} + +/* The CSS arrow, which belongs to the toolbar collapser. */ +.cke_toolbox_collapser .cke_arrow +{ + display: inline-block; + + /* Pure CSS Arrow */ + height: 0; + width: 0; + font-size: 0; + margin-top: 1px; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-bottom: 3px solid #474747; + border-top: 3px solid transparent; +} + +.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow +{ + margin-top: 4px; + border-bottom-color: transparent; + border-top-color: #474747; +} + +.cke_hc .cke_toolbox_collapser .cke_arrow +{ + font-size: 8px; + width: auto; + border: 0; + margin-top: 0; + margin-right: 2px; +} diff --git a/sources/styles.js b/sources/styles.js new file mode 100644 index 0000000..733bb4b --- /dev/null +++ b/sources/styles.js @@ -0,0 +1,138 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +// This file contains style definitions that can be used by CKEditor plugins. +// +// The most common use for it is the "stylescombo" plugin which shows the Styles drop-down +// list containing all styles in the editor toolbar. Other plugins, like +// the "div" plugin, use a subset of the styles for their features. +// +// If you do not have plugins that depend on this file in your editor build, you can simply +// ignore it. Otherwise it is strongly recommended to customize this file to match your +// website requirements and design properly. +// +// For more information refer to: http://docs.ckeditor.com/#!/guide/dev_styles-section-style-rules + +CKEDITOR.stylesSet.add( 'default', [ + /* Block styles */ + + // These styles are already available in the "Format" drop-down list ("format" plugin), + // so they are not needed here by default. You may enable them to avoid + // placing the "Format" combo in the toolbar, maintaining the same features. + /* + { name: 'Paragraph', element: 'p' }, + { name: 'Heading 1', element: 'h1' }, + { name: 'Heading 2', element: 'h2' }, + { name: 'Heading 3', element: 'h3' }, + { name: 'Heading 4', element: 'h4' }, + { name: 'Heading 5', element: 'h5' }, + { name: 'Heading 6', element: 'h6' }, + { name: 'Preformatted Text',element: 'pre' }, + { name: 'Address', element: 'address' }, + */ + + { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } }, + { name: 'Subtitle', element: 'h3', styles: { 'color': '#aaa', 'font-style': 'italic' } }, + { + name: 'Special Container', + element: 'div', + styles: { + padding: '5px 10px', + background: '#eee', + border: '1px solid #ccc' + } + }, + + /* Inline styles */ + + // These are core styles available as toolbar buttons. You may opt enabling + // some of them in the Styles drop-down list, removing them from the toolbar. + // (This requires the "stylescombo" plugin.) + /* + { name: 'Strong', element: 'strong', overrides: 'b' }, + { name: 'Emphasis', element: 'em' , overrides: 'i' }, + { name: 'Underline', element: 'u' }, + { name: 'Strikethrough', element: 'strike' }, + { name: 'Subscript', element: 'sub' }, + { name: 'Superscript', element: 'sup' }, + */ + + { name: 'Marker', element: 'span', attributes: { 'class': 'marker' } }, + + { name: 'Big', element: 'big' }, + { name: 'Small', element: 'small' }, + { name: 'Typewriter', element: 'tt' }, + + { name: 'Computer Code', element: 'code' }, + { name: 'Keyboard Phrase', element: 'kbd' }, + { name: 'Sample Text', element: 'samp' }, + { name: 'Variable', element: 'var' }, + + { name: 'Deleted Text', element: 'del' }, + { name: 'Inserted Text', element: 'ins' }, + + { name: 'Cited Work', element: 'cite' }, + { name: 'Inline Quotation', element: 'q' }, + + { name: 'Language: RTL', element: 'span', attributes: { 'dir': 'rtl' } }, + { name: 'Language: LTR', element: 'span', attributes: { 'dir': 'ltr' } }, + + /* Object styles */ + + { + name: 'Styled Image (left)', + element: 'img', + attributes: { 'class': 'left' } + }, + + { + name: 'Styled Image (right)', + element: 'img', + attributes: { 'class': 'right' } + }, + + { + name: 'Compact Table', + element: 'table', + attributes: { + cellpadding: '5', + cellspacing: '0', + border: '1', + bordercolor: '#ccc' + }, + styles: { + 'border-collapse': 'collapse' + } + }, + + { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } }, + { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } }, + + /* Widget styles */ + + { name: 'Clean Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-clean' } }, + { name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { 'class': 'image-grayscale' } }, + + { name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { 'class': 'code-featured' } }, + + { name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { 'class': 'math-featured' } }, + + { name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-240p' }, group: 'size' }, + { name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-360p' }, group: 'size' }, + { name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-480p' }, group: 'size' }, + { name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-720p' }, group: 'size' }, + { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { 'class': 'embed-1080p' }, group: 'size' }, + + // Adding space after the style name is an intended workaround. For now, there + // is no option to create two styles with the same name for different widget types. See #16664. + { name: '240p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-240p' }, group: 'size' }, + { name: '360p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-360p' }, group: 'size' }, + { name: '480p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-480p' }, group: 'size' }, + { name: '720p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-720p' }, group: 'size' }, + { name: '1080p ', type: 'widget', widget: 'embed', attributes: { 'class': 'embed-1080p' }, group: 'size' } + +] ); + +// %LEAVE_UNMINIFIED% %REMOVE_LINE% -- 2.41.0

      EFDk^okY+Kn0nC=lL9jtrv+}_H&q!l8OxcC0O7AGfX>8*cF+_(y2ef6t) zIjATC+68|7`W1Beou|CK{LbO`PdDwLG?H3XLfS&C=4_3UL*I6HWj;4~%pHI346$pT zv&$8OI@|*EqZrFw&_ zLY5IPTg5&R6m9lgu-s!pabgmPbnOew7MVWFJ&!(t!DN@yljV^P$N$HxuFXJ*V~aO~d$P9GdhO;4jU2}=CT9U(`ly9@1#VPApp{*c7rdou&W!;r1* zZ7v`bJYxfWef^cMBYDSXzs4vV8yiUq3JNYh_3Y;x%sMj66~j` zsi~_i8QX5g1`?u`mBbe>mU$vWN=i!pbNv}z*V#{##!z{ zY-{6vBB(alB#(XVy13z2I50AD9{m*-|SsD%vt0gT@fWKXym_0U}lKc)Ye) zI>=sBU|^s%fv~o5Up^6R9UZD525Fnu@=F`$whjcjF?(Zx#^LrHEsC|+g;z#WvY~^p zr6lyNEw!~3dGTd{aRX1SZ2NGBI zf*h+oa|#NWP^_65uNxb=Vp+XMTP264otp0M=avieGhc^7RxZv@ODiiG42sk-SS+pN zKx*GAT|DV{pKS2w19<3NE@UxQbX6ido$$CkQ!Hx_(&jE2O$Q-qv#_~gymG}%@$X*T zjz6I|Ypkk*crA9l%eZ0oR2z2rzc0y;K}_b`1IONk9PJ!NM_)-YDrBRBI=r6SUdq2c zJUCcySuzSuzdJ@PF`H1cm7pn-vL$U z!Jdcz@fsW&x_RLEj$eo_T6##1PM9?*F|l|{+3#KiLRNM{BynYPIX1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=kw&|NZXjdHCv}1oe=cN{4M{B;$u;_vVnO~wZt`|BqgyV)hf9t6-Y4{85o-B z8kp%C8HN~GS{WEw85?N>NdtrXmE7}CH00)|WTsW(*04@xvl38)B*=!~{Irtt#G+J& k^73-M%)IR4OV literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/hiddenfield.png b/sources/skins/moono/icons/hidpi/hiddenfield.png new file mode 100644 index 0000000000000000000000000000000000000000..fd107817535ef3e74338a74015c4295a7e98c5c3 GIT binary patch literal 2346 zcmZ`*d03KJ7k|wbN71ab%-kw<#9UDMu*_UgMokGt$t=wznIs_1Bo`R9aT_JIvUH*> zO&J2W!3A?e({UVk{Ls)5mqyK=FgGk0T;}c1?~m`f&%Nh)&b{Zk=iJ}#oO9E?FSw~H zYbyf)pz7i7iUp;?x2d!jT<^rit$H4KUg&fjie%&- zhU(9^T2$FI*vMWm?z#y-@n#nd7uwI}H1>Dw>?DlOYGUk{b|aPeA~@PbO!dQ|d^E~~ z8V+;0-1DRS%vUCBbis_fAr{JV_0`yO?Ml)E?1|)-g;n3nm(RPnw5=^obv(r40}d}V z@5HxxS~ew@OIH=ukz^8pR4RUKlF`cY%;N^fug|2C5ey>J%-nqJF;+V%DG4d2!qK8e zEXDsn8GV|l;|J5}S8%u#LI9aej#!@Vgb9mHl#7ar!s^Rqb5;GzBR5{Qr>F<4@X@TG2}m%?FkDFD@nCQ z!qyitoM>*_jR z$Tf|gmp~B*))SptE6s`@|ADs}kC{?MMEBDj`fVrZZ5&^=I}00F9|isI=qSxrNA0@S zUIv5V>t7zoId<&WXdOvxF)yi0A_RcpcmidwNBm4@i2gX7PKUyLEe>i_7nt?*>CwLY zvmMfk=B$Z@+4-@C#`O=+HbGd!n5h#BY=K~VBKzD|tz5#x?wQlnPk!b?J;+`kjTACM zn*VtZaBUO;WV|w9Nlv(+MM}GOX{ElMoHPIdH8V3S;F>ajdoNq}#ywdO$jiSD^R72g zM*pld!*T}wJUuViR%Qd0I* zTyD=GGJgQMAAv%pu;n5)hBhMKiU;`ug+dhy8XBH?8Oum}GQLh|3qOz6p6fs=StiEV zU!|>l^s$uJ)YNctb93tl1_nmBTvNJ({?O1+a$5+nv9ZBNE-Gz&y*N9O#iJ>z7;wr%I@5dMAB#^kFx6( z3Liwjb2;N}IPpPRx7J%}cG2HopZOE$@FMuQJTsLx*xK4uc5P?{QQOAGMsFL)&(AL{ zE2ESp5}B8BQ3mQxA~;4D#H<(#jjWR#*3v+||1?xm7&ljzh-4XGV(Y8XK+JXwmWgOFCAiIxjD8 zYE?b}S4H_;3Jy*%X}q#aNX-Y4KbhD4=Mm9P`5=~t@iZv6cCw+N8K~q2h`Fk*jNrbu|3Tsf`Z5YtRKJj_GAcLdkdkV?4$GkQD^b~ z*B*uk@87=t)@KOeao;|!Lj+`K#^ClaXycyoIy^)a@xy4vty`tCF} zUF3Nv{My`y-eAyi8|S$5WBV*GBPp( zE#Yzne{b68Wgp7!STEWV3e|IRa@v17^Bd9H);8_&a#!$@+Ga^fiKm`@j5k;s{QLU) zE|9lhUSNB$MVliI&w5X==n^>E_4ettqO&d3pm*=yX&pOO#Ac`Q`3MlV0CMjk+glQ) z{@&gp@!;U3Y<=w%f4ysUJT+l@bG(W6{2VQ}#J^(sZ&C%iwx-6%L<1}dlVAiA)wu}? zQ~wK&we?gMYTeneAn0yw-Ieb8svPW3bum^mvUO=@W+pY=6>o7coqV*4ZQYo_ zNEE^DdL#i9fHlktVGcu>TU+_T&e*}M?QE=1fh!C)5v%gze+($$p~N3!|Gz=GVbuxH w;OMs-e8Yc?iVle+0AO3OAl@R~xgHWhun3R5@oe5+8$1Mfpf0$UBd`7ZFA+*{)c^nh literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/horizontalrule.png b/sources/skins/moono/icons/hidpi/horizontalrule.png new file mode 100644 index 0000000000000000000000000000000000000000..0ae87fb6664967df1d230f94b1a4a442972bf612 GIT binary patch literal 894 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zS>O>_47BY!2s1iq%&q_mvX^-Jy0SlD6Xj%5Fqt>&6$1m4ho_5UNW|f{)BXKlIfxvs z-@cbai&wz&&c+Y%Ox%j=I->vbsMNXcWA=`DEEg-FoD^UXFx6sd{=w|z-*HX)g+1Nn zlk)P^ESDQUKWD3~uC88lB*TQO*HCA=_dcP%#|u`ydH3$r@ml6n^2f3N;(*6F80t+#LAUZ3ixcy{^WhZofDM`fr@_7q`jcFgG6=)BBpX^>~t zf(RWoFH|^eSy;{!W^UJ?~_xkQT&*7!@OHi&L_WCJX0hWXJ zZ6};fOFp!Gx%z6k6VE?yTyQk0QASQ~(&?uf(@#(FQZ<^%)Au++F!|3FFTVenIbA>WWacjd?GiC>4MF259Ma9a3bEz`XD^TU}IRoing#l^?ZJe#H? z#;rZmVD{NZm2$IZ&)%_)yMgJ<^Wt^u*1agPx^w5whfkkAJ+%`M+_r7ojoY^$zj@PB zwb##XzI)YPxwmDr$~{kf~#4I;^N|G(l%F|)}HE> zVJUcY?TbpeSHJE09v@+TVJ$rI{qO(67x_JozAQgjV6o*@qse?b8=D(XqPy+ywOzk{ zePM5-2=Ai5fB!CFFDok(;?CYW>+1EwDa=ZLm{v0iTZC2L^amz0)e_f;l9a@fRIB8o zR3OD*WMF8fYhb2pWEf&#X=Pw!Wo)DkBn=GiS8~ro(U6;;l9^VCTf;h)%}PKGk{}y` s^V3So6N^$A%FE03GV`*FlM@S4_413-XTP(N0xDwgboFyt=akR{0CW^=JOBUy literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/iframe.png b/sources/skins/moono/icons/hidpi/iframe.png new file mode 100644 index 0000000000000000000000000000000000000000..a56ecb05f9717e4fad7991f9beb72554d674fb7d GIT binary patch literal 3099 zcmZ`*c|25IA3w&Lkh~0yok^oClZF_wH6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%7qyYG&&$V62N$%M3`T>snOPE9-Q1C60C9KfF%p`HHahLyGPM@U#|A?wDByyF=@5$K z>Y=}CtQ7_EEte#NBfGl^5IXu?kn$T=ngUTeIw3-gDt`QN>vA{*^6KvXFl6iAhX=tb z+S*Mc6illv+P;shlGf}sT5qrNaA#-dI+-jD3j>s#9?sek-smauuaaf@7hQ z^^F@L9yeDkQ$Wdpf_D#{wtmo8vbUl9JX} zAnUYBmNyYR{-^`8s>+~k@9rg^h*|%a3bDtuwh`Q z9L?94Rd?!_<-775wZo(Co8MO697+f)lW4&52MtTEv3@$ZpjWMMG@=E>wugs>g(>0X{5H&e8FJDAndwk{7 z=bB$xNuiS}_<1-Ujx5PhXFhHlJ2}b26|Eyrar_+@M|O5TO_j~-*R0P&L1%TiRI_sp9Ebq$ zsDnCir+Qy2(a<(1NDL7-Q=-5)6p@tFsq~)y&~);0a;A%$TkyBK+3ejwJG-e&3TEeD z<~)u_gtO^w6~1|M=*Y~PoAy6=K`7b{V;KeJc7GEYaaa9_ses3md6OSLw*i zlaWCexr~e#&NCfvkV5wFKFCvd+4f5%4{U|7h~JS9$#{Slgzms6X?RPTJ(=c!wexm> zDxiWstEPxnQ&c&79j$>yt6 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/image.png b/sources/skins/moono/icons/hidpi/image.png new file mode 100644 index 0000000000000000000000000000000000000000..e9579fb06a535ea01c45048409427398d45c1a15 GIT binary patch literal 1782 zcmZ`(doDn$~ZYY7<%La9fEk*14|DwTFp z^{Sy$Rf^JPYdn^zZ5prA4(btas)I#WC;r?&_I%I1pL0I<`#JaA$GN#aWS0X_eJB6` z2i#mq6a^aX8yKYUoaE#`6`*q2(aRA4>hoY<=&Jj{FjtBf03@FTfb=W?*ilgFa{v&J z0)Pb?0N{%OK#whI^|e<7KnxET67Y5ZiQB7wQZNv<>qU+t+wi_A5lu^Z3Q~>h=5i^8px)FB|fi;34JO!8SzDO1;# z%pA34q%g`T;q!!3XfH?hT`Ib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71WWVn=7*|7Rnqq1t{Hu*RS_xsEqh^ zDeGG0Mp)#sSgZtF;zkQ&EvwMEVPN3ro}Ql3!3J94GvC0J6rD>-+UbQ4?C$Yw8{D5R zPxUp_*QZTR`u)<9s0L+qcKpd8HhhFap#UzIJGVM7oSS>kge__z*zmGCwuxJ zX!hpEs+o4cRgQyQF}*n0+v@*?$gbK zzNhb_ZQP@MsnLEoT9h9IzzlU1a~Op=Y!yPj-fjSB$N>C{Ok03PMH^@KX z{{^*1Tmwj;vFqRx?jIdTjq(F=adF6?uwXik8sUcwj|wOeTWUf}z~07@SWBR!{|oY# Bj}HI< literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/indent-rtl.png b/sources/skins/moono/icons/hidpi/indent-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..44eea225c481919fceddf05d4d3637fa3d8540dd GIT binary patch literal 1988 zcmZ`)XHb(_7k(v3=wu^OG6{&%qKE+_U4eS_no20Tf=Dq^ z76PJ#I%EM2C?d-&ki;wr3sQ6p9fYMCK);ut-;ZzZoOAA+a?hRnJZEmUo9iVtWrQ*S z0BSCm31rY7I}k+$P)8>wZh%Jqwj;?A0Gc1D>;)V?2nJpzlK>#m7yuZV03ZWhj5z?H zV*p^`CIH}y0YE$AX{S3L3@F^Xa)|)^I9L_0YYRY+Qp9DSXt0~)Kn^*Xmc@fkXp9TV z89J?SR7vg__F3rySeWlZaP;)uJ;Hs&+o1?eODux+$mQXc z`z1Pomf5oEXBW~4NBm7nF72BHU&XElC1XkmMi15PuckW+M@%6KbvfS%@F=35?NhXSI-R4F=aX>Bz$u`#k}s}kpWAO z`#RY{CK}Z2nU`e3z=SH(m4N~i3V(eS%HS-1i8`-QQB&g#3=R%1t#!)@Mn0r?7olU(WQ*nc3cZ8uMpw4?p}%8sVocp$q9OvG{sXQIRTx!!ZZMVzH{j4lg_~ zFmT+WV8GBxv9qgdHcbWzUg2JPpvNK_7kC#*rBUbeQMShBex2_&7bPS{kfpA|-2A*n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C+0j3V+qdxDNtiDQwb{1{-+=`Jct&Y@c#=q zhONiJ0^NfS9^t_;aRE_OATBP>oEG+<=)iyos(E{j1<7BT A#Q*>R literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/indent.png b/sources/skins/moono/icons/hidpi/indent.png new file mode 100644 index 0000000000000000000000000000000000000000..417f09277e4f0c88bda3f5a3a6a944f810f471ed GIT binary patch literal 2024 zcmZ`)dpOf?8-Iq{9Dja(dYh3`S(BMLT(qS!S(uib6^S+^$IMveWsXUuL@3m%m$H7g z%BhjcacV_W=G|VJ9CPS^h!*eHpYI><^<4M;xvtOse4hKhuFvya&-p_Koz+!PDgXd= zR~IKw2o2W*u@TCQGiMecPzoneNdP>$tSS%LuwJCOcv1m4g9d<|3BU?Ou_pmw;sKZn z27p)sz~;EJMh|_N;n#xV>+$Z&pQBt&fxv@F3VDitPG`6f4-?|;VrKwyOMM7)IK=RsXnpQH9GPJdRVk% zSF`y|GPQPh{n^B0$X2!aH@{xbKl^GOiztd;6;1m+Om5mN*Z^+aXRz*u?Wqc%?am~T-+lNaku`}@k*>{!$0#>2@ zoh9dAeDs`|n0VDLcIX9O4VevlXHz^Ih=7e1V~Q04R+O%(z~#11%-`m6r$Cw;Pv|1axXCgy5k|v&h!)gu!Z!r}Qv5~#jMU4VI z4bUL{eQmz=kI_KSD5-4&*33O`1H}|cyMUfN-c6X0m05uMRaK@EPVeO2P2}YawGW;lKH3{_#j3)~2HXAkK}W&E zNHK0=UpFB;JNwhF#2E*Sb~=~KlK(uFJkeb~IW^^o{YL>706w2D%z*zf1kWHPtFlF7 zj<%&8L(OL`t*jmcPD6wEb`B%&uk8mHU~f0V;eV=R#ZA4h+5?WHrtYOsD4Lgr6TU%#D*}Br9D$Y|@ zN{-y#Zuf2~8ja53O}E!ad;0oj=jN*5uh+TXv?t+_?Oz6)peZ>KC}># zE=r#hB)y=U;2#=lf-uT)GCtfb;C~|xm(is4(f9d$XB*V-Uy!e7-7{=Z4M;?irmLPC3d9EhBhe$BIE_oQz)(|f<+wvso ztN!Aw6yD$0XFReh?MN&tDq1<0oh@7XJb88DRZ1`+mb8?my19LF z^1jP9txxk4J)dMP85j$TwMK(0U9H1$PXz*<=H_OMxjA{K-oe`1T251wt{*Rugf2Lh z;P5Q3uCC4sju_ACia4%A3%=Mg^8H19^uoe|Y_KWm!jfWr^vLMTf`5YAUrS$UYpcI^ zGR6-WfZ4e*5ysTCWnrQAuk`WpFoe;nw}asIYDLrxOZ3ZQiu|B`MM*EBdeGn2{Xn&q^s zfRf73^kz+kApR1L9SuFJSgCEiKu?=Y^6~j#x2CHtNd^8wp7Goh-45tOGf5!(C(uI@ zLW#8aPzZn(-qO|_Z)5V54@m54@D>EqL@gGmC-uxdybSyn0?DYQ^@V3<$Ljs-k s4qmZg2}vRGp&%(K2^SF)$)JVAh2mo4!%M%|qo7T|m3+{N=NO#+UxzT8uK)l5 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/italic.png b/sources/skins/moono/icons/hidpi/italic.png new file mode 100644 index 0000000000000000000000000000000000000000..07b1d1df4fc79aa0bb52769ae27fbb8a1ea961cc GIT binary patch literal 1687 zcmZ`(do^F~UW0g{G-TP4!Yb zQHqYoSQ6Bu(+5f0RjOTsncPnA9iwPk?|Q{^Q1|E0`Qxs$_WsuTzVn@Z);?>Wyxq> z;j2HY_r)F<+PzXb4S+5?kVavKKa-UWTr}mOdKL4V{mm7_|J`?QKc-Jom)9ggMA_w6 znZgiPu-NxS_iR7D&LYE?e4RV?8TqgHzwU)e&)o57S< zq>ZGdUpW8pQP1|tO(kCQlr+DYb|-pXv$q|st*tHF`u$#$Oy)a6$05W;61AUQZLDWJ z0`KlFKG(Yb>pK}a!0~SVnP~dHDG%L+Oq=`~+RL${j&X1kXGB1$M3nrt3Opz9jL)TY6c($YF<&m1FOH3k zNrz7jXD9&E`#9*a@-Y_@+-!PtRKy7nkDhZl4QMJ!-(R-k=XzAaF7D&7Me0U7NF7+8|Yu z(sHQPBH=`T1@9UKu4Sv!dH?a0l?3J&tMEHGwfB)BD>x|RQ;Dcr+1f4-*49n2a(5y-?p`MLT2AO1iRqc64pA3JpsO~kn-unbqVE3T8Szz~PCQ9^19vPv& z{iRs}1)iPwz_9l_i_+LX3<1bNi{>|xR1p#u`DW~4{E_9ZlD*#E-j6`kP-h|2Nq4BT zdghYqK{@O{okl(3?|HU5cE^oEKa2nQ^TxyIOH$WA5{F0rq?E7@w75Onvi~ z!s&T5JAxcbXY@f0Ua7CI_b~qKvlfNIxPQZ+HUG7i*nypjB=iibRGQ3=ohwMx{{0bC zQ&ZV|>F8}vR@Tl7)26aIN&}W&^6fPO^r~-?gIJpirqc!}wd|$vcn+~c626p?l4Y+v zxgDL%SzH)9s$Tl=>hPz57*`ya6W7=ArO=Ij{!Z<;3CMA^h+izJ_QidB=={PRe?Px` zl}hztZZ5t_E`K+rs!#p2{d-v}X=au12)B8V07UA$&}wD{leNwubnsU#0iPt?ct z!L21Ekg$u|cmptSDlClW_QUZXjX^;{flM2l4`Z>|C_Q(^4BaTw<;<=rY}#Lyjx6Vy3LI!Mu_B;6c4Cx+|w-w4cy$^ViOXOI2>+)!&H*RwN`BU^w5F?6vh)}^vpSrW6!0E z8G(G~syogvOS?_}1D5to$cO&l14+K&NipmsE|HVSg#ftX2}cg$j~sF(F!5eQyerYo z6$fQJek9GH@^6MXK@9(V+W$Am?c3}i!@k`Lp@Q>CDeOcpNJ&X?=Eq+Ya@Yx6XF(#b Te2!!RZ32P5Cunl&*_{6YS;gZF literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/justifyblock.png b/sources/skins/moono/icons/hidpi/justifyblock.png new file mode 100644 index 0000000000000000000000000000000000000000..4535a39cda42e2d5e9581a025a56a566d7f6a605 GIT binary patch literal 830 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zS>O>_47BY!2s1iq%&q_mvX^-Jy0SlD6Xj%5Fqt>&6$1kkho_5UNW|f%VS7)#auAs7 zY3AtSt5d@$=%TVTK~O;F$oxa+t_!fppLW~8DJ4?NBY!}zlTC1Q;r?SW`#Qz#?DD3G zl+V&h7dv-zrtNITANQGGf2~@_G-Hv*Pp*Ja(|E>KC&hTiwnTvkHFn(REIAY%I3{v( zDlsWBCG$x2vI#M6jq1(Wro(OG%k1(;^rXLHOM^z&gQA@mxR$WCB>wpO<>nLyhRIq> zenxD*snYP+qF`@aW3ir*2t$wInh-4m37!?39)I*;xV_C-`ET?bKlLj1Lk3e$eizKN zd$voD(QR?yrkcI`|3^)Ha)gWFK+(=6CvWDsF~nX!dYduw9wQ5bh|_`3KbPogh;_@W zR_%?OxtFnCM4@SsMu65-j&o6K#Tdz}+-L|jLVd)6GkvEY z1JWYJ7{gYJR?K66e^A7D1(O!LkxjaSd!1r3MhGM!L`h0wNvc(HQ7VvPFfuSS(={;DH8Kn_u(UETvNAT( z29gE__ba*Qp=ij>PsvQH#I0eS%4Q{?21$?&!TD(=<%vb94CUqJdYO6I#mR{Use1WE V>9gP2NC6cwc)I$ztaD0e0su|tFtq>x literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/justifycenter.png b/sources/skins/moono/icons/hidpi/justifycenter.png new file mode 100644 index 0000000000000000000000000000000000000000..8749f6903ec1e41bd461d6c84294f7caabd110fb GIT binary patch literal 1372 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zS>O>_47BY!2s1iq%&q_mvX^-Jy0SlD6Xj%5Fqt>&70^;OPZ!6Kh{I2(#d=3ainPtI zJ$G(-r>5>0|791|Cs$SdYGRWNvj*%&{;w7WTTkHT!x*TwGdB%^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(oOrlPG&&A9%FHzmBTPZ7PMq|oKK!E;7QF zpD6K)g+ZZZ!M}fXYu2r+<7HroiHl20NntsC`m}|O%^LT1zF(dzL%P@}crCppH!WyU zjGppTuf*C~+m-%m``&LZmHm0@6qj*`mZ(g!3Pf%tW8Z#SruJ$PEQS*5agt}G@Ie})P_Y2T2sAhINRFVW;}fQl+|lxn9lXL z@9do&SPmOpxP4oiKOrrxO_Gm~@57%zJqA2q)#pvBQdhd<#BnOcC?X~%$B&mGCML$< z@TE&ZpFUVkxP19?1)q<h^2NAIk#1D9B1kG(5JrQ&CoSOr-B|Nh+I5kk-@+`HHHl zBC%zv_O5cgKA{yopU-4$Lm9C9V-ADTyViR>?)FK#IZ0 zz|c(Bz)aW3FvP&p%D~9V*hm{l8W`NKErERK(!v>gTe~DWM4fzl_HN literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/language.png b/sources/skins/moono/icons/hidpi/language.png new file mode 100644 index 0000000000000000000000000000000000000000..d77803179b42a3e88f6589cfda29d03123420480 GIT binary patch literal 1874 zcmZ`)c|6!=bm%E=iYz2Ty&I&tHS{R z@+2pFH%Mw9kqivtammSlK|(UrhHL{s>m4~^fYgyO(8-MqK(amnX&C_QL8`P30OGL# zyz>XZ>OKG`XiSzX0W!d@IXl{e!=qjKdu;)vk)=6##X-^7Mdj<2BX!C5O;eTi zCLPDNq}4SvKW~1%YQ1DxYoKzQbLc?nNs;}q`U#(L%otJ0)dCxR=@RFjBnliw=HMDt zux?Bw67{bLh23>mA1^Z*?uH~K_bWr6R!7F-eV;ToO2Hy5o>9&sB-+~Aq**N1L5;!q zx1c67GxJ7KV5@4?j6slBCbg8N5$XZkVCD7q+XUg%63er=Ty94bUj@&L2RNQjNUq2= zzxtf4PSCKbf)*j$33K!9Tfb_z`d$S^#Y3Z01*F`(yp=7^KDh{1JJUm)@bE^8x$aM{Hw5?Uyfg(@16gpMjNa;#=Uz?tuUe9i(*qIcb z_w@7xJdMD>!2XvBhvXAyt>f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53;NB{r; literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/link.png b/sources/skins/moono/icons/hidpi/link.png new file mode 100644 index 0000000000000000000000000000000000000000..fed6b9103ab404a495fac834336700a2ce58d3db GIT binary patch literal 1627 zcmZ`(e>~IqAAgU9t>(_c@~%Z9t!YeJP{8-)8$Q{sTajF()wv4;{z32e)<&%ZzjXa0E{LcDA^dHhjFhmO$i&ah7 z2HVDyPo9xa!pu+a*(Yfpc zmlK;PK|6|@8ozCQxTuBDXZMZial}ZB4dIuVM^jT%98lOt&yBR)AQFkEOY>Ar~EJ)M=6)jHaF+OC!%Ce#Rpx^Z`qXM90_l~2P_$@8*WMy|aV`}Gxa9Z928 zxaM~6{2|!x_)a)LBR0O2W~Mea-`y1}eZSmSu{YNMt}_-)B0Z@Kzm-;A`v7A!@Z_4e zTEh)ss3ztLl?+7XRK*o!OB%(wc5xUQq!9cjCJqUGwI6rtl8RWU_Cw4_x=a zV*h+Aj+Gs=`2iL}CR=>YIcVv>-$j8nJpa%iH1;MQ-)&wny!;zs%IrU}$bcerKxE|l zEke&sYBlZ-HBE_4ZAjl#L1>$k0t-p!wSNr`4Z&YXl1<@w-^Q;e1JOLST3xp@r0V;w z?3F)@M`fHk-80~i&eNM>Ra@d=eoTsJ7*;3A zFKO7BnK$QWy%zR8A)paaX?~YSw8y*=gJ)A(45Lb^Qf7hc-A;RX_?ewb$Eed0|5-pl}4Bax@LTyCS?ZHsPuh!qHtMWTtf(b95K7HD!)SfiH@ju3sR~eOxSNpD!mc80k5Kbgi z_R;r4OzQNEP$+aN`O5cZIR2LyJ$L(LIth&+--_U$ec+(W?A1#c?$zt&*D&Mb$4WXo zJ6-rSw;$_vKS(Gf-?D@Tb4wZ~SG>YHml#$vY)eZ^G2Y&r=y6BsTTv*~#oom2Md;P7 z1&8;eOuW_1XW~03!}I&D_s4T$l{3pKKY`hgJ!;do!S8-{4Ep3_eX+pE#N^WO>_v%0 zLWz#%)iUxJaaU8{t} zFIl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Ndm3y~sJC^!}fu-3|y+fm` z!$s+W$yu}i-+uhqA8S}MY@X=zYq^duFJNk>xim_L}X zFZk@7eE-AGnj5!n-P*Zp*P+9QnWNT`cc+1PnJ(gcSkzyo2 z>-%RekL_P?=9nc)u$9ER?~Ey9u=~YT)_q-cf%L|^_w%*`#iv)sOFoc2P_6JYong-} z{txmGPJe5x`E~o?R%rQB^X+czF$osO1Fv6e&pNBdp(xMxF=+G67M;@p zp;tR!axT#5TJ3zjl%uKP^l9&FZ#B*;ACmxjX4&%P2PK?Ugg&xKNJPsvQH#I0eS%4Q{?21$?& s!TD(=<%vb948X|I%goCzPEIUH)ypqRpZ(583aE&|)78&qol`;+0PDi{QUCw| literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/newpage.png b/sources/skins/moono/icons/hidpi/newpage.png new file mode 100644 index 0000000000000000000000000000000000000000..139279b6eab21d09cd5d326140a88f8c8bba7243 GIT binary patch literal 1285 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zS>O>_47BY!2s1iq%&q_mvX^-Jy0SlD6Xj%5Fqt>&6$1nFc~2L|kch)?r(60fdx{+Y zf3=-I#%!8`bHoV`1?2;3hT(_UXY`(!@U-N+@R>H|mvzlIPuy}%ZoRjDFnkZ(dT>|uont>FWX{D`6@~A7b#;AQsBP%PlP5jD1kd>#URGNAHLd#O z+p^oNP92YTZ@iP|z>v_>Sj>0XgGLR?t4sU?hEX6Vd^nlayhf$+;x6FK7sz@<_-DPM}FnD2}qS|C-bxj1b9vK zTIyjpUwzj);man`vl1ni1g#WcIGJM9dG%^&Pfw46Sod0aIk~z|6*d!6B^PNpiMVn! zF*tFsIBrNha`R^7@rjHZ^f;JKJ^jR{$da6#T(JAD0L#Ovk?Koh^yXLF%&T8?@rD1a zWs399AAbIM?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{WE!BmKd?Q2| zd=70L@Ool0<+0>R;WmZv_N*Tn#j%ML+U96p($3C7s9JPmBR(X<7_E75pNp2T%zU$W zY4fu5!`Jcl9skIxP9-FK6~VArET&s1uo)6@$RVFIw$8O>b*PEO;?cW_$lN7wTeO*( z+0=Vp*q*#n1H#eO&+gd+0|Pw#lq;;v@8ZJ3Lhv#Ku9v4v?pf&|CuD3kS{-KrC_`w3 zR;J)eXxvM+^XgA#QtdTYn>S?rxDb)$F@&6Sq4Dq?vZ#zj4iWPCk7`GThd)-|5phcm zh=YHOjjeULJo^c*TB)2(K*>t4(p~-Cs{g)04GUYk0aH_*YYT9%rM_QSAfEGkESJl9 zKL~_EG-ZgElvFr99dqcfw{K5Iw5K z#q6?=tzss%d-}}E;@HDnPm2w6nX5T2ebR^>Wg`z?VpNaOkc$jn(rE#;@aJV?VdHw4iey z)v=sw;Krt=pLR>gb{}7NZ2>utkZldMsHOewyj+oJRK~8&*E5eE!SVy=j!%+0FCV!f z>F@8C=H+SVbiprABmD;%cP(#=orfjxl`oktCWidLAFW9>&tJXb(!!1NEL60SmHzAB zUXn{?%sLzYsKL#2Wuyf8@LQ`3bQ6CIsHcYS~87)(!3a%Q^63Qi3V*B2*Q+V_dxo$EYD zJ6H0)|dL53Zh3Bf5R8LX&O8ep+lnE2#` bw3sM54U>`@SG9;Ufj$9WLIA$OGcxC2^j&Pa literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/pagebreak.png b/sources/skins/moono/icons/hidpi/pagebreak.png new file mode 100644 index 0000000000000000000000000000000000000000..a19ecc0524c456b1ac71ecff54779e6e4bdddb1e GIT binary patch literal 1351 zcmZ`(eKga19R8AKTgw$nX)&*Dg?>adS~io7q>T~cc!^Az$Zzq#}Vy{u;O^@l$Sey-aqd7oaghL^E{vDJpX<2PoHw%jx<050Jc*p zWV(tmn}EYqJ0UG?QAHZ(iC#ni8cVjVhHc$6BPet)0MaY~;N<}DT_y3R07!xWm<|O1 zUk-piyQ-DutTJHXp6+C@u{pQf?+H{2f=vlXP_+$jLXCv2Oi_uNiBvB)%`wm?_avg1ug z#K_d|WQV8mhYLUdx%-YQ*WB8!7u1q<9-j6kwtumltpmqAIE9~ks$PjJzm5idI6B$3 zf*#vo-5t!z%*=E!?`#h2ga%5?$JmbPmTEU;OU)V;2`6!UW(9=W(sEWSI5>Fwx52@k zgGu|Y(=V?*fd4gFPDhf2i7z1(OjC1w<;UJ5Ma9LLk?)$B*|CJ*gc=~lSqOU;C>~NY zBp3nN!n0#GUb-UYdnN!RO13m<{9ddv2Cfb;)vq^n;TjeU2ETqL*^W#jdwZ9(*PONP zhKl?rM=i#d(ula8xw*L)^YimGtX>6OujeYoLO?VreRSuMM6!jZXLaqLCR(VIlM@lg ze?7US?~=gX-Ce3sD30qFx=poS4HW0PV0dgt6bVk?ehXEadnq`3x)+>Ngn1(7lv3&D zY`F1xcD5*&WXwiulHm0FdRbkV+}zyvI?HLMg@uJf4w1WImNL>cGc+2FxhX4+wnKt5 zAtAjZBP05UOuHdA{?>AAsTrav@YSwM2dm5k)Jk4c*ErjS!9W`te*E-Fg&SjXI+e+H8XA5AKg%XCvd30$Z?Zjbe@EF@im13>a}^!wiF9Yzv~ zWFu9%yt0A-0|NtG-BE2d4;-qSXDNHy*5>2y@4s=iPw`a^E0@cw@p!zDvC!Y&Ul^02 zCAAN&5bYbCnVFgG>2VuW%sHXgJ3Hx-9Z+NQmK1Bp(Yjc{bE*f20WedV68bQmJwzAkW8xCibJ<_XQve(>W1u zubrZ`KZm!rs{V0(-B2o(W~hRk>erL!0)}p#+Hd;{YG`=an5u*1tH;)FT^f{sXSTQJ zNCX1GSgPT>i_5IIxUc)bT{+Vhk4HYB*NerObR)Sdd>v=~|P!RTphu`_d>2%(c>5Iu6&fZV? zD?G(A56q@xfW-UYl literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/paste-rtl.png b/sources/skins/moono/icons/hidpi/paste-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000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oaq05Fi&-?Ol^s zZWF)WF2-&-R+y``)y3DaPgT#Qq(D~J*Z&^sABbpuWLD%-8Ef_9;N>xA=o@Xw%jrc` zEbYBaTU*bP=kX_Y+tg6RGR@Y6=j zenP7zbSD%I&CBsS#-i=Nm6=*lu?-Dy~&Q3so6VnDZpGHmF6PyfhLNmJO zETg6r%4`#fV4Ku>i`)bk4+JTsrKRapIxw#F56C%gCPk@YY(u23wY7CCV~wk&tD6>} zWvng_LM0sdFZt(==U4Gfq#8nVUiiqDSQ=6LC*3Z7|N0@v$Fqf~*mz+9$IKE41b64= z=1Qg)?bM+%)Y+~*#4A@EA9<+}SenQD+>H)z2bq}pJvU~lENvzb2o=QIj~|A4kzoIq z;bKC@3d?O1UF!YXyLx-i@Si=KeEH;w%=z=m5od_!0(>>n)6*N8o6l)$YcHQJeEU%9 zTT>-P$L+4wb?`mQCLmr)Z3Thtz}DH4hDYDSK!fFtY3*6ZxfP##}c zFjYSZX_<;m+KxPV-?Q_<*?TJaJ+~nW+nx(_v1n*$sKQjJD0R1iE_}m_WZ^55r8caY z2;kYjAILLd%xQ)0jf^9&ccjFJ`MiWw>JIoB9gaPDAvQQ5mShzaO#%&oMxrc^A}x-h zQC>)#6%uWA9DM}TNaS?fzViPGh>QxRgv9;-fI5R_1Q?*bo8eqkNGv@dngr14bTi7Y d;W0r0RFYX#bZF_{Cv?C~fb&T=LLJ^e^&h1gdQ$)Z literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/paste.png b/sources/skins/moono/icons/hidpi/paste.png new file mode 100644 index 0000000000000000000000000000000000000000..14f9effecc622a7adda830490d2a8653225bf718 GIT binary patch literal 1956 zcmZ`)dpy%^8~+WlUDu4Ojik87Kh_!=<=zVZilPLDge=As z^xpY%^i+SG|4l(dXl-cy+T->yPPJoxY9`ECE%RYy>kWgwB^(D2_2B05WXML27z=cW z{?%kE-7!qYeD|5;dDM?};=V;d;S;hFJv?-9S=?hIRcPQ)Oj_g@u{e~atshX?G=x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56C%gCPk@YY(u23wY7CCV~wk&tD6>} zWvng_LM0sdFZt(==U4Gfq#8nVUiiqDSQ=6LC*3Z7|N0@v$Fqf~*mz+9$IKE41b64= z=1Qg)?bM+%)Y+~*#4A@EA9<+}SenQD+>H)z2bq}pJvU~lENvzb2o=QIj~|A4kzoIq z;bKC@3d?O1UF!YXyLx-i@Si=KeEH;w%=z=m5od_!0(>>n)6*N8o6l)$YcHQJeEU%9 zTT>-P$L+4wb?`mQCLmr)Z3Thtz}DH4hDYDSK!fFtY3*6ZxfP##}c zFjYSZX_<;m+KxPV-?Q_<*?TJaJ+~nW+nx(_v1n*$sKQjJD0R1iE_}m_WZ^55r8caY z2;kYjAILLd%xQ)0jf^9&ccjFJ`MiWw>JIoB9gaPDAvQQ5mShzaO#%&oMxrc^A}x-h zQC>)#6%uWA9DM}TNaS?fzViPGh>QxRgv9;-fI5R_1Q?*bo8eqkNGv@dngr14bTi7Y d;W0r0RFYX#bZF_{Cv?C~fb&T=LLJ^e^&h1gdQ$)Z literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/pastefromword-rtl.png b/sources/skins/moono/icons/hidpi/pastefromword-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..fb9ef9ebb67778cb01a51c1b75178a332bbf754b GIT binary patch literal 2071 zcmZ`)dpy%^8~>4P=Cm9_X0d3LDMBOmBs~?H zMk+~r%bUIOuufu;Fi|$l3IO-$JEVl|TfsA)emDTgGy{O#0svS8UAZ#=kO~KY z*)RY=UjqQG#OoYiComu%?&E<0Hn-MIZu1q;qm<}*@*G%gbW3F1U^VHWQz69*hgJA2 z|C^F56j95Z1%VS@7+3!j&sbMK`S|BR214tWW53!rMj?!cqs_3qyyrX3tzx#*7@~y0 z;MBU!KI^O>#4EeP$GG1(D`qnd(Bi+>zU1c%?vg^U`ThQf8pO)f?(M43et)e)9rxuq z2tRI|@_9n{O~#w$$1X!6;}y{-dIL<+u%q3lwKZH@p4nuJLWyn6g(4qTg`9UN#^11@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g3Z^7#A|N#i#&16`y^fELRn55DJCWq)uboG@HTCD3+sqq{`$Ix z2E@n5k2b!&J$k!mdp40+nC(m_o&;ZY#-3r3m?YasvGLU%AS5I#*i0l!>HsPxoP>aE zeD8FEvTosFmya~dyc8xoWlQka4`fvZcc)D(ui^tn1bUrQx$93U|15my?)?LSIGy%M zGM`dT23ZT461Y(8>hiNjX-@~`Us`sv_2ENpH4 zNWb8yy7L*}99Vd&At4Us{tz|q%~I#{`G1|TY>0-`XaF)}y ztuD*y$;`}*YE)+f?B~jgY}iT7a?b)5%XIh~g3V^vmFYPiPn~>G3M`5)D5!oBuXBa& zJ1#!6FFWLKJg@xndfQ;*)<>}&&`YlR z0eNw|wRQYK;eH2)LEcrHa=)IcO&4x0lWA1xO%SYTrj4S>ncn8RTl`s& zxxobGv$@-)XNW}MQDzfmY}G<>GDjw6(O@m2_w+vS|1(X&o=Axxq!7_(l8K-J?BKRY zD>%~1&ek99fQH+l_uE;38V>)Iv7`2X0P&=V=*W!!4`?&FZv+DNZdEu&icBFBl8FGB hOty|rh&^|PkVv#9B}dgPI6=T9zzcf>)8-bI|6du%zEuDK literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/pastefromword.png b/sources/skins/moono/icons/hidpi/pastefromword.png new file mode 100644 index 0000000000000000000000000000000000000000..7666b0f5366f97aed896c7ad289e2b71c0c847d9 GIT binary patch literal 2115 zcmZ`)dpML^7k|fP%!NWjLT-tXiJ|$#aO5(>a15DH>T|6zO*OgAFv#V&6qVyEB}^`( zgG?ERiQK1h=(wCuax`L)%cP+~qU3g7e|~>_&wln=&t7Y<=ePITzqNMOaZgtzgeC$2 z03|mPfdXp1oe6`2GCDr~E2!jXj$}swsLercgvjqW&ypx)0EjmNfRuCq_yL+yJ^%m< z3jlM$0D#X2fV~m-o4xHo2Q>6&R|2rTGfLYkb3qF{g5)0!qKS4U#0kw|gGL3W8=0u^ z4yp#1(ZdxN&Vd#sH-e+jsgCk{0bZy8)tAYYEwknF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/pastetext-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..b30fc9b4053c2e861f0ef98171e444efc51625fe GIT binary patch literal 1964 zcmZ`)dpy%^8~-K8Rj<=9BXUTa2aUWNOTyzUqdoXg7IVreL)#c~$SHXp%6T5jgtlc* z@=}{fA;~GF7nPhEAs$j;%-)|r-#^~Z{kiVz{#@7ny}zIPy6)?`bKG$bM<8$r002jv z9BuKSKDIB?lHhzbA>jw8#4lUBS_42+!J%EE#J)4o5$_5B33>pKngIX;(3JWW04OK` zSn>w|Y&ig^ME}V zl1egS$4sl~OCXTyWNYo=-PKYy7y%_Hzf5`D!4tGybhXNx)Vp2osB5olua$0X8aVvT zm!~LH453~>78QctJ1}d5f#_%tNozqEY0@OD7zd#V)S0IJ{<*C$%@J z{qKJDCqFV-mJ8fr+7P#)`+2&Qyvta=AT@dPR>~T9m9fhQNUv zOeV6lwA8lAySsITH(k9jL(||aOC}=uabM{5HDPcbCy=fu6bc6h2ZeY9^vl+kSzplY z#l=OxjqRrcK_<{#JA;0O(qLqS3%E3?IJ}*73Fqb}qMy@K)zoZoN4(;4xqgD39b;ET z!dQAdi=~Y{eHy$COP|L%g+g^!osJ7~aFA-Fu4q@`a{2sVgZ|qSk;-F~7=jA&c+32b zyJty7h3f436GvSI0|SFsq^S;LbMroae_7A;^s)RoaZ6hgiBu>?7^7{>5BB>Sjg>j- zK8cx=R5^JGdhOb^fuW(-AJn6QS_J0N)2Z=4my~2REsMuEgg_dtqQUJ>$I|NRUeTP{ zSyL1WB?q{BD)m45vO3wuy|#m9dfaSkGTx^f9W7Re!(UJ)u~$av#R{ID=5ed)jg5_r z+S>HF-h%#~9y^XN_r>n6#d^H&7Pb)2=$TvZtYNXr>vQJJ?%|m+TDF@D!*`4ir@NFH z#RvryYWUw%&rVd~bTZ`duQ8lujfl`tD^Jh==zndKc73M{g~&rP#pK~xX>yFj`1tZ@ zvvcT53D`so83txLql=i8oh@%eR?A8YqleP7h%i`|H3Dkm+n&&pkMDnUZ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zqobn`lVK1*b>1l1`Dlex5D zu-ol9Sdy;6K{|@)o#p;}+9xPT;p^REPhnuKO-8Ty(pucZ%JOowq#i*T?g>xc*YT8X z4uiqgHC8ols|A(>99)MerJ17Bas71x}yI9#IjDtL?!)yfYj>l9uTl|Gs96<6qipw k#{~F%zGF<>84iOU&vay+i>~~Nfq|0%Kc7IH6dQ5jAKFNBtN;K2 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/placeholder.png b/sources/skins/moono/icons/hidpi/placeholder.png new file mode 100644 index 0000000000000000000000000000000000000000..0874f14df15e855acce53ae663545e189f47a3e5 GIT binary patch literal 1812 zcmZ`(c{JNu8~!08_SkBx(%SbhsX@_-*fN5K(V?}ZrK-b_NW?OfOnj>LQAO3-iBd<@ z-YVJ-YOh94t+kK+BM7Bp`F{SKKfZI%`#$G9?|t6q+nvIOsNd7Cb1ef=G}QAUR@f1!kc#g1joo zqNi&Bz(4JXws!xeqcGRSMao_;s{ zeKOlmmy?&jcmV~Y!FTufIS1Q!pin3rwe+Ac-Q!v#mhv2Dq6!wMm1wYSo=?g$6hAyY9tXVKPZz@)_yb)P96)c5P zp`$U5m$I&595u4>!NI9s)pl(@0xE^hEGE<1ywJ|#_XF2z24m;snES+bd1(pl>#H0a z8%y}7%`-SDWKz%2FlBF#O!C&u!6e_U@9j#Fy%`t7S;Drow0yob+Qn&A5++APG{w}2 zq2430p9-%eEtt+vHiw=!BSN$n(=CQLVcxP>OmfiE)>y8Glate{y1KF^OB`c;cydy) zuhsB1V?8w^BYb^CzsM@~gtpZ@`gRi~q+P=0dIL{vhy zri=8sOm$AFefKBv_DK{8tX>x-Efa!KlC}S^mO>-*`lqG3VVbpif>0<0t;y}mNAVVAnjck1(+9;nCEP<->z9|H3 z`{n-SOCwWLSgYdY!@c!eZzJ?^8{HYoYT3O{(yF_t9Xhiu231v6zaJlxXO3>y_6!wY zeQxRJ!dsepN?sFO6sN{x=ykt3S9^5S>0#)Spk)UlBEEZc;yNF<5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2IcigAix z;YAC~`r2C1*125uweR2kXSy!oV0duyll3z}5MdBNet-c00n)`b6@i_zmdr3+pAOUZ zM~_lL^riOs3A(^TJ8J9!Ni~)Et6s+?FE0-sqmlOqYYo7fk+HEFOxCJ_M~a9z9a;y& z6PG^025Ga51nyOPnIt4j7~6?REiW%e6ktG5R3e>Wl9kAh?;nSJ76^`T1{)Vgs%(&2 zTHvIL0z}7jbkekj-q+V=hu1l*@@tT?K}BiL{Cnp5(j!YScYmC~%8<{bAz9#?m&{ul zcZ!|smAv=(@m@JOImG#h{U7=V1_mN59>(5reO!)|1>3IPJtUq&dHHoE#@7(uDwYxd zzEvFKbHnTGen}35>7cG?2HDw}_z^fl$9vMre)Iq|DIx$=fIdpkSQ}-m zt*_^bGDD;E(FXd*L5V`mFm{&xPe5oGIXIB<{{tSVH>-gG`~PHc2@9l0`$Yr*(b3U5 f!PJmQl3#d$PFTc+;&0|~a1&sMcfviu`X>JuMoujd literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/preview.png b/sources/skins/moono/icons/hidpi/preview.png new file mode 100644 index 0000000000000000000000000000000000000000..993e79e59923325c34144e76fa6d29253528daf5 GIT binary patch literal 2409 zcmZ`*dpy(q7yr`ILgg~I(p;X=ZM3A4%VZfALuPVkV{#3nxwfU0M;cFgkhw)|JtixJ zSj#PWB$x7NZlT=m843x>^X<>yAHUbx?84bt zI)PI27eS>!9u*(I3<}6a3%msYRAk8fAZ`CO>1X4F2Y`580JxeA0PCRY>I?u}MghQ_ zF8~oe?%}QQ&UEUnGG!m=_BwcSPgx*d1e1 zN;@Sr4GURw002FXv$Sw_Z7I(Q3-y>(YGZT@zO5wmPW7c{8YTCPJq~*ROhzwUTf-*k zp(eB0%Hz+SJDGvKa!|wibGMxp_mw}pawh9!jW$<_EB!(0otAOAhP#@p*eM3SOZI#T z0NQz$=bNGD4{5!YwPqvMqo(D_!f>6H1f*N&u_GDlw37% zOGe9bVC($~Sz1E2rO^=obW+yK%uWy>FvL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)YA< zadmb6BVS@sM`0)D(WBE*Q?l0S>Tce$V95Zn$7C`SzYSb$SeTjl{xL;^Zo^!w(yK;jawxM7`D#I!(*d%x-elr_;8kXuAP&r_&5<5UU*J3t-_+3~xcN6m0-#M0m_*0?}7>)d$);jE93M$G7yQv!kD9;Z|y zd!cf0eMJ;$q#kPuhhZ(CP5u3ITapDE(9&T30fSsw7Ds7%i^baO z?%`2dUOvgr@eY=PZ>K{88}k~W5x8E%A<$RFK&VlHeY96wa5eSo1g;`P$RmfSU^L-z z6L$=NcK`POUY%$9WzmN_9g~akg2W$R+5m?e znBr5RCx=$n$Y8=zq^+#1z%+Drb{?*zO2nELlCxpgp3e}p?Cy6Nc5dCoXw`%cI5~Fl zy!a!rU^FV+%Y_F-4(PRqcHcSpJmn(CY)!3XXiAIvX=<`r!Z#QNt1T}tE0wmI{P|!` zyZ;-=b5DIm$0S+dbc@c4q=92(nAZt&bMt*^t^Ln}20WRVfWz8b@-V*F F{sU$!dN2S0 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/print.png b/sources/skins/moono/icons/hidpi/print.png new file mode 100644 index 0000000000000000000000000000000000000000..42064c2316d9e1361c7679e8d2994907326e88c3 GIT binary patch literal 1758 zcmZ`(dpO%^7XI8L;##znN)0;EAVM*ON+xb0R2Yrz(4->jk}{--y4PLNT@j%}i;5aE zE^FPXwn`~#OS@=V%xK**gWc59l$xJE_m6$P=bZCA?>X-|f1K|<`4_z1l;OH?0D!WG zJCOoKd-G2-$fn^)I6+mu&PM*x+3FR!S^QKLH>D2-GE1z3h#$*BW7N5_=Ns3=6w z_nU>aEdfn!yIYHkre&m!C)rAas$bdYJH#VE%-%Mgfvvzu;`=7E2~rQYLQ z#uwz5m1)@(f2*6#Y|oGF>CZ^dNnx>+|DC9ptD;Z9Ry-AUMYr|#7BJft7k57?>7|EP za>p0|Ky8{uwUkC0i)H53h0217DUJTLKy86Qu)Xy7rUBTm*^v`@e#kv(dyU57=#-J< zCJ?OIxxuvah@o`)38Z0nb74SJ_OlX$!9Mo-v;{B$$>QuB1L?iZHyx2vD`3{X^IVbKZMc65Ns-(4_U9Aagao@t^LB2ZmMNL!B(XKoM*# zKPy=-EiLsVq4>qi&ajM^FJBJNH24$_+}O?OXyQ&Qo02m0>ofECd83$Ht!?V+PAL+j z;DMx$HM`;(u5?g;qHp=Bu=YR}&iVn@5M?YP%@r4BoQD6DpQWak;zN8eE4n~Zw;J*? z(m)zgd2&-?X(y}<5@me7FUa~1IigFrjq`DMbV+!I%5y1RMwX5tPnDF?Pax7|R!W!c zwsEQxh#3q*f8B&kLT$wNQGm{{ST)JJ52ZJ_CWN%1zM2QEIb6m>Rj=#K$vS}3lVVYtycNSZL zm|nNeQseXaK)tH6s!BQT{DgK;PpmNlCt)xtq|@c&zJrTy?ep*B`-&VAHYdW`=X>bE zv!b0(O&42U$jRQPqH`iTp5t{?zK!&hCDdB$7LhsPl(g{!$$6%0!%T*#H?LDtVFAGzLSKLRy<%$p3v*$}p1x7l}mO30n*M)s8n-F!#?Sf7$1Jf&NOIAp8mDmOlBl zAT*H1{Fvm(x@DN9SU3B;R_4RKwL`X!D&F#ESz)IwGlx(EP{s@WoH~#PoZ#|s237~E z$5=%PM;_l)Sd|V_FoOv@SD8$v+Bpq`HH}$d*XZizX6u>`sbfft`_b_RZ|d&(LtKTI zx1|+&{K@Djj2RZT{;n^9dinC|;>$kT(aors8 z%F;vB)h0!YgUaR}tqveooO1;Ege2Ls~Zd4EGe*(pn3cLUS literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/radio.png b/sources/skins/moono/icons/hidpi/radio.png new file mode 100644 index 0000000000000000000000000000000000000000..c84bc007d1832d4a47beb810f9df9c286f7263c3 GIT binary patch literal 2676 zcmZ`5XIN8N_R%{82na}ticAJ$2u*qmgd#;Egtns8L_$XhQUXk98mc-A(lJznM2dij z2n>RvFto);69kzcAVqo+_VIIn?Dx(+=YFT%@11+fy>D-4A;d4k4*-CWm8IErkit$E zFE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uR^tDdFixfu$1oJNAWbmsX+F3G>sZW|Uy!{(cmkN?Bc9O-q6};&4q;d7JtoCXmh$ zSpqe?D^aK|rnlY3Z(m16{C}F}X~@ zg3V=%o!{IChXY{saCY~Q%{AvipHH@plB$701_zID0t9^&cQPHKZShcD9|@kW0a z>LfN21}TsRo931Ua5vYVr~VlfoGJ*VcE4TQow=Bl4cdA{N6Ym2h~?REHy}9jE1%fI zjdOevDk|Q1JaQtC;#mGtxX`A-O0%*`)bAF@p0V9!~}oGOxA}FSAkBji^lDJ<(YaNC0;__ zkzOFRMPQ*_p|Y8>I$=MynYU)-(t4_wmWZDNuKc-bRN!Whg}!e{cU0y=-!tYt2Tlw( zXiq_4U|@M=Wy*cUcPWHs;^4&8il&;t4I2C+-dorV|qr_uy2m#_^Rc z^W>MH3)h?sVKu!ZWrJEVbbn(34PIScy{DP53&3QBJ0966-BK53fC*<02LSC%4sbBM ziqbFch&%kz(lMQVZ^ox_d^cTa(5wD&>dbY~u1^*AP%eLee^^pT1>&r{{F|fyI9zMz zn+>MHD+}!i{GGFpt{LwCv%bE*aJl?jdV9RL_+)vx2=F=j0V?5Jm<|MeY$iW#w-BbI zzTS}o7=&7XGPc3T9`ckUu!Xw1C!D5 zQ>*f>y2qXA7VVUij%JDf#ItR$EL3FuqgDq#t}cdST*7@k!+mwV!+b#ksG(G^Tt;2F ztfuOS($Ph!>8h(;0x=3T6D3gmKL&xpK7RP9|8KxhY&;JdNS~hI5R4Cx^bGR_A|oS_ fenI|sygfsFk-=evf>nJPPzkWY*qJfV9+dwAvyj(H literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/redo-rtl.png b/sources/skins/moono/icons/hidpi/redo-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..c8583ea688e13a803662088a138619725a4adcd9 GIT binary patch literal 1868 zcmZ`)e>~IqAAg(4aM+=^4sCbNm#)@0iJ@!_TUxO;HkTVQrW(uC*vMk^<4a=P!mKD9 zJ>qn(G~Z>cqi;*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PRj1kqnhG!>G3BGB+j_@-5%M@`6=YFe_8h63dac2fsm*= zn)bK^PLW??%v@vqd}91{$x;3w02(;_MK#<-H4VHYPDdA~p?g8&SJ2~d^YO^C{~?5h z`vnEW|9?V*a;p+ZkUCbl5*`pk^@;Kas8p(Y5G5p<>=WUy9v&6Q*wB{-4*^zYcBTy` H-l_iq+CNAE literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/removeformat.png b/sources/skins/moono/icons/hidpi/removeformat.png new file mode 100644 index 0000000000000000000000000000000000000000..738ebcdeab56e8d681c2b7cb2a33fcf25cd1a048 GIT binary patch literal 2358 zcmZ`*X;{)(7r!bIZsnL6qA4m9IDtws=;47;-3{< z{uB3lLLSHaaOf8dXT-GC|H#;nEspQ(+Y~Q9F86)yhJnNbCL*{gY(396p-(Pny$Eir ztb`TcI2Q~P+1m>Mh%i!K)pQy(D+iq%XY+O9=RKBegR|1t%yBh`IXj&=al&pSJslpz z<8@9%wExSWeDd3F{``M>*J&8trx;rC^@3BR62awOUhCuOCA8!Ok`uSOw0JYlVGXCB z{i};^>XfZJo6YVRx_MN|kBM26{mbv& z|9CMM5{Qd&UR1D{edzx9Jb~;adLjWcW+-)Q`3sM4k83R0XU%A z4nyl^|3%tD7JffyGmwC`w6v^?M{;(9D?let+CM&?cNmu{7F!6s#KXlkVhtBh9RzF* zr3L?SIq?8eD?KPLq!^z4mk{o{^BmT_V9M4iu)vEdOl@mB(A3;K)qY-WXy3klEtSM> zq@K%pG@=Wv;rHy>;3sn4$=J1eWl(Z#_Hn4aao+U@54Hye242FbAHSmv&K{wi3J`IL zMBlq9vM`)je8C3p zCyJbvcXUino`ihS(?h!-KmVW89irBs{NWZB7Ug0Km@|YYdA#x7u$S#?tIOAL^oF$@ zn?I)_XC2nD8C@#PquQ-wxfHXxLZ@+@nw_mQlBW4N;lZ-N^?DeoXK8tLO_6$OT!+je z{03dx1mAAlae)eAQ>9==*wfp)iWz#!WTs(g|FoT3KEz~hMRKSZT~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OSp-{fGx3{OZMe^UObGcjzwf;^N9%gGv zASfy-MuIml0L$R6WiWSDV2HmXp`LX60QT4Cbh*j8mHBa`G{|%}$sU)Gg)mLC4M8O& z7gx_gIGJrl&t<8nn6qD8RW%IV-0oHKN?HXUt4*O5Qu)!#mwzU$%n$-nQc`%`2h29J zeClq1RQ1ydyAA^xDzc=cL^8wj2wYRFrp6TxX`NrZ=T0I$I(NK)$^Y;&Xq;Eg{?4A5 zn0Vy+2aQI9L!{gqL%at48+KOS+3O`&%^GiQZ4I(mm*xb5xM+X>%*#j{9ByxJZZ4bK z6y^j1A352x@9o>S=+TG^7nF*Mie6PoOMa0`r_X{d^S_B}p#kCHx5qCfK7&Y$7g<)M z(E>qFt8<*GvP{sQjrN^Ku1|#hM-t~MmzE+O*wF~)aS@Fx2tv zxXs1>_?58>BHOFGcs4T_R0r)Tgr45=`ZP6as!ztn#pSA8deAuiA0BV`=g${W<4^40 z%>Fq+=yZJ&J%*G%m~FMaH}2pA8ZGnOaU9qf78pBN85tR&)<0HSoxgrz8bj_3__-5_ zQ%ij2&HQ`=6v_&va!fHdVol9TGQ#?|r}4kb6}3DHx$WHXq8@?ZG0^4d>6x_gy_&wv zd;aw44a`|je^;BML?Iyh|F{SjdM*df9pvQHVa3b{C`4AEYn0$pMw23TlYI|5Q) zF4!i=tYqA?G%`l&8yo1K0B0nU7r(#!|0sln`33sN|NjbfSc4X*aCp~)TbO@ztal_C kh>eXs85kNAmDM0l<$%jQ{`u literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/save.png b/sources/skins/moono/icons/hidpi/save.png new file mode 100644 index 0000000000000000000000000000000000000000..21f92bfb57aead0ea7d3dadb658e6d9015c1c22c GIT binary patch literal 1678 zcmZ`(eOS_G7k>OEQbRWlc{K@*hLM4?Qqzfug`}C}Rjjg02hI;>3gQPk3;fJxD@VSX zIEsA5RZ7!d)KW6jsm<4KQ#W44G>6KZ8kwdm_w&#FvFkbK+}CxVbD#6iIZwff<3}yv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M=PLJ4b6x|2Bq>xwx3mgoP&rVp~fCY_w@m6M`!1z^yW>w%$0eY zsbvrFbT!l7_u`*=@^epkt|6wVOHQv+UKlE2JWCD_bFpc@_#U;osM*_HhhR8?&lg0H%MGn~mp8W9d3I3Iw2;Kd+(`3&3`yc4Mcdw(M=EHHyo=XY}j3nt1@_ZNWjPI#gSzOe#?9d;9i8c*J zXiFI`cGsUk-|ilM0F%#-?3aRn7ATw_VjzLt)`XJ@U-DBUc~KxWHPtot0w;+TnHc4oz>Ajr;f;cdKw!Xe Js)7=c^%tYh?@a&z literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/scayt.png b/sources/skins/moono/icons/hidpi/scayt.png new file mode 100644 index 0000000000000000000000000000000000000000..5f0b6d9d5598bec90ffa626e33ed408dd6eced44 GIT binary patch literal 2854 zcmZ`*c{r478-HUkm|@D2-6&~VXzbG*$4&@Y5(?3f<|L%CjIpoB7^(QAk--#dl&z30 z%Y^Kr#ukw@m}AeVBjbDh`Tg;|@AW+Qb=}YXJookd?%(};-!upNb8rzk5dZ+-)>h_D zphfNvs317siH!UK8i>D%oe2O`Ws3gx5!heESvlDOK%^P~#3cd1zo08_0RTeL0I=i@ z0N7jrI2`=A!O;L*5WIH&oH?+!{}wivW`Q2zU@P}KV7AfyaljOn7Xdnj2-bEMLNkI= z!hA>_8g&T_TeCJdx#-5sca05j9+l#)?98&+%J=~35o4sF{>(*5)40Det)`+ca1i(y z>$$@_l<;H{>-7+RM`&WbOGg;4f+aT~FY6)?3O6wDvO~oVF}XS!DnkcEZI3}3-f>@T z9_kw8Hm*+X9vBR@X$))}&U(Sw8Td6&&yHe~e0#D_1Y;C}>pj*Y3{V;xDN})|c&b&g zlY@&?Lpg5ZHGT#o#=1snL&I)RQ!buN{_w%^=?MM?Rj^a$pRhkXG!B!=7dCzAlZA4 z_6!C7~m6M0}@V1>nE)!xv-ZoHGY(C5({ zsZ08Iv2+udCapHR*xA{|<{1#Hx4(5~DJ!21`L=sb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J*^6?)s8J72L)egA06fyoP zn%(O5J!EEP=1n1ra-+q$Zv$m1RqE$5l`K>bwSDbKcQ-TRCoMfMb+faBgMr`k>pC!_6pZZbr=DK%miaL{<5AS@>IGS%I8Kd7{x1Byyj*NHIM?04$HL3mIdRmB1P3OhEbzhDeALH+9Jl`SmmDQEgQlCJJ{k-@ zDJ^B|*VNRs)ZM^5vZXgPP|c4V1X}+Ye|3AlN9uc6V;4p|*>tQi{0z`kf$9+{9l>`u zr(Ue}-reUuTBh&GH=FMborl$IT#~95LmF`<55e<}bOU`~DP{tU6 z3~+tpQ65AvRO7E`+7P+kPZhX3x3T@RPkS(6qW0Eg!G!|D{Jm>Ol92bUV0>|-9K}JI zURM%`D|dNP2sl2s{&U+y!@3kf ziw5;w$oc^Qj0Z@Q>4mkm(m_q@f>{PC70lFPp=g9S8VjhLL8tVZ|z13Q6fq(<=WeGmiwcZm`6tq>A-UcdsiRt z$s;k#F0o8A8u&YSj9}qL@bw}1VR0dTpaHbdntJMJJ#{V3i|Dghv=&xd>l8Sn(O-z7 z|GVK1d#4+swr*T4tfyo2)z_R|Oo@y}Z^kOPAN NYYThxa#Qbw{{lVwI^qBT literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/select-rtl.png b/sources/skins/moono/icons/hidpi/select-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..925c06dd3844b32653c8d58617f418d0161f92ce GIT binary patch literal 1601 zcmZ`(dsNbA82%uLg8*qewuMglwt9gbci=rcBV#R21_vgsG`aysWV0a*9Pu zE04L^T!r&)+AK5dVhx*RIxCiDSah+xw4ZAvAn15fv|g2Ix~pX-*-i5RZdu0BQH`<%Z2J$Rj!ky%K&lM6fk z@L8g{{kz1yD=6El>?sV|rpm0y0F^+T4B#*t7)-qU%-wy-DKWaaWl5q_n-n|g(!Yn~ zCie2usdwn~C$wu8dZozTIWJz5Gu44d zFpu4S{J3&xXh=Lb79^j(w-Cl`HSx&sa!#NI{vG!+=EVzl~wgv z5s^R$M%&vrg(@7<)6?@2pbronn8#*#i^^vgaY%D> z^SrRI(TcS31F5M9gdIOp0u@i{r`KjbMX@->}e{bm#@SD94e2NOfl({D7WzFJ;>k{f8UZuQL_~ zO4lCcw@B8`Ns`n3ZqLlb`oC zPc1LLuQ_?L1Y6LT!q$h ze5>&Qfg5du8!qOdu{Ph;)YSaGrNTM1DLg1L(w0i4-kz9{t5hmZ*faeL+6f_cT-B;l z$wo%lguy79BPNq0>e%;7|3Qam6pQA)%^4gK)v&d0b|MbFL5P+{OgT<=%v{iIExMVq;UOeXi8I=6U4|7edo zZA+6{%@PO%8!e4D)~VU>8dl@zXAcB6(0-oXv8GS3z3!wL0)A@S>F(>>SmQh4eT|`A zBAuf|BKhgO``zbnGUDPeM=C3K!a;QP;wW^cILNRSV?8%t_*>+q(7ioO!Px!g$Yc+L zn|fMVeHq;u77@WyY*r`~Xb|TbiL+sbSX-h(o2=6x_Z-RlqF1+IVJI~&@jL1=WXlFC z^1^8f!EDXhP!mlHXW*BZwv3e}@ejLQO%0{Jz^5tPd6Z1_@+$Qfz2xTScPq!26Mfrb zWm+*M^9kdTH|UeeWD`y2?I63qN0grjVs;iRU2->pcXW0VDU>pX3mjbEPhxDYii(Mm z_U_2{KqpL!9gBQGQ+UM@xml9T8oPGA#+l|Cq+n zrEWZA;WpIz`#Jt&k+K*>gsARNvuft^2QBJy-B#d?{(`|1ZC{^(eoEJD|ETQ!ylg%-A(IaQ zAQ6b$Jqg=ANyKo%4l02}-AeL+DuM7=j8y(dkS5%poGAW(L5s^pXGpMN)gernm@VRE j@_|Ss!Y8MvW+m`4_;_JvQr%0M9W(@({%m@SAGi2lLaVTx literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/select.png b/sources/skins/moono/icons/hidpi/select.png new file mode 100644 index 0000000000000000000000000000000000000000..0e995f97ec2d0cc65c4fdf3b69f9f89028120afd GIT binary patch literal 1608 zcmZ`(e>l^59RCb4L?f;F5z|dpH*Q9|=_c7(Z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ins/moono/icons/hidpi/selectall.png b/sources/skins/moono/icons/hidpi/selectall.png new file mode 100644 index 0000000000000000000000000000000000000000..68f3239b0777077ddb92fcc5ded822152466b477 GIT binary patch literal 1149 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zS>O>_47BY!2s1iq%&q_mvX^-Jy0SlD6Xj%5Fqt>&6$1mayQhm|NW|f{)A#$m_7XT& zzq{9axJn@9<=FmB(zUB&azwQJXoyWKv= znqVTuSWsDcvcSS;<{1V7CxxXhnyo=yTeq5a9aUmTl(_V=q(G)!fn$@a=%d>YCf_`_ z$ww;4E9dsI2%TjN$2QCIu-&TA_0uX#c}*$2M=y(#4}NhLH}fThGrmaCPCAy8!L_w>LYw-&gB;NxR@vf4)UAJQ34cU+>Dv%d4|c%gSjuyZU#E(N2>I z$Hh4RD6>7X_!l_;{O14XEE7yNcmP>8Qa`>MeAv&n?{b6XsBxx+MXb)!XJWqrNBzsKe|>l4EmrWJ09(v>-Wa*ub-{pVl5PSxnT5T)GW z(f@5H&kS~-8DBY@K0aXR@9z)hnX$0U=Etj7Sz^HGS;lr|Nlj6alGjopc6N5P&pi$2 z&z(E+?w#K6-@kVr`!jv|^q1{tj5Jl326eW#v(KA1FR04){Nc|wOQu-#9sd0Jv(sm% ztx-#(*47y=*t+cg`^$OTjo()rtH;E|1gyRa3|j_`r7a(s=gglUtRZqCs@sOigxR01 z;r;KH#2G>S@wz+q?K^ku*sC+pe*MvpA2Vjpo}IFXrBG(} zq|}Q1?YDnQBs|J41?Ji*K|Jk;eIk$j|6Id*cGG?a54FeQ+nyMl1?Do<64!{5l*E!$ ztK_0oAjM#0U}&amV5Vzi7-C>)Wng4wY@`h&4GivAa?eB2kei>9nO2Eg!#b7CNbP0l+XkKoq6rt literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/showblocks-rtl.png b/sources/skins/moono/icons/hidpi/showblocks-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..d210fad35e4dd69f9244de032d6f4f98555a8380 GIT binary patch literal 2084 zcmZ`)dpwhEAHNrmR#JG#a%v8Ruoh!1&3JhnH#LX1JN2Ga>edc?n>0H`@j8 zxci-)>YiP2)bG5HAaKdW!OrV!S7r9J$IrrpJ+|jD=30iQH7d4;bY+WDcG1&#&sX$I zl`gDKXz+V#KOP-wJX>ZS|i(cPb7r@l`X9!vYJ(6GS|;fGL5D^#%# z6k2{wYU{0T_f+xr9!4qD3-R&s=$e|E%*IA*Yc$$`Mx*IXPENwEUh0_*+E|)2K_L1C z0>}A{Ey>n*DcWa}fi5d!t}l?Zu}OxPJK@-Z11SQ5U?|JLcrZ^g^*pHyPdwQ-NCpW1O^p*8I3b3O9!oMZA^667sYbz_* z{Nm!N$?56Ad&d9HhWNK~M5D3ymzI{iQ=IjQa*F$})eEAgT8wH;(#>hFO=Ql6hL-Nd zNjR-u;J3VabLch2%qDqzf(Gl3=|bMN1;d;^%G|=jzE4erqgjwUfIXDQ;{p3RteEei zPPaARD4{JZBKbPp0a34rX{f5InqZ?%4-fAXF*lR2-VxUa#h$E2&Dz>psLu6Yil91= z6kptS(A8JoV=|!pHOb%0$A?HFxnK*VdwjExDBqCHbe7dgU0l}7gqHC?`5JF`OiY}e zA$fZX7vpA`jYFtgb#-+w_Hc7^AJo>~>+kQ^^0$J>!rJD-Z&IlG- zE-o$#G0T!!rw|%VULn%_Fs?RotK?2)MTJUG4_6|I;gg#~Wd2@X6gswm+%i6O_%ye* zVb8B_6+$DXqMQAi{1E#!t*QuK-maOIalT(a5;Pd9psZ*#15iGmfMi89@SlX4=mzL? zBg+XAy=hw6}C}E+r_)?lIAbL?+{7V=bO|eKcsPs)A?r zQHIG#8=IHQ%hB^n(R8>X6bf`9L&L&mR>gxyaY&dfJkvQM-S^jDhhp#J-~c>-jLejM z%RrOK9a9wGLmbzP(edECg@SO(5@XRdz0 zE8TDyGgxMcU#mvy7po9hf5C=D-S+3G)GJQ|+V|H#f1aAv_r7;-&QLo;Ofi}_$Fm-l zm#2e0nFWqa96TCRFjy49XNq5=@js8Cz&>=`Xm}j<=jiAa(*a%eTi;wKH9KY{`8R(l z!VWwuEiadEo@DIn!ddK-F*@Sr<`&B9{xtqnP#xT(-yy7z5^&9Fy&*LTt^RCs&odJP zkmKa-&4(bNo+J{851% zT6AI z6DWMRP22(uEEW(N8j2f_{iB99=v*@5*Oo-GM4?Xm`@ddUF$4Uc=CCn%8*N%(AP%ZC z_xW?qB^;<9=VBtI=8aZ+GD`)8FDffbtF5&N2?>G0V2UD<$PnyWHk%FH?4FHrAJIhN z%^M$HmLzDt%eZ}eKW#~a%jI@{-pHt^tURL7g&Y48P!3Bff+hM*}%oxbe1+%`88j9JW4`Oj9@du)Kd*kX4 ztgWrb(JY<3SB%;%ysNcTZT)@@@kd=^s~@80B9NN>+;UffoB+HGkFXujvME7qDkhjo z1s!09JYi{yv@|t4;f1uuAk8r5X2zgJBBvAOfBzpqWE3SVB=P?P`1&=vAmGqW1<$Au oc6<<%3dG09Bf=Qrtl*$%Dk6$W%UiNh2VVkQ90?A5`@rA+0hC|VhX4Qo literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/showblocks.png b/sources/skins/moono/icons/hidpi/showblocks.png new file mode 100644 index 0000000000000000000000000000000000000000..d6d51d135430a238341e52794a1fd42c4dfc2a95 GIT binary patch literal 2030 zcmZ`)e>~Ic7ypPmDk8b$$CcK&l9*XybY)Fhj3_^5e%sQj`8iFa`EfNrL)>UnNQLcc zGLkDyEk#3piNzF`Oh{3F&9Au|9)kX@HZ>4?(RDSYP4#^+mm=RpPG84QX^(?&~8Y0 zk!bPp@4)DM+_$mkb8&V`d-F&(0;8hBLJwcxS5j%kyWwFC`@h!`S`+#=Ha5DtyB*uD zq*7@)xQS~C&~S8c*Z4Rv;N?po;PLp*2i4Ud8D0_L;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n5n>+2V$suAn(8jeqA7RSQL|b47ZIva$6Ip0DSo`3O{uIhVh9L2NZS77;!{xQ5*-96qan-A6%h1r!Zh%6eSPot+ z?CtHn4>lA#ebruJnri1nv|nSSgC2^S&gGh9W@Qb|{9a7LpJTu1?N#q2=7Z64YM{i- zk2yxI%mwezv(77p;rg5^`>MFF-anz;&(BvMzH_RBwKh*g$efKeGTq$V#5Zo-_$`t< z9Lsn-hz|^OJACL+i?dNdu)&9c0jZw0x94IJpU=0C^;eaTYx%GOx)ISP$k}7RIg&eY z(MmKuZIZjk{`fkK$z=Kv2%!|p?2}FXBlPE>0&ILiY_Rv2&7edgkdPtz`}BxT1Y5iGqOjUnM`J{EAD0@X0r~(Sb*P}A=S}`N(`owP@&Nz zkO2s|h1Eg0)j@>C8MqA!jzC!=4uC5hK5}_`$^QT-5k&IY%l{w1gVjMnfc8%drz6f% nX~EGX0IVr9a`=Uq(BMdtSwwVL@fSNC@DPA?bj9${K`H+QI7Gxv literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/smiley.png b/sources/skins/moono/icons/hidpi/smiley.png new file mode 100644 index 0000000000000000000000000000000000000000..5a70b89e29a59f3bac83281b17c02ccf7e62216c GIT binary patch literal 3096 zcmZ`*c|6ox8~&8G9jFhHP!JR#U`i?E9tA7`r=` z5E^4iF3N~IWlbu3w)gbs`^WqFea`Qk^PKaX<@r9(_c;l6cym#>EF6L$QA-O`dr%+# zU0?#>9~2(G0xCYQGq^JlM5hREyYl}YbhEI>K~T6d1l@^&pkF|AXBL7&&=53#6@v8B zA!vUnFd#s(HaCU#et)^lk`y2j3b42s1a=$wUG|x%WP|~sV6Y_)D>x}2CB$=B zJDWBSLGXVqP0u(uwLhZX_C4>I)@8i3Y51}K@mV>{W2Ai|5~IvLVnyO5}9hx_4F)`JcU(WWK4VJ+2uN^rS->2 zBH~zS&gB=>U7Bs&+zPz?{E7++?i)s|rN{cc^tup$J_qJWOe*M~* zEud_CYg+1_S%#sWc#Me%kN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TyUNYVC`)YL|(ylfQ;jqX2aMYBXw@Ft59XU=px31=-ybV*c^s)6qb zs#w<6)|ZQmS@#3H^{?o_j|kk)%RSjvO&Adu4g$^5u|p zs&;{I_8<4OTTv3c0)@dq;C05v#t=AWpy?l`Bl_HpF=rBewUus0ImXY8x8!$(|5eMj z%n(PCGLn+Cx_f&c?t!D2mPms^!E*2+Wb+U;??#J*g9D|9_kKn&(vTH)Kh4K7d1z=z zzwY~uG{d%#PpS3w_03wbO14O}bg#U;oDmJ*n=ns+BJI2Gk=oRRNT(8R^B7}O}2SY**c0d1>c zTA7}rnm{C;F1vpHohg60gaM$^wN~SC8`JAHY$pG5vw)I^tEs7RJA{OSfkvF380@!# zuJE_R(X*RKr2IWS zUj)rG$==H5u^_BhUeAYi4TqdCpM%V#DV-TTue!Qu8`EKUg*d7x2RE9zCfXn16%?C7 z59i_^U8Jd@sFBgpwvmy@mutSvPcuKi?=bS&pQ{{(o@=h+!ys{b8&Gv?^Jl!bYwUM4 zRCyp^HNXAF>hA6afX!ydma8iq@;ed{;^)uz>xmPK!xjGRD3{vs(gNX^6)ux(<~o;F zL9zO>b7W|m1&}nWc*wB3UfWpDy(_BNaazCdbzh%;JIX=bN(S#@AD((WIEbz8!)qtC zn%sGG6fJM-??=mIvX^h)G9tW*S70D#SSc-}JBt=bi!#O;D~(3O@;k%hi9l&oP@h|i zS_x2qlyJi5>rPmrf!o5_r0J*48<#iK1i1BWFHIbP{gg&{&pD%;}%6PLj=_L%@r6fLcWf5&sv=%#MWs literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/sourcedialog-rtl.png b/sources/skins/moono/icons/hidpi/sourcedialog-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..64b226637ea78c4d5ea5ffa19039b9bf89bdeb36 GIT binary patch literal 1955 zcmZ`)dpy(o8~@T`)@YnzF12x%+|A{%MlNGQ$fX$NvY1<#v{{zRMn)V&$4o3X$vHbH zhfon~zc`Nk;ulelLsZgE7e^^&_W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Pmrf!o5_r0J*48<#iK1i1BWFHIbP{gg&{&pD%;}%6PLj=_L%@r6fLcWf5&sv=%#MWs literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/specialchar.png b/sources/skins/moono/icons/hidpi/specialchar.png new file mode 100644 index 0000000000000000000000000000000000000000..5874ea3a18064efa310715d7a7c59a045b2e9e57 GIT binary patch literal 2707 zcmZ`*c|6o>7yn@zV@Yn=l5DvdnPJj2#8@Ls*#E27;zZ z5M+8Af|SqQZE(kf1$f|bds}Gh*I&|HeiO_{opbPs0on$Cbuk-c5gklQ(j1-bBuC+j zQsSD};=*aLjp%4=?di?CdNSaI-{9WOcS{>ov)8!y@`q$`DmI(XQeX~J;RO#q^mtAy zJ$L8mad22qy&b~`(9^uWtjZmJ3UWsbP-C zGlH%dzF1yr=C90YebP63Fq}i9Rp>KER_@K;9a;HFOr77|(b4e~B?BEOPL~g{2z@_~ z7DS(3yUk=){kxTxiamVzNUJ*R7($GPSuG_Op5C_jQwohjMe1~Qb&WzsvL4nY=Z$2A zZ@-ZxZnLN4kxX{jAIQQJ`;B)#O%YhDWTptlqLZjYb=yNai_fgk@mciZ3#sJWCafP# z?69pa?Ch(#;YOK;N;6w07Gc{XNp)+TonrhbMVP;VGHBlU89I)CMG0SP(2KX4H4zJR z{KDG#g`XSpFtHDjN_S4cFO_LBJ9*fS69;asyW87mg{#1wSUa6qJ#a4s)FzC&&8{c& zQG!&V$q83iKIidcDwoT>Us16g$`y>2a1IO%44hSx&hRTk&dI>j)T;(%+!d;8YEq}B z!X6MF#WyrG6dz|13u0rOwSpb;QfgJp zX2K?`;MDrpc3mdk*I;6Ldb(nQd12GCkiGG0e&y&5owpqwUp_vM@b>jhIKMJCtV|kRa;xjZD?%tQ&m+h2~(~4fEphkH}G#xShCt(DNcf0 zRc!>)>8m`Ca+lf5w%ShyMRt!oU;X%jt@N+&>Fe)*?uJq#tH6;g(wt>Xj!+XJzF$}O z!Vvg&UbJ;XDwH6l^9u?_&=OP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i(C)0?B85$o?8yK*!JTsc*>FK$!vQisKs}lOp zVX;)v!BEZ42^rk704X+dvtR#UW|w9xFRC_nFXrZ61*NJ*^6?)s8J72L)egA06fyoP zn%(O5J!EEP=1n1ra-+q$Zv$m1RqE$5l`K>bwSDbKcQ-TRCoMfMb+faBgMr`k>pC!_6pZZbr=DK%miaL{<5AS@>IGS%I8Kd7{x1Byyj*NHIM?04$HL3mIdRmB1P3OhEbzhDeALH+9Jl`SmmDQEgQlCJJ{k-@ zDJ^B|*VNRs)ZM^5vZXgPP|c4V1X}+Ye|3AlN9uc6V;4p|*>tQi{0z`kf$9+{9l>`u zr(Ue}-reUuTBh&GH=FMborl$IT#~95LmF`<55e<}bOU`~DP{tU6 z3~+tpQ65AvRO7E`+7P+kPZhX3x3T@RPkS(6qW0Eg!G!|D{Jm>Ol92bUV0>|-9K}JI zURM%`D|dNP2sl2s{&U+y!@3kf ziw5;w$oc^Qj0Z@Q>4mkm(m_q@f>{PC70lFPp=g9S8VjhLL8tVZ|z13Q6fq(<=WeGmiwcZm`6tq>A-UcdsiRt z$s;k#F0o8A8u&YSj9}qL@bw}1VR0dTpaHbdntJMJJ#{V3i|Dghv=&xd>l8Sn(O-z7 z|GVK1d#4+swr*T4tfyo2)z_R|Oo@y}Z^kOPAN NYYThxa#Qbw{{lVwI^qBT literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/strike.png b/sources/skins/moono/icons/hidpi/strike.png new file mode 100644 index 0000000000000000000000000000000000000000..45c3269065c21490de252e84431eefb98d9482ea GIT binary patch literal 2256 zcmZ`)c|6ox8$b3z!;sO0#*#z^L#`MzB0~l<*ZSJC$J~^`OqT3x_R78%u9Dj;MzTc{ z+0xq-8N3veT*+1>B-~$rzJI)*^Lftm`8?-5=RD_}@ArGsZ7ApAA~GTX0658lXa{+P zUj`F|`mm^|Z;;~;Fd>@&(3C6s(_7%zps$4;8GtAi0OFGY_yL9DKLNnN0`S=j09-Ku zM`-08ws>ej(8uaL5gh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QbEXy>@mYxA$WClT5awyB`uCX`i>Ml}t@b3pv=2 z@oRRetGCP>Qnsue`FQX5+mx1;madxo9xlyT$}FPm!XWcd?m!Zk>)qYj>a-QrMbnpS z#E90{SGTqv2@4B@_<M-zjCwTQOvtt|6V&(5pxxw*N`oQzo2c!5qT}KkF-t`d2+$C&xFd{XJJDz^4P|s&9GxpP=lhn-a zJ0wy|U+co#-Nhz@q-$zw09HD)Z}w{h%4vc*#G90qguL8>8K(RB@k5%ZklYAsrB11w z+#Rd0_qlu-?&0Cl7PWb*`i*L(QH-UGtgL#6hM|=nPjN+szZMfCy8C^_*Y?Nyyj50q zHW%Uxga+pe7y1Ws<++HE#_+j^im7 zz>3dq)z{nYwjf2$ymC{UTHT;9VrqhF>2qrbNY;VX3!XipzbrylKh{ZgK_B-Cx|uWG z&ztU#^9}Wf9MHjP>uF&1G<38bum(7+4(_y$I@DvaGm)Z||C4Yz*pGTK^8Y6^C^suX w2}ghJU>|&u9_}6L55mL4HK|uFh535Z{569^1IkwMGSDPIGNTY1&Uq#N1Hm2o@c;k- literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/subscript.png b/sources/skins/moono/icons/hidpi/subscript.png new file mode 100644 index 0000000000000000000000000000000000000000..d59e216937f7c91eec447e0db71b2fb0c17a825a GIT binary patch literal 2025 zcmZ`)dpy(o8~+$Fmu6`RlS}#a8!?L|XJ=t-xlJxV_lV_|HqB+jMl5ox-)X5NWN6W` zgTg7{#8f(I=cq%PTBM_!YazKbbH4uk{qcK!UeEKqUhn65KJVA(`Fx(|Q{;2Vb+d+n z1^{5QyBpaLvL+h>SA}#6m-`hmDsdz)5&+G7O*w7ThBL~|&kF$VZUA_v0a%3~-X{Rq zH~=Oi0U%rfV0+@#4qqbVP(AADN(Sp2tNPxJix8ro=oXR!u}L>X$r)3T4uNVccQ16js;yCHuZQ zBNBCdYWl@3B(TK5ywhWZ5`H~AddTa#hp*>ze@vUzUseI-I;e0B6=hChicrsm!C)B5 z#{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j)7`mT1HJ(DvYx!JA3cmz3jr?qZKb1-$<6a=%Rx{ z=)?eVwKtG-Snl#dDxJCi48J)Xnj-JflGxT86knC!lkOa;@!?6Qyuk4Hyio4fPsN#^ zM-PN`XRSqm22x}({0H_Vs@P2Z$jwp!I@2;|9V(PE5!Gn1HHxxQYbp7DZs%t5b*kLlCrk31G(03@5MedXdEKm@zk`9kk0Vo2VWKoz>u=H znNDz681Y##fzu*WKSmUFyP_^fU_ak+U$We4)=zmDfpj+1ZH%6Ea(3xG?}&Tgc9^O82-bIWu?)Q kV?bJ38aDm}Jtc~k7=vXd$5qS{4WJ<4PB}zwa*oXT2hQJ#2mk;8 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/superscript.png b/sources/skins/moono/icons/hidpi/superscript.png new file mode 100644 index 0000000000000000000000000000000000000000..2951416468eae2950cc6a43c749da35327578576 GIT binary patch literal 2029 zcmZ`)dpOhW8-ENl+hQTqEAOWL7)49+N;Kr0MJSZhnvuf{n?p!)$RR}$SI&cCokh_U(OilpLi#vT6OpXy?RylD_b&7}s&Yx!fiKy%A}J%{B?ts~%P= z6gA9V+@!|eAAjL50fy17uI{J4-3u?RYo0GXODs$;44IvsjU3%8tq`Iz0Kkwm!Q6ujqXH(#Dx%9b z{G7cmSA_2;rQQ?$CQT)$?B9|u6gvJ6a0=?`>ZSCNx(SQ1%9UVkYHi8%)~#EOq^kmO zxqq_MWwh&5J0;59T@``bpYGEVIHjU%C64yfw2)%6u-a%n9hGf0&vUw55kF>r-2d)6 z$=1*MhbOyRw~oLwlub@fuAekp zW(c+2Uh70fMy|LtAI+qXK$SW|DZpKG8}H6k>b;Er(a9T-e)ynf;9gy6kcHiH;RJ;u z*W23*Y~IA{nVXx#Z86v^mj)t+Zv1&?ka&4ngT<5#8!rw_ItoZoZ9h&FU_TXLY zOs_rc%~75G{5iVZmE%Fs$eN#@7wi@eBXD1Y4EdB0Z8)$gaJ*iGS1$2XfXOMq&SI(P zQW|s?P;m)YNxYvEvFuW*h3m^)!&UE3UKeJDCO=4&AR_ zso`BRun3*>oQF+WNuOSE7FC@Jbrq>-5Ikb8Yn{wG9UdNz#UN}n98Q*>+vapJYfd5v zdUu-auYinJ6{z~8u&3*NaM%vWi0=B;imBsp=jYag_@Z#R*5|B|N z!Y5CVrDbJo*>ay)Ebiwg&LJBc>$u#oc3DhvNXVa6Ock~VA)Tr6IM$E2;s(wfDYx39U4jidyy8v9>wqdw_3iJO~Ss>)c< zQtJ9mr6j&%SF4)C#>;q|S{}A+;1;-AU0y!jG!${5gPwx?aIADHIl|F!EqTupNh+19 zMwY{c;&T}bI4x8*Oy}`g`UsJ%ewTOM+lX@VWW(C{qw|?46pH?Lj5cqDPOG|hEgbe` zrOBtInn9;KK!h<{z zxLkX^8V}b@EffC-w<1M1ySfS@ZXpkA#4dfM>5$S=WrGdP&4WI6Et>`h2m3z~~CH+B(HtGCVvSr4844?6=MCc@0U@1q6rOX@vuv~-oyQ8w00`Ln=Z zw047#Pb9x~4zd=Uiw_+wB}eim-`;jN+{ zOr-9wnRkWyx;16-vkzE6qtUDLZ<>#jPKJk{x-=L{>OA$Wemo#L3sbq58Oj7LL4t)9 z+KBn^$cX5V=<)ab#2hRAOD#Us_DW`lrE$a2CTJgzv+)hMl6w5P zzq|7rMz@S4dYs~D_+IBhg5%Vg*5;C;sBe{XPuJ(bx;($ceh4-Rw5;i1`-n!O~RuinN&&)&4dvbR`Jv$I2^L)*#&3(3!ZhCTL1t6 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/table.png b/sources/skins/moono/icons/hidpi/table.png new file mode 100644 index 0000000000000000000000000000000000000000..795e8c8d8d7e6c870dc6f73f7346034c59d04300 GIT binary patch literal 1201 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!ItFh?!xdN1Q+aGJ{c&& zS>O>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literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/templates-rtl.png b/sources/skins/moono/icons/hidpi/templates-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..0784b0098d29bd6fc3ad9777ab8aa221d4309502 GIT binary patch literal 1515 zcmZ`(c{JNu6n;VoB~3M2q(y8MvBXkaEs?_@6-x%Cqa;Estv$rnX{9?Vx0S{+vJNymRk&&Ue4>-gn+R?-lxZxhW~AD*ynL zJltKV5NhoPLKe!&85!#k$V56*oB`-8+4G$a-z_rSsT2S*^a0@H0k8>CoDTq`5C9O; z0I<6Tz`=wnp07PrkPSQT<^m+UtG1t83Ni8t?m@}Ww3*$IA{kVsL8KhZgW@W;D61k5 z)3U6t5JE${JzSjq0!JR7IOdHBLhp!gWIB8$Tsu$Xq&-Ta%M@v6E0+Oy_w2TGpu#Ej zTWpMO?fimkkJO)rdRmR-Y_t^|ttua2>8q@uaS}628`^8n;P=6wElN4*2i_C9TmF1j_!$Vf%nEhZY+fTb!SrErtHYH8?m}t7c+G z#u=C2((-9*`=9R{Uraj#jU*7lMfWi%&zTgrAyOU3&oKYnU;Mr{JA#Ep?h)^5BEoF2 zzu!3YL0V^2`RL^sty}d5cgmb}AI9kBai}rUKGhDH%QSNioQyNS{!AMylT8FIEjd)-^Uo$8jns1@-j27;p`DGT z(GuE);gv6xRk669%U$XC?R8J6VL4Aa!TSILdv9PM#NN@d00pb_K@`>7TtHw`eaN`+ z@$po33}&gcwA3l~%oz?TB zgKQRy78i$HT3TAH8X+i#cLlLhQu?JnrKYAHD0G3jxw%C}M`KBdzE>iV$U3p9sVN2q z-R$c(Z*rq6{4JmZd?+9^ak(!R7K(#S&WpujYp_r-LbtTG9C%BV7)TPm%k1z+Lbq2df0Kdi3m zYC2{S4bUX3%I?g83eDCOp$D!mT0IY?s;Sw#HCS;Q1zSsd8*@Cfe_H=E6982PillYj zb6R4>pZh6=9T8e0{gI_!K)pwYX{%{dLnpH+#Sfsdx9R3<;(b-?q+IFL9FgTV}|wkp+9 zFTS~?m`|#U1Gm(wJuB4FHKanvb1yuvK&S6@`$Dij3~D_#_U3ZX;Z=A+^gTu!SrS?Lw}kc z%QcV{PG?2fF_I!60OkZUD`SF{vALNa!PbsoZf9YRhcbb{Pv2AhA46<>cr-Kp{|)WB xUD}XAZFj^s-05TnJt4v*J}I(NY_AT9fQPG>OFM~{^Do||g9`uv literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/templates.png b/sources/skins/moono/icons/hidpi/templates.png new file mode 100644 index 0000000000000000000000000000000000000000..0784b0098d29bd6fc3ad9777ab8aa221d4309502 GIT binary patch literal 1515 zcmZ`(c{JNu6n;VoB~3M2q(y8MvBXkaEs?_@6-x%Cqa;Estv$rnX{9?Vx0S{+vJNymRk&&Ue4>-gn+R?-lxZxhW~AD*ynL zJltKV5NhoPLKe!&85!#k$V56*oB`-8+4G$a-z_rSsT2S*^a0@H0k8>CoDTq`5C9O; z0I<6Tz`=wnp07PrkPSQT<^m+UtG1t83Ni8t?m@}Ww3*$IA{kVsL8KhZgW@W;D61k5 z)3U6t5JE${JzSjq0!JR7IOdHBLhp!gWIB8$Tsu$Xq&-Ta%M@v6E0+Oy_w2TGpu#Ej zTWpMO?fimkkJO)rdRmR-Y_t^|ttua2>8q@uaS}628`^8n;P=6wElN4*2i_C9TmF1j_!$Vf%nEhZY+fTb!SrErtHYH8?m}t7c+G z#u=C2((-9*`=9R{Uraj#jU*7lMfWi%&zTgrAyOU3&oKYnU;Mr{JA#Ep?h)^5BEoF2 zzu!3YL0V^2`RL^sty}d5cgmb}AI9kBai}rUKGhDH%QSNioQyNS{!AMylT8FIEjd)-^Uo$8jns1@-j27;p`DGT z(GuE);gv6xRk669%U$XC?R8J6VL4Aa!TSILdv9PM#NN@d00pb_K@`>7TtHw`eaN`+ z@$po33}&gcwA3l~%oz?TB zgKQRy78i$HT3TAH8X+i#cLlLhQu?JnrKYAHD0G3jxw%C}M`KBdzE>iV$U3p9sVN2q z-R$c(Z*rq6{4JmZd?+9^ak(!R7K(#S&WpujYp_r-LbtTG9C%BV7)TPm%k1z+Lbq2df0Kdi3m zYC2{S4bUX3%I?g83eDCOp$D!mT0IY?s;Sw#HCS;Q1zSsd8*@Cfe_H=E6982PillYj zb6R4>pZh6=9T8e0{gI_!K)pwYX{%{dLnpH+#Sfsdx9R3<;(b-?q+IFL9FgTV}|wkp+9 zFTS~?m`|#U1Gm(wJuB4FHKanvb1yuvK&S6@`$Dij3~D_#_U3ZX;Z=A+^gTu!SrS?Lw}kc z%QcV{PG?2fF_I!60OkZUD`SF{vALNa!PbsoZf9YRhcbb{Pv2AhA46<>cr-Kp{|)WB xUD}XAZFj^s-05TnJt4v*J}I(NY_AT9fQPG>OFM~{^Do||g9`uv literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/textarea-rtl.png b/sources/skins/moono/icons/hidpi/textarea-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..4bc1c069b4553d7e34d39570b3cc879f3954581b GIT binary patch literal 1988 zcmZ`)eLU0KAOD)g%9iJ@YUC-G!d)XzDK^8yygw(~+tU@XYu_#a z01$3?oDV2Kp*X zq5wd41_11s0Ps`vo#s>a;Dkbmhbs=){?YEXR2G1mozZyTE1%#H_@iZN~k zXGN)k=1z#NWofYtG|Y3uVThE@7V@~4hVP#3k{Vfs|M@V1veuIPzG6KW6<7%^3=!#y zc0$|jzo%S$eu`bYF?(;>YpFf_w`I(M&9QKJPxYu~*DXx@pL1%1S78imK)6KVi+0%~Z__wj?jgAJVSu?S7WRivq@OmQ6JtkU9B?qwZ+62`?ol;0HKAuZQ1HUSLa4Z- z1KSwE1~z$3P1gQo@{KbnSedBFM8w>Sh23N@LSteyCZpFD;_dUijiCSvF7M>zq-Y-a z0;d1%%gn0+Bn*1jF3&0FFX`ZYk5OlC=1!b0%su+0H&6o5=r8b z(b1g%XXERq>5dE~yiq}0A;&}1(E<76mElB7(v7Al$<(`NS71=ceyc^B-PhZ7FI>E+ zmky*J7YNt>MI0s{i(AB5u`}KRBt2*rtTDoX{aU}oGc-ILPOb@P@9*!=++Q$l1IGE5 zPlqJ|jzBmkCMBIB61%wEsoB?Tja-)_4i1cPDMzdqGB0v6Drg@ZRD*X?NITea zm!^AiV~(syY-93Wd5wf=7@^^kcPj zeyR$#xMDtW37wC(RD{SG=S=Y)tEw!P55;PO2W_q~C=(?qmQj?dO++H~g%hkMFvgo86#mN$C9Y@hykG4;-wnK4IYv|EV)&R%CB&UG+37K*ANs z7LGXZ0XgD=ia-KWUs?I&iH2A#-gYxoDF6qykS1QCc;B!5{=KmwRd zrX!hL#NVx|r^DEWOZ$uQv`9&-_Tt>!%c&{-!#NO=yPFVB7+SQpw%*Rj%3{rfuktt_ zM2=AS{gMU@1Yjn$uH#Pz+F>wUixza(w%o0^(R zIcjNHs5VeD{yZ+~)7;$LfF&XyKQk(oN}DcrP7dJHhbq0CMq)KIH91e8YGJdIu`s`? z3i{xO4)5Xe8$XItLW9))&n{^o)#;^o0~5tCMLGdQAdv0+OCgpec#wX@-Oih59#R} z=Rn#dpQzYun2)zhHBf95fR_p->)3szjv=KB`9dSSDUhs?H_iLEtX1k-QC^Q2F`2v^m>NOcGXay z>(gko6qrI9ilA;_VDO-->RJUIL|j^08dxVE)YiIUFmhn{m*$5mMZKS!(pi&VH%09_uwp=^~~FN*umQRt3hfR zJtPDIW=7D8wKAqssZc@P((<$`YDL1dZ4fJ~hXsbr`q$UjgWk6l@s9O1x7O7D20yEV zG0v2jv%xVmyU@!tPylGu5i2v4l^Oa75oK$KLfcuO4}%U?ec&R%&Dj%IgFSQozu@$b A!~g&Q literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/textarea.png b/sources/skins/moono/icons/hidpi/textarea.png new file mode 100644 index 0000000000000000000000000000000000000000..8156e51a9c66d041f6a16ba1d069cf7cdfef436e GIT binary patch literal 1857 zcmZ`)c|6)OF)ezm2{H^W}83VB6ivpbWkY~=jck5;E5|s zp3yX{W^aIwQjP>$51-M=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|yW#O;NB?#v?8`mArW@A@--QYPHTca*`AVS5!O#PKElN<*^_y|ozWXx@3k&n% ziC!z2fa^|NUNHJ;_K!<1Ubr&i;{(IPKYxDy{Q21SCBBUdlCb;PGgaMRkUIq4Ux%{XRjD+XRzw%H-YdbR zlirc@O5nLrh~h^+Vze%4ue_`eZ+bQF3nd0bM3`rNbUUPCbmR35qw?0&g<_1&LiR4G zz}aNHLJ=mPiqZ0sNt$}R$bd$LezJ8Zxr|NNj*^3Oa8PN>tb$wEj=@~nuVPA*GR?n9lQKhGcMd7tn1^E{vL`*}Xk`+48z&G2-0+KSLb006Mn znSci&L~ayZ3F-_MYaRl{leTWQ0B|=~d5yezV@M%@ZUDg22Y}>M0FXme@+1JnVE|w{ z1OTwt06?8y-0X#e21=nWPI%z^#wr(7=RwRCI>C4?|V^sUC7ks6VEu{oWQ7w4n<3H^WsR(Vvam*lzx`ACNS`Q?u z^xU&xFB->xepj$L79^%1myJFYax0|RR^k2=yuV)b_UiCRg6>bBZe!1W+LM7-sM^^g ztGpt2>Pp*=N9{=6ZmzkN^eExUoxNjGlPc@ z<8aTr@(e6v#uXbPwUwIaV+z2weK=s5%3^7v^@@s$ZuC!;W_c33dh!nzl$A{^&I}R7 z3$;g7hJ+1~neC|jgTeX*t_r&LqQ3^yTl58*z*^hdQtlaNK}luK zzKxfSECeb?k31rWgd`Jm+ZH3sE3QocT{w{#W~L!uT}}M9wj#5)x0hV)p#tgY>AnF0 z0oIIlkQ1>B3a45DVCn;4QI4~x7Oe|GL4q8KA1W4^wlfX zCSK32Yzp#Bn>o?x=H%YGg$FIW^f+?ZBmg59fOaWY90B$8_*zhLM?6 zEG3o-0bqtPJ#qkZ@&5%p-8vK`(AaSB qjt*zWlVhnse0;nKE$R$|LZ(wqqGL}Mea2}*n*e7AcRbH7B;{W)imxpI literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/textfield.png b/sources/skins/moono/icons/hidpi/textfield.png new file mode 100644 index 0000000000000000000000000000000000000000..1d5970a96bfe259ba908725a812701a5f4306549 GIT binary patch literal 1501 zcmZ`(dpOf;9RKCW*637J;wZD@Hc2BDYveM_+<%;t>zJ8Zxr|NNj*^3Oa8PN>tb$wEj=@~nuVPA*GR?n9lQKhGcMd7tn1^E{vL`*}Xk`+48z&G2-0+KSLb006Mn znSci&L~ayZ3F-_MYaRl{leTWQ0B|=~d5yezV@M%@ZUDg22Y}>M0FXme@+1JnVE|w{ z1OTwt06?8y-0X#e21=nWPI%z^#wr(7=RwRCI>C4?|V^sUC7ks6VEu{oWQ7w4n<3H^WsR(Vvam*lzx`ACNS`Q?u z^xU&xFB->xepj$L79^%1myJFYax0|RR^k2=yuV)b_UiCRg6>bBZe!1W+LM7-sM^^g ztGpt2>Pp*=N9{=6ZmzkN^eExUoxNjGlPc@ z<8aTr@(e6v#uXbPwUwIaV+z2weK=s5%3^7v^@@s$ZuC!;W_c33dh!nzl$A{^&I}R7 z3$;g7hJ+1~neC|jgTeX*t_r&LqQ3^yTl58*z*^hdQtlaNK}luK zzKxfSECeb?k31rWgd`Jm+ZH3sE3QocT{w{#W~L!uT}}M9wj#5)x0hV)p#tgY>AnF0 z0oIIlkQ1>B3a45DVCn;4QI4~x7Oe|GL4q8KA1W4^wlfX zCSK32Yzp#Bn>o?x=H%YGg$FIW^f+?ZBmg59fOaWY90B$8_*zhLM?6 zEG3o-0bqtPJ#qkZ@&5%p-8vK`(AaSB qjt*zWlVhnse0;nKE$R$|LZ(wqqGL}Mea2}*n*e7AcRbH7B;{W)imxpI literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/uicolor.png b/sources/skins/moono/icons/hidpi/uicolor.png new file mode 100644 index 0000000000000000000000000000000000000000..dbd21ff6b729078ee7eac7e7db8108d1351bc62b GIT binary patch literal 2234 zcmZ`)eLT}^8~(0D#wKI)lBmafPFW-MF`Am} z96UJYr9O(htJc#_Aw?xp$h&AcRHo6f_eHv&m%c7W z7XSc#nzzR>kX!s97!=$S)6zbJ3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ft6X&7B-b* zQ=?W`M?`}3Ay%9Q0i<&UU<>6oQt}j4PP^^ucNS+MaJ=l0JX)l-8MZFVxTmaGYS(j` zHfTsQuk!4qr03vScLBxpQzk48-<(rJlFeA;Qk0a4yy3wwj4>4e6Zlujqv7v02I92d zmS^Epjn_m*TRKQ^m(J((y_6~pB8V#B0iO$Qv#fXit%78X75}k+u(w(DxyL2+11q+B z>ucO>?$OcV4FMIT)cjvPQmA>sA?7pe8$R!Ww<(7}G=;-U`%*}aO-uo9fbZ1ff53k049IDW|ny2yT zb;WiSc`0h|?Bns}RQ}I95EHn=)5$fM@R{VGV$1{Uhoz+k_s5q-fw?bSf5-vC7#1P= zGQS18mV=*ew+-W%S33~Z>2-2OH6k#fFt`s9q ziv+^?cK22$n2q(Go#+;9n!|hi2E-Tzq zfRmiwX%bNUPaP4ghBUmu1fgJj8LzK@Fg7_k$qAc>)xKL5>Gl57m_XH;9f)1~o9N^; z+kHbXZebvcQC!1DaSbL2J(7}=aYNHB*b@DC^h%7h;bRf7D`rBsN4~F3-SX)A{WAx6 zos}gRHk>C*nWUxgCwC<7PbpB`9@#AK(g ztgOrq&Qi1y}eFRXa_PRj1kqnhG!>G3BGB+j_@-5%M@`6=YFe_8h63dac2fsm*= zn)bK^PLW??%v@vqd}91{$x;3w02(;_MK#<-H4VHYPDdA~p?g8&SJ2~d^YO^C{~?5h z`vnEW|9?V*a;p+ZkUCbl5*`pk^@;Kas8p(Y5G5p<>=WUy9v&6Q*wB{-4*^zYcBTy` H-l_iq+CNAE literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/hidpi/undo.png b/sources/skins/moono/icons/hidpi/undo.png new file mode 100644 index 0000000000000000000000000000000000000000..c8583ea688e13a803662088a138619725a4adcd9 GIT binary patch literal 1868 zcmZ`)e>~IqAAg(4aM+=^4sCbNm#)@0iJ@!_TUxO;HkTVQrW(uC*vMk^<4a=P!mKD9 zJ>qn(G~Z>cqi;*O=8{^CN}ZNpSNRp^KK}gv@qPbz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_tE3j~51m4flbuF_-KOYQG{Zxt4{kByCuBCgR?b9DS@v_EE|;BQjE zK?F?d@47l}&~;)?k{c!|Iav~ZJwKI)Nl&#FZ0~T&IC9y}q*em@-Tz<`JedK0OqvBX zk_H*T2xn+wfHN^LG9=;5EpSE_#zuOO#^J_U^0)sdfe{u!4`luSgle6K+E9Y(?+T~F p0-3RXku)GSHWo_{y%0t93#VbjBF`5sSfQXGfJkrwtL=Tc{{pD62oC@N literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/horizontalrule.png b/sources/skins/moono/icons/horizontalrule.png new file mode 100644 index 0000000000000000000000000000000000000000..513d19306b2270b0fb625f6c627fe639feaa844a GIT binary patch literal 560 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lIMwm#2$kh{frnlMVBl9RytO z8|)GTJ zRxAf<_18QN{ov1;w_SQw*Q#}1328}bJO0-BPfJ~rsdcZ~rH)T1S*7KGiSL~A=_%W9 zKb&*8x__0P&c`}Gj1w1uG(}n zXT>V6S<4jvO!oKt_srZY>+BK`I!Q(Gd~wYE?=gDfx3=}3SKTYjAmXZ6 zd;hWDa^bYL?{U|33MJT%71qdH`rIm3TE7&?SY5I5!BqSDW&BYJ>))zNT&o9$f@+Ct zL`h0wNvc(HQ7VvPFfuSS(={;DH8Kn_u(UETvNAT(29gE__ba*Qp=ij>PsvQH#I0eS z%4Q{?21$?&!TD(=<%vb94CUqJdYO6I#mR{Use1WE>9gP2NC6cwc)I$ztaD0e0sw?` B$sPaz literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/iframe.png b/sources/skins/moono/icons/iframe.png new file mode 100644 index 0000000000000000000000000000000000000000..2393ca583c1edaf91462de4c2ebefa15c01183d9 GIT binary patch literal 1227 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea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ZlzVm&bY#h(rte4E^e|)g9vFVqPl~tYSQSvihVdWhaATsRze-(41?S057>mzI+9MErVb=Jwk>JUkQ5Kc5)%s8a6x z_wOdNeNB9od7O{DdZkq;vwGh?yFjg}|17Mmei_)?|M%nw^jv<~#?G#&sOZq?)7%V4 zlP1RKu`g&5aGD+@blh;JPuth8U+*{aAIQIb`}U4?r|;d9E0hUdeRZE1&tqxd%lj^u z&JEG}y7S7^siISYPHoFIw6p6A>T+A`xHjzZpFeY+KTn@FZQ6>k)u%S;^!4{^b8~ag z|MYWD*W(|>Obu0g`(E#ok&~;7))1*%6QUJwXKQ=$^5w(Vu7z0`8#^1#eDd(&!}ALl zDi)TPyDz`&*uQ8+^rJ_Ql(ui*ZZF>Ls;8%S1sFQw(^6~gZEfdH2@-M@d|EU!YwNG; zZ{FwxiYUq)cf4#O+O}}Vo;`1Te0*MXx-@BY?bx+zQGiCmZL=V+DM1;t+TQ;L#+=M? zCv#un^Pg|rzyCioFVFA04gXRRCk{4t_CT+TSz80VO0TcTlyVf9a5n8?dwaX3g~fsp zt-k^5ukZHD-&}k9zx~43R=}V-dD8R7&6|#Y{olNMr?hVU`b@LgDw9211m5ras2jNa zvf}j9AI(ktdapN4-)#>}wW=kq5hW>!C8<`)MX5lF!N|bSOxM6n*T^u$z|zXV$jaDA z8%P=$+^^)GhoT`jKP5A*61RqRDw~yn8YDqB1m~xflqVLYGL)B>>t*I;7bhncr0V4t VrO$q6BL!5%;OXk;vd$@?2>=fcmsS7( literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/imagebutton.png b/sources/skins/moono/icons/imagebutton.png new file mode 100644 index 0000000000000000000000000000000000000000..e26854b8f4cdc4cd121c0af70bdf44f0c67fefd1 GIT binary patch literal 813 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<9AON#}JFtb0=@?QgW1N zSzYaxDuoa(sg6O$U}_`2*n*J}mPOxEwrwW4Ff)2UbTzffScO z_vLy!qziXGzP7vRS$p0q{#UETUY1DpJ$_KHvb05SY0DHLCk_rpIipD|o(v7^UR#;? zHZRNE?ixQ+_V~fCRY$*8wXU1ebpL&O5SLs(d(f%i* zLH_(}ef@d7hi^no+xoD1lTLQB#4)x5n>$>T?*IB*XE)O)Y5VPmMLX{>6+LCsX=#`u zbTC0+^G%+uQEzw8^IH08X%Oe?tEYTLoj5G|m?upLI`sN05H+csdv2^Zo!e`vP|(Vd zxNt8<2B6!3E;;|ad5X~T%beSCov)X=C<$)4o%^K7GGuk=ob%}n4MAKd(l*OCA8h#i zbI$3flfG8XJ(@Ie^2wI&qfM{B&gyk*UKr5vuwcfr%%Y7E1qKoZv(MHoxcqWYx{+j` zo3hz#Up6MjV@ZZg3G1&XufCe3A@b<*Wnu1CChe(Q#~&LS&*ZV5d(PTpU&-!R;Reoz zwnPKDeq*WLdlMwv4!S5Etg!K$f8L!TZToFg&wU9NGEGlzFXnjv#Y~1zaoOdUym#yN z|G(lQzP$Uw+Cl|^27yQF8{d}w?%Zzu{|f8(cmI6n_$|MGCcbvr@1M*^?V?s>?(<9m zrV7;(*NBpo#FA9208-nxGO3D+9QW?t2%k?tzvWt@w3sUv+i_&MmvylQSV(@hJb6Mw< G&;$UgaY2*- literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/indent-rtl.png b/sources/skins/moono/icons/indent-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..23ab1133259d7fe0dec1d78beb1d7a6141aaed5f GIT binary patch literal 959 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q>UkkV~EA+(qKbxJRUf;3b|H&n)2T+brw^PCJX#mHhNa#?YptjYi?p|PeZ#G24KvM9og>PwUCkT9 zms&7w5BD(06Ef}m^>({;_#MebAK8}uuxm4azjx-sjT;U3@P&ptx>RU4DKHq9-+!}{U1O{{Ej&pFSPW&&Sv0?d?6EQGv%< zW2O(=+cIe<4g=#El0jY^il?^a9{ye%F^%>7=O<5|sH|JR{^^%5CdZB+KX_)r=g-Ag zvP>)HwNITY%6?#Z{hPY=>({HtUQa!}>BJ@-56wggwwn9xuXn8oTYaHurwq?w2OTkH z(J3&S z-I_UTs*l>?S<4FJ4n{{u2V8n-GH>2It6#e}xw<5zxhxLc5~X|9#P|C5S`Nhz zKYnyfoG7TVE%)({A2Ysv`_|D>XVc%^agWuJK~r_nMUAxdbas7x{kM}R3!i%a`H2PJ z*|TRIPd+Wu5aC)8qLuLMcOKjMw2;-IXU?C0{Nclgzi;2_O7*gp#I~nK2C%WQZP>s6 z{O#MfeO%&qNz^a^jXY#<bcUw>KQk9XF{rKpS($XN! zp1wY(%Uh?u&X^u@aN@v~! zOsA?Pt`Q|Ei6yC4$wjF^iowXh&`j6BOxMUT#K6+Zz{twjNE=8R7~HSqo`<3#H$Npa ztrE9}bt;>cfEpx0HU#IVm6RtIr81P4m+NKbWfvzW7NqLs7p2dBXCnnv#Ng@b=d#Wz Gp$P!f1Bqw= literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/indent.png b/sources/skins/moono/icons/indent.png new file mode 100644 index 0000000000000000000000000000000000000000..8c2ee08b3c029fe8398abc6245552168609b5b14 GIT binary patch literal 967 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(?m}f#}JFtrIUTVr2|FU z?pHrgJI2FiQmE4Oz-RL&#R*NFCBduyGTzoYd2+( zkdtc@cqH1;p>XW@@#@8?Ml+j#{`}dWot=Gu+4AN4E9SNT{agFy?c2WsPD`c)^@k{4 zxPHC;=uy{WwfEh1#GI8T9{BootC^8eQ`FjJtxk#_nu0uRjxK_lsr_0@kNo{>D|5V2 zL#$h4`e_Mi>BA>adhWWKm6(|LaP#v@h6|zlIUd~I&wJ(9uc`wEJUo1SP5eAO3ogHW z@aPfK^5x5K+`027^R`*c^|y2TIwtvl(~F6Vd-UOhKy-BUflHT!d@ifRUiaj16c!dv zi4;3~?p#t`oYUDO>E9P@4nkMMQEbOlk%-mYbDwkmx@?C z*H>o{Jowq>#x`ET{^NxuB}b%s*?_35y!`)}GiM?e25{_q@2tssEQ0gE?|P{dy}i7# z*T1^+9(riNbNImByRv!t`4i8kt#wgqtlG8BH{V-=jZpVo#M1K=-|zplH0a#Um2jWVeVYn zh-p_he?EMe+2XkY5A&JQyXkWI+i$N3Tb*Gxd&ZnOOKR-S|N8yg(8{XILE*wzSN;D? z9y=OOGW@>`Oy&%#C9V-ADTyViR>?)FK#IZ0z|c(Bz)aW3FvP&p%D~9V*hm{l8W`NK zErE PRK(!v>gTe~DWM4fB-fOg literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/italic.png b/sources/skins/moono/icons/italic.png new file mode 100644 index 0000000000000000000000000000000000000000..0983afe9e5f034d04d19d9e6d64acc38998d09c2 GIT binary patch literal 932 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q=X@bV~EA++{yd>Z#&2w zwJ-lBsqHjTLE*@H50!2~C1)iy7H{iNNe9^p4xvl>dj6`<&~jt@$KaCi;?lwu!P9(n z6-UI{EnV<9Gl5 z{WHH_x-qxf({9UJUjR7*<){Kr#AicLyL1A3B|?2 z$vnp-*qRxaFJGSf;PJtOjGmJU>gxUpSMcA-&B=MNOV3Mllj7>DTJxS8+S~UBbsau@ zc)e3cY%))v2;-aBn3#^d?Z2~AQ(KcZp15@BlE=Zne{JXbwJUH`R8%~8`V=Vqb-#ZEbB|v{NQ3d)HmP>({T}G(NrXbLOl` z%QTNkY`JF9cX>jPP@Ce{s=ZUsKc6{!c5+%;n~LYL&4ye(hHWOkj1h5h|5ADmZd$Ya z<;$15>-PJvzkWJvhUD$SIrU0B2G-WU_4<-eJuNc!6so!Jo;_DH*F>tmYTNeh_XY0U zxzkc8;~%0Wx?~EAqr?9D%Y#;SEIef5o4GZL;YN0LcEq$+fu^Xn$1YyH*doxRz+rIg zfd${Z=XckvTbI;xGVMIawr$&t+-vVIzx?up{Fhm0)5@$5oIH6_{_6Ja+i!A2WzU;G zU-G+ac5e{Z(vWW}kNrQFubsd?eZ8iY1~4(ImbgZgq$HN4S|t~y0x1R~14A=i12bJC z!w>^YD+41dVmmtT}V`<;yxP!WTttDnm{r-UW|q&0|I literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/justifyblock.png b/sources/skins/moono/icons/justifyblock.png new file mode 100644 index 0000000000000000000000000000000000000000..72164e76dc15cfed44e6d012214cc31f3299dfe6 GIT binary patch literal 610 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7qmHMGV~EA+rIR*x9dZz8 z+rRT}%Nj?Hs2OT=*LwW=@@-%HgXE4!i!*ZPv!CEzVzyR6%7bI4(snWSD$7rYOFq|c z{(t6Fja_=jmY^(&0}{qO0&R*6k<+$@hF;wE*1fso!7jZ*8SaKS9We$LM~B$!dl~v3 z3%CY;Z@QVocA#$mc3agCeM$|C7IOUzHKMMLfg&9py2?t6%~Nycf6Y8z$PlqMY)Y!< zWfOU2jim<15^AfAW-=7)jLA9wxt~M1;qb!?jO(ty&bG9d`f7Q{0r&uT6HrltbTZ*ZBJ{4`#Sz@;AKYZl1Z$p|s5}8Rk7_+z_L;^Zt7i-_PHSJ2|{G zk3BZLroQ|#XT#U3yWb@KT>4of#&GhpOvCNBZLfFjJrf!#$im2Qe{p?+Av=$yJ1{6! zOI#yLQW8s2t&)pUffR$0fuWhMftjw6VTggHm4T6!v5_{AG%&bd$vqE6LvDUbW?Cg~ z4eL}kD*-h~f@}!RPb(=;EJ|f4FE7{2%*!rLPAo{(%P&fw{mw=TsEEPS)z4*}Q$iB} D*<0TY literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/justifycenter.png b/sources/skins/moono/icons/justifycenter.png new file mode 100644 index 0000000000000000000000000000000000000000..5721c9ef9fc2f5605a9d3ddfebd3897f72e98743 GIT binary patch literal 830 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh76NjgZV~EA+-pPCYlnq5% z?W@<>e&lFX)$VZc2+`nBZ0%wT{3zft#pKH#R(%KVdA{@EmtW4fdiAQ#X(K0&ddaQVB$6|>-(IETeaR%% zKtkbOb&sLRY+omipC3OOer9sw0CM8u;v{(3L|hv))}Gwd^Rc2QXq8b_0#k@4R{_KF z<;(Z%+xKYi@u+ScUEPas%cM`AKE2;%$*e8wcs6%Ew$RbjyOg&*l!Ni+&6^8vzwP_} z?b{3=H4#_C@{Xu%mzJotZmX}(3bL@Uc<|_v($A9h3~mmV-aJ1(#8{C04R7EL(T)_LezrBE_4RpU)W_{(tVFbjt_NPoC_os;f)0kO`Wm`e@GL z>#whdhlRDBvz!w2(t2Np+5zUuNh%BD)^Faq({kyBtgSD;R!#o;we;S-dnZ2cdA4`` z*}5gG+O~>4mx+#!mKV{}*WaJ|Pd_#`wl?6!_un#da;x6HeY;`f#>Q*EPQMB}{rSg_ z6PGVfwz07hVc5@T)_rB!JE4W%z+|FY;u=wsl30>zm0Xkxq!^4049#>6%yf+mLkujf z42-OdjkJNJfx-Ps?s+I0a`RI%(<*UmSf{dC38+C5WJ7R%T1k0gQ7S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AHW&w-45velcou z)Y>y2D_pYYZrJ^{EvPF-&wcsj&h!GSxi{XH)zs8XIR8A;Z1$S#*$lPjfA_2OxGlE0 z@V1PxqPp7HQQ*OEyXT*O-sY9zVKZ!=K3$xl=Kk{vo1)*x)?eQLwj+q^c;Sw>{b!yR zGsMNmpWUAOK4)VDN5h`|`Wfv$Zn=<5ji9HKHUX zu_VgcyqV(DCY@~pS7(8A5T-G@yGywoNnJgRt literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/language.png b/sources/skins/moono/icons/language.png new file mode 100644 index 0000000000000000000000000000000000000000..dfa11fa0df53597b5f577bc2f002078db3c06538 GIT binary patch literal 885 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7lf9>lV~EA++KGnV$$^Q4jrl%s%`aphzh|7k+ZWfmbTg4qCLUh*X^5}e9)T(jg8Gi()rqXSf zoHwSG`i6V<=5M=UDzK>fK|%UEgTr%-gY>5V z>1Bh8XGMLzx~I@26-O71sa{vIwkD}fz8Mh{^GEUa?b|UiF&QGR&Szhi%<@{QbT@B0 zP;6Q8yVx*{wFr2C{C@NC={rmTQ*C**qgD&peY025tP-4Z~u;NucyNta2>DRBd z3uP|9{~j88)Uv&pFSPab>+FBIhKHionuXlHb4TXLzW1;1-IIIv_HC}qe|FpR(x+~} z{ig7)#7aj;CjrQuo({D6`MY<1bBg!u*)zdw>6bTee3}#ve74ziQ>SdfQ(+kynS%Oy zeh00ohd$fL$;($(R4lmuTJX5xn|JT(ULL%5O-xu=IBRXF!}V*|L;|wc`uY04ymU!O ztxIXu)mI(=vbJ^^wq3m%`pCj9bmy*JPNAKTXH1U>G<*EFTYmF$jR|ZZrr!e&u;$m z%P$K`N=%Y29XrP6D3Fkzp1$(>>-kcZm6e{0FaEgnq-t-Ui4?Eb(n)5seGQK(DAnvK zlnK@lY0F|bCb4F#MDh>jP5b>sSmr;;2Bt3664!{5l*E!$tK_0oAjM#0U}&amV5Vzi z7-C>)Wng4wY@`h&4GivAa?eB2kei>9nO2Eg!#b7CNbP0l+XkKj6ijv literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/link.png b/sources/skins/moono/icons/link.png new file mode 100644 index 0000000000000000000000000000000000000000..2bf8900e7b17e81aaf4ec81848e24abf3deb1f5e GIT binary patch literal 811 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<5y1?#}JFtQzzSc%LGca z&Nu#k?#|rA<4yD?SvEIzwe5Q}u49WM7LV+R=RUgio-93rHVDrwG_e&Vw z&q+=*vi43gnrR@{&scCy&{gn2jC}v`8It#^{U@n}Xo)&;94YKkX*;ZVH&495#JBUY zgmJQk%%%6=Uw*CPVPjr#{k6$#--g91o@Xr6C+V~#91wp{%yCd&fiH*emv&~u+_?!~;ft*WW1x%|6+;|_T#9=89rKl|0*$3AwgV@~qp-_tnD z+!B~3R7+eVN>UO_QmvAUQh^kMk%6I^u7R1Zkzt5|rImq^m9ddFkTfv3U&%cWMMG|W zN@iLmZVl^HHY))&NP=t#&QB{TPb^AhC@(M9%goCzPEIUH)ypqRpZ(583aE&|)78&q Iol`;+0Ai&{fdBvi literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/maximize.png b/sources/skins/moono/icons/maximize.png new file mode 100644 index 0000000000000000000000000000000000000000..95427dc3d6be78854f6bcca7dda5e73d23525a88 GIT binary patch literal 1085 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7GrOmYV~EA+*h%)@%GDxm z^Y5n^sZ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GLx=WzT zv{V+y1NZL9g@%6AuX!$WEs8--POhS^?%BI{eXn0!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7ld-3ZV~EA+)=9g)R2)Ux z_P<)SulMi@aNuBU*gEZEM$5HXHs>|Fnl|Ye z9!pqzG^%^nym@LIOnLeFcTb<@uACR_$>AvC%F}*0{%_s?>RHQp+MT-=t;pUpbEc%# zT)w|`@@q}c?X+66H6`-csZ*!6Po6w^esFN`*C|0>OQx*Q`uOeJv2WkDMa0A`xtqtl zU~5`&@#NR9v#-DYx~;FT??{5djaAExk1d!}EaKWYWm0=P`>nTTck`xebe-7LGk30R zi@>3%*J0t|^)mAE?XO?Ij$b;Z$4z;P;j(+rU%u?zyxDk45Dy#knyp)+boKP~KG^tM zJiqhl)2Hcank~K z1bfKD=a##7@BXpRKXRIlon29V{rO|Z*qk`#6j#h^58_H)`_wpdZJ<|SMa7A`cV#^% z1&FYov-}rVeWv+)kXK<{U7z8yx?B9F^L-!8dHnO|%$++e)6&ylmRNm#|409Tg!3d7 z6;CGt78TE?=aoKweo9OKm>-a6zBX%<4$wiR`*gfF=_q$CGVBmw5_J`1$eeX4$Bgsv zgs|0L7fu#nI{&$%wpP|U{PX9}3~%1QFRrTkb#ZBVR76BVZth$DAD=!6HN>s|e*g5; zb?eq;xz{s4XjV@-%$f^KfDEc7t`Q|Ei6yC4$wjF^iowXh&`j6BOxMUT#K6+Zz{twj zNE=8R7~HSqo`<3#H$NpatrE9}bt;>cfEpx0HU#IVm6RtIr81P4m+NKbWfvzW7NqLs W7p2dBXCnnv#Ng@b=d#Wzp$Pyy)NO45 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/numberedlist-rtl.png b/sources/skins/moono/icons/numberedlist-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..d40582d1309381891310108d32674a03faa6071d GIT binary patch literal 821 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;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66Y?Dv2B=fv2 z`_236>QzytL)Wf_HU9ek_3Kyt>!q1nqvqGGICLg{Z<^e zRdP`(kYX@0Ff`LOFw-?M3^A~@GBC0-Hqr)?1_t*lx#yv1$jwj5OsmALVV%lmC7=dL vkPX54X(i=}MX3zs<>h*rdD+Fui3O>8`9!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q>UkkV~EA+(qLO}@i>$3F3F z+Q&bCc$SLHkUZ0)z_DP;ue?aHn)~i1Qmv0I?)s=T-@biYVWy9hSLf>0+7~{4G>o|p zl!%CpUCZ#}Px#&SU%!6!|5`Oy_w=F=Emlp{S!dN=eYMKDeeCjO;gp2|2R?i-aC3J* zc!t0Bv29*Xjze~D+3w!YpNm->8~m0xdoBH>Jp1gj7J&oLo~ijshoH@(J#NAyZBkAS&%Ec3nymM~ z3-Yx~uMImrciz0V4LaQJ?(SPQZ+3PGsr{>`^lQP^wrf&z{n&w^q^QX0XwpQlr9m3= z&#NzAwoHMmmFd(|qnz7p#`a&dD@-3hd&ZWYo({CkW%X63l_6bg*Q`;P=;7d^B>3jt zyHD4yi3wkvZpUiKz|q9u#PR0s+qrS^@yheh*RKv+y<^7?huwGoZD#-f@js>Qu&wgCA(`R7-$Hxkpg#j;o-{)`MmHBnGl`$yk ztCqM%l%yn~>+Bf}5_ODh8-D`O*VAZcK5zmj_%iiX_$l+3hB z+#1%YY*qqlkObKfoS#-wo>-L10CbvOW?pu2a$-TMUVc&f>~}U&Kt&9mu6{1-oD!M< DzoC)7 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/outdent.png b/sources/skins/moono/icons/outdent.png new file mode 100644 index 0000000000000000000000000000000000000000..b48e099882a1e76d31eb9e80e7c21794a2513e06 GIT binary patch literal 924 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q<|rXV~EA++{uRiN`WG+ z=W9Qwlq{L)dBQ_YV_|qlOH*Fw(%y}i4;{Kxzo7omA^U{2yvJ@FDvMYX-N`!Do8z;J zl+&CO4|s~VN6bvUa(nOOJF|=Tm+Oggv7VW}EK@VG z3C~)Notdy}ow|!s(-fgu%O1Xb*_nHL*~^k&xyHuMQPaMrG6*_eHc8nW*>n7H#C*%- zXE!F6$guBP=giSKd$#nwd-s;Tex1GUYL<(O$MVZ7uD^cs+iuzAm;3iFZAp}{u&_`t zl;D}*wRFR_ZEbb?@9RzV3h?@C7B zEjPKeRCHUeGLLh~?pU67=Q5f0bLY+pG5GoWpWLJ~V;N_r1e?rp$JJLKZQpKQRa4V4 zMaV@YI_;S?!_)qM&pv)Mw3^FTbHDw})1nL$sTd8B3mGO73?;G0-@Vi0ZFhDFWKq&O zFS&y8L5WrG;ls{C($dlrJZ$wg=bZ&uIGPydJy)E3^2ou&XS@6VRvvr!^{eR9BFRk= zI!XEY`t|ko>-F^Y!+8!L`25+p=Dxc`+kDvz;%qx(_}tyyckI{^Q5Y+}_#(%;*G`(I z^0V$UnAy*>_xJPrXIxQP>A3r@+xqK=fBv+5|K?4=-ni#kTcy+|beKJt_~T*l;%k-1 z(x4O1KL>bi?K-M7C8&H_>chW(Wlx_zo$%~r&i6{Tsa~ul)z#9^Yrd7<%@gP6=ijkw z*Q39GYop@h+fyTF$i_*u2{Dm9BGfF?N$zl~S5vrEBMwFx^mZVxG7o`Fz1|tJQGhG8ST_eK~14}CdBP(Mg zZ6Il2aKDm!9*TzC{FKbJO57UOsccpPYLEok5S*V@Ql40p%1~Zju9umYU7Va)kgAto Vls@~NjTBH3gQu&X%Q~loCIB#;bRqx% literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/pagebreak-rtl.png b/sources/skins/moono/icons/pagebreak-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..c8b22ccda242cfc05ecf79be6bd5cd8a566ace5c GIT binary patch literal 804 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<2z3m#}JFtb0=@~QVtYp z+izSfJo#k9iAPdl(y0oJjs@34ntIjdo)wY0?|AT@-BkUD(kxDLhfkf8z3X%*!6R8s zZSqNr^lpbT?#^A?fA6UIZ+WM>uVUWu|8o>L7!0=M)<^kGYU%Cm%{*}E(4plip-;bl z6=e`SSYjnRSG|Mdn1s!F;f8|=2P$ml-Ic!o{r=in%QTx0HmG>M`2JfWSzu!3kGF5% z#@yVND|0+CJ-xlXo!zCS#?F8H?Y(+p-S#e_U+;=FtX{31xi!kh&Q6Hs;MZ%{u9Z8S zdHQtelOoHaoic$Ug2xSS=9C>!QP(vL5bAODnnpmP%Uwd zC`m~yNwrEYN(E93Mh1pvx&~&tMus5nr!K+?eAekJ!j6b-rgDVb@NxHYU( z*{lTAAPKS|I6tkVJh3R1p}f3YFEcN@I61K(RWH9NefB#WDWD<-Pgg&ebxsLQ0DG-Z A8~^|S literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/pagebreak.png b/sources/skins/moono/icons/pagebreak.png new file mode 100644 index 0000000000000000000000000000000000000000..616dfcdc6af7dd415c9c8ddc700b3856e350ba68 GIT binary patch literal 783 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<4sQ&#}JFtb0?qAl1dbD zKQEicW~}9@s1>ql1;@MF<{Wu0EfZSx&MN;9dd6APwxf8l^+~k{UY;lPE-;EaU48e* zyia)UZP(~b#a_?))zxOtZ*xctw2rsIVY{l~wbO!-tS z(Kct!oPx5lV+jTaKHHS-zWdtS#@^oD<;%y9AMIwJt@B)d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ek*p!Ym9e(6u5OynT?3xZ#}S`?+T1*4bN=`IhHFvEN)pL8Zr)5ZnrSfq zyy3A8J9nPUF>`jg5cS{e)^g^hSJV{`rx;DtmlY5+ic@=JaqjrfRm-L%S;(Av_fGHd z!+?EdF?!RNWOiMfW#YT>no!%r_U84O?txz(fBYEe8u&$dHRFzT-CL)9{`|Qf7z?jo zzs||YS#ayE+4}YClX?PgvY%X&wqCa{xpR@n+&ObRR)#!!^r&g|YVD<4-STsD3+wC8 z-@G~VgZP%)xv#!j70RS9{Z(OetTgt@)2FJxfB#NDu>X&&y1BXe{lf-FKHJC~|G8t0 z$bZJI*SQycTchwFm|j&&Tq8r^%?0X0a1YzWRzD=AMbN@XZ7FW1Y=%Pvk%EJ)SMFG`>N S&PEETh{4m<&t;ucLK6USnxhW@ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/pastefromword.png b/sources/skins/moono/icons/pastefromword.png new file mode 100644 index 0000000000000000000000000000000000000000..39afbe31c321fcaa492591aaaa17d10b9f2bdb4a GIT binary patch literal 991 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(@IYl#}JFtrIUC2t;!Z? zoB#ed|DQhs0aDzqLL8zUhN};_Xh{n{=9SpXwm$K0^V++8C%1iK>u3!MSd&+(A|T|` z(@^2j^8btB?wgy+H(jfmJ<})c-WhB5t-E)3=iavHYfg=H33QP;ZewrHt~7}$z^heS zT6*4NiyiB_4cjdGJSVZd{cU$MXIkF&-)pbG_S_khW+CIXHq6^}w(qR7YFndpO=b9& z#^_ys{dLLhw{@q}Hviby|ILQ~{`Z?VZ~nZPw_Q_&YfF^wvdfx(>*m+(KVM?C^lDb1 zhDgTt+gDzHm7nR;R$|rrc9-6^+|Apzxh=k!AtNJGP*!&AeL-!l@8XL$PChNN-+WVN z-Rnht{rwwtxRZNw^7B_8KJ2VDm8(!j*j4cKQ=w#@&p+o}%s6uSvhZ9#cd6bst|o@) z?B0$AThnahitFqBmtRh_ku#ou9_X25o{|Bu_x^m%f6 zdv5jA<;F94_PtN;Ik+vi$53bb>ClBiT?Z2se*gZ>!^Zsce*oi`YuChP&z?QybZQRNPF zY)a7Te(c|H`n0#5o!yR|I|ctWT)rH<>Z(?jfrNsR z_S-_4&p&^9Zoc`4+v558AHN?yeE3CP?U?KDBOm4YfazGZ#5JNMC9x#cD!C{XNHG{0 z7@FxCnCTiBh8S2{85mg^8)*Yc1B3gO-1AU0SIA$cEtjw370~ nqEv?R@^Zb*yzJuS#DY}4{G#;P?`))iiWody{an^LB{Ts5Icch1 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/pastetext-rtl.png b/sources/skins/moono/icons/pastetext-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..7dffd18cfc1d1fc812636cbd7f3947e7aa91edfd GIT binary patch literal 969 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(_~K<#}JFtrIT&Fvm-^? z=Kr1edE%Uw7J;KHG8CB2I4@==t41vGPJFs##<{5aiFXfl2z+4I=n~twqj$S!lJJ`# z6#>OXiq-RNk3LOtOMAz?J5py}`P%7QkG^}S7nQx`n#NLtV+m`Ye*OCOa@1>Pjit|` zqoW&xxYn9pi|R3yNS+WVGV%1&7iGKevo$xa4qN@D%JzDW+269=zPs-(yP5NAZ`}FN z)uBMS*FYsjJ7oez{xWBnNZrrR%hM3+-V&v&HktEp-Tb=!=TnRpUd;;B5!<kCPfV$k0os7`XeJF7hZl@ zP*rv6?p@hyQ8o9~IdvzW+^}m`*R@$6D|(9aET>vnSv~ss^XFyD=fC&$zyHmlIF0w5 z<(%R*Yu9!Lt#pxSW8f2Dh~hZ-@83TA*=LX3zAgRvXU$86r9O9JgZdx;@Yb{9U^-;* zTB))~!%4F>=+*v)ClyT!3j#Da)|yWBI?CJboY>2;7sWD0=Pg_2BhuZJ< z#1qGlvjf#CvIr^kC9m0f=6SJLH*2BH<_Mh`=buMpcRrR-WO-RK>-Fo`_qT1|t~vem zn)T}!A2vv_nmg%i+Q(XZPS1?B6N45_NwS(7v@&GJo;@W`i)L=#Y%C`yS66pv?p)bl zf9>Y_9skHJD=#0s{`$@xJ3PF$Ud(8@CRJEpfBxaahw%sA|B0%%v$g#z=qk7}giG`3 zr@y=>+hw}aE*>cdrdZVy*NBpo#FA9208-nxGO3D+9QW?t2%k?tzvWt@w3sUv+i_&Mm SvylQSV(@hJb6Mw<&;$S<{G+n~ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/pastetext.png b/sources/skins/moono/icons/pastetext.png new file mode 100644 index 0000000000000000000000000000000000000000..f5aba329a2fc36705aba3a752b19498bf8eb52f8 GIT binary patch literal 989 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7({fK2#}JFtrIT#ElcPo2 z=GUGxv;1B0Ns*B=(4g^-Kx;;dlwi)~r9wvz{N)wUGdac;nux_`-6W;*& zF?yF@f6du__unMH<(y3n>4k+8L$qA?#{I9Vt@YKLzW8R2kqqCC~vT+jj2Wefr=*#{bJVZ#FhFH_vW$dKj%X*-^9A z!p7!Ep$x<9^UsgoyC=6ah;yy!<(E?|`Z^bN^!M}6n>SB_hwaY2d$+unD%siF*Gq9I zGQ2r-s3{^Y?wEx0{`=`Ra_1MeC3d{tCDQHc=kNdaW^&d<) zaQbw&sMDD;R%4o3l&6eGzd zg$>6f=2-OoEZ@1V`~7bg$ACS~R$}KaFZ@o6jL*+!;W)IDoK58kOBYO;0 zggDc>mj-cV>%M>gUSlc8VS(d?&pu2#sp7=ZWB9pzJ|lZUSXh{b2p7;_dU|^QKGfFF zODVHkYg#C?c&i$Z^CFE|>ZPl$YEAWOUA$PCtM$-Of&n?J07PQL&8{p?xa*X&=NgEbtI*IWapV$~AYh?11Vl2ohYqEsNoU}RuurfXoP zYh)N=U}!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7leVXeV~EA++R10VUOPy% z&7a98R2cYyowMt~vEB#UN(8@f-Ql|XL~0Mqdl&O2>x-@0j=M4hFYgd}8y3a%Pju2O zwV5+FYjF0q7spA=X#76A^4V{}wPD>)pQeU|g?+H;FWY_g(j}p#J%$p=7ov>k`c+m` zEV%yqD7_L7$?x{G{c51*F;?z=sym0&ac0As)>Oj8Ec=5XROU;*?f~H*{8HDcDjn^jhi=DhPr3> zhIm~)!w{7%bNu1s$IS;54m^CQ7&)!5q$K3C#?ogj`}G675+lX3v$GjYX8Ug2w#~xQ zGSNgzv1NhE_9;ObYghkgep2ZtbNtTz`=7slZGF9KOO!6dy?ggIvNcpHut`yy*quizR?%g|J2qhIZc2@vAR6YDKKt^7E_9pu^7c)X;%FD|a%D7LN9FexmXG>7m+qZ9}?#gp5YCRkF zD-@IxRZCnWN>UO_QmvAUQh^kMk%6I^u7R1Zkzt5|rImq^m9ddFkTfv3U&%cWMMG|W zN@iLmZVl^HHY))&NP=t#&QB{TPb^AhC@(M9%goCzPEIUH)ypqRpZ(583aE&|)78&q Iol`;+0EVMplmGw# literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/preview-rtl.png b/sources/skins/moono/icons/preview-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..a1402fb7ccc59825ec0005bc14a38fc6bf913f5b GIT binary patch literal 1077 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(|=DF#}JFtwG-_e#Ivuwvat5y&3(_Gw)&Tplq}HT>RPm5m6lvT zd+c>X9_Gs?7fpCw0~sa+B}Ix|&6--Zx9_n<#{X%hvBzJ372;qy@%*!W_1=5@Tcdb2 zRsSC`;E|G&dhzn5;I!0*D^_(a%UoZiA)++@{Qn#G@Be@J^QYwX(uqO)f>vLZkd{`K z;k$h0O3Sj>R;yMe%~CsFXEDxc~ZF z*CLQnw_o1(@`s-_GP1INC;2VkuPegEp?KunIliSqoyU&3DNW=kFE77y@7|(STGLV$ zm%8})_yD~Vw|@HU+0v0ZVuDT`KYv!fd;flAh}M-XQyV${iy0!Cs_R~RIWS~wjChmU zwJhD}GsTefZ$>~)irmuC-% zii-Mo=l1R3`Sa)Byn9!5qDPIDo!!5nKoOba2TSjUPl?cRGm%o2;4!kY`W0PWy?gVn zU8lZ$`SSbb%}7H_OUt>ZpT2na&d${LbMKp7dR?z~-Pq>4H%?uyzyJ8-!ez^r?Te3$ zym>OkXwCZd@A-Lo_wu(N{!wGsB4E+?xhqIVOmnK&l+&p#0`vKKcqVu)oill|@V4#S zEv>DcIUJQHDu{3`T=nWU>-Fo`r+BH#$;nL!I<t)x7$D3t-2p7b*FvWt@w a3sUv+i_&MmvylQSV(@hJb6Mw<&;$TR>cJcU literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/preview.png b/sources/skins/moono/icons/preview.png new file mode 100644 index 0000000000000000000000000000000000000000..256fa5a948321d621798e4149de947cfeb9c2da8 GIT binary patch literal 1077 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(|=DF#}JFtxs&ZZvdcw| z+wZ?K;Z8@rkn@>f#Xyf3B^MVJe*yE!3YTWQL zq}amX;MJKLdF6E}&*1|mzEZtx+j5ncx_EV7e*XDk(as%v_Jru`>r1pb3OjL>#4Zn8 z{dby=TK%dJtt(lkK9_4=7ykHL$JEGhGG$WL-oBt$y+K~9u4*k_yx3k&R`&0!uT}SB ztmgWe_#VEgvuEGFO}ln!J^E;2H=n?rn>y zK{J+hF3Y@g@7|-YRhhZDPd|Q~`22agn7Fv06UWjiUMfQK`T6R|zgA`4K$M2fd0_W1M9f?TZ;k&%v?OWWGpJKYv93R_)Utgy7kx+C{?h?eM* zDRbt`srgc26VJ$Vctaz<6UW4}X;bgNKfXz4N|42@_Y;DWZkzG7H$Q&-*hNL?=dRtm zy|+fC=I8sre*3nTNoHk8SAv0uhRCA*`~UB4m?9K=z4Q3vbZKd6A79_IXU?DRo;h=- z|IV1cef#XHi;6zI@9X1hI;dc4Yip5ndzq&qi>|IN3lpQ7nws6(_3Oniy)?ykDPbL zEDO;pEG_*S=fL3@9xh&7T-f7s84Fug3X`de!^|G(}0^OH|M&6+)X_Kv%GM{eGfWaxBxboaym1;QEZT}P7) zZ{55JjPO6)Qrxxkb+~hY8I3`;#5JNMC9x#cD!C{XNHG{07@FxCnCTiBh8S2{85mg^ z8)*Yc1B3gO-1AU0SIA$cEtjw370~qEv?R@^Zb*yzJuS#DY}4 X{G#;P?`))iiWody{an^LB{Ts5qbR}b literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/print.png b/sources/skins/moono/icons/print.png new file mode 100644 index 0000000000000000000000000000000000000000..e2fd5c3906e9dd92719be28097e76bbf4e5fbecb GIT binary patch literal 920 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7QaAZteQ@?0rF9YuD=TznV2MRWeXS@VH^+ zy#2QY1hckEolTppz)=u8-GHZdt*PJQiw8d2#Kp&ZPHOr5`SaVZ_?>nv_ONa$MDC#dV}2t;V#e83S3$4f9LNpd|z{V(}o_y zjI|e|l5d;+t(zaWzTNOyyWz4K58c;aUwr?4^6hWd_a&N_Ze6Cqwd&1em6bL1f`aL7 z`V5|v5_%Tucy}#w$nJf*ORsX?Z~ z-UIo&YV4N;1S#GJCP38^*NBpo#FA9208-nxGO3D+9QW?t2%k?tzvWt@w3sUv+i_&Mm SvylQSV(@hJb6Mw<&;$T&#Dc>B literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/radio.png b/sources/skins/moono/icons/radio.png new file mode 100644 index 0000000000000000000000000000000000000000..136e433c9ea03a7907a50bd25e77c73973e21563 GIT binary patch literal 1092 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7GoPo6V~EA+(8=esr79)b z=S$B0+1K~vc;ZdY+rBrP)h?xm2so~4X$q(o&cDaBlf_nN=}wailXadoX;rgs65-yzShGtbJ5fn7B9;AGcUbme*f|Bo)7!pFV@l3U8upeYLyTN zOPxk&DB}#j*=SjR_~Qte39e+_nAIw0=;g9GVLK+ zuFEeUH1VD3p|a%luJBLN>t4sH3UOx6TK1;IYDti$%yC7jULhW~<`=upojJp^F~TP= zC#UAt&6_hBlTM#L{hui&Cgx97QBl#pojY&#A5Aiv=%G<=tuWJP(#ezyCT}C{=1&hg zb^U6V=!1#NGUuE6{^qe+6}H+#GyeJK%9WY7Hv6bK8_jIVG4s}&et6s4^=H#QJ1-4l ztaxP6rz6(ADMH8Vc%jONB|$4Mj{o+y z`^O#^IxQ4f7|>B+)0cZYAL!3kr-!Ynk%F<;4SASDIUE%P6ofh#Xq?*j{&&PQQ3<~G z@9ENf?Lg*-T6x#NZ^{!n8XXuESypAv+U~jC|8oR~+ioy^04u+G5`8&w>0SG zTmhyB8&|E8Xlu-z#Ud^){?VpCK;z55FJDUHua_>3(c912e)#k4+qdnRb8>TQqoSj$ zi)(7mT)K4W-{E%t`~2|me<(4Ty zcI&TZnMmzrMc5ZSnp&^XKz7-sk7%|Ic_L#b`fc{rWX)TF#w2 zXSI9xZhkQ_u^F>xH<#`9U48XXX)ME%DRFz_{wGCVQ&nKhjJ%c#D8=@ zdD{bb-PPOo-dL`G=gyrEU%l$OdiAP(!}J6G_hWXj{IjvJ_>o;#H?P2=XWi?JS#6iz ze}7*p+kd=b-uKuk{|nXU2r$K7e_#5a|Kj?LaA&NdtrXmE7}CH00)|WTsW(*04@xvl38)B*=!~{Irtt o#G+J&^73-M%)IR4(EtDd literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/redo-rtl.png b/sources/skins/moono/icons/redo-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..9e03f4aa8a45ac2124d34447392eb0e1a79386f7 GIT binary patch literal 1012 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(>_lZ#}JFty_0;sv%^K& z=5PLPDLB<5q{D@k`PzbIw^Srv9q}#=QFLDJls@;Xd5O+ZC)pUTq`%C4TbR}Bp7hDM zu2j-xJL%%_$oIte!uhqEtam&)@RaWs>-&V-J=wa~cI!0!{8`DMbNbQ#H!oklG`>G? z&Kwub*2fkR(?lQqH{0Uw<|g38;-bhBbV`2~W5(KN0N25SffQE~O%rQA1X#v^e3j;KKeEj|E&!iabSl9h} z*On+Xe`oE7`dC_{{CM-;0Tf*=4N#SSxQm(?_WP`2Ome8W#@7)mNQ3 z1Y_)^df8rmsj{6nfBxt4^78jVE3dFKROjaQ&Ye5gx}n7CuSloMJ}D_FC$G-ul^RR` ztqEJbx$kj}t(~3TB)V*=bFTcF- zwruCFU0pUdHZ{f7)!O`geE(Kn&8k0|WO(e@u{!Sd!vT8JHK%&rxqrX7s;bNI+27Nr zy@6r!BF8NI+qZ8!_U%)fe?GbA=QW97ODn6YnX_iCdh_mG($?F#Hs=>#e|<4)>x!#c zYu2w!C8<`)MX5lF!N|bSOxM6n*T^u$z|zXV$jaDA8%P=$+^^)GhoT`j zKP5A*61RqRDw~yn8YDqB1m~xflqVLYG5}*xFEcN@I61K(RWH9NefB#WDWD<-Pgg&e IbxsLQ0AEg|lmGw# literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/redo.png b/sources/skins/moono/icons/redo.png new file mode 100644 index 0000000000000000000000000000000000000000..f7119cb77ec9e12a614f41773b962b3df13b9865 GIT binary patch literal 1000 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(HqWRL+s2#0G4gQAg`Y6xA9sMr9VAs}LZ{KbabUb2W*lMUD zWG*ZcBV#WiZ13Um$nw3I^P!#%Z+Oc;@3RpHp-dVhvGi+v@(Vobu~D zV|MQSyLr(zP5`$$g7t1ONT9UiIwb>AeG6UVq#(+Y~FjX4f}n!G`7dEmizqYU(#Pb z$;-?Cm*8qmn|=1#iBF$CzY%&?%ccgOiWz-zsO7zfkgot2BxO1a*~n@gI3l=L`D6YbNXo=!@cL9e==w5va_=T z!=$>r{Q3L0Z)-i(CePotZCjn4rKO@+w;*5p#hW?Pe*XMvzBA_C^%}eXh7&y|crCTC zwRQFCe7$R1gpO9ix&VzoZ!6`14)RcGGGr?&FW-3WU!abdrM30rU%zIpUah@t`}Ui6 z?i`8A4i694oPK)F{Q1Sj#fJ|cW8FCjvYH*h@X^jwvbtNHS6P-FD~!@d1*Q= z6zF^WAy<0ol#b)a-5K`frfk2h%F*=xUi|h@uTFucdd4f#;%sc`-d}+UTD8PAq9i4; zB-JXpC>2OC7#SFv=^B{n8X1NdSXvnvSs5E?14#pe`<2}DP&DM`r(~v8;?}TEWwR1c xgCxj?;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq=1STJYD@<);T3K0RTK_qWS;; literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/removeformat.png b/sources/skins/moono/icons/removeformat.png new file mode 100644 index 0000000000000000000000000000000000000000..4e74dfc54c54d9cb93ea47cca26d57c2e410d789 GIT binary patch literal 1079 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Goz=AV~EA+)X8VPr2|Ed zp0C+EbH!Xw6VF1!8Cn}fQ$H}jRC5Y+3}D*k^pAaGiQ)=v!Rbwp7IE(`pRThcyL|H|C&Pj%VgA=k13B9g zvsOIOI(T{$k5}f@qMba)3mr6B4;v&zipd;rOueb~zw6_wRZT%%Z{NQCK1pTo(kWs3 zp}SUgO!ZnSpPZbmuU*RUz|@y{smR8NH~l)N%MT`exc=(Zs_Qw1Xv=beSQAt&!3Z@J{d(tMLBS+G!$Tn=zF~2 zwUwEf*@pf5`8_8+<5bj`e)_}Dnv)YJ3QDvw28vv~a;4?iF}EvMuReV8gk|#N$q8y| zY6aER+}BGFezx(se5Sm#^k>&mrDe;Osg;+P+iP?+B^YqH25#87vol1C_4YP-n+v6~ zO$rAde^e0RY7}^+J=F{7Gzl4*J05D2ckI~VU?bO_8ri=#+-+5+lto{&Mwf+!MTM!I z-M_P?u^deWCkyWw2Z~HQo0b?U7IS^A-4ly<59_a7zwR6;Vq#));Qjagn{%b7r7m2% zHuv=FuaDln<7-RINi&iZa8mFT`t+0aL|GW?_RB8};E?No{`KouQ=iL6 zE?o+83KVf!9LU1dXc!ur86PjNr?3C@*|TTi%*@Qr4+|vLTz}1~$g)Z2@vB#-{FYy~ zu(4@bq~UqI(7@ilzr-pwBRBWxxpREE`T6zxwr-tz|MqR;!w(G%tgX2NMKl}!CrGrN zJ9CDCp{=d$Tzh+ari#$QDVN^8e3_}Er`PoM{rmRZ+os&12TNnUI2g}=R^J)3E;ljp zVRz=N)cNPjcWm0!^!RbI!LD_Ox8+*&1#fmank2Y0hHs`1Tc=CYy7lY-zj^nrj`_jj zWtsYmF1|SM^5x6#`%S;4q|B`rF#+Ze)e_f;l9a@fRIB8oR3OD*WMF8fYhb2pWEf&# zX=Pw!Wo)DkBn=GiS8~ro(U6;;l9^VCTf;h)%}PKGk{}y`^V3So6N^$AfRV44nU`Ih boLG>mmtT}V`<;yxP!WTttDnm{r-UW|j9A6G literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/replace.png b/sources/skins/moono/icons/replace.png new file mode 100644 index 0000000000000000000000000000000000000000..9597eb10cc03b192f8e37d950f96562edc0203e2 GIT binary patch literal 1143 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7v!kbrV~EA+*h$tN*_k4( z*X!jv74?$?4$hdd!Z~lDiYpg)a6}Y`a>NbJFeTx+PRqS2XETaU**N3gu|p<`3Q25> z9xJQOa0*mhl+a-yb@9oQ+H*g@hn%_-c{cCbFS9p$BjV%bI~Q^6zI%?Lp<}^oD-++t z%O#Q(l>UVG7&0`7@UR`Ubl(}n_FQJxGRM$RjwXh4Klv4velfbZOt5&apcJt-jGE>1ry#~>khvyd;ICsraM=!rvCp@=cm+kz|wv9T{okdODwV_qZvuI0`Jtlrr&cUZip3{(be$H+v2q zbj-=g>G}5kyYsYE9$wzk^0Kmj^G-k2kl{Q0vgFXi0*47IoU*dA5iv0-6FpjbdwUNi zZ9MS&b7Eqm;yl0Qid~Ot^`;ARw=yld_~P`pZ{K!af87d1OERTYJe^iwZ91C7_*^D$ zyR_eO;hQ;Ta{b3|0^OCYH1WsFzkg*{uU@^MkB6t`{PWKNp`tn>ToZLpTUcBF-u33) zJH28H83{SLW2aAZ=jG*1IR89w^;Lz_M%S)iKdwCS#QmvWtUdp}KZwvdW+TV1;(6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zn{MhD8ynaA`1(qI|Nh;c@kh-*d!Y9JcW>Y3u4(hVyvBaosi#F#PN#Y;6#~Xrj+wWC z#2qFjW?jhi=r{(kV_!4h|OcE9DH>l0UBJym|Hq{q=^Y4-|Xc2O;HjVMV;EJ?LW zE=mPb3`PcqX1WGux<-Z}29{O^Mpni~+Cb94;C?0dJQNMN`6-!cmAEymQ`xKp)F276 tAviy+q&%@Gl>rz+dYO6I#mR{Use1WE>9gP2NC6cwc)I$ztaD0e0s!mh+I9c{ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/select-rtl.png b/sources/skins/moono/icons/select-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..33dd89dab08b5431cf624f1cb929d23b8a721d7a GIT binary patch literal 889 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7le4FbV~EA+sgpN)OBc!< zwcmedX3QSzzJ{%mOT2xziRfsg82n{^wcy191q+Lx(|3r3A3PWtpzeAkP^lvzu*W;u zOEaiXV^&7dlM{d6-Ck(Y%D1-i!?o}G_Pnpwntpnshf09gMShnSi#|hkHZ}ua;ll=T zI!a0zYdaTl7|-=fzHK%wHBsVNH_Mi5Er}iiEDR~Rx2L5TX?kfg{_|WqMP;(5=km); zd(>v1y>|ZmdH*H;G4b)g4*I$H4$Chy9@wPQ*4CyW!sX-VH|cCzpqC&E zk+i%{x_wS9xx!?Ewl$<2m%s+qryz}?(>SxcMNk~dQeDkKK zXs6HOiw@bnlCFaDo(r-x+MAlTzTU-PV{gBC|Nj5Uxw*X8OLy+svm|c)=B-;@1z0*b z7&zCOGI)D?%a@mz@Bg*0|NZYbZ{E~I$Ho1daQ^wp=bvwEJNxRDRBfy48CSDR_4M>AYHHrFO1CMl4dXsu$PlnJXk~Ft&7Ao&Xa0P* zOK;wD#tS)SnP#&~cHfO#;qd-wb#-;V*V0SkT2oIoKCk?r`{4c;8-EZ-XyWz*zVX3- zngc`EhIKxk5w`m3bt&27iW5CP2%nVknI*fTxCofSR7+eVN>UO_QmvAUQh^kMk%6I^ zu7R1Zkzt5|rImq^m9ddFkTfv3U&%cWMMG|WN@iLmZVl^HHY))&NP=t#&QB{TPb^Ah j00yRBW?pu2a$-TMUVc&f>~}U&Kt&9mu6{1-oD!M<7cX!V literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/select.png b/sources/skins/moono/icons/select.png new file mode 100644 index 0000000000000000000000000000000000000000..c3d89cc0a8e624f71fe7cd9f1c840c7b25491dea GIT binary patch literal 882 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7lZ~f~V~EA+sgpN)OD8fM zt&cDA-1lUPv!PkHY}DSht`j?)eZt#0^qQI%JW%*2cuw!`UvVRsO{g<@2^A0^!i z>i*J~(DCq{6W_bj*B7d^@~y4>aP4^Yp6^F4T@uM;p2N ztsU2-mWl+5Brds}>2uk|%M&OzwIQg>fam4+-waQDE?+sB62z@&^1+`=vBYTRm6s(^ z%=sst7QL<78+Tdw(Z7H9=FXpA-dkfgKQ=N_Gem1@duuBz&tZw@JclPJaJ=~bTVv@l zL7VfBA3S()_tvdj;TyMaU;g~rvm?KLSxHMvrx;0Yxwd27>9c2fd)=C!KTl_CW@HHR zN=r|_81=Yvp4pV35-ZuPty0Fu#v)v-^XAQ45w_aK&MruAdi2VWtimf3u1Veh{@U8w zdbO7(&r%UD&0BBHo)*pYQEPr|k+L~*$&@cud*?3=$}Fs^s>=EQ=+PldJG*6`l_vF+@`hYy!~E&X)2G&bh?(?5Uy-2V5kE;D5L!YNYxi*LWZ z^tQ~>(lW8Qc(T*N1K+-x1)bvGy?Zym6Gza>E5~c>&cA*8_PwfGAWOsh-z|w9Q-m5; zuhxF|?p;J&+_6HL|1Vy=Fg|eeX5@to6ON_^jV^(sNreTqwYmAZxql^gG9KIPry>+F ztu-~0;Y*dR&H2SqYxn7jb@Q9dKI?sY)4$yZ_Gd;;%QKrj-6{L8+z+FRqW=>Dw?yf- z9ah};-v7(7l`A!qHcISgkgZAVn(Frflv-6wTq8r^%?0X0a1YzWRzD=AMbN@XZ7FW1Y= e%Pvk%EJ)SMFG`>N&PEETh{4m<&t;ucLK6TYE_2KP literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/selectall.png b/sources/skins/moono/icons/selectall.png new file mode 100644 index 0000000000000000000000000000000000000000..a4cff3d1cf480be2ba8ca739ebe8dc56fab0c454 GIT binary patch literal 813 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<9AON#}JFty^{?6v<)R% z?AMnkM>@7O2ypqjII}iQO1@CodBwxhwa@7^Z^Io0R;Sw&bR85AXx-TT`oE~g?8e%!%u7X%NidX^ zm(M)^JR*DM*|dmk&q+&EGiJ42zaHMTDC2C9;KEf}3}W4^rLn@vOYXn_?@>@*zCG{3 z-sc}b3O<)9jeWfL`OBA`e#u z_L2Wv|79~hmx+2^_IYZUqT#Xi+BNPQHg0S*TsHT7_4(hwtAE!O7hh&uBUrLK*3Qmu z$DTbQu7Lth2P6(B7$jK8baex8Z}K-k>%8;ob%i6zn{EJlR=T?lTEtS+*QrZ%(IpSp0iBq zITgjNq{Pq9-_ddB{(WU7Be{M{8=EPM7b{!Z*-hKL+1PEd;O3h>63M$Kb$nn?;j>tf z$r9WTOckmnt`Q|Ei6yC4$wjF^iowXh&`j6BOxMUT#K6+Zz{twjNE=8R7~HSqo`<3# zH$NpatrE9}bt;>cfEpx0HU#IVm6RtIr81P4m+NKbWfvzW7NqLs7p2dBXCnnv#Ng@b K=d#Wzp$P!Gphoxr literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/showblocks-rtl.png b/sources/skins/moono/icons/showblocks-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..6f391b17f9e6cdcc1ae6b0ddacdef8e908612ffd GIT binary patch literal 1000 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(@!$bNpvYaDbAh|>9y@#X?C!mL zZ8vP)YWn8Q8=oeHAKDyEKd)W8#(uo;0}vd4_fF5^`KK2zIOY_8wRrmPpWVCn@BiPq zcaLqe4)sgK&^dg+Y&k{U~a z!4|~DupvSxWm@WkIfpmtvl8eBj2{oi&q zOR;Ow>af+U_rKrgQVdvsed?5=od=Uo?$O{nleYQ$)+pZ0S$$bsrP4OvtX5=c5%_#G ziSg}|CoBvd9VQGHOnP5^-Bngu`IG0sdxjoWc^$?-6=h}LT5V&0dG1}MCF0un^=ql! zT)+K7g8xpJSp9vq>s|UeOP=F}1?A=Kt5>fUXL#}Bhs3(qhe~6Cj`@7_=u!P%H|AN( z8apODx6HZy?_}v+^S;Ln&!0cvv2WkMj7YJ_X|9JKez+dDzTJSwo#7cn2Ipr5j=I-h zs}2-cun7KjaQQUxd7?y9N0iH#-f7RJ1^03s7N}=7+5V<+S<`%A9$-){ag8WRNi0dV zN-jzTQVd20hGx13X1Yd(AqJLK21ZuKM%qBqz~Fu*_dFC0x%nxXX_dG&tW(*n1k@l2 uvLQG>t)x7$D3zhSyj(9cFS|H7u^?41zbJk7I~ysWA_h-aKbLh*2~7aIaj@wC literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/showblocks.png b/sources/skins/moono/icons/showblocks.png new file mode 100644 index 0000000000000000000000000000000000000000..0b240e8ecfb60642f596c93fedf0ffecf705aa71 GIT binary patch literal 1004 zcmeAS@N?(olHy`uVBq!ia0vp^0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skins/moono/icons/smiley.png b/sources/skins/moono/icons/smiley.png new file mode 100644 index 0000000000000000000000000000000000000000..e7607caa537c2a6215860714a259de2d082b411e GIT binary patch literal 1130 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7vx%pRV~E9R*Gc{!Nt`mr z?a$kvH=4IMG)9$auH%Y?6e|wZgVsx5+*;^tz&&>l%gGG}9Nc*VyJNW|zinXQ4V?FE z!(FEne4-u(PSZJ@K5Ti@%qMok$>*ENTl4nJH2V)b>mPm&J$CHahMPGSGJJFVo|lJ) z9?jd%eBu4~mu0(c?Ck2cUw{4a%a@kJFH0U3SQPAx;o;*mva>t)?c2BbvfY1s7irit zb)4|sfB$}TRMfAf7c)M5_~5Yo^1|z{9d*Q#)6&{fj5t3;T`xVEwmE3^)hE(hqkK2r zT=Qa=-htOCMkmjl;n^6$!*f_+su$y)E*GVwS<5<3tm|+wGc&t!%EwS!H;Y^1QA6}Gs>$s1av)W|G%Uk+^d?pr#uA_^7{QbAK zwUu?s(W9=n-fq*;*Por9p8l}8xjB0N`R~rFuO<~01u^c}u|r_~dH2;J-<*f*C<8uUs|h z1uD3f`yK&z>z3bPn*E7^J@gI19FyX^?AGO61(^`)|{wcu2 zwsZgf_PKLqU7pn1$cZb=IQ`VXH+b2yWiFRZ3U}W%vbEJ+mg%K8otfj<<3hoS->t2! z1N5e!eE#{$>rze@CZ-+p-v9Re_xy5kQn-S^gsQ!IKWpX{?c~`S)$6sisbkNI>#rYu ztzx~wYI8MfYSvb+2aIKVeU*xmaW&V`Sa)ERado?J_Wff3D7tJ1nCY8 zl9G}?V>Cqet*wk)8)j*5zx-mx0+ZRkR&)90`mvwhv}4yUrMZ6k%$yIFKYuCu;Khdz z1=%GfQyLo?WAw!Jrg!TvmF+(^l|e!dn59%pTq8r^%?0X0a1YzWRzD=AMbN@XZ7FW1Y= e%Pvk%EJ)SMFG`>N&PEETh{4m<&t;ucLK6Tt+w`jd literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/source-rtl.png b/sources/skins/moono/icons/source-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..c734db681ba5cc9282f6be021441447326b400f0 GIT binary patch literal 1002 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(-uz`#}JFtt--$DD&Zow z+xP9dm%V!RLP7Jr0WOZ2XPjP`oqH3))0v{^^v^-8QHO2QSACTUt`6p(U)a6I&P+d$w`+uIF=pTfC2xl9z8^mU+R1ch|bZCcY8V zTAda$+}@Tb!Diyi%wS+VNySmbwW6x3DTwP>_Qupm0jC8aS_ePxx!)=v|Hy*PSlNAH zK*M8;8FS|@Rqco-;NpEc!O?+0*mzVPc4usKm5X z$Lpmxw((vs-MD%4=jg>3e;oZ@d*yZMts6HQ1enhB?A~oHBO~LWdGu(KpbLw$7w2IE zg{3a5ul`zmG2_ph-*z1xx89l^GH?-b-Hx)ZBUbco*lK;Omk^XS?ug5-u&wghk1ysb~>FVdQ&MBb@01UpTIRF3v literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/source.png b/sources/skins/moono/icons/source.png new file mode 100644 index 0000000000000000000000000000000000000000..004e73b6679090aae2405badc84846b54bae4784 GIT binary patch literal 988 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(=tyN#}JFtt--$D(t#qj z`D*ipO*tI}!n>pboRm7sR(T(7nUr^j<$J7)#+EBf?GN~x$L@GjKjB&elOAjH1lN_b zmFgT8FFMlnvm)Qf`2AhIQ$1dqwgu+>#rn_h70b<@JGXV+YmWBA9d3&`TAdPl7#XGn z6~u~9OI>*X{o!r77JbZ`s#Agjyc8$+s0nhlUdS+6arxx}pd52D&qNOvrw;$0HUDaN z-)$3M+LrrUMt7=LVnv0-&lgy{qWtpcOM=;%)ILA ztB3dQ$!*)V?SMq`RA%+<@~=E@w<83y`7z%_cb}FO=e_x^X}cF2M-=>d@X+>ZF59S zOpQ!kNeK&sf$!)2XXRdf-L?LK`TZ4(oiBP%24x)864!{5l*E!$tK_0oAjM#0U}&am zV5Vzi7-C>)Wng4wY@`h&4GivAa?eB2kei>9nO2Eg!#b7CNbP0l+XkK8%v&E literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/sourcedialog-rtl.png b/sources/skins/moono/icons/sourcedialog-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..c734db681ba5cc9282f6be021441447326b400f0 GIT binary patch literal 1002 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(-uz`#}JFtt--$DD&Zow z+xP9dm%V!RLP7Jr0WOZ2XPjP`oqH3))0v{^^v^-8QHO2QSACTUt`6p(U)a6I&P+d$w`+uIF=pTfC2xl9z8^mU+R1ch|bZCcY8V zTAda$+}@Tb!Diyi%wS+VNySmbwW6x3DTwP>_Qupm0jC8aS_ePxx!)=v|Hy*PSlNAH zK*M8;8FS|@Rqco-;NpEc!O?+0*mzVPc4usKm5X z$Lpmxw((vs-MD%4=jg>3e;oZ@d*yZMts6HQ1enhB?A~oHBO~LWdGu(KpbLw$7w2IE zg{3a5ul`zmG2_ph-*z1xx89l^GH?-b-Hx)ZBUbco*lK;Omk^XS?ug5-u&wghk1ysb~>FVdQ&MBb@01UpTIRF3v literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/sourcedialog.png b/sources/skins/moono/icons/sourcedialog.png new file mode 100644 index 0000000000000000000000000000000000000000..004e73b6679090aae2405badc84846b54bae4784 GIT binary patch literal 988 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(=tyN#}JFtt--$D(t#qj z`D*ipO*tI}!n>pboRm7sR(T(7nUr^j<$J7)#+EBf?GN~x$L@GjKjB&elOAjH1lN_b zmFgT8FFMlnvm)Qf`2AhIQ$1dqwgu+>#rn_h70b<@JGXV+YmWBA9d3&`TAdPl7#XGn z6~u~9OI>*X{o!r77JbZ`s#Agjyc8$+s0nhlUdS+6arxx}pd52D&qNOvrw;$0HUDaN z-)$3M+LrrUMt7=LVnv0-&lgy{qWtpcOM=;%)ILA ztB3dQ$!*)V?SMq`RA%+<@~=E@w<83y`7z%_cb}FO=e_x^X}cF2M-=>d@X+>ZF59S zOpQ!kNeK&sf$!)2XXRdf-L?LK`TZ4(oiBP%24x)864!{5l*E!$tK_0oAjM#0U}&am zV5Vzi7-C>)Wng4wY@`h&4GivAa?eB2kei>9nO2Eg!#b7CNbP0l+XkK8%v&E literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/specialchar.png b/sources/skins/moono/icons/specialchar.png new file mode 100644 index 0000000000000000000000000000000000000000..4dafefd56c2ef8687bfbe3b384102104c15ff7d2 GIT binary patch literal 1156 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7v!ADnV~EA+*h#(~+2JCs z*LOajr(!OZq+;_axvBHwt0NqOYZnA&wDv7os=V?FUrEYbOMzP_z1{h80;e=hX^PXb z*ubpas>G)=D0H4G2FfBg6{ zyw!vm?hi|>;$QEI>pcE=-o1PGrn9rN>!+uuJ5LFko+zQuP&31C`F>8e z=F+1{8xJIHRG8_rj)#xWiGwlr`u`g@Z+5O*x9-s6j|mA04As@u@jiZjb>Ui51$x~C zdDy(oX7hI4&1+wl$sLk*5a@f>zo8)iL!)~rK6e_C2RUob^!s@KCukC?uH|1RJp6X5l@ zY`5&~+qdgNFPqrd*eqDNlGBMpr2A+b!;am%oz*5EeD>^F^v7pKJImYJ+Z9_Jw5AGm z9e&tw{ITQCn17q&)*pUal$evl^R!6vXN?>X9ZeFvnk71?_(#n?&2yHku4=WlwfzfY zYGl|Gr(afHeqDPim&Q^L6`^=f&H3DH3_)Hpva&y8^~B}m({R@^}T#Rf;pLIrq8p#1r~qYyg0Yt{;M_7!h=3 zg_V_@PA8rV3k$!0wd-7TR8&QE_3sd~*|q1>HXnRguweD-*9szBiD_xide^ebr7=wNVA5IAt_R@D2OH*Z$13_0}hq2l?cMX!Rl zDo^BCwtV^FCqI5jIB^_#{85TQ`k%5Bhoz-uqX3h#vT{GemjCDfvqlyc?Krxv!xWg= zR7+eVN>UO_QmvAUQh^kMk%6I^u7R1Zkzt5|rImq^m9ddFkTfv3U&%cWMMG|WN@iLm zZVl^HHY))&NP=t#&QB{TPb^AhC@(M9%goCzPEIUH)ypqRpZ(583aE&|)78&qol`;+ E0H8kR(f|Me literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/spellchecker.png b/sources/skins/moono/icons/spellchecker.png new file mode 100644 index 0000000000000000000000000000000000000000..46d75703ca034427f370694211fc167443aaa54d GIT binary patch literal 1094 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7vw)|IV~EA+(8*`LH&sfs zuAkq3t@-@qpMtJSJwjG@Xw0%tRH)(AQPPNU5!6+V+WA7iL-5wtjKqfy3M{G4rYx8B zBvN=3UnF0A-m!T`=aw^9_S`?}eJSSjVN3RR%-f|TBn~8PTrh=cLD=fRl_3FM3p1s} zx|go2|5}@5%EKIcedEoX4vwcqGm|!UT+MR5UTWgIIBM;ufB)jX*G^-K@V$KG@y8AO z_vIyl(c+fVjd`sC|ZQQylPY|XD;zT}*K+SO?0l%kzI>t5^V=x7`}e!S2^=2K^) zgpsZ7**kY)VmIG@Yh-EJnK|pzR2QX2uJ*$(cIhq4)DnF7^=qh|o!yimuUWHZg(N2{ z-^>Y{YBAxYG+KJi;|;` zn6pb=Pepxwym`BmVvL^n)~Md6Pg9q^wpzS+ank0SE5cUq*}M1SpFcbeXVVV9`dYPf z-@dfk+E~UZUaFb-`Ojay>dG*QvQJD+ZOt(G6<=PyJ!4kevdosliAOJ96jV}DS67#j zmseKWw0rmI>sys4ayT?!e?2uoLuL2w-I;&+bae$eSTgeR z`k0s(26S|GayD#Rw@yz|QgY(Wn>V*~{F&yXb~44t#?Ee$pTEDQjm?vH@A@KizI}f1 z;KBQ&NfS?>_O^B?FE8J?e0lq{Y18&U`dE=yU;jTkJzZU{pS}HXn3}N~3`|pms?@Das{;SXQsr&r1X2;z;p2G_kE@YhQw_J0o*OSkc zn{MhD8ynaA`1(qI|Nh;c@kh-*d!Y9JcW>Y3u4(hVyvBaosi#F#PN#Y;6#~Xrj+wWC z#2qFjW?jhi=r{(kV_!4h|OcE9DH>l0UBJym|Hq{q=^Y4-|Xc2O;HjVMV;EJ?LW zE=mPb3`PcqX1WGux<-Z}29{O^Mpni~+Cb94;C?0dJQNMN`6-!cmAEymQ`xKp)F276 tAviy+q&%@Gl>rz+dYO6I#mR{Use1WE>9gP2NC6cwc)I$ztaD0e0s!mh+I9c{ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/strike.png b/sources/skins/moono/icons/strike.png new file mode 100644 index 0000000000000000000000000000000000000000..80078322634d6a48fa123ec5e2aad0bb39f11aeb GIT binary patch literal 1016 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(;-h6#}JFtwUhUIXQxXX zw}1b8-kiz8SB^O|u{m*cNt$$bPjKC_K&ivIS~F>3^zTUpR$iJumyc}7-F@5F>*URwH~pQRo%bJoTxj)T)>*ZE@7rI0{k8pJfyD7b4i+Ys zX2&B}u3QnHFn|91QlptizSmy6e%*6vP>7Z&S1S`cJ9~?h;>G*-`-8adf1eoSWfdB{ zQsiQW$obD6%P%jvoOyhcj$rrEGcRAhlrJkQlaP=|C@7dvwfEe^hl)y*PhPlw-Q7g$ z>8n>=Cr^6T78W`#4SM+E#f$O>;cLGxU%FKF&_jdu>(|G`#TAv8w?D7!xOp>j$&?%0 zeEt3TPoF+rpP!TC;(K{Xh*qH9^p#<&LsnniA9MZhjFTzAal`K2 z+z0;svs)CQb17@h;>z*4Fv8_n*If**SBj zq@k6SmyX!s0-5&TzpMTH{WV3n)~s3cB4}kuhS}`>4DC^`!xfJ_-?`Ir$&{X+o`BU? zHKw0F^0?4NZ@TjI(;q*4Xn0<^W8G@+r9$goU&=7~P%D4D&_hM2V&3s*&(wa_!~p|Y zX(Gq5uU}0kdaxWX%-9;0vN^J^zu(f{etFPJpm7~8N-C2*H{I0fbV<5X8mn{qkU`IX zffA2PdD~~sm@$K;j%6SF8}r{b%y#qU%&FmHYmS)K8pKstT>P2!w$(4Wxvc^kOLtul z@cO79&1m#KL3Cm@FoCOZdmf60-29Zxv`X9>)~Re(0&0*1*$|wcR#Ki=l*&+EUaps!mtCBkSdglhUz9%k SosASw5re0zpUXO@geCw9jlq`y literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/subscript.png b/sources/skins/moono/icons/subscript.png new file mode 100644 index 0000000000000000000000000000000000000000..89e8bf40d170aed15daba0b8bc5b1c8900efe156 GIT binary patch literal 978 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z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2Mxe}DgZxwm%(t^6aw6s9%x%;Ce$`*!Z!SsFVXNP4XQ`?pr-v{R~)WRrq}rs(@u zuO7X5v!<-BPLH9gy88dQ=buAXU!5PkQsilorh!&_iwq2 z5@W;bU3D8H{&0PH|MqR|>lZH+IGQFH>gwvQxO_QSs+SF@e(TYrM_adV-+tfuzU}#7 zAY=c!wQFm=mtWS=(b=Q@f9}^s0U8MsZ0+ssVODehUAlh#_~*}?mv5bxo144w_3P|a zS6?lE`SRuRbLafR!onov^}p4yhXYxnMx zDMtS_mTt(Mef4Uno}Qk8@8`SE8XFmxOxdw6dhOM$`Tl->GKxnwT#J&Ek+Jdf_5C}+ zYw5oi@89>k)n;dRcXo0zTsd=w$BEXo7g$v8srlq=iayPaJ$nW}F{(s*;*1OXJ z7>yebRs++wYKdz^NlIc#s#S7PDv)9@GB7mLH89gPG7K@Wv@$TVGB(l%k_HC%E4k;P zXvob^$xN%ntzn(YW+k8oNstY}`DrEPiAAXl<>lpinR(g8$%zH2dih1^v)|cB0TnTL My85}Sb4q9e08UJ~VE_OC literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/table.png b/sources/skins/moono/icons/table.png new file mode 100644 index 0000000000000000000000000000000000000000..f29d051fdfca209fb98027343c39dc7e3ac7114c GIT binary patch literal 664 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7W0I$fV~EA+r587@dK4gV z?BjnKKc53Xxb`)2OmbW6ztED>;2l{(__OsstUn{_&`-~COP zCI8&#WABzI-F?El@4x>V&E0lban=9r&Mq4&=Y6iQndj}oBIp?UKkHi5o1Zmm=Zo{U zOEYYZ;yqrdaeC74zyI7n+w{9FW(*X0`JS`sfo}IAkF{H;S@bQv{Z>gy#k1-CZ!5X} zrFZj~_sm#jG}mwAwN<4u?N5tNzASNaIkBmyYVWxmGv(7p4dTI}mrRZp%A^=btmrs# z{_Uz)x7{S#xc(UZt^2RbeK^23P~`mQnzJ7(YEE}8Iv|xS(d%~U^;d&q2J_Enr!K+?eAekJ!j6b-rg zDVb@NxHYU(*{lTAAPKS|I6tkVJh3R1p}f3YFEcN@I61K(RWH9NefB#WDWD<-Pgg&e IbxsLQ0L>!>AOHXW literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/templates-rtl.png b/sources/skins/moono/icons/templates-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..0ebeb557d91aea42244495974ed5fcf18db319b6 GIT binary patch literal 857 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7ld`9aV~EA+-buFJ$&Mmz z^JiLreme-Jg&wzA;3AyWWAzk+&o2 z1@Fw?hTn4@_qxTF#Y@bXS$ytv@w1+&`1s?WZM>EW85>=336f0@-iZr)~ae+oiN-tBNO6L&t*G zU#+^kySGH?uG!jgBE|B#1YdhjPEL)rrRC4awPBoxCn#_j9D7hHx9osiuUpCP*sa^P zxvdRzcIjBu;kW$o(W9+fZoh4=+rPf7tc;J#>bXpmi^n9E^PeSn*ka=2g;^M%7R@Z$ z>9hWNa%QHdti1f@ojZR%{_^EZ`PQhpN3Onmmv?bf#@f(X%kJF0J5hzRxVYFviZ?7Q z?8g23&mTT?j9M#p`t<2jQQgISlb`>5a`BSM({JCV{r+9;(sKN`dtP4Nj$OMRefTh; zwUzbi%MzFD-fOdL&M)WPq?2qTr>qpTr%2{F4;wSX*6rJmXPC_L@yNE#4LB2~xirpJ z?WDiIe~6Z-&H2NY=AARYvpSIA$cEtjw370~qEv?R@^Zb*yzJuS#DY}4{G#;P?`))iiWody{an^LB{Ts5 D+e2DT literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/templates.png b/sources/skins/moono/icons/templates.png new file mode 100644 index 0000000000000000000000000000000000000000..0ebeb557d91aea42244495974ed5fcf18db319b6 GIT binary patch literal 857 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7ld`9aV~EA+-buFJ$&Mmz z^JiLreme-Jg&wzA;3AyWWAzk+&o2 z1@Fw?hTn4@_qxTF#Y@bXS$ytv@w1+&`1s?WZM>EW85>=336f0@-iZr)~ae+oiN-tBNO6L&t*G zU#+^kySGH?uG!jgBE|B#1YdhjPEL)rrRC4awPBoxCn#_j9D7hHx9osiuUpCP*sa^P zxvdRzcIjBu;kW$o(W9+fZoh4=+rPf7tc;J#>bXpmi^n9E^PeSn*ka=2g;^M%7R@Z$ z>9hWNa%QHdti1f@ojZR%{_^EZ`PQhpN3Onmmv?bf#@f(X%kJF0J5hzRxVYFviZ?7Q z?8g23&mTT?j9M#p`t<2jQQgISlb`>5a`BSM({JCV{r+9;(sKN`dtP4Nj$OMRefTh; zwUzbi%MzFD-fOdL&M)WPq?2qTr>qpTr%2{F4;wSX*6rJmXPC_L@yNE#4LB2~xirpJ z?WDiIe~6Z-&H2NY=AARYvpSIA$cEtjw370~qEv?R@^Zb*yzJuS#DY}4{G#;P?`))iiWody{an^LB{Ts5 D+e2DT literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/textarea-rtl.png b/sources/skins/moono/icons/textarea-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..6ae156070f1c36d8c6d85baca1ae125db9b3ceec GIT binary patch literal 986 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(-Kb?#}JFtQzzScBxg#r z&VRq#{)wAmq*<>~P69_oaEFf2AqBBAuBaV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yOd+5Db_90?HaXKOjcI*$m2qr^UhB{R|*QUE|?-D7^rXQ z9@z5OA|@tAz*X>=M9g*7i5>xZ)Az?kMcult-yD_Qr0`=!fc~=xowmmo74zJ8#?;vw z8h*SM)y>z`@a-M@P`P;08n?6XE@W^Pt<-CR13Chb_){r-1|)>QMIG4Fo= z{rh+R{CV>(T#MSZYnOmvtlspE*NjX}UCm}c{q;*~smL)2oAZyqeEH(5H~sd#yLZ?6 z`1|`uXB#F;eERX@#IIjf(OOfTvd_MKt9$(T@he%THs=pZ9KLz;=Ie_WFTPFM7!er} zG2`Z)JAV?BlOIQ$nwx+B_vA@RMP=nr{o{okO$}+APk#Pv94I2#rpV6Dem})%=JusQ zFPH!P`E&iYZQIJi!@~A?FTcD$U~O1^iH!P>kpGiUE@8NI_pWXO&`E!)Dl2!cbveSC z*KqIuuLK1aB?snb@#inxSNF(r|6|EI9hiJoOI#yLQW8s2t&)pUffR$0fuWhMftjw6 zVTggHm4T6!v5_{AG%&bd$vqE6LvDUbW?Cg~4eL}kD*-h~f@}!RPb(=;EJ|f4FE7{2 f%*!rLPAo{(%P&fw{mw=TsEEPS)z4*}Q$iB}TqCDg literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/textcolor.png b/sources/skins/moono/icons/textcolor.png new file mode 100644 index 0000000000000000000000000000000000000000..48ed5896731cadd97766d3152958a218b9e74f01 GIT binary patch literal 944 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q!X>cf^l5Jn z1`QElI4Cham+9F!(rAe3d@!)3(ygBbm2JsVe>U9Cyt!l+}4>sY~|(U6M~YGlOKQo`n6OjJsrrOG5_pY zUjad#(@nXzAIx#i?ycM3Z_$_7)0lgEL$0(7%UaW_y>gE%+OAbeq^{li@@rLq*FlNq zi&vQ%g17=jY%PTs+v`O>4gPxPjsA4eKP=V8BJse4saoP1QIe8al4_M)lnSI6j0_CT zbPddOjSNE!EUgTTtc;Dcfuw=K{Yvh6C>nC}Q!>*kacfwovKg2L86-hA1m~xflqVLY kG5|fImzkGcoSayYs+V7sKKq@G6i^X^r>mdKI;Vst05TbW;Q#;t literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/textfield-rtl.png b/sources/skins/moono/icons/textfield-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..a0564eabe64e13d9c7c378cdb83b95132cc70bf2 GIT binary patch literal 859 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7ld7kSV~EA+sguupNhgXN zt-t@L`~Hy!9_q#mudtcqwd^{RyyIjwN92xAhBYkVO?oj){3oovFsX3rnl-GgDgs7+ zGavqbRu;JB?Xs)P>4gvP6+gUFedXUjyS~Q@raaOW5PY@k*ymdL^PdZ1zh6~SYT7E6 z%oDfyrV5X@+^#nGMjhr_FjK|@%7gmw{Jgw?i}B>sJ6oob-I*f zl6kt1Ha#sm`SRt;_ZEDIAAY!7wKr{R)WhF)i4sC>iqg{3K5D|p9vgoC`RBUmnyn(P z2Xo98ugi|Pp1L(^VyfipuTpDG+uPeUmhRZO^WmdMO^Y-H1YKB6C3sw1rgSWr;-vXC zNILn%=Q+oZySubl^mRV|v6J7yCRFcGOO$=*I6D1aHUA9VV-n@AR#{xn{{pLM? z`t@t+@|!tIO7TFamd4iC%H?doU1BAB$wbvRc#_J(t67Fpy>`zk<0hrvTyZsP?`zE^C&?PJaHgd-wTe|FnB&&z^13ci5j}M&R=DvN}*| zRV{IiC`m~yNwrEYN(E93Mh1pvx&~&tMus5nr!K+?eAekJ!j6b-rgDVb@N zxHYU(*{lTAAPKS|I6tkVJh3R1p}f3YFEcN@I61K(RWH9NefB#WDWD<-Pgg&ebxsLQ E0O5IN$N&HU literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/textfield.png b/sources/skins/moono/icons/textfield.png new file mode 100644 index 0000000000000000000000000000000000000000..a0564eabe64e13d9c7c378cdb83b95132cc70bf2 GIT binary patch literal 859 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7ld7kSV~EA+sguupNhgXN zt-t@L`~Hy!9_q#mudtcqwd^{RyyIjwN92xAhBYkVO?oj){3oovFsX3rnl-GgDgs7+ zGavqbRu;JB?Xs)P>4gvP6+gUFedXUjyS~Q@raaOW5PY@k*ymdL^PdZ1zh6~SYT7E6 z%oDfyrV5X@+^#nGMjhr_FjK|@%7gmw{Jgw?i}B>sJ6oob-I*f zl6kt1Ha#sm`SRt;_ZEDIAAY!7wKr{R)WhF)i4sC>iqg{3K5D|p9vgoC`RBUmnyn(P z2Xo98ugi|Pp1L(^VyfipuTpDG+uPeUmhRZO^WmdMO^Y-H1YKB6C3sw1rgSWr;-vXC zNILn%=Q+oZySubl^mRV|v6J7yCRFcGOO$=*I6D1aHUA9VV-n@AR#{xn{{pLM? z`t@t+@|!tIO7TFamd4iC%H?doU1BAB$wbvRc#_J(t67Fpy>`zk<0hrvTyZsP?`zE^C&?PJaHgd-wTe|FnB&&z^13ci5j}M&R=DvN}*| zRV{IiC`m~yNwrEYN(E93Mh1pvx&~&tMus5nr!K+?eAekJ!j6b-rgDVb@N zxHYU(*{lTAAPKS|I6tkVJh3R1p}f3YFEcN@I61K(RWH9NefB#WDWD<-Pgg&ebxsLQ E0O5IN$N&HU literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/uicolor.png b/sources/skins/moono/icons/uicolor.png new file mode 100644 index 0000000000000000000000000000000000000000..b633a3c75946f3682791a06d176609f6a97a2da9 GIT binary patch literal 1090 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Gmoc>V~EA+*vV(Twb@0E z)*DZrsgg3MgK@u*xUcV&gcD9GUECW}LIqoP32tAsL!(Lij= ztLI^BuCSR`&skPhwr%?K>7FV=Q%>NSdX#Yu)9ntt^3oBCD=y zUCh|>cwK5_#I&P#?#N8_YK>akw(j+n*I(Z|Xiepk>t~;S{IO$bC{SVC`t6gqr$)9M zP81Up3lL#-6cAux^qgeiJNfWo=a5j>kkF|YF9voUOE6ek%tW` zDk~E!DkS#b@4s>PuCIZF%H)#|zE)YcTG`tE?N>TpXl3{0b0r%a8!(_c_U_%AlbieZ z-qP217&Y$k}_4bE8el!#p7uV6#+xGnV z^P6|?E{)JBYj9|P@bl+PAGN~=4>GefaO+zn?E%5~|xj zKSIY%N6dLzYFvE$&fU8gN9auQTi)rS^e{&6`=U&#LysRT_qsJ#?e#O7*~9d6?_S%Y zoiadM7<~NwCwnc8h>vHN*tus{vK7MS>oHb)vXQITOy?ZBmExpz_zhVCV z+E4Qj#NW&*%g@N**nYcrk;aKlXY7T%^7h4T*cuAVDyk)}5hW>!C8<`)MX5lF!N|bS zOxM6n*T^u$z|zXV$jaDA8%P=$+^^)GhoT`jKP5A*61RqRDw~yn8YDqB1m~xflqVLY lGL)B>>t*I;7bhncr0V4trO$q6BL!5%;OXk;vd$@?2>_2X$)^AS literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/underline.png b/sources/skins/moono/icons/underline.png new file mode 100644 index 0000000000000000000000000000000000000000..2ac6fb701719802064dfb4380e160f77668a3a6c GIT binary patch literal 895 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7lc%SPV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@X^jwvbtNHS6P-FD~!@d1*Q= z6zF^WAy<0ol#b)a-5K`frfk2h%F*=xUi|h@uTFucdd4f#;%sc`-d}+UTD8PAq9i4; zB-JXpC>2OC7#SFv=^B{n8X1NdSXvnvSs5E?14#pe`<2}DP&DM`r(~v8;?}TEWwR1c xgCxj?;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq=1STJYD@<);T3K0RTK_qWS;; literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/undo.png b/sources/skins/moono/icons/undo.png new file mode 100644 index 0000000000000000000000000000000000000000..4c80228d4a9f14f44988613432e7ec44f0b88b4f GIT binary patch literal 1011 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(_T*(#}JFty_3#*C#Q=X ztAGFdo^)WRil|cH!3NW=m3^FTy9!sV(@A+5_F~=cf82MyHwK71JFfZPpgp&Bwwtkb zc;G6JZpTf6lPoxY?%VhM-kw;Vod#zX*?!PDcf9!ALmPL7Gw07UE3`b=|K{VzkH+_B z&6(qp-J5%xLy_sv{kCg2Zb$^3YS38fqWRU;nBn~A8M9{}{$9J~TFB~9ozt6|oR*4s zY3iI-66y@lnkuz<^X5Q?wWfWK6_&bqd1{C#$?zrfF6ZssmK&@iwtv>VdH-gdOev6I zKVF!z{WgQfQiEeGvpsKblT50qnG>|~OR>?+KRfpB^|g_6*KECJrNA$kGuK09gHHF{ zxw4;r*3=dje*EpD)-1qu|GTBFt!%D|)Jd>XvIIyJO?x;$DLP)+gkAw{82zcpxf1KE1sByO_dUKYKT&iR<0n+ycBF?$V2T z{e5dx?zL@i^A}xQ;iV!}F)v(0tXpaFNrmatrtR3b?_Vf~V%O26q|(x_=iL@NZoj?s z`s>2VO39u3_tzH}7cb`H=l{R*`s@0mj|$+kvL# zqiS^fO2cY zx+hN-=Huf#^YiCUj#j5NYt|?%U2-$$QjXclw9WgUfBq?dG{ETm=MOggYfYoFs>$g{eP+4YbcQ{!Nc}rpL~LZ`LUX+NX?D8zcUO_QmvAUQh^kMk%6I^u7R1Zkzt5|rImq^m9ddFkTfv3U&%cWMMG|W zN@iLmZVl^HHY))&NP=t#&QB{TPb^AhC@(M9%goCzPEIUH)ypqRpZ(583aE&|)78&q Iol`;+0KrMM2mk;8 literal 0 HcmV?d00001 diff --git a/sources/skins/moono/icons/unlink.png b/sources/skins/moono/icons/unlink.png new file mode 100644 index 0000000000000000000000000000000000000000..8a4c84de06b81e4098f3745c44e1907464d685f0 GIT binary patch literal 996 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(>hNV#}JFtQzzSdWV4GL ztAGCQY$%h^#)Tb$U2d)gJJ`M!I?4)dDCt~q;avU-kzcQx&G%o_>Fd98mXEJ*sdqcy zQi;!x4)5VAHS*5XoXDrvRCIQKwbhrSx2Ey^eb9W^yhi@HjNQyxvy{4&LZ<#_7CdOc zqa%3GIjc=poPCzbrc}n=_i~6} z;Pq0`3ci|$yViAe%v!dx@3F=Qli6n{olHqcO=T7QdF6X;=+yxE#I!WG<;$0UmCyLO zZ@to{y}NdG85$TkSk1k+K5TXT@y8#x|CR3G=yYj%_%Kl}`(wqQw=ZA5G@m?qay%a| zZ{p5%r+@sgP}=nH_r9>zSMwWX1Q^dfzFxZf?)C2OZvULy(-b&La&mYMf41Q{><}s` zBlE}8#ZE-f+htDqO68?No(vmvf1f;b$m!>Y4-={l9v#?xQ8?>Cbn+eVc1xVc`%uU$pz^{l@u>wMYCJ zKK=ZYFDxv~^@QhehOWN;>#J9Z#i4z4wriN&J zEvl`xEsz6mj-dVKB*0@6=rcPPELN@?4tBBeD|+6 zWxKCrnVvg$ZbgXJUpB1+KYv;tKYo10tM#jX74D3A#((Hyj&g)vuMRLVtCqM%l%yn< zq*^5xr2;7iBLhP-T>~>+Bf}5_ODh8-D`O*VAZcK5zmj_%iiX_$l+3hB+#1%YY*qql ukObKfoS#-wo>-I$@_=4uUUqSEVnM22eo^}DcQ#T$MGT&!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7Q?{pzV~EA++)4Ypg&jqX z+vk^+PnzJ%anb3BlDb%u@}lE^8MlQs-4&e{wrHtB*tTEn5z7NMZk#yzu#@AH9gjmy zmd{gk^#6E$ri;FPiSh39N#*Y?zH%S7xz~Sw&&*0Ax&EJ~GaoGCsJCj>k6&^A+@e+L z`JFZvmH+MHBpyvY{h;#5xx_BloV9K8Z5wv(>|FKD^lH~CJ>Gft*TtWoe|K_y7F!UFw*&~tc-FxM@56C6Ra{Q`I+rDi^wu!^khbfyr7p$@_o5X0xbUo;WkiqtvXFTWM z-FaBG+xJqQFthvRNu3hRcm335RgynNzO=Edp4QLJy=QMBbLidmtN24h<74;Dd48w5 z=AF#nFz%NnR%gzfS<$gzRZT?v^elmdM>Fo<-~YJH*~C*~OO(vMf`xl(K0bPJU}f-) zs=1Hu?e*Axd+EiD9OirbtJS|o@oG2y{>a>$Y|>YFSTWD!P(*k9+DGk*bt_xqHAKp4 zy%TgF{g%kyIBz=BoWt5;oU1~QNcgO53D;S+!D}hg24LhiO!ZpYv{meJ<%}XpU!fAK zqb!V4#}y{Y39xj$|IDtiJ=HCJRuLaCC90OVMwFx^mZVxG7o`Fz1|tJQGhG8ST_eK~ z14}CdBP(MgZ6Il2aKDm!9*TzC{FKbJO57UOsccpPYLEok5S*V@Ql40p%1~Zju9umY dU7Va)kgAtols@~NjTBH3gQu&X%Q~loCIE>kg7p9Z literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/arrow.png b/sources/skins/moono/images/arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..d72b5f3b8808bd89996ef62f845164d459957a1b GIT binary patch literal 191 zcmeAS@N?(olHy`uVBq!ia0vp^Y(Ol>!VDz;rWf@BDXjpX5LX~=X=(ZY|9>EfAH1#& z-3wIBTN30K45T@Ev~-ix<}bSOt=nC)A1Gk%>Eal|aXtBhiAd6gyIe=gyBczF}qKQ%F0(mNbo(!7G$6ystm-3eX4!Pgg&ebxsLQ E09R-@$^ZZW literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/close.png b/sources/skins/moono/images/close.png new file mode 100644 index 0000000000000000000000000000000000000000..2d0297731b2551c8463233b7190f92f01682f0e8 GIT binary patch literal 869 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7lfI{mV~EA+-pS{^r5!~Y z_RqX)y1BlYy;HkMXX=iR0j?WtZ%pQWx%ATh4NGlJZp;?F)zI#wq;_R;M>o6wBwLPy zzGdZc{6>mfr+zzVeP;Ie0(EJ)-_J8BUk3Zwf?tiwKH);8*f728= zn)ZhY3a;78kg@jvj^ahxTcwUk95PTjz3E+s$s`ls@4bdU_VvI2Es^YTxuo7i%5z%k zT>~D&V*#tL2Hd`VJ7ev|C}EbyE3Zq>ojYe?Yg@Z@=gyy^3+}&vZ#w(z;@)1~OD0P- zxKh_1jrx7SA-nhe?Jn z-O7Lb`0=an-n~1n;;C`^le)ts6`$q7yY9ZbZP91%t2SAZ8>q&#y7BVl$&Ilpfi3P3rt-jwXg=p2r`5TnjBUlIzcZ|L)z1&vO=OtXRdB zt$S;$yNiHe)!ut?GRL1^i(0j6mgTX+ntQLmew#D@_qMLb5=%wqJuj@S{aaO7_^}{0 zl~wTJhYuet9adlcwQ$O#PoE~uo;~~8rAwEluUaK1v1a}H^FmK5^-iBY-NDg(@WI(v zud>)5JbJX~Zib1S_R<}@b{&#f9K-asQqHf}u-WFkBwsswph#)gq6HdUi!@&Gv>yfv z8Xn_$mK?JAri-R2vt*m%<(DGn8hKN;UenRhDX6cvf2^d$f7`A;v7U#*bvspwKIR7KhE<#@Ap2>`+e{8{`GyS&W^Sc2owSUAc3>9IxA$=9qfS# zdsJN9cOgLoEgUQWc#@@xWZ62 z&dLJs*3Mz{rzsPpyMGZh!~_xOyr$)WvDy>AtaNL*51eV9eWT*ue8UYve#QFbn!4mPwNM3FgZy%? z?bfe-?s&OZ5Cva-OldSWyJw6)y%uz>K(<`!NP-s#q)4+R9cEkxT@b+R75#FHz$#dCsl z7+qa%o*t9r$_GCIj(9}p^eNUjp9q*yCwSRcR%>LFH57xAIblAS)M*zMk+wEr5igU7 zwtp^q2}$OCYQMiquYQ}T9)dB5$ir9>p7h<(fRm6ULf${MDJ+&2KIxfGrHCRLHFT`g z{l;KRTeb9F+ffcdW`a7~=i+m^ATuL`zIhPrT@vL}SqCBfd1Hk)i1{1s{NJ z6%W2Wz@y$~^eB%s7q)XyUns`&4^=1X1ysv->hXS(@em4Xs>w74-P5{+;vcq6QPVG5zp~yS^H^%bVZi)5} zNs$X2_=4X+a~CcJP^@@SPos zwswp5BSrh0_)`3Z1oU)|8(?$|FnY)Fy2d8DdL~%Cqr$GMJ5CcT_>Unh!Y?R*_Wy=z zjaoIKL2)O+H6kE7hD7lPF)=aPLE#}$zNAQh?FdR>{(>1wxCC(4j#kx{-iiMLuC%Ep literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/hidpi/close.png b/sources/skins/moono/images/hidpi/close.png new file mode 100644 index 0000000000000000000000000000000000000000..de4eedf6572063a79d9a3ed21479e20d0e83532b GIT binary patch literal 1732 zcmZ`(dpy)>7k|cmjqpluQiRQ*bs3tqMxvQq$Brb4;zs`F_rM&Uv2aioc)N4oyQ% z0Kg6(Z}$KQO}14-4YD)_;|l~T=P-B-0Q@5O22pi;Gr~In4*&xJKqeD_HOQ5@06;Pl z00{vA=bHfRPT;hhaDg_|!hOBm!MAPU3htLep6?R8LugR8v2BH6Ep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>FC{-MIJ+)5+Nk>#Jb)do7yj{8 zI%X#^t0|Y=+x>gWJ(8oEuzwk9Dba`8Aidrc#t&)Pi6BRGjfOd>l+P{|Mg2c*5D4bsuZ!9Ea)c1AilA9DBsvPh(e4zKtJ zAugUoiKPF3LfwISGl;NfJHyHN$fOh^l?+l+Qfw*bV`ve?1hQ>B_1x`67egor_;~oa J*I@}+{{xZ8C+q+K literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/hidpi/lock-open.png b/sources/skins/moono/images/hidpi/lock-open.png new file mode 100644 index 0000000000000000000000000000000000000000..594f0d3394355b3eeafdd9969023066a9c871a55 GIT binary patch literal 1582 zcmZ`(eN@s{7``RqM>#Pq(af-{W$FZT4mr+J(InE0+A=BcjLj*^19Yoc?rr`B!wMjLf!Psu_9<&@fj#-#v+7= zm>J<~Emop@O0T|#n!YFC0}n>ENDpaG*%9nMzHVcEyKfrt7O`e}7>oauvZ-2;_SSWi z$JQW*!qqJC$*k7^FYRfuk$`?!I{T}QzzKeI77-J@7TQ=~HRP8*iMz(tRAQ(CQ|n$(WObd2st$J~g+z+y%cM26CSx6$%A} zYGg&c<+2Pi57khtroA4lTkMe%jgsI!7H(U%U$#7l+9f4riF=ex&BdSHdVEYllE#If ziFnBSGHupFr_+hx(JYovp`2t%MFzPEQ0D$XU8EIf_TXG#*s-tzSW8RGz`#Izt1;(t zCI;>Ts}M)-DJRQfl9O#ZJ3Ezk4HH}knus~6)9aVg=HHDxZfy-Yc=Idhm{Pk6F)$8R z^`A^#iY4x9E(=JfX%MHZ+hw zX?pRZq9zuZJuo!1xbV9F<^hdg)G4!-sOA9f$Fr}dU-j-(CkrVxIapD-Jk+V}%);#H z`ZbX#4y8UN_Mg9=w{gFbr8kWqy&5NL9qBCOMny%vzXBs(y;dNOF%GxpJ@^=iKz+Xn zzn`BrH~DO|ySRI1W`^tQ>pS^G$=%4F9GYivIGp*usskB~7`XMu0J^^VSa6M=hk+9c zjIDY0BS4s+zaX=Ntq_wU_hd0AcWjjs-I7PU9L~Of+iYX5@hkODeYc=esS-bAY$Oyk zk@KWdY04IqiVp1?DOyA2zOvf7Iv(R*9#(Yw?%iyGKrkhfKkyQYL?7|vR#sNeROfAZ z#K;=Ga)8nIszRKkp|aWbj~RM)y-zq*W;!-xR&?b`b6uR)$>QDfwtPeoI>v*r=011H znNWZV@6`fL+0Lm~T`SF75Tp(-eBlNi8M>9K3UPIlD^pYcbc)7g+LlDL@#YFDP<{0e z*41KjSCE6l+j_f@Ld?tW6wvbrnJYCWk$dJ%DoIsNtITKk!(qL4>Y_&BTqnU`$g3sG zM#eIQ zk|$r6_~d@-orVUS85q-)6f2XSJsb~cz3*WgAgHRU8vdd%mBT^OB$#Y{&GDU%>(>`= zmYKW!!MHcJ{(^cu!yp%6Zy{~l`)>cnwnm3~-swNt?Lb4c-Bw!MBg_17xwquEgj!mB z=4ipC1dF;uf01UoaGq4rC^X8c4epU|s`YRFwi}wb5S;G3n;$JK|N3V4U9#u>v^mBn z;H3P~*+xp4^m@Y`FHU{N2M(rvm(67QBLmkgAvmUE?Qrdf#QKoZtYMq&d{hok6r97W zVb*I3)4f;&{y-+LEW~6-RMK*Ca^^E+9c90pWM0%xOq^aHvOnS%3V$$7p>uS1cfTN$ zc^)B2avte)KOQ@LIG#>ZB`-Qms8oFA5A^=ItXLc^B^Dy!jmG$TqJ2HRF$d9pIJ7rz zhqpU~X!O(6Ri*zioKB?2pGf_GL$zz&CdlBh+~Gjt2^O205)0UD_Gj^oQ%o8)DfY9( Vl(^zae@CbY5JDpG)j`qc{sn>2*slNp literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/hidpi/lock.png b/sources/skins/moono/images/hidpi/lock.png new file mode 100644 index 0000000000000000000000000000000000000000..1e23a0b2d9d529ef2c443753551521d45261b37f GIT binary patch literal 1644 zcmZ`(doVxJyV@x;?bb3 zL6>b~*6C7?mcC_}!E}{kmU@(`k|80wQre~L&!79po_oLF&pDsZ{hsgld+$BpypZ5y z7G}0)000X{0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TVI?7e(CoFgi-4fZ465PTo_5 z86L_PgD1Ys znWmg!T5cl)#sJ+3V{|)~FRrwz3+T0Vb@HE2*Chp5YCYRpYTFHC_q=%dlBID6_t-~R zKOt+K44k`heb?1)57;j;}IKbJ1u6w?QXrLemwENRHD;75TEVvLfn{J7J>q0*aom_5)JK=!9`ul4$EH3zVpFCuA#XCKxiLWfICk1Nx z`T4o5t*w>MHhn)7q^PJ^`}Aoqfl%Xt!kNRv?)g=NR6%+Y2VChe%$wB8qu9D!VqoXtUv-E!K^2qS;+M|}1 zvdN`{tU+aq`}fTNI2?YNq?SMS>EowQpOzINkk*RtDJgFI@|mXIoFKT4&T6sf1l78< z{8}i9G;wqeC_icjvh4jHw&*4Jjs#Z?&76#^`zT=9X2J$*csz?A0YwC>;=WrC9z59C zTkzuNfWs?>G$0k?JTo|Wwe!m8orZ>nXgj9^9l6F8n%NkssGT{mvhtJ?=ts}-9J`<#$=PWE>H0%s(0JVBZBKL(U@;p9^Z|KEVW zyUqwS(D@y~=iDh;9O--n5EmC`O^!Yj8%Cl=Sf4u|Su&48fQtZktQUrl4q^NQqs2Io literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/lock-open.png b/sources/skins/moono/images/lock-open.png new file mode 100644 index 0000000000000000000000000000000000000000..7d24c5f81db13b35cadeaea2a54f79f7bf8e0e3b GIT binary patch literal 801 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7<7-bB#}JFtt-;=>q#OnQ zW$nt9f6G08hoH;B<_<;siq<)b(ft#>pKv($P1w5QT+o!rqt7iamxYU6Iy-|yQ{%<5 z{r_Hl6=gh-W5&!NAjr@#^Wd3>J}w8lkDZzDFNmd*$=}JPW6_KGApB zot~|0{rpDM>C9PmlY*Q$7!_F#Ra(v6=hDB32bFV#QiYqrF#Z-4x;L+A87;R!;U!dA0B z$lJc#>Uox(aQ-<u^&i(wW78GuW|$K6slcMfI{$gh3(rX^1?L2f zox`-Iepncz_qc5LUfsnrLKk0jn3lRPK2T!5AzS4<<@3c7$s6wGU60DXmAC!%@yCqG zJ|7g;T+R9_v_eB;smR;!)je*?Pb$y3mNF?YbgbE0@%)_Sk-|Oe!d7=Yu6R4Ax_j}{ zqR1&l3&foiJcU#|n+_&4986%y&fTca!f;7K_}hb`op)xPP2*))v-L%Z)r+#-329F% zgcyqV(DCY@~pS7(8A5T-G@yGywpO13`rV literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/lock.png b/sources/skins/moono/images/lock.png new file mode 100644 index 0000000000000000000000000000000000000000..8baeaa4b885a20881936df3272c52a99de7692f5 GIT binary patch literal 849 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7leDLcV~EA++{w0i(uM-9 z_a|KW*Kx^hLV{FQj)d8RW{x7kA9|iEi+}K0HgU~Y*t)=~SL)_#r4Ak4jk{Hjw{Grv zGUEV)%%{R1pY4Pg?%cW4&{1$_hU6KUVx?apiy0g^3YA`owF@kY;P`moM$nO=VTzEK zriW(o{iy2ad!OsA*;+1d8sv52_3P{>m3?vR#o6c2pZ|W@<(H3BjD9|w^Si39?w_^i zBzb>-e|z`E7xkBlObHTjau5{U^Zmpo9xqJ+!5+i@%vp8oSG{u7Y+bcV?vjaW@|nfg zX3da1XDP$Se&Ov~-42e-SxFW$O6QAt*qHNXwZ+B7C9HLw_uRtT+If=7p8M}lMs;7m z9)6{i_oD3FnSs|$_k7prVroCkc+QfcW4EX)<9pjzyXwjvG*{H^mzTYfV^%+FnWmn; z{>G@aJFdTW-Bwbx&_7Qaie zYbvd;uXlQGIMH*`g|gj8ORQWkoBUzSXJUA`_jtOX(}AL$F~CrJTC|fxv1ZlcpEY$g z&m-czIydPAPE+kMG&pvky8e$E3&X11+dmS1|J|q6wTPeLUUkp$WFIwQ1LIlCI=jnv z$C^s;+>3m%N=R_awOyN69o~Anzkbm*se9E1#`hSa9tLlUS{A?vOgXA0t`Q|Ei6yC4 z$wjF^iowXh&`j6BOxMUT#K6+Zz{twjNE=8R7~HSqo`<3#H$NpatrE9}bt;>cfEpx0 uHU#IVm6RtIr81P4m+NKbWfvzW7NqLs7p2dBXCnnv#Ng@b=d#Wzp$P!FaZ%p@ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/refresh.png b/sources/skins/moono/images/refresh.png new file mode 100644 index 0000000000000000000000000000000000000000..d8106b032f5a279922b5079629ef9de6232121d4 GIT binary patch literal 1050 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG?e4lFh7(-Th@#}JFtp_5O0tAvXj z+y8sTZCCGIUCVBp{K$JF$1dv1(s}KW;X9`o_ZhwQ?q(bNPaNK z`SKQ>ZQHj`-nnyU{;jv$Zr!@oB%q}2#KHJ~O_18nZEx3ewI1T1aw$K0?X|b(&hhzN zUb1`lZqMbHZ_b!I*VbneOQB5jnKNfn=C-%BUC1%}e(LF`+esTa4jU|(a_Gnr76u1R z*4x`I=561D^jeymo14#4k(ld8@7(}#_EnB8_{rdHas;Z{< zzc~(nsAQ9tmVPj&IcV05Wu1Tj{w+Pd>0g+aqh_nq!iIwh4R!nZ?|)ZZ>LPPol6#6_ zTh(5^*y}*9MBDY|gADVYKm7PnudBX3lUiF_d7kq0O@C{`!#wYKZDRB(cdHlw83VT$7QFeg>@qM5sFt`! zl%yn~>+Bf}5_ODh8-D`O*VAZcK5zmj_%iiX_$l+3hB+#1%Y zY*qqlkObKfoS#-wo>-L10Q8t%W?pu2a$-TMUVc&f>~}U&Kt&9mu6{1-oD!M<8cEPR literal 0 HcmV?d00001 diff --git a/sources/skins/moono/images/spinner.gif b/sources/skins/moono/images/spinner.gif new file mode 100644 index 0000000000000000000000000000000000000000..d898d41fa7e0d56b5c0da930750e108e50c14d72 GIT binary patch literal 2984 zcmeH|X*8R88^)iIq}DU`>OwP=T3e-=BBi$4DkQN?thHqk38A4vt5G2&WJ5X+EFD9YT0*sI89FsZ>!72Q&ifkPB@Bi+&U~74=F2=EpXZ$4bKTc<{qMhnlf9`~ zkQ^Wfd;|ajfe;xP85bAFX0snWcpwxChlhv9#>S$eqLP!78yXs3ym*1f!KBV7>b5C(sIPDd$9=)eU}Lyb1T(C|L~Y+d zitR+2qa5i~Maw@~h|4LnKu1*BpT|0%7X#@Us zYG0c%Rw%8s#h!qURb_nB6CDm#w0$Lm!+p6v)M1kPS6XTpYCGb>$ zrTSFsgjs@7;L=ZNHr`*n_AE1e5P&%x;-F-v(5M@!yeHIV8(Mr6q{Znl>TQf94KE)T z7jK=}M@8CeE4Ft!n|nH5@PMzW$tdgUYdov%J=p^p227dAuVV6QXd{etFA&=)=JQj9v_;&SKsh|xZYiyHz`t} zO$T;SEw-s42kOby%|^F=j7GM_Km1qqEqlBw5OJV|i6ea(-8^72y3DWglIPp>Okf(v zPU7=mxfODI5iS2nYy$E81{Tzpng{R3ssh~8E%-KLGq=WZNxhi=qK3lRWk{V+skb`$ z_YH4Mpe6Q-$#UD#5Xp6su8QKBCf}FKvW&5|sa??W>3ww)t)A@tg{= z4o0RHDJ(?yK(NOaa@X8eyH!FJTiQ<)&aDb3%WU`M7CbZUJQ`@^2f5v$)*qu`nO=86 z2yqIGQJez9lZfJlU&Za6{O@(z&?&~7-h`Hp$_ftsz|BZ{J#11GYBDqi zshW{Rt5*`7xQm|tt~XBey@J|SM|X}7wQpgd;&cwOY|_D9hgHO%mMy{7bV~b)UQMM? zFwCH?Vl7QzTg?nUV?0JZk%dU~l8LTFi*Nk-qMK?`Ro(H69NCLUL|R=5JoD(s6R+s~??G-dIB&9( zjE0(rADgtz-YFY$_P5l6Z;HHtk~qz+Iq+yIJJXieBm+B*sPKAR)c1I;p}-|a>KH;T z{k*1vuNaxPZ$$8M&a8M!TYqb(>|{cnMOHZKWvi6%jd*BtRy(j%nE}1-R27v5q^S(n zeB&fb0Md+~9W)Bg^wzQgvGku#O{?6C*#Gp3owR!rT3qT1ITjV{8WUx+rycepJN{jH zom;~1e}pn;IWXEkc-VtF^?uPS!tlMr+@))CvZoeQy6pAyRh-8R)z99iekfQRJaQHm zZ-e&p^dozb($k!`&^wna)Yd8qr7Dr9$7(}iD-CY9mB0YT@zQH0&#TlhoZgC>A{I zAwv8OyXVfJbKzcCm`9QKJe{sg8!wMYFoleOl258#R=>&($9e~ZCnu33m~K(1C?=O} z6CH26C4J{2-zW+3YdiK${&l?^le*q1!^Y>G_MO_=kph+BFBYR%aRo5ay9QagY!jpt6z#}jj1 zdmRs6#V7hQ{S#SNsYjiu2`N<9y{v{6cZG?6u3KQ|`A9m=&`l*3wQ}*CCo*^$qZLqZ5gL)PX88H^eiH-Hy@B{Ysn8b_ literal 0 HcmV?d00001 diff --git a/sources/skins/moono/mainui.css b/sources/skins/moono/mainui.css new file mode 100644 index 0000000..6ad85ef --- /dev/null +++ b/sources/skins/moono/mainui.css @@ -0,0 +1,214 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ + +/* +mainui.css (part of editor.css) +================================= + +This file styles the basic structure of the CKEditor user interface - the box +that holds everything. + +CKEditor offers two main editing modes. The main UI blocks that compose these +modes are: + + For "Theme UI" mode, the one most generally used: + + +-- .cke_chrome ----------------------+ + |+-- .cke_inner ---------------------+| + || +-- .cke_top -------------------+ || + || | | || + || +-------------------------------+ || + || +-- .cke_contents --------------+ || + || | | || + || +-------------------------------+ || + || +-- .cke_bottom ----------------+ || + || | | || + || +-------------------------------+ || + |+-----------------------------------+| + +-------------------------------------+ + + For "Inline Editing" mode: + + +-- .cke_chrome .cke_float------------+ + |+-- .cke_inner ---------------------+| + || +-- .cke_top -------------------+ || + || | | || + || +-------------------------------+ || + |+-----------------------------------+| + +-------------------------------------+ + +Special outer level classes used in this file: + + .cke_hc: Available when the editor is rendered on "High Contrast". + +*/ + +/* The outer boundary of the interface. */ +.cke_chrome +{ + /* This is , so transform it into a block.*/ + display: block; + border: 1px solid #b6b6b6; + padding: 0; + + box-shadow: 0 0 3px rgba(0,0,0,.15); +} + +/* The inner boundary of the interface. */ +.cke_inner +{ + /* This is , so transform it into a block.*/ + display: block; + + -webkit-touch-callout: none; + + background: #fff; + padding: 0; +} + +/* Added to the outer boundary of the UI when in inline editing, + when the UI is floating. */ +.cke_float +{ + /* Make white the space between the outer and the inner borders. */ + border: none; +} + +.cke_float .cke_inner +{ + /* As we don't have blocks following top (toolbar) we suppress the padding + as the toolbar defines its own margin. */ + padding-bottom: 0; +} + +/* Make the main spaces enlarge to hold potentially floated content. */ +.cke_top, +.cke_contents, +.cke_bottom +{ + /* These are s, so transform them into blocks.*/ + display: block; + + /* Ideally this should be "auto", but it shows scrollbars in IE7. */ + overflow: hidden; +} + +.cke_top +{ + /*border: 1px solid #b2b2b2;*/ + border-bottom: 1px solid #b6b6b6; + padding: 6px 8px 2px; + + /* Allow breaking toolbars when in a narrow editor. (#9947) */ + white-space: normal; + + box-shadow: 0 1px 0 #fff inset; + + background: #cfd1cf; + background-image: linear-gradient(to bottom, #f5f5f5, #cfd1cf); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf'); +} + +.cke_float .cke_top +{ + border: 1px solid #b6b6b6; + border-bottom-color: #999; +} + +.cke_bottom +{ + padding: 6px 8px 2px; + position: relative; + + border-top: 1px solid #bfbfbf; + + box-shadow: 0 1px 0 #fff inset; + + background: #cfd1cf; + background-image: linear-gradient(to bottom, #ebebeb, #cfd1cf); + filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf'); +} + +/* On iOS we need to manually enable scrolling in the contents block. (#9945) */ +.cke_browser_ios .cke_contents +{ + overflow-y: auto; + -webkit-overflow-scrolling: touch; +} + +/* The resizer is the small UI element that is rendered at the bottom right + part of the editor. It makes is possible to resize the editor UI. */ +.cke_resizer +{ + /* To avoid using images for the resizer, we create a small triangle, + using some CSS magic. */ + width: 0; + height: 0; + overflow: hidden; + width: 0; + height: 0; + overflow: hidden; + border-width: 10px 10px 0 0; + border-color: transparent #666 transparent transparent; + border-style: dashed solid dashed dashed; + + font-size: 0; + vertical-align: bottom; + + margin-top: 6px; + + /* A margin in case of no other element in the same container + to keep a distance to the bottom edge. */ + margin-bottom: 2px; + + box-shadow: 0 1px 0 rgba(255,255,255,.3); +} + +.cke_hc .cke_resizer +{ + font-size: 15px; + width: auto; + height: auto; + border-width: 0; +} + +.cke_resizer_ltr +{ + cursor: se-resize; + + float: right; + margin-right: -4px; +} + +/* This class is added in RTL mode. This is a special case for the resizer + (usually the .cke_rtl class is used), because it may not necessarily be in + RTL mode if the main UI is RTL. It depends instead on the context where the + editor is inserted on. */ +.cke_resizer_rtl +{ + border-width: 10px 0 0 10px; + border-color: transparent transparent transparent #A5A5A5; + border-style: dashed dashed dashed solid; + + cursor: sw-resize; + + float: left; + margin-left: -4px; + right: auto; +} + +/* The editing area (where users type) can be rendered as an editable