fix the issue of the main_block(can't process the single quote), unable to display the content while editing. Cause by the json_encode and var_export.