Conflicts with editor's shortcode (8 posts)

  1. Ravi Kasarla
    Posted 3 years ago #

    I placed the below code in editor


    [one_third][box style=" info-box-notice mh-455"]

    and page renders as like below

    [one_third][box style=" info-box-notice mh-455"] heyyyyyyyyyyyyyyyyyyyyyyyyyyyy [/box][/one_third]

    if content editor don't have any short codes then this plugin working fine. If we add any short codes then showing issue like above.

    Please suggest the solution to overcome this issue.


  2. fancyfiber
    Posted 3 years ago #

    Yep. Found this same problem myself.

    I fixed it by adding code to the file ../raw-html/include/tag-handler.php

    at about line 22 before: $tags = array(array....

    add: $text = do_shortcode($text);

    Hope this helps.

  3. fancyfiber
    Posted 3 years ago #

    Oops...discovered some oddities with my "workaround" above. Modified the added code:

    if(!is_admin()) {
          $text = do_shortcode($text);
  4. mbrsolution
    Posted 3 years ago #

    Hello have you tested the latest version?

    Kind regards

  5. alturic
    Posted 2 years ago #

    I signed in specifically to say Fancy, you're a life-saver. The latest version of WP, with the latest version of RawHTML still has this problems with shortcodes I guess. It kept putting [raw] tags around the Quform shortcode. Was pulling my brain out. What would be nice (and easier than playing with code) is if there was an option to completely disable raw html per post/page?

    Just curious if every shortcode is affect by this or just specific ones. Either way, good job Fancy!

  6. mkelly99
    Posted 2 years ago #

    '[raw] &bsp; [/raw]'

    also fails, leaving:

    '[raw] [/raw]'

    when i bounce back to teh visual editor and to test again.


  7. mkelly99
    Posted 2 years ago #

    And this:

    <!--raw-->   <!--raw-->

    Leaves this:

    <!--raw--> <!--raw-->

  8. mbrsolution
    Posted 2 years ago #

    Hello @mkelly99 have you read the following?

    The free version only supports the HTML editor. Get the Pro version if you want to be able to switch between HTML and the Visual editor without WordPress messing up your content.

    Kind regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Raw HTML
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic