HEX
Server: LiteSpeed
System: Linux vps338 6.12.0-211.34.1.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 15 07:56:02 EDT 2026 x86_64
User: ondernemer (1054)
PHP: 8.3.32
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/ondernemer/public_html/wp-content/plugins/js_composer/modules/custom-css/assets/js/module.js
jQuery( document ).ready( function ( $ ) {
	'use strict';

	if ( window.Vc_postSettingsEditor ) {
		function setEditorNewValue ( $editor_input, editor_slug ) {
			// set new value to textarea
			$editor_input.val( window[editor_slug].getValue() );
		}

		var editor_css = new Vc_postSettingsEditor();
		editor_css.sel = 'wpb_css_editor';
		editor_css.mode = 'css';
		editor_css.is_focused = true;

		var $editor = $( '#wpb_css_editor' );
		if ( $editor.length ) {
			var $editor_input = $editor.prev();
			var editor_slug = 'editorcss';
			window[editor_slug] = editor_css;
			window[editor_slug].setEditor( $editor_input.val() );

			window[editor_slug].getEditor().on( 'change', setEditorNewValue.bind( null, $editor_input, editor_slug ) );
		}
	}
});