Issue 30 in gwt-html-editor: can't inert text ( memory unload )

6 views
Skip to first unread message

codesite...@google.com

unread,
Oct 5, 2008, 9:46:20 PM10/5/08
to gwt-rich-t...@googlegroups.com
Issue 30: can't inert text ( memory unload )
http://code.google.com/p/gwt-html-editor/issues/detail?id=30

New issue report by aquua77:
sorry I can't write english well..

I use tiny mce editor.


if you can't insert text or not focus you must add below source code.


( source code ->
http://code.google.com/p/gwt-html-
editor/source/browse/branches/gwt1.4/src/com/gc/gwt/wysiwyg/client/tinymce/
TinyMCE.java?r=90
)

public void unload() {
unloadMCE(editorId);
}

/**
* unloadMCE() -
*
* @param id - The element's ID
* JSNI method to implement unloading the MCE editor instance
from memory
*/
protected native void unloadMCE(String id) /*-{
$wnd.tinyMCE.execCommand('mceRemoveControl', false, id);
}-*/;

how to use.

if close tiny mce editor
you must call unload method...

closeButton.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
tinyMceditor.unload();
closePopup();... etc.
}


Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Oct 6, 2008, 11:42:46 AM10/6/08
to gwt-rich-t...@googlegroups.com
Issue 30: can't inert text ( memory unload )
http://code.google.com/p/gwt-html-editor/issues/detail?id=30

Comment #1 by pavelgj:
Hi,

TinyMCE wrapper was never finished... there were some issues with layout and
listeners. If you'd like to contribute a patch you're more than welcome.

Thanks,

Pavel

Reply all
Reply to author
Forward
0 new messages