[opencms-dev] OpenCms 7.5.1: How to remove buttons fromthe FCKeditor in XMLContents

Edwin Chiu edwin.chiu at gmail.com
Wed Jan 20 10:16:07 CET 2010


Hi Andreas,

You've given me part of my answers.

For hiding buttons, I can make use of
"hidebuttons:bold;italic;underline;strikethrough".

How about adding buttons like FontName, FontSize or TextColor? Is it need to
add "configuration" attributes in HtmlWidget in opencms-vfs.xml?

Thanks
Edwin


Andreas Zahner wrote:
> 
> Kai,
> 
> from 7.5.1 on, we enhanced the HTML widget configuration options. There 
> is a new option to hide buttons, e.g. hidebuttons:bold;italic;underline
> 
> It is also now possible to set global widget configurations in the 
> opencms-vfs.xml file by adding a "configuration" attribute to the 
> "widget" elements. As long as there is no individual confiduration set 
> in a XSD, the global configuration is then used.
> 
> Have a closer look at the JavaDoc of 
> org.opencms.widgets.CmsHtmlWidgetOption to learn about the configuration 
> details.
> 
> Regards,
> Andreas.
> 
> -------------------
> Andreas Zahner
> 
> Alkacon Software GmbH  - The OpenCms Experts
> http://www.alkacon.com -  http://www.opencms.org
> 
> Schliemann, Kai schrieb:
>> Hi Kidd,
>> thanks for your answer. 
>> No, the buttons I want to remove are not accessible from the
>> configuration element of the HTMLWidget.
>> I want to remove buttons like "italic", "underline", "bold". There seems
>> to be a button set, from which you can only add buttons but not remove.
>> I hope, that in 7.5.1 there is still a possibility to remove any button I
>> like.
>> 
>> Regards
>> Kai
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Graeme Kidd
>> Gesendet: Mittwoch, 20. Januar 2010 01:20
>> An: 'The OpenCms mailing list'
>> Betreff: Re: [opencms-dev] OpenCms 7.5.1: How to remove buttons fromthe
>> FCKeditor in XMLContents
>> 
>>> Hi list,
>>> can anybody give me a hint on how to remove buttons from the FCKeditor
>>> in
>> XMLContents?
>>> Up to version 7.5.0 it was possible to do it in configwidget.js. But
>>> this
>> seems no longer possible.
>>> TIA
>>> Regards
>>> Kai
>> 
>> Are the buttons you need to remove accessible from the configuration
>> element
>> of the HTMLWidget
>> http://opencms-wiki.org/HtmlWidget
>> 
>> Otherwise what button are you wanting to remove?
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 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
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://old.nabble.com/OpenCms-7.5.1%3A-How-to-remove-buttons-from-the-FCKeditor-in-XMLContents-tp27222851p27238696.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list