[opencms-dev] WYSIWYG - Editing HTML content- Please HELP!

Jason Trump jason.trump at brulant.com
Wed Nov 2 21:19:31 CET 2005


I don't think what you're asking for is possible without some significant development effort -- hopefully someone else on the list will correct me if I'm wrong.

There are other ways to approach what you are trying to do, though less elegant.  For example, you could split your document into two.  One document is the "plain" type you refer to, in which you use the full-scale html editor.  The other document is of the "structured content" type, but instead of using an "OpenCmsHtml" field, use an "OpenCmsVfsFile" field and then link it to the first document.

You then have to change the template JSP that renders the "structured content" document, so that it includes the contents of the linked "plain" document.  It sounds complicated, but I think it would be not too bad to implement.

-jason

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
> bounces at opencms.org] On Behalf Of Sebastian Lavena
> Sent: Wednesday, November 02, 2005 3:02 PM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] WYSIWYG - Editing HTML content- Please HELP!
> 
> Nobody knows?
> 
> Please, at least someone can tell me where can I find an answer... I'm
> stagnant :S.
> 
> Thanks...
> 
> Sebastián
> ----- Original Message -----
> From: "Sebastian Lavena" <slavena at mkti.com.ar>
> To: "The OpenCms mailing list" <opencms-dev at opencms.org>
> Sent: Monday, October 31, 2005 12:01 PM
> Subject: [opencms-dev] WYSIWYG - Editing HTML content- Please HELP!
> 
> 
> > Hi list,
> >
> > I want to use for a content the html editor which comes with OpenCms but
> > not HtmlWidget. I need to edit the style of content too... I mean color,
> > size, font, etc... of the html, and I see that if for example I create a
> > page with "empty template", and I edit it...  a powerful html editor
> opens
> > (much more powerful than HtmlWidget).
> >
> > So, how can I associate the content of a xml to this editor, in order to
> > create a template to use it?
> >
> > Thanks a lot,
> >
> > Sebastian
> >
> >
> > _______________________________________________
> > 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
> >
> >
> > __________ Información de NOD32 1.1266 (20051026) __________
> >
> > Este mensaje ha sido analizado con  NOD32 antivirus system
> > http://www.nod32.com
> >
> >
> 
> 
> 
> _______________________________________________
> 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