Links in FCK Editor?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Links in FCK Editor?

Jim Logan-3
I have a need for hyperlinks in the FCK editor. Is there a way to turn
on a button for that?

Thanks,
-Jim



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Links in FCK Editor?

fl.schmitt(ops-users)
Jim,

> I have a need for hyperlinks in the FCK editor. Is there a way to turn
> on a button for that?

yes - you will have to modifiy the fckconfig.js file that holds the
config information.

Take the orbeon-resources-public.jar from WEB-INF/lib and unzip it to a
temp dir. The fckconfig.js file is located in /ops/fckeditor. Starting
from line 79, there are the toolbars defined. You could just copy the
line "['Link','Unlink','Anchor']," into the OPS toolbar (take care about
the syntax - a missing comma may break the config!). After saving, zip
the orbeon-resources-public again and put the modified jar back into the
lib folder. You may have to restart the servlet container. Now, the
fckeditor should have three additional buttons to insert and remove
hyperlinks and to add anchors.

hth
florian

PS @orbeon: it seems that the fckeditor version in 3.7.0beta is a quite
old one - 2.3.1 from 2006 (current is 2.6.3). Is there hope that
3.7final will contain a more current version?



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Links in FCK Editor?

Jim Logan-3
Florian Schmitt wrote:

> Jim,
>
>  
>> I have a need for hyperlinks in the FCK editor. Is there a way to turn
>> on a button for that?
>>    
>
> yes - you will have to modifiy the fckconfig.js file that holds the
> config information.
>  
Great! Thank you, Florian!

-Jim



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws