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

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

- Page: https://pluginprobe.com/plugins/tablepress/2.2.5/code/admin/js/build/codemirror.js
- Raw: https://pluginprobe.com/plugins/tablepress/2.2.5/raw/admin/js/build/codemirror.js
- Modified: 2023-11-02T08:57:02+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.2.5/code/admin/js/build/codemirror.js#L10-L20`.

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