Anybody are conscious of a method to take away the primary editor in the page edit screen? And not simply with css. I have added a couple of other meta boxes using the tinymce plus they collide using the primary one.

I've got a class that removes other meta boxes in the edit screen, however i cant eliminate the primary editor by doing this. I have attempted to include 'divpostrich' and 'divpost' towards the array within the class (however with no luck):

class removeMetas{
    public function __construct(){
        add_action('do_meta_boxes', array($this, 'removeMetaBoxes'), 10, 3);
    }

    public function removeMetaBoxes($type, $context, $post){
        /**
         * usages
         * remove_meta_box($id, $page, $context)
         * add_meta_box($id, $title, $callback, $page, $context = 'advanced', $priority = 'default')
         */
        $boxes = array( 'slugdiv', 'postexcerpt', 'passworddiv', 'categorydiv',
                        'tagsdiv', 'trackbacksdiv', 'commentstatusdiv', 'commentsdiv',
                        'authordiv', 'postcustom');

        foreach ($boxes as $box){
            foreach (array('link', 'post', 'page') as $page){
                foreach (array('normal', 'advanced', 'side') as $context){
                    remove_meta_box($box, $type, $context);
                }
            }
        }
    }
}

$removeMetas = new removeMetas();

I've also attempted getting rid of the 'divpostrich' with jquery. But cant determine where you can place the js for this to operate. After I take away the 'postdivrich' within the browser with firebug - my remaining tinymce fields work perfect.

Any ideas?

Could not you simply disable the TinyMCE editor, departing the HTML editor, as the meta boxes are colliding by using it? :)

What you're searching for may be the global $_wp_post_type_features array.

Below is really a quick illustration of how you can use it

function reset_editor()
{
     global $_wp_post_type_features;

     $post_type="page";
     $feature = "editor";
     if ( !isset($_wp_post_type_features[$post_type]) )
     {

     }
     elseif ( isset($_wp_post_type_features[$post_type][$feature]) )
     unset($_wp_post_type_features[$post_type][$feature]);
}

add_action("init","reset_editor");