


Page visual editing ckeditor (web basic study notes 15)_html/css_WEB-ITnose
1. CKedit download ckedit
Download address: http://ckeditor.com/
2. Introduction of ckedit
2.1. Unzip and copy ckedit to the project
2.2. Introduce
into the page and add
<script type="text/javascript" src="<%=request.getContextPath()%>/ckeditor/ckeditor.js"></script>
2.3. Add class="ckeditor"
to the tags that need to use ckedit. Add class
tr> <td>内容</td> <td> <textarea id="newscontent" name="newscontent" class="ckeditor" rows="8"></textarea> </td></tr>
2.4. All code on the page
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><script type="text/javascript" src="<%=request.getContextPath()%>/ckeditor/ckeditor.js"></script>Insert title here
标题 | |