Hi,

I am trying to integrate CKEditor with GWT so I tried following code:


    public void onModuleLoad(){
        FlowPanel panel = new FlowPanel();
        panel.addStyleName("edit-tools");
        panel.add(new Button("Edit", new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                loadEditor();
            }
        }));

        RootPanel.get("content").add(panel);
    }


native void loadEditor()/*-{
        $wnd.CKEDITOR.replace(document.getElementById("content-block"));
    }-*/;


but it didn't work. could anyone point out where i am wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to