TinyMceJar
|
The target for this project is simplify including of excellent TinyMCE
into Java/JSP/JSF based project.
Project provide single jar, that can be included into project with simplest configuration in web.xml and allow easy use it in jsp/jsf pages.
Project licensed under LGPL license and contains source code of TinyMCE
s
SVN url for project sources is http://svn.emforge.org/svn/emforge/tinymce-jar/trunk
It's simpler to operate with one jar lib either with couple of files, it's the first reason of this project and the second is to provide gzipping of js code out-of-the-box.
How to use it in your project:
(there you also can find sources) and put jar into WEB-INF/lib dir of your application.
<a4j:loadScript src="resources/scripts/tiny_mce/tiny_mce_gzip.js" type="text/javascript"/>
<script type="text/javascript">
// <![CDATA[
tinyMCE_GZ.init({
mode : "none",
theme : "simple",
disk_cache : true,
debug : false,
convert_urls : false
});
// ]]>
</script>