ok you need to remove the wrap div of editor like :
$("#btn-hide-editor").click(function() {
$("#wp-my-editor-wrap").css("display", "none");
});
wrap div id Consists of wp-[your-id]-wrap
ok you need to remove the wrap div of editor like :
$("#btn-hide-editor").click(function() {
$("#wp-my-editor-wrap").css("display", "none");
});
wrap div id Consists of wp-[your-id]-wrap