[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.epf] Re: Re-use Rich Text Editor component on Mac?

Peter Haumer wrote:
I see. I just wanted to say that most likely no one in our team has tried this yet. So the question needs to be answered by the rest of the community.

As you might have see already, the rte.js file is the collection of scripts realizing the editor against the IE control.

Peter.


"Phillip Beauvoir" <p.beauvoir@xxxxxxxxxxxxxxx> wrote in message news:f6o2jc$nc0$1@xxxxxxxxxxxxxxxxxxxx
Peter Haumer wrote:
Mac? Isn't that a telephone? :-)

Sorry, we currently do not support Macs and have not tested it in that environment, yet.

Peter.

I realise that. I'm trying to get it to work on a Mac. What I need is a better understanding of how this Rich Text Editor is working. Looks like some JavaScript calls to the Browser component, Safari on a Mac, I reckon. I'm trying to figure out why these calls don't do anything on a Mac. I reckon I'll get there in the end, but it would be quicker with some help and advice.



Thanks for the info. I'll carry on working on it. This is what I've got so far:


I've extrapolated the following bundles that are needed for the RTE (version 1.2) to work in a RCP application:

org.eclipse.epf.common
org.eclipse.epf.richtext
org.eclipse.epf.ui

I have a RichTextEditor class instantiated in an Editor View together with a populated RichTextToolBar. This all works fine on Windows XP and Ubuntu 7 (apart from a bug I noticed on the Toolbar layout).

On a Mac you can type plain text into the wysiwyg tab but the toolbar buttons/commands do nothing. You can type raw HTML code into the HTML window and it is rendered properly when switched to the other tab.

So it seems that it all kind of works on a Mac, if we could iron out a few wrinkles.