在做新闻或者公告模块时,我们往往会用到类word的在线编辑器,此处以eWebEditor组件的使用为例简单介绍下其用法。
1.去eWebEditor的网站下载。(附件中已提供)
2.将下载好的精简版eWebEditor整个目录拷贝到webRoot/webContent下。
3.在页面中需要使用该组件的位置添加以下代码:
注意:name属性即为后台要获取的属性的值
<input type="hidden" name="content" value="">
<iframe id="eWebEditor1" src="../ewebeditor/ewebeditor.htm?id=content&style=standard600&skin=office2003" frameborder="0" scrolling="no" width="600" height="350"></iframe>
| <li><a href="http://dl.iteye.com/topics/download/580030ef-e676-3598-9b07-b3974a4d59e4">eWebEditor_Lite_V9.0.rar</a> |
本文介绍如何在新闻或公告模块中使用eWebEditor组件。通过三个步骤即可完成配置:下载精简版,复制文件夹到指定位置,并在页面上插入特定代码。文章包含详细的代码示例。

276

被折叠的 条评论
为什么被折叠?



