[opencms-dev] editor configuration
Andrea Bollini
bollini at cilea.it
Wed Feb 7 17:39:31 CET 2007
Hi,
you can set the configuration parameters in the <xsd:annotation>
section, see the example below
<xsd:annotation>
<xsd:appinfo>
<resourcebundle name="xxxxxxx" />
<preview uri="${previewtempfile}" />
<mappings>
<mapping element="Title" mapto="property:Title" />
</mappings>
<layouts>
<layout element="Description" widget="HtmlWidget"
configuration="height:250px,formatselect,source,link" />
</layouts>
<validationrules />
</xsd:appinfo>
</xsd:annotation>
best,
Andrea Bollini
Boggs, Michael ha scritto:
> Hello all,
>
> I have a few questions about the editor used in the ModulesDemo. I'm
> wondering specifically about the way it edits the text area fields.
> (<xsd:element name="Text" type="OpenCmsHtml" />)
>
> For example (in the news demo), I know it takes the news.xsd document from
> /system/modules/org.opencms.frontend.templateone.modules/schemas/news.xsd
> and uses that do determine what fields to display.
>
> My actual question: Is there a way to configure what buttons that the Text
> (type="OpenCmsHtml") field displays? Specifically, I want to add a hyperlink
> button, so users can put links into their news articles (without having to
> have them be at the bottom of the page).
>
> I hope this is clear, if not please let me know.
>
> -Mike
>
> _______________________________________________
> 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