Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » CKEditor for RAP usage
CKEditor for RAP usage [message #837226] Thu, 05 April 2012 12:15 Go to next message
Karsten Voigt is currently offline Karsten VoigtFriend
Messages: 19
Registered: July 2011
Junior Member
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 #837599 is a reply to message #837226] Thu, 05 April 2012 21:59 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
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/
Re: CKEditor for RAP usage [message #840245 is a reply to message #837599] Mon, 09 April 2012 21:21 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
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/
Previous Topic:How to disable the selected perspective right-click menu?
Next Topic:2 questions to the RAP target
Goto Forum:
  


Current Time: Sat Apr 27 00:31:38 GMT 2024

Powered by FUDForum. Page generated in 0.02843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top