EWebEditor/标准调用

来自站长百科
跳转至: 导航、​ 搜索

EWebEditor | 安装说明 | 集成调用|可视化配置管理|表单接收|JavaScript API|常见问题及解答

要把eWebEditor集成到原有的web应用系统中,只需在原来的代码上,再加上一行如下形式的代码即可。

<iframe ID="eWebEditor1" src="/ewebeditor.htm?id=content1&style=coolblue" frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe>

参数说明:

  1. /ewebeditor.htm应改为你实际安装的路径
  2. 参数id: 相关联的表单项名,也就是提交保存页要引用的表单项名,多个调用时,请保证id不同,可参见后面例子
  3. 参数style: 使用的样式名,可以是标准的样式名或自定义的样式名,如果使用标准coolblue可留空
  4. width, height: 根据实际需要设置,eWebEditor将自动调整与其适应
  5. 在后台管理中,可以得到每个样式的最佳调用代码

例:新增表单

在未使用eWebEditor前,你原来新增内容的表单可能是如下形式:

<textarea name="content1" rows=10 cols=50></textarea>

使用eWebEditor后,现在是如下形式:

<input type="hidden" name="content1" value="">

<iframe ID="eWebEditor1" src="/ewebeditor.htm?id=content1&style=coolblue" frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe>

或者

<textarea name="content1" style="display:none"></textarea>

<iframe ID="eWebEditor1" src="/ewebeditor.htm?id=content1&style=coolblue" frameborder="0" scrolling="no" width="500" HEIGHT="350"></iframe>

参考来源[ ]

EWebEditor使用手册导航

安装说明

集成调用

标准调用|弹窗调用|ASP.NET控件调用|注意事项

可视化配置管理

后台管理|样式管理|样式属性设置|工具栏管理|按钮管理|上传文件管理

表单接收

JavaScript API

常见问题及解答