PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | admin/js/build/codemirror.js +1 -1 2.0.4 → 3.4 View file →
@@ -1 +1 @@
1 -(()=>{"use strict";const e=wp.codeEditor.initialize("option-custom-css",{}).codemirror,t=e.getWrapperElement(),s=function(){this.classList.contains("disabled")||(this.classList.add("large"),e.refresh(),this.removeEventListener("mousedown",s))};t.addEventListener("mousedown",s);const n=document.getElementById("option-use-custom-css");n.addEventListener("change",(function(){e.setOption("readOnly",!this.checked),t.classList.toggle("disabled",!this.checked)})),n.dispatchEvent(new Event("change"))})();
1 +(()=>{"use strict";window.tp=window.tp||{},document.addEventListener("DOMContentLoaded",()=>{tp.CM_custom_css=wp.codeEditor.initialize("option-custom-css",{}).codemirror;const t=tp.CM_custom_css.getWrapperElement(),e=function(){this.classList.contains("disabled")||(this.classList.add("large"),tp.CM_custom_css.refresh(),this.removeEventListener("mousedown",e))};t.addEventListener("mousedown",e);const s=document.getElementById("option-use-custom-css");s.addEventListener("change",function(){tp.CM_custom_css.setOption("readOnly",!this.checked),t.classList.toggle("disabled",!this.checked)}),s.dispatchEvent(new Event("change"))})})();