Skip to:
Content
Pages
Categories
Search
Top
Bottom

Visual editor font


  • EzYRiDaH
    Participant

    @ezyridah

    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

    @robkk

    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

    @ezyridah

    @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

    @robkk

    no problem

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