-
AuthorPosts
-
May 28, 2013 at 10:30 pm #23971Code:<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.
May 28, 2013 at 10:31 pm #121833To 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.’
May 29, 2013 at 12:15 pm #121834Hi!
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
May 29, 2013 at 2:06 pm #121835No 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″ charset=”utf-8″></script><script type=”text/javascript”>xAddToBag(‘productid=24122433’);</script></div>
</form></div>May 29, 2013 at 2:23 pm #121836Hi!
Ah ok. inline javascript won’t work. I’d recommend to try http://wordpress.org/plugins/insert-html-snippet/
Regards,
Peter
May 30, 2013 at 3:50 am #121837HTML Snippet worked! Thanks!
-
AuthorPosts
- The topic ‘Visual editor crashes with certain codes in text block – how to ignore?’ is closed to new replies.