[opencms-dev] Real rich text editing in XML content
Jonathan Woods
jonathan.woods at scintillance.com
Wed Jun 14 17:02:48 CEST 2006
Include the followinng in the <appinfo> tree at the bottom of your schema:
<layouts>
<layout element="MainText"
widget="org.opencms.widgets.CmsHtmlWidget"
configuration="formatselect,link,anchor,source,imagegallery,downloadgallery,
linkgallery,htmlgallery,tablegallery" />
...
</layout>
and that should do the trick.
Jon
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jan.Hegewald at sdm.de
Sent: 14 June 2006 15:45
To: opencms-dev at opencms.org
Subject: [opencms-dev] Real rich text editing in XML content
Hello list,
I have a question concerning XML content types. As far as I can see, the
most flexible datatype for text as XML content is OpenCmsHtml. My problem
is, that the corresponding widget does only allow very basic formatting and
no insertion of pictures or - more important - even links into the text. If
I want to have links in that article, I have to have separate fields for it
in the XML content type definition, but this would deny the user to place
links in the text where he wants them. To put it short: I need the full
fledged HTML editor for single fields of structured content as well.
Is there a possibility to get this working?
The background is that I'd like to create an XML content type for articles
with separate fields for Title, Teaser Text, Main Text and so on, but also
with the capability of putting links into the Main Text of the article at
any location (or even pictures and stuff like that). I believe this should
be a quite common requirement.
Any help greatly appreciated.
Yours,
Jan Hegewald
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list