Support » Plugin: Raw HTML » Conflicts with editor's shortcode

  • 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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    Oops…discovered some oddities with my “workaround” above. Modified the added code:

    if(!is_admin()) {
          $text = do_shortcode($text);

    Hello have you tested the latest version?

    Kind regards

    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!

    ‘[raw] &bsp; [/raw]’

    also fails, leaving:

    ‘[raw] [/raw]’

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


    And this:

    <!–raw–>   <!–raw–>

    Leaves this:

    <!–raw–> <!–raw–>

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflicts with editor's shortcode’ is closed to new replies.