[opencms-dev] HtmlWidget with minimal buttonbar

Paoletti Corrado c.paoletti at fineco.it
Mon Jun 26 10:18:55 CEST 2017


Hi Andreas,
it's works, many thanks!

The documentation could be updated with your suggests ;-)

Corrado


-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Andreas Zahner
Sent: giovedì 22 giugno 2017 11:33
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] HtmlWidget with minimal buttonbar

Hi Corrado,

unfortunately, the spellchecker button cannot be hidden currently.

For your 4 buttons, please try the following configuration notation, especially mind the blanks in the configuration string:

<layout element="Html" widget="HtmlWidget" configuration="buttonbar:[ bold link table code ]" />

Kind regards,

Andreas.

-------------------

Andreas Zahner

Alkacon Software GmbH & Co. KG  - The OpenCms Experts http://www.alkacon.com -  http://www.opencms.org

Am 22.06.2017 um 10:56 schrieb Paoletti Corrado:
> Hi,
> in a HtmlWidget I would like to show a minimal buttonbar: bold, link, table, source.
>
> In my schema I wrote:
>
> <xsd:annotation>
> 	<xsd:appinfo>
> 		<layouts>
> 			<layout element="Html" widget="HtmlWidget" configuration="buttonbar:bold;link;table;source" />
> 		</layouts>
> 	</xsd:appinfo>
> </xsd:annotation>
>
> but it is shown only bold and spellcheck buttons!
>
> I read:
>
> http://documentation.opencms.org/javadoc/core/org/opencms/widgets/CmsH
> tmlWidgetOption.html
>
> and then:
>
> http://www.opencms-wiki.org/wiki/HtmlWidget
>
> I think my BUTTONBAR_DEFAULT has link;table;source (http://documentation.opencms.org/javadoc/core/src-html/org/opencms/widgets/CmsHtmlWidgetOption.html#line.98).
>
> Can anyone help me?
>
> Kind regards,
>
> Corrado
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev







More information about the opencms-dev mailing list