function parse_value()
{
	/*
		Loop through all wp_editor instances
	*/
	for(var i = 0; i < names.length; i++)
	{
		/*
			get wp_editor instance by name and check if it's initialized and not hidden
		*/
		var my_name = names[i];
		var mce = tinyMCE.get(my_name+'-editor');
		if(mce != null && mce != undefined && !mce.isHidden())
		{
			/*
				If wp_editor is not hidden and is initialized, then append all its contents to textarea used to init current wp_editor
			*/
			var temp = tinyMCE.get(my_name+'-editor').getContent();
			jQuery("#"+my_name + '-editor').val(temp);
		}
		/*
			Get all text from textarea used to initialize the wp_editor, convert it to BASE64 and put into hidden input field	
		*/
		var text = jQuery("#"+my_name + '-editor').val();
        var content = btoa(unescape(encodeURIComponent(text)));
        jQuery("#"+my_name).val(content);
     }
}
/*
	Converts all data from textarea of wp_editor / wp_editor's content to BASE64 and puts the value into hidden input related to wp_editor

	@returns VOID
*/
Converts all data from textarea of wp_editor / wp_editor's content to BASE64 and puts the value into hidden input related to wp_editor
Converts all data from textarea of wp_editor / wp_editor ' s content to BASE64 and puts the value into hidden input related to wp_editor
function parse_value()
{
	for(var i = 0; i < names.length; i++)
	{
		var my_name = names[i];
		var mce = tinyMCE.get(my_name+'-editor');
		if(mce != null && mce != undefined && !mce.isHidden())
		{
			var temp = tinyMCE.get(my_name+'-editor').getContent();
			jQuery("#"+my_name + '-editor').val(temp);
		}
		var text = jQuery("#"+my_name + '-editor').val();
        var content = btoa(unescape(encodeURIComponent(text)));
        jQuery("#"+my_name).val(content);
     }
}
function parse_value ( ) { for ( var i = 0 ; i < names . length ; i ++ ) { var my_name = names [ i ] ; var mce = tinyMCE . get ( my_name + '-editor' ) ; if ( mce != null && mce != undefined && ! mce . isHidden ( ) ) { var temp = tinyMCE . get ( my_name + '-editor' ) . getContent ( ) ; jQuery ( "#" + my_name + '-editor' ) . val ( temp ) ; } var text = jQuery ( "#" + my_name + '-editor' ) . val ( ) ; var content = btoa ( unescape ( encodeURIComponent ( text ) ) ) ; jQuery ( "#" + my_name ) . val ( content ) ; } }
Converts all data from textarea of wp_editor / wp_editor's content to BASE64 and puts the value into hidden input related to wp_editor
Converts all data from textarea of wp_editor / wp_editor ' s content to BASE64 and puts the value into hidden input related to wp_editor
/*
		Loop through all wp_editor instances
	*/ /*
			get wp_editor instance by name and check if it's initialized and not hidden
		*/ /*
				If wp_editor is not hidden and is initialized, then append all its contents to textarea used to init current wp_editor
			*/ /*
			Get all text from textarea used to initialize the wp_editor, convert it to BASE64 and put into hidden input field	
		*/