最好用的在线编辑器CuteEditor
众多的Html在线编辑器中,本人用了一段时间对各个编辑器进行了使用,感觉唯独CuteEditor最为好用,功能强大,使用方便!其实cnblogs.com用的就是CuteEditor,并且此编辑器对不同的登陆用户创建不同的文件夹的方法,比较简单,只用几句代码,即可实现,代码如下:
ring str = Session["name"].ToString();
string path = "~/uploads/Users/" + str + "";
string fullPath = Server.MapPath("~/uploads/Users/") + str;
if (!Directory.Exists(fullPath))
{
Directory.CreateDirectory(fullPath);
}
Editor1.SetSecurityGalleryPath(path);
并且取值比较方便,直接用Editor1.Text即可。并不像其他的控件的赋取值那么繁琐!
posted on 2006-08-07 17:41 怎能笑的私藏(藏什么呀?还没有想好,乱堆!) 阅读(2832) 评论(3) 编辑 收藏 举报