Unfortunately there is no such property using which we can show content editor in disabled state. You can either completely remove it or have it there. If you disable it using remove_post_type_support
then the default content does not get saved.
So I have following workaround for you. Place this code in your theme’s functions.php file:
/* Here you set default property content using default_content filter. */
function set_default_property_content( $content, $post ) {
if ( $_GET['post_type'] === 'property' )
$content = "This is default property post content";
return $content;
}
add_filter( 'default_content', 'set_default_property_content' );
/* Here you include a js file containing a code to disable editor. */
function disable_property_editor() {
$screen = get_current_screen();
if ( $screen->post_type === 'property' ) {
wp_enqueue_script( 'editor_disabler', get_template_directory_uri() . '/js/editor-disabler.js' );
}
}
add_action( 'admin_head', 'disable_property_editor' );
Finally here is the code which shall go in /js/editor-disabler.js file in your theme folder. The js code here does not actually disable the editor but puts an overlay container on the WordPress editor.
jQuery( document ).ready( function() {
jQuery("#postdivrich").wrap("<div class='disabled-editor'></div>");
jQuery(".disabled-editor").css("position", "relative");
jQuery(".disabled-editor").css("z-index", "-1");
jQuery(".disabled-editor").css("opacity", "0.4");
});
Once you have all above code in place then clear the browser cache and check the result. I hope this helps.