Lines Matching refs:_

14                 _: {
96 a = a.getPrivate && a.getPrivate() || a._ || (a._ = {});
221 CKEDITOR._.pending.push([this, arguments]);
292 (this._.pending || (this._.pending = [])).push(a)
564 c = a.privates || a._,
573 var a = this._ || (this._ = {}),
1732 (a = this.getCustomData("_")) || this.setCustomData("_", a = {});
2289 var f = document.createElement("_").classList,
2793 CKEDITOR.env.webkit && (v = this.getEditor(!1)) && (v._.previousScrollTop = null);
2984 if (this._.end) return null;
2985 if (!this._.start) {
2986 this._.start = 1;
2997 if (!a && !this._.guardLTR) {
3000 this._.guardLTR = function(a, b) {
3005 if (a && !this._.guardRTL) {
3008 this._.guardRTL = function(a, b) {
3012 var E = a ? this._.guardRTL : this._.guardLTR;
3018 for (; e && !this._.end;) {
3037 this._ = {}
3041 this._.end = 1
3063 this._ = {}
4172 … a, this.forceBrBreak = 0, this.enlargeBr = 1, this.enforceRealBlocks = 0, this._ || (this._ = {}))
4197 …geBr;c.enforceRealBlocks = a.enforceRealBlocks;c.activeFilter = c.filter = g;a._.nestedEditable = {
4227 if (this._.nestedEditable) {
4228 …if (d = this._.nestedEditable.iterator.getNextParagraph(a)) return this.activeFilter = this._.nest…
4230 … this._.nestedEditable.container, this._.nestedEditable.remaining)) return this.activeFilter = thi…
4231 this._.nestedEditable =
4235 if (!this._.started) {
4246_.nextNode = k.next(), k = new CKEDITOR.dom.walker(x.clone()), k.evaluator = m, k = k.previous(), …
4247_.lastNode = (m.block || m.blockLimit).getNextSourceNode(!0))), this._.lastNode && x.root.contains…
4248 this._.started = 1;
4251 m = this._.nextNode;
4252 x = this._.lastNode;
4253 for (this._.nextNode = null; m;) {
4274 … k && (k.setEndAt(m, CKEDITOR.POSITION_BEFORE_START), "br" != t && (this._.nextNode = m));
4309 … if (!k) return this._.docEndMarker && this._.docEndMarker.remove(), this._.nextNode = null;
4318 …B = !D.wasStartOfBlock, D = !D.wasEndOfBlock, k.insertNode(d)) : v || (this._.nextNode = d.equals(…
4323 …this._.nextNode || (this._.nextNode = v || d.equals(x) || !x ? null : this._getNextSourceNode(d, 1…
4538 a._.cachedChecks = {};
4621 if (e.doTransform && (p = a._.transformations[b.name])) {
4628 …h = b.name;q = a._;a = q.allowedRules.elements[h];p = q.allowedRules.generic;h = q.disallowedRules…
4839 this._ = {
4881 a(this, b, c, this.allowedContent, this._.allowedRules);
4947 a(this, b, null, this.disallowedContent, this._.disallowedRules);
4976 var d = this._.transformations,
5009 if (w in this._.cachedChecks) return this._.cachedChecks[w];
5030 if (!1 !== b && (h = this._.transformations[f.name])) {
5042 "string" == typeof a && (this._.cachedChecks[w] = c);
5065 a._.allowedRules = b(this._.allowedRules);
5067 a._.disallowedRules = b(this._.disallowedRules);
5068 a._.transformations = b(this._.transformations);
5075 delete this._;
5221 this._ = {
5226 CKEDITOR.focusManager._ = {
5231 this._.timer && clearTimeout(this._.timer);
5233_.locked || ((a = CKEDITOR.currentInstance) && a.focusManager.blur(1), this.hasFocus = !0, (a = th…
5236 this._.locked =
5240 delete this._.locked
5246 var a = this._.editor.container;
5248 this._.editor.fire("blur")
5251 if (!this._.locked) {
5252 this._.timer && clearTimeout(this._.timer);
5253 var b = CKEDITOR.focusManager._.blurDelay;
5254 a || !b ? d.call(this) : this._.timer = CKEDITOR.tools.setTimeout(function() {
5255 delete this._.timer;
5296 this._ = {
5306 k = this._.editor;
5516 this._ = {
5623 this._ = {
5643 b = d && this._.handlers[d.type],
5652 this._.handlers[a] =
5659 return this.editor.id + "_" + a
5676 this._ = {};
5927 c._.required && !d.getValue() && !1 === c.fire("required") &&
5985 var b = this._.data;
6014 this._.data = a.dataValue;
6056 return "ready" == this.status && this._.previousValue !== this.getSnapshot()
6059 this._.previousValue =
6104 this._ = {
6132 for (var c, f, h = 0, k; c = this._.htmlPartsRegex.exec(b);) {
6137 h = this._.htmlPartsRegex.lastIndex;
6166 this._ = {
6172 this._.output.push("\x3c", a)
6175 d ? this._.output.push(" /\x3e") : this._.output.push("\x3e")
6179 this._.output.push(" ", a, '\x3d"', d, '"')
6182 this._.output.push("\x3c/", a, "\x3e")
6185 this._.output.push(a)
6188 this._.output.push("\x3c!--", a,
6192 this._.output.push(a)
6195 this._.output = [];
6196 this._.indent = !1
6199 var d = this._.output.join("");
6280 this._ = {
6302 this._ = {
6334 this._ = {
6388 if (a._.isBlockLike && "pre" != a.name && "textarea" != a.name) {
6438 …for (; !(g = (h = u.name) ? CKEDITOR.dtd[h] || (u._.isBlockLike ? CKEDITOR.dtd.div : CKEDITOR.dtd.…
6461 …} for (var c = [], d = [], f = u; f != x && f.name != a;) f._.isBlockLike || d.unshift(f), c.push(…
6469 f._.isBlockLike && r();
6477 …if (!(u._.hasInlineStarted && !J.length || l || K) && (a = CKEDITOR.tools.ltrim(a), 0 === a.length…
6479 … e = b ? CKEDITOR.dtd[b] || (u._.isBlockLike ? CKEDITOR.dtd.div : CKEDITOR.dtd.span) : c;
6510 …if (a._.isBlockLike && c.type == CKEDITOR.NODE_TEXT && (c.value = CKEDITOR.tools.rtrim(c.value), 0…
6521 …this._.hasInlineStarted || (this._.hasInlineStarted = a.type == CKEDITOR.NODE_TEXT || a.type == CK…
6816 var c = b._.dataStore;
6827 f = b._.dataStore || (b._.dataStore = {
7101 this._ = {
7379 …k == CKEDITOR.ELEMENT_MODE_REPLACE && (a.setStyle("visibility", "hidden"), g._.required = a.hasAtt…
7400 …ata(), this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE && (b.show(), this._.required && b.setAtt…
7463 (this._.modes || (this._.modes = {}))[a] = b
7467 k = this._.modes;
7472 k = d._.previousModeData,
7476 d._.previousMode = d.mode;
7477 d._.previousModeData = n = d.getData(1);
7483 } else d._.previousModeData = d.getData(1);
7484 this._.modes[a](function() {
7629 …if (CKEDITOR.env.webkit && !this.hasFocus && (a = this.editor._.previousActive || this.getDocument…
7633 …is.hasFocus && this.getDocument().equals(CKEDITOR.document) && (this.editor._.previousScrollTop = …
7654 !this._.listeners &&
7655 (this._.listeners = []);
7658 this._.listeners.push(b);
7662 var a = this._.listeners;
7668 var a = this._.attrChanges,
7679 …b !== c && (!this._.attrChanges && (this._.attrChanges = {}), a in this._.attrChanges || (this._.a…
7766 this._.detach();
7911 a._.previousScrollTop = a.editable().$.scrollTop
7917 …null != a._.previousScrollTop && b.getDocument().equals(CKEDITOR.document) && (b.$.scrollTop = a._
8049 _: {
8072 var b = this._.editable;
8074 …arguments.length && (b = this._.editable = a ? a instanceof CKEDITOR.editable ? a : new CKEDITOR.e…
8779 d = this._.cache;
8787 b._.fakeSelection = this;
8793 var b = this._.fakeSelection,
8821_.selectionPreviousPath) || (e = this._.selectionPreviousPath && this._.selectionPreviousPath.bloc…
8906 a._.hiddenSelectionContainer = c
9031 n && CKEDITOR.env.webkit && (n = c._.previousActive &&
9032 …c._.previousActive.equals(e.getActive())) && null != c._.previousScrollTop && c._.previousScrollTo…
9145 delete c._.fakeSelection;
9146 delete c._.hiddenSelectionContainer;
9192 return !this._.savedSelection && !this._.fakeSelection || a ? (a = this.editable()) &&
9193 …yg" == this.mode ? new CKEDITOR.dom.selection(a) : null : this._.savedSelection || this._.fakeSele…
9197 …return a.getType() != CKEDITOR.SELECTION_NONE ? (!a.isLocked && a.lock(), this._.savedSelection = …
9200 var b = this._.savedSelection;
9201 return b ? (b.unlock(a), delete this._.savedSelection, !0) : !1
9204 delete this._.selectionPreviousPath
9227 this._ = {
9230 …if (b) return CKEDITOR.tools.extend(this._.cache, b._.cache), this.isFake = b.isFake, this.isLocke…
9241 …s._.cache.type = CKEDITOR.SELECTION_NONE, this._.cache.startElement = null, this._.cache.selectedE…
9273 …return void 0 !== this._.cache.nativeSel ? this._.cache.nativeSel : this._.cache.nativeSel = m ? t…
9276 var a = this._.cache;
9289 var a = this._.cache;
9394 var c = this._.cache,
9401 var a = this._.cache;
9426 var a = this._.cache;
9439 this._.cache;
9450 this._.cache.nativeSel = null;
9465 this._.cache = {};
9468 if (a && a._.fakeSelection)
9469 if (this.rev == a._.fakeSelection.rev) {
9470 delete a._.fakeSelection;
9471 var b = a._.hiddenSelectionContainer;
9479 delete a._.hiddenSelectionContainer
9492 c = b && b._.hiddenSelectionContainer;
9578 var d = this._.cache,
9588 c._.fakeSelection = this;
9668 h = this._.definition,
9762 e = this._.definition.alwaysRemoveElement;
9807 var b = this._.definition,
9821 this._.enterMode && (c.enlargeBr = this._.enterMode != CKEDITOR.ENTER_BR);
9830 c.enlargeBr = this._.enterMode != CKEDITOR.ENTER_BR;
9832 …(d.is("pre") ? ((e = this._.enterMode == CKEDITOR.ENTER_BR ? null : a.document.createElement(this.
9915 var c = this._.definition,
9922 …if ("class" != g && !this._.definition.fullMatch || a.getAttribute(g) == t(g, d[g])) b && "data-" …
9923 …for (var h in c) this._.definition.fullMatch && a.getStyle(h) != t(h, c[h], !0) || (f = f || !!a.g…
9925 f && (this._.definition.alwaysRemoveElement ?
9926 …OR.dtd.$block[a.getName()] || this._.enterMode == CKEDITOR.ENTER_BR && !a.hasAttributes() ? m(a) :…
9977 var c = b._.definition,
9994 if (a._.overrides) return a._.overrides;
9995 var b = a._.overrides = {},
9996 c = a._.definition.overrides;
10106 this._ = {
10114 var b = this._.enterMode;
10115 b || (this._.enterMode = a.activeEnterMode);
10117 this._.enterMode = b
10123 var b = this._.enterMode;
10124 b || (this._.enterMode = a.activeEnterMode);
10126 this._.enterMode = b
10171 var c = this._.definition;
10216 var b = this._.definition,
10229 return this._.definition
10250 this._ = {
10279 var b = this._.styleStateChangeCallbacks;
10280 … b || (b = this._.styleStateChangeCallbacks = [], this.on("selectionChange", function(a) {
10299 if (this._.stylesDefinitions) a(this._.stylesDefinitions);
10304 else if (b instanceof Array) d._.stylesDefinitions = b, a(b);
10311 d._.stylesDefinitions = b[c];
10312 a(d._.stylesDefinitions)
10526 b += "_" + c[f];
10653 if (a = CKEDITOR._.pending)
10654 …for (delete CKEDITOR._.pending, d = 0; d < a.length; d++) CKEDITOR.editor.prototype.constructor.ap…
10707 this._ || (this._ = {});
10708 this._["default"] = this._.initValue = b["default"] || "";
10709 this._.required = b.required || !1;
10710 for (var a = [this._], d = 1; d < arguments.length; d++) a.push(arguments[d]);
10713 return this._
10734 this._.initValue = this.getValue()
10737 this._.initValue = this._["default"]
10740 return this._.initValue
10745 this._.domOnChangeRegistered || (b.on("load", function() {
10752 }, this), this._.domOnChangeRegistered = !0);
10771 this._.children = [];
10792 }, CKEDITOR.dialog._.uiElementBuilders.hbox.build(b, g, e));
10800 var f = this._.inputId = CKEDITOR.tools.getNextId() + "_textInput",
10828 c["aria-labelledby"] = this._.labelId;
10829 this._.required &&
10830 (c["aria-required"] = this._.required);
10841 c = this._.inputId = CKEDITOR.tools.getNextId() + "_textarea",
10854 e["aria-labelledby"] = this._.labelId;
10855 this._.required && (e["aria-required"] = this._.required);
10859 … a.push("\x3e", CKEDITOR.tools.htmlEncode(f._["default"]), "\x3c/textarea\x3e\x3c/div\x3e");
10894 this._["default"] || (this._["default"] = this._.initValue = a.items[0][1]);
10925 c._["default"] == n && (r.checked = "checked");
10942 this._.children = f
10997 "aria-labelledby": this._.labelId
11052 b.getContentElement(a["for"][0], a["for"][1])._.buttons.push(f)
11086 this._ = {
11100 var a = CKEDITOR.document.getById(this._.labelId);
11106 var b = CKEDITOR.document.getById(this._.labelId);
11113 return this._.disabled ? !1 : this.fire("click", {
11114 dialog: this._.dialog
11118 this._.disabled = !1;
11123 this._.disabled = !0;
11130 return !this._.disabled
11149 return CKEDITOR.document.getById(this._.inputId)
11201 return this._.select.getElement()
11223 return this._.checkbox.getElement()
11242 var a = this._.checkbox.getElement();
11258 …for (var d = this._.children, f, c = 0; c < d.length && (f = d[c]); c++) f.getElement().$.checked =
11265 for (var b = this._.children, a = 0; a < b.length; a++)
11270 var b = this._.children,
11283 …this._.children, b = this, c = 0; c < a.length; c++) a[c].getElement().on("propertychange", functi…
11297 var b = CKEDITOR.document.getById(this._.frameId).getFrameDocument();
11317 …ventProcessors[c] ? this.eventProcessors[c].call(this, this._.dialog, b[c]) : f(this, this._.dialo…
11332 var a = this._,
11338 g = a.dialog._.editor.lang.dir,
11339 k = a.dialog._.editor.langCode;
11344 }, this), this.getDialog()._.editor.on("destroy", function() {
11354 this._.initValue = ""
11358 this._.domOnChangeRegistered || (this.on("formLoaded", function() {
11364 }, this), this._.domOnChangeRegistered = !0);
11389 h.push(CKEDITOR.dialog._.uiElementBuilders[c.type].build(b, c, k))
11404 …for (var a = this._.tabIdList.length, b = CKEDITOR.tools.indexOf(this._.tabIdList, this._.currentT…
11405 … if (this._.tabs[this._.tabIdList[c % a]][0].$.offsetHeight) return this._.tabIdList[c % a];
11410 …for (var a = this._.tabIdList.length, b = CKEDITOR.tools.indexOf(this._.tabIdList, this._.currentT…
11411 … if (this._.tabs[this._.tabIdList[c % a]][0].$.offsetHeight) return this._.tabIdList[c % a];
11477 a._.currentFocusIndex = this.focusIndex;
11506 this._ = {
11568 G = n + (b.data.$.screenX - m.x) * (c ? -1 : 1) * (a._.moved ? 1 : 2),
11569 H = q + (b.data.$.screenY - m.y) * (a._.moved ? 1 : 2),
11570 B = a._.element.getFirst(),
11579 a._.moved || a.layout();
11654 c = CKEDITOR.dialog._.currentTop;
11660 do a = c.getPosition(), c.move(a.x, a.y); while (c = c._.parentDialog)
11691 var a = l._.focusList;
11699 var b = l._.focusList;
11702 var c = l._.currentFocusIndex;
11703 l._.tabBarMode && 0 > a && (c = 0);
11708 g = 1 < l._.pageCount;
11711 if (g && !l._.tabBarMode && (e == b.length || -1 == e)) {
11712 l._.tabBarMode = !0;
11713 l._.tabs[l._.currentTabId][0].focus();
11714 l._.currentFocusIndex = -1;
11726 if (l == CKEDITOR.dialog._.currentTop) {
11732 … CKEDITOR.ALT + 121 && !l._.tabBarMode && 1 < l.getPageCount()) l._.tabBarMode = !0, l._.tabs[l._.…
11734 …c) && l._.tabBarMode) c = -1 != CKEDITOR.tools.indexOf([d ? 39 : 37, 38], c) ? x.call(l) : A.call(…
11735 else if (13 != c && 32 != c || !l._.tabBarMode)
11741 else this.selectPage(this._.currentTabId),
11742 this._.tabBarMode = !1, this._.currentFocusIndex = -1, e(1), q = 1;
11750 var g = CKEDITOR.dialog._.dialogDefinitions[b],
11761 this._ = {
11803 if (!("removeDialogTabs" in a._) && a.config.removeDialogTabs) {
11810 } a._.removeDialogTabs = k
11812 if (a._.removeDialogTabs && (k = a._.removeDialogTabs[b]))
11830 var b = l._.contents,
11861 var y = this._.element;
11880 var b = 1 < l._.pageCount;
11881 …._.tabBarMode = !0, l._.tabs[l._.currentTabId][0].focus(), l._.currentFocusIndex = -1) : this._.ha…
11896 … b.hasClass("cke_dialog_tab") && (b = b.$.id, this.selectPage(b.substring(4, b.lastIndexOf("_"))),
11897 …this._.tabBarMode && (this._.tabBarMode = !1, this._.currentFocusIndex = -1, e(1)), a.data.prevent…
11900 k = CKEDITOR.dialog._.uiElementBuilders.hbox.build(this, {
11907 for (m = 0; m < k.length; m++) this._.buttons[k[m].id] = k[m]
11912 this._.element.remove()
11916 this._.contentSize && this._.contentSize.width ==
11917 a && this._.contentSize.height == b || (CKEDITOR.dialog.fire("resize", {
11921 }, this._.editor), this.fire("resize", {
11924 }, this._.editor), this.parts.contents.setStyles({
11927_.editor.lang.dir && this._.position && (this._.position.x = CKEDITOR.document.getWindow().getView…
11934 var a = this._.element.getFirst();
11941 var e = this._.element.getFirst(),
11942 d = "rtl" == this._.editor.lang.dir,
11945 … f && this._.position && this._.position.x == a && this._.position.y == b || (this._.position = {
11951 … b[d ? "right" : "left"] = (0 < a ? a : 0) + "px", e.setStyles(b), c && (this._.moved = 1))
11954 return CKEDITOR.tools.extend({}, this._.position)
11957 var a = this._.element,
11960 …this.resize(this._.contentSize && this._.contentSize.width || b.width || b.minWidth, this._.conten…
11963 this._.currentTabId && this.selectPage(this.definition.contents[0].id);
11964 …null === CKEDITOR.dialog._.currentZIndex && (CKEDITOR.dialog._.currentZIndex = this._.editor.confi…
11965 … this._.element.getFirst().setStyle("z-index", CKEDITOR.dialog._.currentZIndex += 10);
11966_.currentTop ? (CKEDITOR.dialog._.currentTop = this, this._.parentDialog = null, N(this._.editor))…
11967 2), CKEDITOR.dialog._.currentTop = this);
11970 this._.hasFocus = !1;
11974 e = this._.tabs[a.id],
11978 for (var g in this._.contents[a.id]) {
11979 var h = this._.contents[a.id][g];
11980 …e && "vbox" != h.type && h.getInputElement() && (h.requiredContent && !this._.editor.activeFilter.…
11981 … }!f || d && !this._.editor.activeFilter.check(d) ? e[0].addClass("cke_dialog_tab_disabled") :
11991 this._.editor.fire("dialogShow", this);
11992 this._.parentDialog || this._.editor.focusManager.lock();
12006 … this.move(this._.moved ? this._.position.x : e, this._.moved ? this._.position.y : d)
12009 for (var b in this._.contents)
12010 for (var c in this._.contents[b]) a.call(this, this._.contents[b][c]);
12031 … CKEDITOR.env.ie && this._.currentFocusIndex == b.focusIndex && b.getInputElement().$.blur();
12038 this._.editor.fire("dialogHide", this);
12039 this.selectPage(this._.tabIdList[0]);
12040 var a = this._.element;
12044 … for (ba(this); CKEDITOR.dialog._.currentTop != this;) CKEDITOR.dialog._.currentTop.hide();
12045 if (this._.parentDialog) {
12046 var b = this._.parentDialog.getElement().getFirst();
12047 …b.setStyle("z-index", parseInt(b.$.style.zIndex, 10) + Math.floor(this._.editor.config.baseFloatZI…
12048 } else O(this._.editor);
12049 … if (CKEDITOR.dialog._.currentTop = this._.parentDialog) CKEDITOR.dialog._.currentZIndex -= 10;
12051 CKEDITOR.dialog._.currentZIndex = null;
12054 var c = this._.editor;
12061 delete this._.parentDialog;
12069 if (!a.requiredContent || this._.editor.filter.check(a.requiredContent)) {
12070 …\x3d"' + CKEDITOR.tools.htmlEncode(a.label) + '"' : "", e = CKEDITOR.dialog._.uiElementBuilders.vb…
12077 …}, b), d = this._.contents[a.id] = {}, f = e.getChild(), g = 0; e = f.shift();) e.notAllowed || "h…
12082 d = "cke_" + a.id + "_" + CKEDITOR.tools.getNextNumber();
12084 …0 < this._.pageCount ? " cke_last" : "cke_first", c, a.hidden ? ' style\x3d"display:none"' : "", '…
12087 this._.tabs[a.id] = [c, b];
12088 this._.tabIdList.push(a.id);
12089 !a.hidden && this._.pageCount++;
12090 this._.lastTab = c;
12097 … (S(this, this, "CTRL+" + a.accessKey, ca, da), this._.accessKeyMap["CTRL+" + a.accessKey] = a.id)
12101 …if (this._.currentTabId != a && !this._.tabs[a][0].hasClass("cke_dialog_tab_disabled") && !1 !== t…
12103 currentPage: this._.currentTabId
12105 for (var b in this._.tabs) {
12106 var c = this._.tabs[b][0],
12107 e = this._.tabs[b][1];
12111 var d = this._.tabs[a];
12117 this._.currentTabId = a;
12118 this._.currentTabIndex = CKEDITOR.tools.indexOf(this._.tabIdList, a)
12122 … this.parts.dialog[(1 === this._.pageCount ? "add" : "remove") + "Class"]("cke_single_page")
12125 var b = this._.tabs[a] && this._.tabs[a][0];
12126 …b && 1 != this._.pageCount && b.isVisible() && (a == this._.currentTabId && this.selectPage(x.call…
12130 … this._.tabs[a] && this._.tabs[a][0]) a.show(), this._.pageCount++, this.updateStyle()
12133 return this._.element
12136 return this._.name
12139 var c = this._.contents[a];
12149 return this._.buttons[a]
12152 return this._.buttons[a].click()
12155 return this._.buttons[a].disable()
12158 return this._.buttons[a].enable()
12161 return this._.pageCount
12164 return this._.editor
12170 …if ("undefined" == typeof b) b = this._.focusList.length, this._.focusList.push(new L(this, a, b));
12172 this._.focusList.splice(b, 0, new L(this, a, b));
12173 … for (var c = b + 1; c < this._.focusList.length; c++) this._.focusList[c].focusIndex++
12205 … this._.dialogDefinitions[a] && "function" != typeof b || (this._.dialogDefinitions[a] = b)
12208 return !!this._.dialogDefinitions[a]
12211 return CKEDITOR.dialog._.currentTop
12271 this._.uiElementBuilders[a] = b
12274 CKEDITOR.dialog._ = {
12382 a._.accessKeyMap[b] && a.selectPage(a._.accessKeyMap[b])
12417 (this._ || (this._ = {})).dialog = a;
12445 a._.tabBarMode = !1;
12446 a._.hasFocus = !0;
12457 ….keyboardFocusable && (this.tabIndex = b.tabIndex || 0, this.focusIndex = a._.focusList.push(this)…
12458 a._.currentFocusIndex = t.focusIndex
12464 this._ || (this._ = {});
12465 var f = this._.children = b,
12499 this._ || (this._ = {});
12500 var f = this._.children = b,
12541 return this._.dialog
12561 this._.dialog._.currentTabId != a && this._.dialog.selectPage(a);
12577 …ventProcessors[d] ? this.eventProcessors[d].call(this, this._.dialog, a[d]) : e(this, this._.dialo…
12617 if (1 > arguments.length) return this._.children.concat();
12619 …return 2 > a.length ? this._.children[a[0]] : this._.children[a[0]] && this._.children[a[0]].getCh…
12629 h.push(CKEDITOR.dialog._.uiElementBuilders[f.type].build(a, f, m))
12724 for (var b; b = CKEDITOR.dialog._.currentTop;) b.hide();
12728 a = a.editor._.storedDialogs;
12735 e = CKEDITOR.dialog._.dialogDefinitions[a];
12736 null === CKEDITOR.dialog._.currentTop && N(this);
12737 …if ("function" == typeof e) c = this._.storedDialogs || (this._.storedDialogs = {}), c = c[a] || (…
12741 …"function" != typeof CKEDITOR.dialog._.dialogDefinitions[a] && (CKEDITOR.dialog._.dialogDefinition…
13128 … b != (a._.selDir || a.lang.dir) && (a._.selDir = b, a.fire("contentDirChanged", b))
13364 area: b._.notificationArea
13402 b._.notificationArea = new r(b);
13417 var d = b._.notificationArea.notifications;
13607 this._ = {}
13622 q = this._.id = CKEDITOR.tools.getNextId(),
13626 this._.editor = a;
13656 a.mode && this._.state != CKEDITOR.TRISTATE_DISABLED && (n[a.mode] =
13657 this._.state)
13663 var c = CKEDITOR.document.getById(this._.id),
13701 if (this._.state == a) return !1;
13702 this._.state = a;
13703 var b = CKEDITOR.document.getById(this._.id);
13704 …OR.TRISTATE_ON ? this._.editor.lang.button.selectedLabel.replace(/%1/g, this.label) : this.label, …
13707 return this._.state
13710 if (this._.feature) return this._.feature;
13713 return this._.feature = b
13774 return a._.toolbarGroups || (a._.toolbarGroups = [{
14112 …sfer || (b.dataTransfer = p.initPasteDataTransfer()), r(a, b, h)) : e && !a._.forcePasteDialog && …
14113 a._.forcePasteDialog = !1;
14128 …Text && "allow-word" !== a.config.forcePasteAsPlainText ? a._.nextPasteType = h : delete a._.nextP…
14324 a._.forcePasteDialog = !0
14330 … a._.pasteButtons && CKEDITOR.tools.array.forEach(a._.pasteButtons, function(b) {
14332 … if (b = CKEDITOR.document.getById(b._.id)) b.on("touchend", function() {
14333 a._.forcePasteDialog = !0
14358 a._.pasteButtons || (a._.pasteButtons = []);
14359 a._.pasteButtons.push("Paste")
14387 !1 === y() && (a.removeListener("paste", d), a._.forcePasteDialog &&
14391 a.data._.committed || c(null)
14624 var d = a._.nextPasteType || b.type,
14630 delete a._.nextPasteType;
14664 a.ui.addButton && (a.ui.addButton(b, c), a._.pasteButtons ||
14665 (a._.pasteButtons = []), a._.pasteButtons.push(b))
14798 this._ = {
14811 this._.fallbackDataTransfer = new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);
14821 a = this._.normalizeType(a);
14822 var c = "text/html" == a && b ? this._.nativeHtmlCache : this._.data[a];
14824 … if (this._.fallbackDataTransfer.isRequired()) c = this._.fallbackDataTransfer.getData(a, b);
14838 a = this._.normalizeType(a);
14839 …"text/html" == a ? (this._.data[a] = this._stripHtml(b), this._.nativeHtmlCache = b) : this._.data…
14841 …if ("Text" == m && "Text" == a && (this.id = b), this._.fallbackDataTransfer.isRequired()) this._.…
14855 a = b._.normalizeType(a);
14857 … "text/html" == a && (b._.nativeHtmlCache = b.getData(a, !0), c = b._stripHtml(c));
14858 c && (b._.data[a] = c)
14870 this._.files = [];
14872 … for (c = 0; c < this.$.files.length; c++) this._.files.push(this.$.files[c]);
14873 0 === this._.files.length && d && this._.files.push(d)
14878 …return this._.files.length ? this._.files.length : this.$ && this.$.files && this.$.files.length ?…
14881 …return this._.files.length ? this._.files[a] : this.$ && this.$.files && this.$.files.length ? thi…
14888 CKEDITOR.tools.array.forEach(CKEDITOR.tools.objectKeys(this._.data), function(b) {
14910 a = a.replace(this._.metaRegExp, "");
14911 var b = this._.bodyRegExp.exec(a);
14912 b && b.length && (a = b[1], a = a.replace(this._.fragmentRegExp, ""))
14952 g.setData(a, d), c && (this._dataTransfer._.nativeHtmlCache = d)
14961 …Comment(c, e), g.setData(this._customDataFallbackType, d), this._dataTransfer._.nativeHtmlCache = d
14970 var c = this._dataTransfer._.data;
14979 var a = this._dataTransfer._.data[this._customDataFallbackType];
14987 c = this._dataTransfer._.data;
15020 var a = this._;
15021 …tePanel(c), a.on ? a.panel.hide() : a.panel.showBlock(this._.id, this.document.getById(this._.id),…
15035 this._ = {
15048 var a = this._;
15050 var f = this._.panelDefinition,
15051 e = this._.panelDefinition.block,
15053 d = this._.panel = new CKEDITOR.ui.floatPanel(c, g, f),
15104 this._ = {
15120 var a = this._.holder;
15143 …this._.onKeyDown && !1 === this._.onKeyDown(b) ? a.data.preventDefault() : (27 == b || b == ("rtl"…
15149 this._.holder = a
15175 …b = this._.blocks[a] = b instanceof CKEDITOR.ui.panel.block ? b : new CKEDITOR.ui.panel.block(this…
15177 this._.currentBlock || this.showBlock(a);
15181 return this._.blocks[a]
15184 a = this._.blocks[a];
15185 var b = this._.currentBlock,
15186 …e = !this.forceIFrame || CKEDITOR.env.ie ? this._.holder : this.document.getById(this.id + "_frame…
15188 this._.currentBlock = a;
15190 a._.focusIndex = -1;
15191 this._.onKeyDown = a.onKeyDown && CKEDITOR.tools.bind(a.onKeyDown, a);
15218 this._.focusIndex = -1;
15221 _: {
15223 … -1 != a && (a = this.element.getElementsByTag("a").getItem(this._.focusIndex =
15229 }, e = this._.getItems(), d, c, f = e.count() - 1; 0 <= f; f--)
15230 …if (d = e.getItem(f), d.getAscendant(b) || (c = d, this._.focusIndex = f), "true" == d.getAttribut…
15232 this._.focusIndex = f;
15251 … for (var d = this._.focusIndex, e = this.element.getElementsByTag("a"), c; c = e.getItem(++d);)
15253 this._.focusIndex = d;
15256 … } return c || b ? !1 : (this._.focusIndex = -1, this.onKeyDown(a,
15259 d = this._.focusIndex;
15262 this._.focusIndex = d;
15268 … return c || b ? !1 : (this._.focusIndex = e.count(), this.onKeyDown(a, 1));
15271 …return d = this._.focusIndex, (c = 0 <= d && this.element.getElementsByTag("a").getItem(d)) && (c.…
15307 this._ = {
15326 return this._.panel.addBlock(a, b)
15329 return this._.panel.addListBlock(a,
15333 return this._.panel.getBlock(a)
15336 var n = this._.panel,
15338 this._.showBlockParams = [].slice.call(arguments);
15340 var e = this._.editor.editable();
15341 … this._.returnFocus = e.hasFocus ? e : new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement);
15342 this._.hideTimeout = 0;
15344 e = this._.iframe,
15347 r = this._.parentElement.getPositionedAncestor(),
15353 q = "rtl" == this._.dir,
15358 this._.panel._.offsetParentId = b.getId();
15366 this._.editor.focusManager.add(e);
15367 this._.blurSet || (CKEDITOR.event.useCapture = !0, e.on("blur", function(a) {
15369 delete this._.returnFocus;
15372 …T_PHASE_AT_TARGET && this.visible && !this._.activeChild && (CKEDITOR.env.iOS ? this._.hideTimeout…
15374 this._.focused = !0;
15378 clearTimeout(this._.hideTimeout)
15380 this._.hideTimeout = 0;
15383 this._.blurSet = 1);
15400 … n._.currentBlock.element.setStyle("display", "none").removeStyle("display")
15436 … k.markFirstDisplayed ? k.markFirstDisplayed() : k._.markFirstDisplayed()
15438 k._.markFirstDisplayed();
15439 this._.editor.fire("panelShow", this)
15446 var a = this._.showBlockParams;
15447 … this.visible && this._.showBlockParams && (this.hide(), this.showBlock.apply(this, a))
15452 a && !a.equals(this._.iframe) && a.$.blur()
15453 }(this._.lastFocused || this._.iframe.getFrameDocument().getWindow()).focus()
15457 this._.iframe.getFrameDocument().getActive();
15458 a && a.is("a") && (this._.lastFocused = a)
15463 … CKEDITOR.env.gecko && this._.iframe.getFrameDocument().$.activeElement.blur();
15467 …if (a = a && this._.returnFocus) CKEDITOR.env.webkit && a.type && a.getWindow().$.focus(), a.focus…
15468 delete this._.lastFocused;
15469 this._.showBlockParams =
15471 this._.editor.fire("panelHide", this)
15475 var b = this._.panel;
15480 …if (this._.activeChild != a || a._.panel._.offsetParentId != c.getId()) this.hideChild(), a.onHide…
15482 this._.focused || this.hide()
15484 …}, this), this._.activeChild = a, this._.focused = !1, a.showBlock(b, c, f, h, g), this.blur(), (C…
15490 var b = this._.activeChild;
15491 b && (delete b.onHide, delete this._.activeChild, b.hide(), a && this.focus())
15560 …!1 !== l.colorButton_enableAutomatic && this._.panel._.iframe.getFrameDocument().getById(m).setSty…
15573 b = q._.getItems();
15732 … if (b._.storedDialogs && b._.storedDialogs.colordialog) e(b._.storedDialogs.colordialog);
15781 …for (var h = l.config.menu_groups.split(","), r = l._.menuGroups = {}, t = l._.menuItems = {}, n =…
15815 b = this._.definition = b || {};
15819 this._.listeners = [];
15820 this._.level = b.level || 1;
15823 level: this._.level - 1,
15828 this._.panelDefinition =
15831 _: {
15836 m = this._.listeners;
15854 b ? b._.panel.hideChild(1) :
15862 var b = this._.subMenu,
15865 …b ? b.removeAll() : (b = this._.subMenu = new CKEDITOR.menu(this.editor, CKEDITOR.tools.extend({},…
15866 level: this._.level + 1
15867 … }, !0)), b.parent = this, b._.onClick = CKEDITOR.tools.bind(this._.onClick, this));
15872 … var k = this._.panel.getBlock(this.id).element.getDocument().getById(this.id +
15877 } else this._.panel.hideChild(1)
15889 if (!this.parent && (this._.onShow(), !this.items.length)) return;
15893 e = this._.panel,
15894 f = this._.element;
15896 …e = this._.panel = new CKEDITOR.ui.floatPanel(this.editor, CKEDITOR.document.getBody(), this._.pan…
15898 if (!1 === this._.onEscape(a)) return !1
15901 … e._.panel.getHolderElement().getParent().addClass("cke").addClass("cke_reset_all")
15904 this._.onHide && this._.onHide()
15906 f = e.addBlock(this.id, this._.panelDefinition.block);
15917 f = this._.element = f.element;
15921 this._.itemOverFn = CKEDITOR.tools.addFunction(function(a) {
15922 clearTimeout(this._.showSubTimeout);
15923 …this._.showSubTimeout = CKEDITOR.tools.setTimeout(this._.showSubMenu, k.config.menu_subMenuDelay |…
15925 this._.itemOutFn = CKEDITOR.tools.addFunction(function() {
15926 clearTimeout(this._.showSubTimeout)
15928 this._.itemClickFn = CKEDITOR.tools.addFunction(function(a) {
15931 else if (b.getItems) this._.showSubMenu(a);
15932 else this._.onClick(b)
15945 …this.parent ? this.parent._.panel.showAsChild(e, this.id, a, b, d, m) : e.showBlock(this.id, a, b,…
15949 this._.listeners.push(a)
15952 this._.onHide && this._.onHide();
15953 this._.panel && this._.panel.hide(a)
15961 element: this._.element.findOne("." + b.className)
15972 this.group = a._.menuGroups[this.group];
16004 hoverFn: a._.itemOverFn,
16005 moveOutFn: a._.itemOutFn,
16006 clickFn: a._.itemClickFn,
16157 … c && (b = CKEDITOR.document.getById(c._.id), d.attachListener(b, "dblclick", function() {
16346 …for (c = 0; c < a.length; c++) e = a[c]._.definition, -1 !== CKEDITOR.tools.indexOf(CKEDITOR.plugi…
16371 …for (b.element = b._.definition.element = "span", g = 0; g < c.length; g++) b._.definition.attribu…
16618 m, h = a._.elementsPath,
16692 …(a = CKEDITOR.document.getById(a._.elementsPath.idBase + "0")) && a.focus(CKEDITOR.env.ie || CKEDI…
16703 a._.elementsPath = {
16704 idBase: "cke_elementspath_" + CKEDITOR.tools.getNextNumber() + "_",
17216 b._.filebrowserSe = this;
17222 c.CKEditorFuncNum = b._.filebrowserFn;
17238 a.getParentEditor()._.filebrowserSe = this;
17245 c.CKEditorFuncNum = a._.filebrowserFn;
17308 var d = this._.filebrowserSe.getDialog(),
17309 c = this._.filebrowserSe["for"],
17310 e = this._.filebrowserSe.filebrowser.onSelect;
17312 if ("function" != typeof b || !1 !== b.call(this._.filebrowserSe))
17313 if (!e || !1 !== e.call(this._.filebrowserSe, a, b))
17314 …if ("string" == typeof b && b && alert(b), a && (c = this._.filebrowserSe, d = c.getDialog(), c = …
17321 a._.filebrowserFn = CKEDITOR.tools.addFunction(m, a);
17323 CKEDITOR.tools.removeFunction(this._.filebrowserFn)
17657 this._.pendingHtml = [];
17658 this._.pendingList = [];
17659 this._.items = {};
17660 this._.groups = {}
17662 _: {
17664 if (this._.started) {
17666 items: this._.pendingList.join("")
17668 this._.pendingList = [];
17669 this._.pendingHtml.push(a);
17670 delete this._.started
17674 this._.click ||
17675 (this._.click = CKEDITOR.tools.addFunction(function(a) {
17679 return this._.click
17685 this._.started || (this._.started = 1, this._.size = this._.size || 0);
17686 this._.items[a] = d;
17693 clickFn: this._.getClick(),
17697 this._.pendingList.push(g.output(a))
17700 this._.close();
17702 this._.groups[a] = b;
17703 this._.pendingHtml.push(h.output({
17709 this._.close();
17710 this.element.appendHtml(this._.pendingHtml.join(""));
17711 delete this._.size;
17712 this._.pendingHtml = []
17720 … var b = (a = this.element.getDocument().getById(this._.groups[a])) && a.getNext();
17725 … this.element.getDocument().getById(this._.items[a]).setStyle("display", "none")
17728 var a = this._.items,
17729 b = this._.groups,
17737 a = this._.items[a];
17745 this._.markFirstDisplayed(function() {
17751 a = this._.items[a];
17758 var a = this._.items,
17769 … return this.element.getDocument().getById(this._.items[a]).hasClass("cke_selected")
17772 this._.focusIndex = -1;
17776 … for (c = this.element.getDocument().getById(this._.items[a]).getFirst(); a = b.getItem(++d);) {
17778 this._.focusIndex = d;
17824 this._ = {
17860 var c = d._;
17913 if (!this._.panel) {
17914 var b = this._.panelDefinition,
17915 c = this._.panelDefinition.block,
17924 d._.on = 1;
17931 d._.on = 0;
17941 this._.panel = e;
17942 this._.list = b;
17944 d._.on = 0;
17951 this._.value = a;
17957 return this._.value || ""
17960 this._.list.unmarkAll()
17963 this._.list.mark(a)
17966 this._.list.hideItem(a)
17969 this._.list.hideGroup(a)
17972 this._.list.showAll()
17975 this._.items[a] = c || a;
17976 this._.list.add(a, b, c)
17979 this._.list.startGroup(a)
17982 … this._.committed || (this._.list.commit(), this._.committed = 1, CKEDITOR.ui.fire("ready", this));
17983 this._.committed = 1
17986 if (this._.state != a) {
17990 this._.state = a
17994 return this._.state
17997 this._.state == CKEDITOR.TRISTATE_DISABLED && this.setState(this._.lastState)
18000 this._.state !=
18001 …CKEDITOR.TRISTATE_DISABLED && (this._.lastState = this._.state, this.setState(CKEDITOR.TRISTATE_DI…
18030 k[q]._.definition.name = q
18383 …if (!a.filter.customConfig || a.filter.check(k)) m++, d[h] = k, d[h]._.enterMode = a.config.enterM…
18511 this._.indent = 0;
18512 this._.indentation = "";
18513 this._.inPre = 0;
18514 this._.rules = {};
18547 var a = this._.rules[b];
18548 … this._.afterCloser && a && a.needsSpace && this._.needsSpace && this._.output.push("\n");
18549 …this._.indent ? this.indentation() : a && a.breakBeforeOpen && (this.lineBreak(), this.indentation…
18550 this._.output.push("\x3c", b);
18551 this._.afterCloser = 0
18554 var c = this._.rules[b];
18555_.output.push(this.selfClosingEnd), c && c.breakAfterClose && (this._.needsSpace = c.needsSpace)) …
18557 "pre" == b && (this._.inPre = 1)
18561 this._.output.push(" ", b, '\x3d"', a, '"')
18565 this._.rules[b];
18566 … a && a.indent && (this._.indentation = this._.indentation.substr(this.indentationChars.length));
18567 …this._.indent ? this.indentation() : a && a.breakBeforeClose && (this.lineBreak(), this.indentatio…
18568 this._.output.push("\x3c/", b, "\x3e");
18569 "pre" == b && (this._.inPre = 0);
18570 a && a.breakAfterClose && (this.lineBreak(), this._.needsSpace = a.needsSpace);
18571 this._.afterCloser = 1
18574 … this._.indent && (this.indentation(), !this._.inPre && (b = CKEDITOR.tools.ltrim(b)));
18575 this._.output.push(b)
18578 this._.indent &&
18580 this._.output.push("\x3c!--", b, "--\x3e")
18583 … !this._.inPre && 0 < this._.output.length && this._.output.push(this.lineBreakChars);
18584 this._.indent = 1
18587 !this._.inPre && this._.indentation && this._.output.push(this._.indentation);
18588 this._.indent = 0
18591 this._.output = [];
18592 this._.indent = 0;
18593 this._.indentation = "";
18594 this._.afterCloser = 0;
18595 this._.inPre = 0;
18596 this._.needsSpace = 0
18599 var c = this._.rules[b];
18600 c ? CKEDITOR.tools.extend(c, a, !0) : this._.rules[b] =
18683 delete this._.isLoadingData;
18724 CKEDITOR.env.ie && (b.document.$.title = this._.docTitle);
18728 this._.isPendingFocus && (b.focus(), this._.isPendingFocus = !1);
18826 this._.frameLoadedHandler = CKEDITOR.tools.addFunction(function(a) {
18830 this._.docTitle = this.getWindow().getFrame().getAttribute("title")
18838 this._.isLoadingData = !0;
18839 b._.dataStore = {
18858 …c.contentsLanguage || b.langCode) + '"\x3e\x3chead\x3e\x3ctitle\x3e' + this._.docTitle + "\x3c/tit…
18861 …n onload(){if(!wasLoaded)window.parent.CKEDITOR.tools.callFunction(" + this._.frameLoadedHandler +…
18894 this._.isLoadingData ? this._.isPendingFocus = !0 : l.baseProto.focus.call(this)
18906 CKEDITOR.tools.removeFunction(this._.frameLoadedHandler);
19496 var a = this._,
19756 var b = c._.elementsPath && c._.elementsPath.filters;
19768 z = /^(_(?:self|top|parent|blank))$/,
21169 … f.maximize.maximize : f.maximize.minimize, d = CKEDITOR.document.getById(d._.id), d.getChild(1).s…
21507_.removeFormatRegex || (a._.removeFormatRegex = new RegExp("^(?:" + a.config.removeFormatTags.repl…
21534 for (var e = a._.removeFormatFilters || [], f = 0; f < e.length; f++)
21540 this._.removeFormatFilters || (this._.removeFormatFilters = []);
21541 this._.removeFormatFilters.push(a)
21921 … \x3d \x26gt; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a b c d e f g h i …
21982 …tionNode()) && (l = c.menuGenerator(a, m), e.showBanner("." + a.contextMenu._.definition.panel.cla…
21984 … }), a.contextMenu._.onHide = CKEDITOR.tools.override(a.contextMenu._.onHide, function(b) {
22087 if ((d || b) && a._.savedSelection) {
22088 b = a._.savedSelection.getSelectedElement();
22089 b = !b && a._.savedSelection.getRanges();
22248 e = a._.elementsPath && a._.elementsPath.filters,
22400 … var l = "scayt_suggest_" + CKEDITOR.plugins.scayt.suggestions[d].replace(" ", "_");
22421 … l = "grayt_suggest_" + CKEDITOR.plugins.scayt.suggestions[d].replace(" ", "_"), a.addCommand(l, t…
22686 c = c.removeMarkupFromString(this._.previousValue),
22696 …scayt && CKEDITOR.plugins.scayt.state.scayt[this.name] && this.scayt ? this._.previousValue = b.re…
22730 …& !c.filter.check(b))) || (b._name = h, b._.enterMode = l.enterMode, b._.type = d = b.assignedTo |…
22733 return a._.weight - b._.weight
22752 …for (f = k.length; e < f; e++) a = k[e], b = a._name, d = a._.type, d != c && (this.startGroup(g["…
22790 e = d._.type;
25061 this._ = {
25095 _: {
25116 this._ = {};
25173 var e = CKEDITOR.tools.getIndex(a._.upcasts, function(a) {
25176 0 > e && (e = a._.upcasts.length);
25177 a._.upcasts.splice(e, 0, [CKEDITOR.tools.bind(b, c), c.name, d])
25258 var d = this._.filters[a];
25259 d || (this._.filters[a] = d = {});
25267 c = a._.upcasts,
25268 d = a._.upcastCallbacks;
25358 ….$listItem) && b.is(CKEDITOR.dtd.$block) && !g.isDomNestedEditable(b) && !a._.draggedWidget.wrappe…
25361 b = a._.draggedWidget;
25501 l = f._.downcastFn && f._.downcastFn.call(f, h);
25751 this.repository._.draggedWidget = this;
25894 return a || this._.definition.name
25913 var a = this._.definition.attributes && this._.definition.attributes["class"];
25948 b._ = b._ || {};
25957 this._.upcastCallbacks.push(a)
26025 …return d ? d.hasClass("cke_widget_new") ? (a = new g(this, this._.nextId++, a, b, c), a.isInited()…
26163 …add(c), c.on("focus", H, this), CKEDITOR.env.ie && c.on("blur", G, this), c._.initialSetData = !0,…
26220 c = this._.dragHandlerOffset,
26229 }), a.fire("unlockSnapshot"), !c && a.resetDirty(), this._.dragHandlerOffset = b)
26264 this._.initialSetData ||
26266 this._.initialSetData = !1;
26497 h = a._.uploadWidgetNotificaionAggregator;
26498 …if (!h || h.isFinished()) h = a._.uploadWidgetNotificaionAggregator = new CKEDITOR.plugins.notific…