Has anyone tried writing a custom plugin for FCKeditor in Orbeon?

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

Has anyone tried writing a custom plugin for FCKeditor in Orbeon?

Xin-4
Hi All,

Has anyone tried writing your own custom plugin for FCKeditor to support
mix content??

Does Orbeon support us doing this?
Do we have to change some orbeon source code?

Thanks!
xin



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Has anyone tried writing a custom plugin for FCKeditor in Orbeon?

Erik Bruchez
Administrator
Xin Chen wrote:
> Hi All,
>
> Has anyone tried writing your own custom plugin for FCKeditor to support
> mix content??
>
> Does Orbeon support us doing this?
> Do we have to change some orbeon source code?

At Orbeon I don't think we have ever tried to used FCKeditor plugins.
What kind of content are you looking to produce?

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Has anyone tried writing a custom plugin for FCKeditor in Orbeon?

fl.schmitt(ops-users)
In reply to this post by Xin-4
Xin Chen schrieb:

> Has anyone tried writing your own custom plugin for FCKeditor to
> support mix content??

Yes, this is no problem. I created a little plugin based on the
abbr-tag-Plugin:

http://sourceforge.net/tracker/index.php?func=detail&aid=1588968&group_id=75348&atid=737639

to enable some custom XHTML tags in FCKEditor.

> Does Orbeon support us doing this? Do we have to change some orbeon
> source code?

You have to unzip the WEB-INF/lib/ops-resources-public.jar; this archive
contains the fckeditor code in directory ops/fckeditor. After
implementing the changes, just zip the unzipped content again to create
a modified ops-resources-public.jar and put it into the lib dir on the
server. This should be sufficient to customize the FCKEditor component.

HTH
florian



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Has anyone tried writing a custom plugin for FCKeditor in Orbeon?

Xin-4
In reply to this post by Erik Bruchez
I need to create some custom tag for custom content, something like:

drug  button:
what it does:
you can select a piece of text, and click drug button, then it will
generate:
<span class="drug">text</span>
Then use css to make the text display as color blue. That's useful for
user to see the drug name.

Thanks!
xin

Erik Bruchez wrote:

> Xin Chen wrote:
>
>> Hi All,
>>
>> Has anyone tried writing your own custom plugin for FCKeditor to
>> support mix content??
>>
>> Does Orbeon support us doing this?
>> Do we have to change some orbeon source code?
>
>
> At Orbeon I don't think we have ever tried to used FCKeditor plugins.
> What kind of content are you looking to produce?
>
> -Erik
>
>------------------------------------------------------------------------
>
>
>--
>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
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Has anyone tried writing a custom plugin for FCKeditor in Orbeon?

Xin-4
In reply to this post by fl.schmitt(ops-users)
That's great! Florian.

I will give a try these days. Hopefully I can get it work.
Thanks a lot!

xin

Florian Schmitt wrote:

>Xin Chen schrieb:
>
>  
>
>>Has anyone tried writing your own custom plugin for FCKeditor to
>>support mix content??
>>    
>>
>
>Yes, this is no problem. I created a little plugin based on the
>abbr-tag-Plugin:
>
>http://sourceforge.net/tracker/index.php?func=detail&aid=1588968&group_id=75348&atid=737639
>
>to enable some custom XHTML tags in FCKEditor.
>
>  
>
>>Does Orbeon support us doing this? Do we have to change some orbeon
>>source code?
>>    
>>
>
>You have to unzip the WEB-INF/lib/ops-resources-public.jar; this archive
>contains the fckeditor code in directory ops/fckeditor. After
>implementing the changes, just zip the unzipped content again to create
>a modified ops-resources-public.jar and put it into the lib dir on the
>server. This should be sufficient to customize the FCKEditor component.
>
>HTH
>florian
>
>  
>
>------------------------------------------------------------------------
>
>
>--
>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
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws