Skip to:
Content
Pages
Categories
Search
Top
Bottom

TinyMCE not showing

  • @uriahs-victor

    Participant

    I don’t know why, but the TinyMCE toolbar doesn’t show by default on Astra theme and Page Builder Framework theme. It does show on some default WP themes, but I don’t understand why.

    In Astra, the toolbar is there in the HTML, but it has display: none set to the CSS because of this class string: .no-js .hide-if-no-js

    I don’t quite understand what is causing that class to be added onto the toolbar. Can anyone shed some light? Is there some option or filter I need to set for this to show?

    I at first thought it detected if there was No JS enabled in the browser but thats not the issue because I can use JS…im visiting my test forum just as Im visiting this one and it shows.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @robin-w

    Moderator

    this is a known bug.

    either

    if( !function_exists( 'bbpress_browser_supports_js' ) ){
    	function bbpress_browser_supports_js() {
    		echo '<script>document.body.classList.remove("no-js");</script>';
    	}
    	add_action( 'wp_footer', 'bbpress_browser_supports_js' );
    } 

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    or

    @uriahs-victor

    Participant

    That fixes it, thank you!

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