r1 - 11 Jun 2007 - 22:30:22 - SteveStoreyYou are here: TWiki >  Main Web  >  JWCGWTTinyMCE > JWCGWTTinyMCEV011

OBSOLETE GWT - tinyMCE Plugin v0.1.1

This version has been obsoleted by version 0.2.1. This documentation remains for those users still using GWT 1.3 or below and wishing to use the JWC GWT tinyMCE package.

This module is an implementation of the the HtmlTextArea core component using the Tiny MCE DHTML Rich Text Editor.

The current implemented tinyMCE version is 2.0.6.1

This component contains the source and "compiled" code for the Tiny MCE DHTML text editor. You can use this editor with the JWC HtmlTextArea component as the editor implementation. To do so, insert the following code into the HTML <head> area of the page containing the GWT components:

        <script language="javascript" type="text/javascript" src="js/htmlarea/tiny_mce/tiny_mce.js"></script>
        <script language="javascript" type="text/javascript" src="js/htmlarea/gwt-tinyMce-binding.js"></script>
        <script language="javascript" type="text/javascript">
            /*****************************************************************
            Your usual tinyMCE initialization code should go here, an example
            is provided below
            *****************************************************************/
            tinyMCE.init({
                theme : "advanced",
                mode : "elements",
                plugins : "style,layer,table,save,advhr,advimage,advlink,iespell,preview,flash,searchreplace,print,contextmenu,paste,directionality,noneditable"
            });
        </script>

Also ensure that your script appears in the HTML before the gwt.js declaration

Downloads

The latest release for this project (0.1.1) can be downloaded here

-- SteveStorey - 23 Jul 2006

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Java Web Components
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback