CKEditor3.6.2+CKFinder2.1结合 打造"帅"的编辑器 For .Net

CKEditor3.6.2+CKFinder2.1 最新破解版:

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<CKEditor:CKEditorControl ID="editor1" BasePath="./ckeditor/" runat="server"></CKEditor:CKEditorControl>

<script language="C#" runat="server">
protected void Page_Load(object sender, EventArgs e)
{
CKFinder.FileBrowser _FileBrowser = new CKFinder.FileBrowser();
_FileBrowser.BasePath = "/ckfinder/";
_FileBrowser.SetupCKEditor(editor1);

}
</script>

editor1是一个对象
 

ckfinder/config.ascx 

public override bool CheckAuthentication()
{
	//return false; 改这里
   // return HttpContext.Current.User.Identity.IsAuthenticated; 更安全
    return true;
}

  

 

SetConfig(): 

	BaseUrl = "~/ckfinder/userfiles/";
posted @ 2012-03-25 20:26  王春明  阅读(297)  评论(0编辑  收藏  举报