Hey there,
Thanks for letting us know. We’ll make sure this is addressed in the next update as soon as possible, but for now you can resolve it in two different ways:
1. Use [x_code]
instead of [code]
in your content. The unprefixed version
2. Add this to functions.php of a child theme
function x_preserve_code_shortcode_contents() {
CS_Shortcode_Preserver::preserve( 'code' );
}
add_action( 'cornerstone_shortcodes_loaded', 'x_preserve_code_shortcode_contents' );
That will setup the content preservation for you.