WordPress.org

Ready to get started?Download WordPress

Forums

Disable HTML Editor (6 posts)

  1. Shane G
    Member
    Posted 5 years ago #

    Hi,

    I am running with wordpress 2.7.1 and I would like to disable HTML Editor in wordpress admin section. I know how to disable Visual Editor but do not know how to do it for HTML..please throw some light on my query and give me the solution as soon as possible.

    Thanks,

    Shane G.

  2. s_ha_dum
    Member
    Posted 5 years ago #

    I don't know of an easy way to disable the html editor. I'm sure it is possible but it strikes me as a major project.

  3. Cosmo Lomax
    Member
    Posted 5 years ago #

    Hello all,

    Shane did you have any success disabling the HTML editor?

    Cheers

  4. Cosmo Lomax
    Member
    Posted 5 years ago #

    Hello

    I havent disabled the text editor but i have installed a much improved version via the plugin WP Advanced Code Editor. The plugin allowed me to fully edit a page of tables i have been struggling with for a few days. And don't mention linguistic differences between US 'center' and UK 'centre' which confused me for a while.

  5. Frank
    Member
    Posted 4 years ago #

    add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') );
    add_action( 'admin_head', 'my_css_4_admin' );
    function my_css_4_admin() {
    	echo '<style type="text/css">#editor-toolbar #edButtonHTML, #quicktags {display: none;}</style>' . "\n";
    }

    Thats works or you use the plugin Adminimize

  6. bmunch
    Member
    Posted 4 years ago #

    the html editor is enabled/disabled on a per user basis.

    go to users, select the one you want to edit and you'll see a check box at the top of the page that asks if you want the html editor or not.

Topic Closed

This topic has been closed to new replies.

About this Topic