|
GettingStarted
GWT Rich Text Widget - Getting Started
Featured InstallationInstallation steps:
Note: for older versions (<= 0.1.2)
Sample Code HorizontalPanel hzContainer = new HorizontalPanel();
Editor editor = new Editor();
editor.setWidth("100%");
editor.setHeight("300px");
editor.setHTML("<h1>Hello World!</h1>");
editor.addLoadListener(new LoadListener() {
public void onLoad(Widget sender) {
// do something if you want...
}
public void onError(Widget sender) {
}
});
hzContainer.add(editor);NOTE: editor.load() method has been removed. Upgrading from 0.1.2 to 0.1.3Update you GWT module descriptor file to include
instead of
Known Issues |
► Sign in to add a comment
How can i use it in my site my site build in PHP and smarty template
Its not working on gwt1.4 ERROR? Uncaught exception escaped com.google.gwt.core.client.JavaScriptException?: JavaScript? Error exception: Unspecified error.
Hi, i'm getting the following exception whenever trying to call the Editor() constructor (using GWT 1.4.60) :
java.lang.NullPointerException?: container may not be null
Get the source code and update the class com.gc.gwt.wysiwyg.client.EditorToolbar? line 36. Change 'super.insert(w, null, beforeIndex)' to 'super.insert(w, beforeIndex)'
The original method call is deprecated and will always throw an exception when the second parameter is null
Cheers!
I tried to Change 'super.insert(w, null, beforeIndex)' to 'super.insert(w, beforeIndex)' but it can't be changed , It is in Non-editable state as it a Class File.... How to change?
sdf
This is how I got it working (I'm using Eclipse), right click the source folder in eclipse, click Import --> General --> Archive File. Choose the jar file (editor-0.1.3.jar).
Now a bunch of "com.gc.gwt." folders should be in your source folder. From here, Eclipse will recognize the imports and you should also be able to modify any files you want.
Oh yeah, read the above posts to get past the exception that is thrown upon loading.
Good luck!
Previous instructions work well. There seem to be a number of problems with the Safari implementation.
Did you plan to upgrade to gwt 2.0 ?
The latest version compiled for gwt 2.0
Hi hello. Where can I find the API doc for this RichTextEditor??.
Thank you.
Hey, I've been playing around with the RixhTextEditor?, its a nice widget. Im doing an app where I wanted something to edit the text, but I will only need about three buttons of the EditorToolBar?. Do I have to Manually remove everysingle button?. That makes the app slow at the beginning and also is throwing an error.
I just need the Style Size FontName? Bold and Italic. What is the best way to accomplish this?.
Thank you in adanced.
Hi, I am using GWT 2.1. This widget work properly in Chrome but not in Firefox. Could you please help me. Thanks in Advance..