TinyMCE:Configuration/remove trailing nbsp

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: remove_trailing_nbsp

(Requires: 2.1.1)

This option enables you to specify that TinyMCE should remove any traling   characters in block elements if you start to write inside them. Paragraphs are default padded with a   and if you write text into such paragraphs they space will remain. So setting this option will remove these. This option is set to false by default since the cursor jumps a bit in Gecko browsers.

Example of usage of the remove_trailing_nbsp option:

tinyMCE.init({
	...
	remove_trailing_nbsp : true
});
Personal tools