Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can’t add my stylesheet to the full text editor


  • AndyHenderson
    Participant

    @andyhenderson

    I’ve enabled the full text editor, but it doesn’t use the editor styles I’ve created for the admin area.

    Adding this:

    add_filter( 'bbp_before_get_the_content_parse_args', 'u3aBBPEditorStylesheet' );
    function u3aBBPEditorStylesheet( $args ) {
     $args['tinymce'] = array( 'content-css' => get_stylesheet_directory_uri() . '/css/bothEditorStyles.css');
     return $args;
    );

    replaces the editor with the HTML one. In the above setting $args[‘tinymce’] back to true brings the full text editor back. Any idea what I’m doing wrong?

    Andy

  • You must be logged in to reply to this topic.
Skip to toolbar