jQuery(function(r){window.wp&&wp.codeEditor&&wp.codeEditor.initialize&&r(".rwmb-code-field").each(function(){var e=this,o=r(e).attr("data-code-mode")||"css",i=r(e).attr("data-code-height")||"300px",d=wp.codeEditor.defaultSettings?_.clone(wp.codeEditor.defaultSettings):{};d.codemirror=d.codemirror||{},d.codemirror.mode=o,d.codemirror.lineNumbers=!0,d.codemirror.indentUnit=2,d.codemirror.tabSize=2;var t=wp.codeEditor.initialize(e,d);t&&t.codemirror&&t.codemirror.setSize(null,i)})});