| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/YTLStockManagement/wp-content/plugins/simple-custom-css/includes/js/ |
Upload File : |
'use strict';
(function( $ ) {
var editor, editorSettings;
if ( ! $( '.sccss-content' ).length ) {
return;
}
editorSettings = wp.codeEditor.defaultSettings ? _.clone( wp.codeEditor.defaultSettings ) : {};
editorSettings.codemirror = _.extend( {}, editorSettings.codemirror, {
lineNumbers: true,
lineWrapping: true,
indentUnit: 2,
tabSize: 2,
mode: 'css',
lint: true,
gutters: ['CodeMirror-lint-markers']
} );
editor = wp.codeEditor.initialize( $( '.sccss-content' ), editorSettings );
})( jQuery );