Remove   on empty blocks

Jun 14, 2010 at 6: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.

Coordinator
Jun 15, 2010 at 11:04 AM

Its a feature of the Editor look here

http://cksource.com/forums/viewtopic.php?f=11&t=16915 

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