Viewing 1 replies (of 1 total)
  • Thread Starter deckard1976

    (@deckard1976)

    I were able to make it work within the frontend editor by adding this line into the main php file :

    add_action( 'wp_footer', array( WP_Prism_Syntax_Highlighter::get_instance(), 'add_admin_script' ) );

    It works beautifuly into bbpress forum. In post editor the code dont show properly, it seems that WP format the content and remove the
    html tags. Any help would be greatly appreciated. Thanks a lot.

Viewing 1 replies (of 1 total)
  • The topic ‘Dont work in frontend WP editor’ is closed to new replies.