今天尝试整合asp.net 和 fckeditor。 结果发现,FCKeditor.Net的里面默认值设置不是很理想。
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Integration/ASP.NET
要么这样使用
<FCKeditorV2:FCKeditor id="ContentFCKeditor" BasePath="~/fckeditor/" runat="server" Height="400" />
要么
FCKeditor.cs文件里面的
return ( o == null ? "/fckeditor/" : (string)o ) ;
修改成return ( o == null ? "~/fckeditor/" : (string)o ) ;
然后重新生成一下。