Skippy
Skippy

Reputation: 346

TinyMCE adding "\n" as well as <p>

I have just added tinyMCE in for a ticketing system I am writing. I am using the advanced theme and config pretty much directly from the examples.

My problem is that when I have multiple break's on the page, tinyMCE seems to be adding "\n" as well as the p tag.

How can I get it to not add the \n in?

Thanks

Upvotes: 2

Views: 1240

Answers (1)

Thariama
Thariama

Reputation: 50832

The p-tags are necessary for the styling of the text and other tasks. So every bit of text needs to be wrapped (in ps or divs). Concering the "\n"s: Can you give an example?

You might try the following setting: apply_source_formatting : true

Upvotes: 1

Related Questions