Hi,
I have this class :
which is available to several block elements like <div> and <img>.
And some XHTML like this :
<h2>Some title</h2>
<p>First paragraph</p>
<p>Second paragraph</p>
I want to put
<div class="w30p">...</div> around the XTHML code, to size its content to 30% of available width.
With TinyMCE, when I try to apply the "w30p" class to the selection, every element gets the class:
<h2 class="w30p">...</p>
<p class="w30p">...</p>
and this is not what I want.
I tried to limit the class to div.w30p, but this changed nothing.
Any idea what can I do ?
Is some WYSIWYG editor more powerful than TinyMCE ?
How does FCKeditor compares with it ?
Thanks for any help.