Shortcode runs when editing page
I’ve faced a similiar situation on couple of occasions. In my case the shortcode getting rendered on the text editor was caused by the shortcode echoing instead of returning its content. As noted on add_shortcode Codex entry, Note that the function called by the shortcode should never produce output of any kind. Shortcode functions should … Read more