开发者

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 m开发者_JAVA技巧uch 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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜