Skip to:
Content
Pages
Categories
Search
Top
Bottom

Visual editor font

  • @ezyridah

    Participant

    Hi there,

    I enabled the Visual Editor by using the example code:

    function bbp_enable_visual_editor( $args = array() ) {
       $args['tinymce'] = true;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    Two questions:
    1. Is it possible to disable the Text editor, hopefully with CSS?
    2. How can I get the same Font used in the Text editor in the Visual editor?

    Iโ€™m not a die hard CSS expert, so please bring it to me gently ๐Ÿ˜‰ I managed to change a lot of the look and feel with a lot of trial and error, but this is beyond my limited skills.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • @robkk

    Moderator

    1. Is it possible to disable the Text editor, hopefully with CSS?

    yeah , heres a way

    I dont know for sure if the visual editor is displayed by default when you see the reply form.

    post it anywhere where you can put custom css

    in your child themes css stylesheet
    the jetpack plugin module custom css
    a standalone custom css plugin

    #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar {
        display: none;
    }
    
    #bbpress-forums .wp-editor-tabs {
      display:none;
    }

    @ezyridah

    Participant

    @Robkk, many many thanks! Put the code in the child theme css stylesheet and it works like a charm!

    Hopefully somebody knows how to change the font of the Visual Editor with CSS ๐Ÿ˜‰
    Thanks again!

    @robkk

    Moderator

    no problem

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