The use of FCKeditor in JSP pages __jsp

Source: Internet
Author: User

<form>

<input type= "hidden" id= "ThemeName" "Name=" ThemeName "value=" "/> <iframe id=" Themename___frame "frameborder=" No "height=" "scrolling=" No "width=" 100% "src="/fckeditor/editor/fckeditor.html? instancename=themename&toolbar=Basic"> </iframe>

</form>

Basic is the configuration in the Fckconfig.js in the Fckeditor.jar package, you can select Basic (Slim) or defaul (all works).

Put the value from the data to the FCK in the foreground page and modify it to write

<input type= "hidden" id= "ThemeName" name= "ThemeName" value= "${theme.themename}"/>
<iframe id= "Themename___frame" frameborder= "no" height= "scrolling=" no "width=" 100% "src="/fckeditor/editor/ Fckeditor.html? Instancename=themename&toolbar=basic "> </iframe>

In use must pay attention to have a hidden domain, no no, the boss here to rearrange, the previous written also can. Upload a package, you can download!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.