fckeditor编辑器 (已配备好)
fckeditor编辑器 (已配置好)
用法如下:
1.新建一个文件upload(其他名字出错,需要改名字需要在配置文件修改)跟editor同一级目录
2.引用editor/ckeditor/ckeditor.js的js(注意路径同级目录不用加../ ) <script src="../editor/ckeditor/ckeditor.js" type="text/javascript"></script>
不同目录:
<script src="../editor/ckeditor/ckeditor.js" type="text/javascript"></script>
3.
服务器控件用法:
TextMode="MultiLine" CssClass="ckeditor"
<asp:TextBox ID="TxtContent" TextMode="MultiLine" CssClass="ckeditor" runat="server"></asp:TextBox>
html控件用法:拖出一个多行文本框:加上这句话class="ckeditor"