CKEditor for RAP usage [message #837226] |
Thu, 05 April 2012 08:15  |
Eclipse User |
|
|
|
Hi,
has anyone experience using the CKEditor for RAP (eclipsesource.com/blogs/2012/03/22/ckeditor-for-rap/)?
I tried to use the editor without any luck. I downloaded the sources, exported a bundle and just added the editor on a wizard page.
CKEditor editor = new CKEditor(composite, SWT.NONE);
The UI looks good and I can edit the text. But if I use the getText method always an empty string is returned. I can also not set the text used in the editor.
This problem seems only to occur in Firefox (I use version 11). In IE9 and Google Chrome I can use the CKEditor.
Any hints regarding this problem?
Thanks for any support.
Regards
|
|
|
|
Re: CKEditor for RAP usage [message #840245 is a reply to message #837599] |
Mon, 09 April 2012 17:21  |
Eclipse User |
|
|
|
Update: I opend a bugzilla entry for what i suspect is the underlying
issue in RAP for this problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=376361
> Hi.
>
> I just toyed around a bit, at it seems that this happens when the editor
> is created while invisible. Not sure why. As a workaround you could try
> to create the editor only when it also is visible. I will try to fix
> this in the editor itself.
>
> Greetings,
> Tim
>
> Am 05.04.2012 14:15, schrieb Karsten Voigt:
>> Hi,
>>
>> has anyone experience using the CKEditor for RAP
>> (eclipsesource.com/blogs/2012/03/22/ckeditor-for-rap/)?
>>
>> I tried to use the editor without any luck. I downloaded the sources,
>> exported a bundle and just added the editor on a wizard page.
>>
>> CKEditor editor = new CKEditor(composite, SWT.NONE);
>>
>> The UI looks good and I can edit the text. But if I use the getText
>> method always an empty string is returned. I can also not set the text
>> used in the editor.
>>
>> This problem seems only to occur in Firefox (I use version 11). In IE9
>> and Google Chrome I can use the CKEditor.
>>
>> Any hints regarding this problem?
>>
>> Thanks for any support.
>>
>> Regards
>
--
Tim Buschtöns
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.04436 seconds