51

Re: Dont want text wrapped in <p> tags

Your reply would make more sense if I was 'blaming' anything or had control over the client portal software's CSS.

I'm merely stating a simple fact that my user base would use TinyMCE more readily if the feature to reverse the functionality of shift+enter was available or even accessible via some documentation.

Read into that what you want, it's a very simple fact.

52

Re: Dont want text wrapped in <p> tags

Check the 3.5 release notes in the news section about br vs p.

Best regards,
Spocke - Main developer of TinyMCE

53

Re: Dont want text wrapped in <p> tags

Yeowtch.. I seem to have problems loading inits

I've loaded 3.5 with:

forced_root_block : 'false',

And it has no effect?

<p><span style="font-size: medium;">This is a</span><br /><br /></p>
<p><span style="font-size: medium;">test<br /></span></p>
<p><span style="font-size: medium;">with&nbsp;<br /></span></p>
<p><span style="font-size: medium;">forced_root_block<br /></span></p>
<p><span style="font-size: medium;">set&nbsp;<br /></span></p>
<p><span style="font-size: medium;">to&nbsp;<br /></span></p>
<p><span style="font-size: medium;">false<br /></span></p>

I was expecting/hoping to get:
<p><span style="font-size: medium;">This is a <br />test <br />with <br />forced_root_block <br />set <br />to <br />false<br /></span></p>

Last edited by ChrisRichards (2012-05-09 19:15:13)

54

Re: Dont want text wrapped in <p> tags

false !== 'false'

Best regards,
Spocke - Main developer of TinyMCE

55

Re: Dont want text wrapped in <p> tags

Huzzah! That makes a difference for sure!

Thanks very much!

The only oddity I've noticed now is that if someone adds a trailing space before ending a line it starts a paragraph.

Since typing a space before hitting enter is 'erroneous' I'm fine with a strange result. wink

56

Re: Dont want text wrapped in <p> tags

If you get a P tag using that config option then please report it as a bug with steps to reproduce it thanks.

Best regards,
Spocke - Main developer of TinyMCE

57

Re: Dont want text wrapped in <p> tags

FWIW: A number of issues were coming from bad data in my Chrome cache. Reloading the browser did nothing, and things just got worse until I eventually couldn't even see the pop-up windows (like view HTML source)..

I knew it was me because it was only happening in my default browser. After finally purging the cache all the glitches went away and I can't make it produce a <p> tag now without asking for one. (Yay!)