Lines Matching refs:fire

19 …R.warn=function(a,f){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_WARN&&CKEDITOR.fire("log",{type:"warn",…
20 function(a,f){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_ERROR&&CKEDITOR.fire("log",{type:"error",errorC…
58 …(){var a=function(a,b){return function(c){"undefined"!=typeof CKEDITOR&&a.fire(b,new CKEDITOR.dom.…
190 …!this.checkAllowed())return!1;this.editorFocus&&a.focus();return!1===this.fire("exec")?!0:!1!==f.e…
191 ….enable();this.modes&&!this.modes[a.mode]&&this.disable();return!1===this.fire("refresh",{editor:a…
192 …s.checkAllowed())return!1;this.previousState=this.state;this.state=a;this.fire("state");return!0},…
228fire("focus"))},lock:function(){this._.locked=1},unlock:function(){delete this._.locked},blur:func…
231 f=this.keystrokes[e],k=this._.editor;a=!1===k.fire("key",{keyCode:e,domEvent:b});a||(f&&(a=!1!==k.e…
236 …ready registered.');var b=this.registered[a]=f||{};b.name=a;b.path=this.getPath(a);CKEDITOR.fire(a+
244 …stanceReady",function(){this.config.startupFocus&&this.focus()});CKEDITOR.fire("instanceCreated",n…
249 …ementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.getDirection(1):a.lang.dir);a.fire("langLoaded");
250 g(a)})}function g(a){a.getStylesSet(function(b){a.once("loaded",function(){a.fire("stylesSet",{styl…
253 1;a.status="loaded";a.fireOnce("loaded");CKEDITOR.fire("instanceLoaded",null,a)})})}function p(){va…
255 …ion(){function a(b){c.updateElement();c._.required&&!d.getValue()&&!1===c.fire("required")&&b.data…
256fire("beforeDestroy");!a&&p.call(this);this.editable(null);this.filter&&(this.filter.destroy(),del…
257fire("beforeCommandExec",d)&&(d.returnValue=c.exec(d.commandData),!c.async&&!1!==this.fire("afterC…
258fire("getData",b);return b.dataValue},getSnapshot:function(){var a=this.fire("getSnapshot");"strin…
259fire("saveSnapshot");if(e||!c)this.once("dataReady",function(a){!c&&d&&this.fire("saveSnapshot");e…
260 …a,mode:b,range:c})},insertText:function(a){this.fire("insertText",a)},insertElement:function(a){th…
261 b));b||this.getSelection().selectRanges([d[0]]);return a?e.getHtml():e},focus:function(){this.fire(…
262 …on(a){a||(a=this.filter);this.activeFilter!==a&&(this.activeFilter=a,this.fire("activeFilterChange…
263 …ShiftEnterMode!=b)this.activeEnterMode=a,this.activeShiftEnterMode=b,this.fire("activeEnterModeCha…
317 …nce=a,CKEDITOR.fire("currentInstance"))});a.on("blur",function(){CKEDITOR.currentInstance==a&&(CKE…
318fire("instance",null,a)},CKEDITOR.remove=function(a){delete CKEDITOR.instances[a.name]},function()…
319 CKEDITOR.fire("reset")}),CKEDITOR.TRISTATE_ON=1,CKEDITOR.TRISTATE_OFF=2,CKEDITOR.TRISTATE_DISABLED=…
320fire("uiReady");b.editable(a);b.container=a;b.ui.contentsElement=a;b.setData(b.getData(1));b.reset…
321 …a.getAttribute("contenteditable")&&(f={element:a,config:{}},!1!==CKEDITOR.fire("inline",f)&&CKEDIT…
323fire("instanceReady",null,d)})});d.on("destroy",f);return d}function f(){var a=this.container,b=th…
324 html:""}).html,h=a.fire("uiSpace",{space:"bottom",html:""}).html,m=new CKEDITOR.template('\x3c{oute…
328fire("beforeSetMode",a);if(f.mode){var d=f.checkDirty(),k=f._.previousModeData,h,m=0;f.fire("befor…
329 f.resetDirty();m?f.fire("unlockSnapshot"):"wysiwyg"==a&&f.fire("saveSnapshot");setTimeout(function(…
330 …),0);b=f?b+g:b;h.setStyle("height",d+"px");m&&(m.style.width="100%");this.fire("resize",{outerHeig…
335 …{var b=a.editor;b.getSelection().scrollIntoView();setTimeout(function(){b.fire("saveSnapshot")},0)…
339 …lainTextToHtml(a,b)},insertHtml:function(a,b,c){var d=this.editor;d.focus();d.fire("saveSnapshot");
340fire("afterInsertHtml",{})},insertHtmlIntoRange:function(a,b,c){q(this,c||"html",a,b);this.editor.
343 …ialSelection();"unloaded"==this.status&&(this.status="ready");this.editor.fire("dataReady")},getDa…
355fire("saveSnapshot"),f.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START),e.remove(),f.select(),a.fi…
356 …(g))?(a.fire("saveSnapshot"),f["moveToElementEdit"+(c?"End":"Start")](u),f.checkStartOfBlock()&&f.…
357 …lick",function(b){if(a.readOnly)return!1;b={element:b.data.getTarget()};a.fire("doubleclick",b)});…
360 …MENT&&g.is("hr")){a.fire("saveSnapshot");g.remove();b=!0;break a}}d=d.startPath().block;if(!d||d&&…
361fire("saveSnapshot"),(e=f.getBogus())&&e.remove(),c.enlarge(CKEDITOR.ENLARGE_INLINE),c.deleteConte…
362 …"stylesheet_ref"),b.removeCustomData("stylesheet").remove())}}this.editor.fire("contentDomUnload")…
364fire("lockSnapshot"),a(b),c.fire("unlockSnapshot"),!d&&c.resetDirty())}})});CKEDITOR.on("instanceC…
398 …Sel=null;this.isFake=1;this.rev=v++;c._.fakeSelection=this;B=!1;this.root.fire("selectionchange")}…
399 …his.getSelection(1),!b||b.getType()==CKEDITOR.SELECTION_NONE))return;this.fire("selectionCheck",b)…
400 …iousActive=this.document.getActive()),this._.selectionPreviousPath=c,this.fire("selectionChange",{…
403 …op:0;left:-1000px")+'"\x3e'+(b||"\x26nbsp;")+"\x3c/div\x3e",a.document);a.fire("lockSnapshot");a.e…
404 e.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);d.selectRanges([e]);g.removeListener();a.fire("unlockSna…
407 …tEditablePosition(b.selected,!a));e&&c.getSelection().selectRanges([d]);c.fire("saveSnapshot");b.s…
408 c.fire("saveSnapshot");return!1}}var c=a(),d=a(1);return{37:c,38:c,39:d,40:d,8:b(),46:b(1)}}();CKED…
417 …CustomData("cke-fillingChar");c&&(c.getCustomData("ready")?(g(a),a.editor.fire("selectionCheck")):…
433 a.checkDirty();a.fire("lockSnapshot");b.remove();a.fire("unlockSnapshot");!c&&a.resetDirty()}delete…
439 …tainer.$,d.endOffset);else throw w;}l.addRange(x)}}this.reset();this.root.fire("selectionchange")}…
440 …ativeSel=null;this.isFake=1;this.rev=v++;c._.fakeSelection=this;this.root.fire("selectionchange")}…
495 …getInputElement().on("change",function(){a.parts.dialog.isVisible()&&this.fire("change",{value:thi…
513 typeof v?v:u).call(this);this.fire("focus")};e.isFocusable&&(this.isFocusable=this.isFocusable);thi…
515 …ITOR.ui.dialog.uiElement,{click:function(){return this._.disabled?!1:this.fire("click",{dialog:thi…
520 …ent()},setValue:function(a,b){this.getInputElement().$.checked=a;!b&&this.fire("change",{value:a})…
521 …n("propertychange",function(b){b=b.data.$;"checked"==b.propertyName&&this.fire("change",{value:a.$…
522 d.getValue()==a;!b&&this.fire("change",{value:a})},getValue:function(){for(var a=this._.children,b=…
523 …ange",function(a){a=a.data.$;"checked"==a.propertyName&&this.$.checked&&b.fire("change",{value:thi…
527 …de;f||(f=this.formLoadedNumber=CKEDITOR.tools.addFunction(function(){this.fire("formLoaded")},this…
528 …formLoaded",function(){this.getInputElement().on("change",function(){this.fire("change",{value:thi…
532 …nvalid",!0));a||(this.select?this.select():this.focus());b&&alert(b);this.fire("validated",{valid:…
535 …stroke()in{32:1,13:1}&&this.fire("click")});b.on("focus",function(){this.fire("mouseover")});b.on(…
550 …his.getButton("cancel"))?CKEDITOR.tools.setTimeout(d.click,0,d):!1!==this.fire("cancel",{hide:!0})…
552fire("ariaWidget",this.parts.contents)},0,this);p={position:CKEDITOR.env.ie6Compat?"absolute":"fix…
553 …ow);if(x.onHide)this.on("hide",x.onHide);if(x.onOk)this.on("ok",function(a){b.fire("saveSnapshot");
554 setTimeout(function(){b.fire("saveSnapshot")},0);!1===x.onOk.call(this,a)&&(a.data.hide=!1)});this.…
555 …=!1),!0})},this,null,0);this.parts.close.on("click",function(a){!1!==this.fire("cancel",{hide:!0})…
559 …_.contentSize.height==b||(CKEDITOR.dialog.fire("resize",{dialog:this,width:a,height:b},this._.edit…
564 …lity","");this.fireOnce("load",{});CKEDITOR.ui.fire("ready",this);this.fire("show",{});this._.edit…
566 …})},hide:function(){if(this.parts.dialog.isVisible()){this.fire("hide",{});this._.editor.fire("dia…
571 !1!==this.fire("selectPage",{page:a,currentPage:this._.currentTabId})){for(var c in this._.tabs){va…
575 …ts.spinner&&this.parts.spinner.hide(),this.getButton("ok").enable());this.fire("state",a)}}};CKEDI…
576 …g.common.ok,"class":"cke_dialog_ui_button_ok",onClick:function(a){a=a.data.dialog;!1!==a.fire("ok",
577 …:"cke_dialog_ui_button_cancel",onClick:function(a){a=a.data.dialog;!1!==a.fire("cancel",{hide:!0})…
586 …ction(){a._.tabBarMode=!1;a._.hasFocus=!0;v.fire("focus");c&&this.addClass(c)});b.on("blur",functi…
591 …ialog},setValue:function(a,b){this.getInputElement().setValue(a);!b&&this.fire("change",{value:a})…
610 ….editable()).getDirection(1);c!=(a._.selDir||a.lang.dir)&&(a._.selDir=c,a.fire("contentDirChanged"…
613 ….apply(this,arguments),h!=this.getDirection(1)))return this.getDocument().fire("dirChanged",this),…
614 …20);a.on("contentDom",function(){a.document.on("dirChanged",function(b){a.fire("dirChanged",{node:…
642 b.getFirst().setText(h?"▲":"◀");d.setStyle("height",f-(e.$.offsetHeight-g)+"px");a.fire("resize",{o…
647 …itor.fire("notificationShow",{notification:this})&&(this.area.add(this),this._hideAfterTimeout())}…
649 this.duration=a.duration;this._hideAfterTimeout()},hide:function(){!1!==this.editor.fire("notificat…
657fire("beforePaste",b)||!b.dataValue&&b.dataTransfer.isEmpty())return!1;b.dataValue||(b.dataValue="…
660 …f&&b.showNotification(k,"info",b.config.clipboard_notificationDuration);b.fire("afterCommandExec",…
663 …n")){var k=b.getSelection(),m=k.createBookmarks();CKEDITOR.env.ie&&k.root.fire("selectionchange");…
666 …steEvent)return b.fire("beforePaste",{type:"auto",method:"paste"}),!1;b.focus();f();var a=b.focusM…
667fire("beforepaste");break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:b.fire("saveSnapshot"),setT…
668 …etCommand("copy").setState(y("copy"));b.getCommand("paste").setState(a);b.fire("pasteState",a)}}fu…
675 …Editor.fire("saveSnapshot");f.sourceEditor.editable().extractHtmlFromRange(c);f.sourceEditor.getSe…
676 …$,target:a.data.getTarget()};c&&(e.dragRange=c);d&&(e.dropRange=d);!1===b.fire(a.name,e)&&a.data.p…
681 …\x3e';a.fire("paste",b.data)},!1);e.addEventListener("abort",function(){a.fire("paste",b.data)},!1…
686 …aValue&&(a.insertHtml(b.dataValue,b.type,b.range),setTimeout(function(){a.fire("afterPaste")},0))}…
689 …b,c,d,e){var f=CKEDITOR.plugins.clipboard,h=e.editable(),k,m;e.fire("saveSnapshot");e.fire("lockSn…
690 …nge();c.moveToBookmark(f);a(e,{dataTransfer:d,method:"drop",range:c},1);e.fire("unlockSnapshot")},…
709 …ment.getById(this.id+"_frame");b&&b.hide();this._.currentBlock=a;CKEDITOR.fire("ariaWidget",f);a._…
722 …rstDisplayed?m.markFirstDisplayed():m._.markFirstDisplayed();this._.editor.fire("panelShow",this)},
724 …cus();delete this._.lastFocused;this._.showBlockParams=null;this._.editor.fire("panelHide",this)}}…
727 …element.getDocument().getBody().setStyle("overflow","hidden");CKEDITOR.ui.fire("ready",this);var f…
730 …g",function(){this.on("ok",f);this.on("cancel",f)});else{a.focus();b.hide();a.fire("saveSnapshot");
731 …yTag("a").count())||c(a)};a.applyStyle(new CKEDITOR.style(g,{color:d}))}a.fire("saveSnapshot")}});…
751 …MENT&&!b.hasAttribute("data-cke-bookmark")&&(c.element=b,a.copyFormatting.fire("extractFormatting"…
759 …endNode,f.endOffset);c.select()}b=e._filterStyles(b);if(!a.copyFormatting.fire("applyFormatting",{…
773 …(""));CKEDITOR.ui.fire("ready",this);this.parent?this.parent._.panel.showAsChild(n,this.id,b,c,d,e…
788 …,c=c.select()):(c=a.getSelection(),c.selectElement(b));CKEDITOR.env.ie&&a.fire("selectionChange",{…
792 …oin("")+'\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');a.fire("elementsPathUpdate…
794 …For("p")||(b=CKEDITOR.ENTER_BR,c=1),a.fire("saveSnapshot"),b==CKEDITOR.ENTER_BR?k(a,b,null,c):d(a,…
826 …ag:!0,flashConvertOnEdit:!1}),function(){function a(a){var e=a.config,l=a.fire("uiSpace",{space:"t…
827 …urn function(d){if(l=a.editable()){var n=d&&"focus"==d.name;n&&h.show();a.fire("floatingSpaceLayou…
849 …(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire("ready",this));this…
853 t[b].buildPreview(),b)}},onClick:function(c){a.focus();a.fire("saveSnapshot");var d=this.getValue()…
854 …anges([h])}}else a.removeStyle(g)}a[d==c?"removeStyle":"applyStyle"](e);a.fire("saveSnapshot")},on…
859 ….focus();a.fire("saveSnapshot");b=e[b];var c=a.elementPath();a[b.checkActive(c,a)?"removeStyle":"a…
886 ….jobs)c.on("exec",function(c){c.data.done||(a.fire("lockSnapshot"),b.execJob(a,e)&&(c.data.done=!0…
895 …)&&f.append(t.document.createText(" ")),f.append(C);f.insertAfter(p)}h&&a.fire("contentDomInvalida…
934 d(!0);d();k.replace(b.root);a.fire("contentDomInvalidated")}function f(a,b){this.name=a;this.contex…
935 …EDITOR.dtd.$listItem)&&CKEDITOR.dtd[a.getName()]["#"]}function l(a,d,e){a.fire("saveSnapshot");e.e…
937 …&&e.getName()in CKEDITOR.dtd.$list&&c(e);d.moveToBookmark(h);d.select();a.fire("saveSnapshot")}fun…
949 …ld(A));A++)t.getName()==this.type&&l.push(t);y.listNode.replace(n.root);h.fire("contentDomInvalida…
968 …(f));c&&e.fire("saveSnapshot");b(f);d.moveToPosition(f,CKEDITOR.POSITION_AFTER_START);e.getSelecti…
994 …lay","inline"),setTimeout(function(){w.setStyle("display","block")},0));a.fire("resize",{outerHeig…
995 …],u.selectionEnd=g[1]),u.scrollLeft=n[0],u.scrollTop=n[1]);g=n=null;t=this.state;a.fire("maximize",
996 …ata(a.config.newpage_html||"",function(){a.focus();setTimeout(function(){a.fire("afterCommandExec",
1003fire("pasteFromWord",d)||b)){l.dontFilter=!0;var m=a(f,c,function(){if(m)f.fire("paste",l);else if…
1007 …h),e=Math.round(.7*d.height),k=Math.round(.1*d.width)}catch(h){}if(!1===b.fire("contentPreview",b=…
1012 …ent")||!c(a,m)||(f.test(m.getName())?m.remove(1):(m.removeAttributes(b),a.fire("removeFormatCleanu…
1018 …"hide":"show"]()})}}}),function(){var a={readOnly:1,exec:function(a){if(a.fire("save")&&(a=a.eleme…
1020 …t&&(c=b.state.scayt[a.name]?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);a.fire("scaytButtonState",…
1029 …e in f.options.disablingCommandExec&&"wysiwyg"==a.mode?c&&(f.destroy(a),a.fire("scaytButtonState",…
1030fire("reloadMarkupScayt",{removeOptions:{removeInside:k,forceBookmark:g,language:e},timeout:0}))})…
1031 …&c.fire("removeMarkupInDocument",{}):c?f.reloadMarkup(c):"wysiwyg"==b.editor.mode&&!0===f.state.sc…
1032fire("reloadMarkupScayt",{removeOptions:{forceBookmark:!0}})},this,null,50);a.on("insertHtml",func…
1033 a.scayt.setFocused(!0);a.fire("reloadMarkupScayt")},this,null,50);a.on("scaytDialogShown",function(…
1050fire("getSuggestionsList",{lang:k,word:e}),e=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scay…
1052 …startGrammarCheck"===b&&c.removeMarkupInSelectionNode({grammarOnly:!0});c.fire(b)}}}}),CKEDITOR.pl…
1055 a.reloadMarkup?a.reloadMarkup():(this.alarmCompatibilityMessage(),f&&f.ltr&&f.rtl&&a.fire("startSpe…
1060fire("scaytButtonState",a.readOnly?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_ON)}else b.state.s…
1062 …(a){var c=a.sender&&a.sender.getParentEditor();c&&setTimeout(function(){c.fire("reloadMarkupScayt"…
1078 …OR.document.getWindow(),"resize",b,e),CKEDITOR.tools.setTimeout(b,0,e));f.fire("ariaWidget",this);…
1079 …oto:{setData:function(a){this.setValue(a);this.status="ready";this.editor.fire("dataReady")},getDa…
1080 source:1},editorFocus:!1,readOnly:1,exec:function(a){"wysiwyg"==a.mode&&a.fire("saveSnapshot");a.ge…
1085fire("saveSnapshot");b=c[b];var d=a.elementPath();if(b.group&&b.removeStylesFromSameGroup(a))a.app…
1126fire("lockSnapshot");a.editable().removeClass("cke_table-faked-selection-editor");for(d=0;d<c.coun…
1128fire("lockSnapshot");for(b=0;b<e.length;b++)e[b].addClass("cke_table-faked-selection");0<e.length&…
1131 …angDirection?"left":"right","-5000px"),m.setHtml(a.getSelectedHtml(!0)),a.fire("lockSnapshot"),n.a…
1132 …ove();d.selectBookmarks(e);t.removeListener();a.fire("unlockSnapshot");b&&(a.extractSelectedHtml()…
1134 …+)w[O].setHtml("");if(1<k.getChildCount()||!p)w[0].setHtml(k.getHtml()),g.fire("saveSnapshot");els…
1137 e(g,a(new CKEDITOR.dom.element(h[0][0]),S));g.fire("saveSnapshot");setTimeout(function(){g.fire("af…
1140 …;(e=c(l,k))?k=e:k[0].moveToElementEditablePosition(l);g.selectRanges(k);a.fire("saveSnapshot")}}}(…
1146 …ange(),this.fire("afterUndo"))},startDisabled:!0,canUndo:!1}),t=c.addCommand("redo",{exec:function…
1147 …;c.on("contentDom",k.attachListeners,k);c.on("instanceReady",function(){c.fire("saveSnapshot")});c…
1148 …do,command:"redo",toolbar:"undo,20"}));c.resetUndo=function(){g.reset();c.fire("saveSnapshot")};c.…
1149 …g=!0,this.hasRedo=!1,this.onChange());c?(f=0,this.editor.fire("saveSnapshot")):this.editor.fire("c…
1151 …Image)){if(a||b.equalsSelection(this.currentImage))return!1}else!1!==e&&f.fire("change");k.splice(…
1152 …rrentImage=this.snapshots[this.index];this.update();this.refreshState();b.fire("change")},getNextI…
1156fire("beforeUndoImage");var c=a.getSnapshot();CKEDITOR.env.ie&&c&&(c=c.replace(/\s+data-cke-expand…
1171 …this.status="ready");c.fire("contentDom");this._.isPendingFocus&&(c.focus(),this._.isPendingFocus=…
1175 …EDITOR.env.edge||CKEDITOR.env.gecko;if(m)h.on("load",f);var g=a.title,n=a.fire("ariaEditorHelpLabe…
1176 …h.setAttributes({tabIndex:a.tabIndex,allowTransparency:"true"});!m&&f();a.fire("ariaWidget",h)})}}…
1177 …(a,c){var f=this.editor;if(c)this.setHtml(a),this.fixInitialSelection(),f.fire("dataReady");else{t…
1181 …e(/(?=\s*<\/(:?head)>)/,d);this.clearCustomData();this.clearListeners();f.fire("contentDomUnload")…