Topic: P instead of BR
Simple question. Why TinyMCE inserts BR on Enter, I'd like it to insert P tag... How?
Pages 1
Simple question. Why TinyMCE inserts BR on Enter, I'd like it to insert P tag... How?
I thought that was standard behaviour as my version puts in a p tag - you have to hit Shift + Enter to get a BR.
It doesn't work on mine. It puts BR. I use version 1.38.
See the section on: force_br_newlines
Here:
http://tinymce.moxiecode.com/docs/using.htm
yep! I just have it force_br_newlines : false and still nothing happens. I got BR
What browser(s) are you using?
Do you get this error in all browsers, or just one?
im using both firefox and ie. both insert <br/>
Spooky - could you post your init call here?
It could always be a bug, though - might be worth posting on the bug forum about it, but might as well test everything for them that we can first ![]()
I will place focus on fixing the P vs BR on enter Firefox issue in the next release of TinyMCE. This nasty little issue is pretty annoying and somewhat hard to fix.
When this fix is finished, TinyMCE will produce P elements on enter in both FF and MSIE and produce BR elements on Shift+Enter.
Best regards,
Spocke
great!
I'd like to have a option to select what I to get on Enter and Shift+Enter - <p> or <br />
... depends a bit on the application what's better.
Pages 1
You are not logged in. Please login or register.