# tablepress/2.4.1/admin/js/build/codemirror.js

TablePress – Tables in WordPress made easy, version 2.4.1. 1 lines.

- Page: https://pluginprobe.com/plugins/tablepress/2.4.1/code/admin/js/build/codemirror.js
- Raw: https://pluginprobe.com/plugins/tablepress/2.4.1/raw/admin/js/build/codemirror.js
- Modified: 2024-04-02T08:17:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tablepress/2.4.1/code/admin/js/build/codemirror.js#L10-L20`.

```javascript
(()=>{"use strict";window.tp=window.tp||{},tp.CM_custom_css=wp.codeEditor.initialize("option-custom-css",{}).codemirror;const s=tp.CM_custom_css.getWrapperElement(),t=function(){this.classList.contains("disabled")||(this.classList.add("large"),tp.CM_custom_css.refresh(),this.removeEventListener("mousedown",t))};s.addEventListener("mousedown",t);const e=document.getElementById("option-use-custom-css");e.addEventListener("change",(function(){tp.CM_custom_css.setOption("readOnly",!this.checked),s.classList.toggle("disabled",!this.checked)})),e.dispatchEvent(new Event("change"))})();
```
