Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

小问题:News类型Detail字段的内容显示时出现html标签
efreeman
#1 Posted : Tuesday, September 13, 2011 5:10:51 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 8/7/2011(UTC)
Posts: 3
在tinymce编辑器中为Detail字段输入内容,选择格式为paragraph。此时编辑器在内容前后加入了<p></P>。
但是这个标签被自动进行了转义,输出的时候直接看到了<p></P>。
不想显示这个段落标签,怎么办呢?
jifeng
#2 Posted : Thursday, September 15, 2011 6:36:26 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
这个只能去找找tinymce如何去掉了。

http://www.tinymce.com/f...m/viewtopic.php?id=3878

你需要自己去修改一下Master.Script.ascx和page.js里面的tinymce设置。
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
1 user thanked jifeng for this useful post.
efreeman on 9/15/2011(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.428 seconds.