Lines Matching refs:setAttribute

33 …ext:function(a,g,d){var b={};d&&(a=(new CKEDITOR.dom.element("span")).setAttribute("style",a).getA…
86 …ew RegExp("(?:^|\\s+)"+d+"(?\x3d\\s|$)"),"").replace(/^\s+/,""))?this.setAttribute("class",b):this…
88 …br")||(a=this.getDocument().createElement("br"),CKEDITOR.env.gecko&&a.setAttribute("type","_moz"),…
103 …{this.setStyles({display:"",visibility:""})},setAttribute:function(){var a=function(a,b){this.$.se…
104 …ply(this,arguments);return this}:a}(),setAttributes:function(a){for(var b in a)this.setAttribute(b,
108 …env.ie){this.setAttribute("unselectable","on");for(var a,b=this.getElementsByTag("*"),c=0,g=b.coun…
114setAttribute("aria-pressed",!0);c&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRIST…
115 …ibute(f)))a.setAttribute(f,k);else if(!CKEDITOR.env.ie||this.hasAttribute(f))k=this.getAttribute(f…
118 …0===b)return this.getAttribute(a);!1===b?this.removeAttribute(a):this.setAttribute(a,b);return nul…
140 …EDITOR.tools.getNextNumber(),b.setAttribute("id",d+(f?"C":"S")));f||(c=b.clone(),c.setHtml("\x26nb…
309 …tion(a){var c=this.toString();c&&(a instanceof CKEDITOR.dom.element?a.setAttribute("style",c):a in…
323 …mentMode==CKEDITOR.ELEMENT_MODE_REPLACE&&(b.show(),this._.required&&b.setAttribute("required","req…
338 …attrChanges,b,c;for(c in a)a.hasOwnProperty(c)&&(b=a[c],null!==b?this.setAttribute(c,b):this.remov…
339 …trChanges={}),a in this._.attrChanges||(this._.attrChanges[a]=c),this.setAttribute(a,b))},insertTe…
343 …dataProcessor.toDataFormat(b));return b},setReadOnly:function(a){this.setAttribute("contenteditabl…
363 …a.data("cke-editable",a.hasAttribute("contenteditable")?"true":"1"),a.setAttribute("contentEditabl…
460 …s,c=CKEDITOR.style.getStyleText(c);if(d)for(var e in d)a.setAttribute(e,d[e]);c&&a.setAttribute("s…
485 …(a){var b=a.getById(k);b||(b=a.getHead().append("style"),b.setAttribute("id",k),b.setAttribute("ty…
532setAttribute("value",f.getCustomData("fake_value")||""),f.removeCustomData("fake_value")):(f.setCu…
569 …;g||(a.hidden=!0);b=CKEDITOR.dom.element.createFromHtml(b.join(""));b.setAttribute("role","tabpane…
570setAttribute("aria-labelledby",e);this._.tabs[a.id]=[c,b];this._.tabIdList.push(a.id);!a.hidden&&t…
571 …abs[c][1];c!=a&&(d.removeClass("cke_dialog_tab_selected"),e.hide());e.setAttribute("aria-hidden",c…
593 …){},disable:function(){var a=this.getElement();this.getInputElement().setAttribute("disabled","tru…
607 …oveAttribute("dir"),b!=a.getComputedStyle("direction")&&a.setAttribute("dir",b)):a.setAttribute("d…
612 …ionCheck();d.selectBookmarks(v);c.focus()}}}}function c(a){var b=a==d.setAttribute,c=a==d.removeAt…
627 ….addClass("cke_"+b):d.removeClass("cke_ltr").removeClass("cke_rtl");e.setAttribute("style",CKEDITO…
629 …;return b?(b.setState(a,"cke_button"),a==CKEDITOR.TRISTATE_DISABLED?b.setAttribute("aria-disabled"…
630 …ent.getById(this._.id+"_label").setText(a)):a==CKEDITOR.TRISTATE_ON?b.setAttribute("aria-pressed",…
641 …ollapser_min"),b.setAttribute("title",a.lang.toolbar.toolbarCollapse)):(c.hide(),b.addClass("cke_t…
648setAttribute("aria-label",this.type),"progress"!=this.type||e?"progress"!=this.type&&e&&e.remove()…
653 …ew CKEDITOR.dom.element("div");b.addClass("cke_notifications_area");b.setAttribute("id","cke_notif…
665 "text"));(r=n.getParent().isReadOnly())?(n.setOpacity(0),n.setAttribute("contenteditable",!0)):n.se…
729 …veAttribute("aria-selected");b&&b==e(k.getAttribute("data-value"))&&k.setAttribute("aria-selected",
781 this.getValue();f?a.setAttribute(b,f):a.removeAttribute(b,f)}}var b={id:1,dir:1,classes:1,styles:1}…
783 …ction(a,b){var d=this.getValue(),e=c.document.createElement("span");e.setAttribute("style",d);e.se…
797 …ement(d==CKEDITOR.ENTER_P?"p":"div"),y&&B.setAttribute("dir",w),A&&B.setAttribute("style",A),q&&B.
800 z&&z.is("li")?B=z:(B=t.createElement(x),d&&(r=d.getDirection())&&B.setAttribute("dir",r));if(t=w.el…
802 …=u?(!e&&l&&h.test(u)?(l=v.getDirection())?(k=k.createElement("div"),k.setAttribute("dir",l),k.inse…
814 …"),a.setAttributes({name:"ckCsrfToken",type:"hidden"}),b.append(a)),a.setAttribute("value",CKEDITO…
822 …tyle("width");b=b.getStyle("height");d&&c.setAttribute("width",a(c.getAttribute("width"),d));b&&c.
834 (c.role="listbox");this.base.apply(this,arguments);this.element.setAttribute("role",c.role);c=this.…
838 b.addClass("cke_selected");this.element.getDocument().getById(a+"_option").setAttribute("aria-selec…
849 …_"+this.id);c.setState(a,"cke_combo");a==CKEDITOR.TRISTATE_DISABLED?c.setAttribute("aria-disabled"…
934 …getLast":"getFirst"](t);)(f=e.getDirection(1))!==b.getDirection(1)&&e.setAttribute("dir",f),e.remo…
940 …parent.clone(!1,1),f&&n.setAttribute("dir",f),l.append(n));C=n.append(H.element.clone(0,1));F!=n.g…
941 …&&h){d[h.getName()]?(C=H.element.clone(!1,!0),F!=h.getDirection(1)&&C.setAttribute("dir",F)):C=new…
942setAttribute("dir",F);E=J;var S=L.getAttribute("style");S&&E.setAttribute("style",S.replace(/([^;]…
950 …Attribute("dir")),A.moveChildren(I),A.remove()),I.appendTo(E);y&&t&&E.setAttribute("dir",y);C?E.in…
966 …a){for(var b=this.lineChildren.length,c;b--;)(c=this.lineChildren[b]).setAttribute("style",c.base+…
990 …wyg"!=e.mode||e.readOnly||(e=e.document.getBody(),e.setAttribute("contentEditable",!1),e.setAttrib…
995 …ITOR.document.getById(v._.id),v.getChild(1).setHtml(q),v.setAttribute("title",q),v.setAttribute("h…
1077 …R.tools.cssVendorPrefix("tab-size",f.config.sourceAreaTabSize||4)));e.setAttribute("dir","ltr");e.…
1175setAttribute("title",g));if(n){var g=CKEDITOR.tools.getNextId(),p=CKEDITOR.dom.element.createFromH…