WYSIWYG problem

Permalink
any one know that when I am using the WYSIWYG block, i put

<li><div class="subcontrols-item-grey controls-item-grey-on" id="thumb-1" rel="1"></div></li>
<li><div class="subcontrols-item-grey" id="thumb-2" rel="2"></div></li>
<li><div class="subcontrols-item-grey" id="thumb-3" rel="3"></div></li>

into its html, and it doesnt show anything when I click update button.
If I edit that WYSIWYG block, it is blank?
Why is that?
Thanks in advance

 
TheRealSean replied on at Permalink Reply
TheRealSean
are you putting this in within the html mode on the wysiwig or the normal mode?

Its possible its being interpreted as HTML and being hidden if when you go to edit the block again try looking at the code in html mode see if anything is there
jordanlev replied on at Permalink Reply
jordanlev
It might be because you don't have <ul> and </ul> tags around that whole thing.
garyGG replied on at Permalink Reply
I tried with ul tag but still the li tag disappear.
stromberg replied on at Permalink Reply
stromberg
Try putting some placeholder text inside the <div>s, it should work then. The editor obviously has some problems with empty <li>s.

But: If you directly want to enter HTML, why don't you use the HTML block? (Or do you just want to keep the text inside the <li>s editable for normal editors?)

If you paste this when you're in HTML mode of the WYSIWYG editor, the code stays untouched after updating and re-opening:
<ul>
<li><div class="subcontrols-item-grey controls-item-grey-on" id="thumb-1" rel="1">A</div></li>
<li><div class="subcontrols-item-grey" id="thumb-2" rel="2">B</div></li>
<li><div class="subcontrols-item-grey" id="thumb-3" rel="3">C</div></li>
</ul>


Cheers!
stromberg
Whiteowl replied on at Permalink Reply
When I go to the html editor and write in code I can not save the file? Why is this?