Remove   on empty blocks

Jun 14, 2010 at 7:29 PM

Is there a way to disable the   on empty blocks?

Currently when there is a empty block CK Editor inserts a   between opening and closing tag.

<div class="myClass">&nbsp;</div>

What I need is a plain empty block:

<div class="myClass"></div>

I have tried with config setting:

config.FillEmptyBlocks = false;

but no results.

Jun 15, 2010 at 12:04 PM

Its a feature of the Editor look here 

"the filler node (&nbsp/<br />) in empty block to make sure they're still visible/editable inside all browsers in wysiwyg mode"