Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23971
    Code:
    <div class=’ecwid-Product’>…</div>

    and similar div codes will cause the visual editor to break when trying to display.

    Is there any way we can set the text blocks in the visual editor to display nothing or just not assemble the code visually?

    Also, when I set a span or p tag as the icon font class to try to make a single icon, the visual editor just hacks away at the page and you have to go back to a revision.

    #121833

    To clarify, when it ‘crashes’ it typically will reveal the code visually, let you click Update, then without fail revert to ‘Click here to add your own text.’

    #121834

    Hi!

    Please install version 1.5. Kriesi fixed some editor bugs and there’s a high chance that the update will also fix this issue. You can download it from http://themeforest.net

    Best regards,

    Peter

    #121835

    No luck. Any other way around this? Some way to ignore certain code from displaying this way?

    Here’s the code if it helps:

    Code:
    <div class=’ecwid-Product’><form>
    <table align=’center’ border=’0′><tr><td align=’left’ class=’ecwid’><div id=”ecwid-productoption-24122433-Color-container” class=”ecwid-productBrowser-details-optionPanel ecwid-productBrowser-details-optionPanel-radio ecwid-productoption-Color-container”><label class=”ecwid-fieldLabel” for=”gwt-uid-646″>Color</label><div id=”gwt-uid-646″><span class=”gwt-RadioButton ecwid-productBrowser-details-optionRadioButton ecwid-productoption-Color-Red” id=”ecwid-productoption-24122433-Color-Red”><input type=”radio” name=”24122433-Color” value=”on” id=”gwt-uid-643″ tabindex=”0″><label for=”gwt-uid-643″><span class=”ecwid-productBrowser-details-optionRadioButton-name”>Red</span></label></span><span class=”gwt-RadioButton ecwid-productBrowser-details-optionRadioButton ecwid-productoption-Color-Yellow” id=”ecwid-productoption-24122433-Color-Yellow”><input type=”radio” name=”24122433-Color” value=”on” id=”gwt-uid-644″ tabindex=”0″><label for=”gwt-uid-644″><span class=”ecwid-productBrowser-details-optionRadioButton-name”>Yellow</span></label></span><span class=”gwt-RadioButton ecwid-productBrowser-details-optionRadioButton ecwid-productoption-Color-Matte_Black” id=”ecwid-productoption-24122433-Color-Matte_Black”><input type=”radio” name=”24122433-Color” value=”on” id=”gwt-uid-645″ tabindex=”0″ checked=””><label for=”gwt-uid-645″><span class=”ecwid-productBrowser-details-optionRadioButton-name”>Matte Black</span></label></span></div></div></td></tr></table><div style=’text-align: center’><script type=”text/javascript” src=”http://app.ecwid.com/script.js?2090078&#8243; charset=”utf-8″></script><script type=”text/javascript”>xAddToBag(‘productid=24122433’);</script></div>
    </form></div>

    #121836

    Hi!

    Ah ok. inline javascript won’t work. I’d recommend to try http://wordpress.org/plugins/insert-html-snippet/

    Regards,

    Peter

    #121837

    HTML Snippet worked! Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Visual editor crashes with certain codes in text block – how to ignore?’ is closed to new replies.