[opencms-dev] (OpenCMS 6a3): Changing the CSS in WYSIWYG editor (htmlarea)
Andras Balogh
andras at reea.net
Tue Feb 1 08:54:21 CET 2005
Hello,
If you check the file you are talking about, futher down you will see:
config.pageStyle = "@import url(<%= cms.link(wp.getUriStyleSheet()) %>);";
This tells HtmlArea what is the style of the page.
I have read on this list that you should set the path to your css
as 'template' property of your jsp template
(this is a little bit strange but works ;)).
Best regards,
Andras.
Daniel Rhoden wrote:
> I was looking through the source code in the VFS to try to see if I
> could figure out how to import my site's stylesheet into htmlarea. I
> found a file called: /system/workplace/editors/htmlarea/editor.jsp
>
> and on line 488 this: // __editor.registerPlugin(CSS);
>
> Does this work? When I uncomment the line, it breaks the editor,
> causing only the source to be shown and no control button row.
>
> Does anyone know how to accomplish what I am wanting to do? I found a
> FAQ here
> (http://www.htmlarea.com/htmlarea_2/documentation.html#setup7) but it
> obviously doesn't take OpenCMS into account.
>
> Any feedback would be great. Thanks
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list