}
             finally
             {
                 conn.Close();
             }
运行,我们写点 内容到CuteEditor里面,点按钮,他一下就把数据插入进去拉!!!

 

 

 

 

基本属性:
EditorWysiwygModeCss :设置样式
ThemeType :设置风格
AutoConfigure :选择功能是简单还是复杂
Text :设置加载时候默认内容
MaxHTMLLength :设置最大长度
BreakElement :默认“回车”产生什么HTML
URLType :没发现有什么区别
ResizeMode :自动长度(长度设置几中形式)
ReadOnly :是否为只读
CustomCulture :设置语言类型 china 为zh-cn
EditCompleteDocument :设置是否完整HTML页面代码(也就是说是不是包括html头)
AllowPasteHtml :是否允许粘帖HTML代码
EnableContextMenu :在文本里是否显示右键菜单
模板 :
void Page_Load(object sender, .EventArgs e)
{
(!IsPostBack)
{
//this.Editor1.Text = "";
//Editor1.LoadHtml("templates/template3.htm");
}
}
控制工具拦显示
在CuteSoft_Client/CuteEditor/Configuration/AutoConfigure 里设置
控制右键显示
CuteSoft_Client/CuteEditor/Configuration/ContextMenuMode里设置
设置权限
CuteSoft_Client/CuteEditor/Configuration/Security里设置
设置工具拦按钮具体功能
CuteSoft_Client/CuteEditor/Configuration/Shared 里设置
设置工具拦按钮具体功能
CuteSoft_Client/CuteEditor/Configuration/Shared 里设置
设置语言
CuteSoft_Client/CuteEditor/Configuration/Languages里设置
感觉 CuteEditor 每处都可以 改变它整体思路都是用摸板具体体现形式写在配置文件里面用户修改配置文件或
是它提供属性就可以实现自己功能!

相关文章: