[opencms-dev] HtmlWidget with minimal buttonbar
Andreas Zahner
a.zahner at alkacon.com
Wed Jun 28 08:44:29 CEST 2017
Hi Corrado,
try this as configuration:
buttonbar:[ bold numlist bullist link table code ]
For a complete reference of available buttons, have a look at the TinyMCE documentation: https://www.tinymce.com/docs/advanced/editor-control-identifiers/
Kind regards,
Andreas.
-------------------
Andreas Zahner
Alkacon Software GmbH & Co. KG - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org
Am 27.06.2017 um 17:35 schrieb Paoletti Corrado:
> Hi,
> I added two new buttons - orderedlist, unorderedlist -:
>
> <layout element="Html" widget="HtmlWidget" configuration="buttonbar:[ bold orderedlist unorderedlist link table code ]" />
>
> but they don't be shown... :-/
>
> Kind regards,
>
> Corrado
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Paoletti Corrado
> Sent: lunedì 26 giugno 2017 10:19
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] HtmlWidget with minimal buttonbar
>
> 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
>
>
>
>
> _______________________________________________
> 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