javierdotnet / gwt-ckeditor

Automatically exported from code.google.com/p/gwt-ckeditor
0 stars 0 forks source link

Thoughts on <form> interoperability #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Looks like CKEditor() puts the new instance into a (private)
FormPanel, which prevents keeping it in a real FormPanel and
interoperating with HTML forms.

Original issue reported on code.google.com by emmanuel...@gmail.com on 25 Feb 2010 at 12:19

GoogleCodeExporter commented 9 years ago
s, CKEditor is on a FormPanel, in order to intercept the submit event when 
clicking on 
the "Save" button. This is probably possible to avoid it, or optionnaly disable 
using 
this FormPanel when the user wants to.

Something like :

CKConfig c = new CKConfig();
c.useFormPanel(false);

Original comment by emmanuel...@gmail.com on 25 Feb 2010 at 12:20

GoogleCodeExporter commented 9 years ago
Method implemented.
By default, ckEditor will use a FormPanel but you can set useFormPanel to false 
with 
the method setUseFormPanel(boolean useFormPanel), which will replace the 
FormPanel with 
a SimplePanel.

Be aware that submitting the editor's content, won't be enabled if ckEditor 
isn't 
nested in a form.

Original comment by emmanuel...@gmail.com on 25 Feb 2010 at 5:03