Page 1 of 1

How to stop floating with xinha-editor?

Posted: Tue Dec 16, 2008 5:10 pm
by konus
I usually insert images with float: left option. If I insert an other image I need to stop the floating. Until now I use the non WISIWYG-Editor and insert

Code: Select all

<div style="clear: both"></div>
manually.

I would like to switch to Wysiwig-Editor xinha now. Is there a way to stop the floating within the Wisiwyg-view of the editor-surface? Or is there a way to create a button to insert the code with a single click?
(I know I can switch back to html view, but this is not as comfortable as it could be :-) )

Posted: Tue Dec 16, 2008 8:03 pm
by judebert
Short answer: no.

Xinha doesn't have a button for clearing floats, and we (currently) don't have a way to add custom buttons (I'm working on it).

However, it does have a "raw" mode: the <> button. You can then insert your tag manually.