Extensions in GWT

5 views
Skip to first unread message

Alessandro [AkiRoss] Re

unread,
Jun 13, 2010, 10:39:26 AM6/13/10
to gwt-ckeditor
Hello,
in our application we are using CKEditor, but we need to provide an
high level of interaction between the editor and out GWT application.
In detail, the GWT application have some custom data; we should be
able to create a dialog (a GWT dialog would be better than a CKEditor
dialog), with a CKEditor command associated to it, and this dialog
shall contain the custom data, which will be used by the associated
command.

I'll give you a trivial example on what we need to do, to be clearer.

Our GWT application have a list of words, WordList, that is retrieved
someway. Then we would like to add a custom button "Add word" in
CKEditor (I'm actually able to do this in JavaScript), and by clicking
it, a GWT dialog window pops up, showing the WordList.
After selecting a word from this list, the users clicks OK and the
word is inserted in the CKEditor text.

As you see, there are two kind of interactions crom CKEditor to GWT:
1. When clicking the button, CKEditor shall ask GWT application to
show the dialog.
2. When selected the word, GWT shall give the dialog's result to
CKEditor.

I would like to know if it's possible to do such things with your
wrapper, possibly avoiding to use JSNI at all.

I'm actually trying to use JSNI to create this kind of two-way
interaction between CKEditor and GWT, but I'm having an hard time, and
that's why I came up finding this wrappert :)

Thanks very much
Reply all
Reply to author
Forward
0 new messages