Hi guys,

Does anyone know if it's possible to switch TinyMCE so that when a user hits enter, the html returned is
instead of

?

I've always found "WYSIWYG" to be a misnomer in this case, since the user is seeing a single carriage return when in actuality the code being entered is a

which is essentially a double-carriage return.

I have yet to figure out a way to do this with TinyMCE and can't find anything by searching the forums...

Thanks in advance!

Comments

Apollo610’s picture

Yeah, forgot to wrap my tags in code.

Here's my post in its entirety...

Hi guys,

Does anyone know if it's possible to switch TinyMCE so that when a user hits enter, the html returned is <br />
instead of <P> ?

I've always found "WYSIWYG" to be a misnomer in this case, since the user is seeing a single carriage return when in actuality the code being entered is a <P> which is essentially a double-carriage return.

I have yet to figure out a way to do this with TinyMCE (I'm also using HTML Purifier as my filter, but I'm flexible there) and can't find anything by searching the forums...

Thanks in advance!

Apollo610’s picture

Status: Active » Closed (fixed)

This can be ignored, switched over to FCKeditor which has this option built into its settings.

Thanks anyways.