Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing Editor buttons


  • petriknz
    Participant

    @petriknz

    In the editor I need to, at the very least remove the code button.

    Is there any way to use the default WordPress Editor where users can see the visual results of their editing instead of the html markup text.

    Users of the forum I’m creating are not HTML coders and the way this works will totally confuse them. Also switching it off in settings makes matters worse as then they are presented with an instruction box showing the HTML tags.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Robkk
    Moderator

    @robkk

    to enable visual editor install this plugin

    https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    to remove the code button use this
    add it to your child themes functions.php or a functionality plugin.

    add_filter( 'bbp_after_get_the_content_parse_args', 'rkk_bbp_edit_quick_editor' );
    function rkk_bbp_edit_quick_editor( $args = array() ) {
    	$args['quicktags']         = array( 'buttons' => 'strong,em,link,block,del,img,ul,ol,li,close' );
    
       return $args;
    }

    petriknz
    Participant

    @petriknz

    Thanks for that info but I’m a bit dubious about using a plugin that says

    Compatible up to: 3.5.2
    Last Updated: 2014-1-5


    Robkk
    Moderator

    @robkk

    it should still work no problem . since it bascially is using a filter that bbPress provides to activate the visual editor

    but i mean if you do come across a problem with this very light plugin just uninstall it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar