%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %> <%@page import="java.util.HashMap"%> <%@page import="java.util.Map"%> <%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
This sample shows how to replace a selected <textarea>
element
with a CKEditor instance by using Java code.
To replace a <textarea>
element, place the following call at any point
after the <textarea>
element:
<ckeditor:replace replace="textarea_id" basePath="/ckeditor/" />
Note that textarea_id
in the code above is the id
attribute of
the <textarea>
element to be replaced.