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

Edwin Chiu edwin.chiu at gmail.com
Wed Jan 20 09:52:55 CET 2010


Hi Kai,

The code for retrieving configuration in configwidget.js is difference to
7.5.0 now. I think you should look for the following class and attributes in
OpenCms 7.5.1.
1. org.opencms.editors.fckeditor.CmsFCKEditorWidget.BUTTON_TRANSLATION
2. org.opencms.widgets.CmsHtmlWidgetOption.BUTTONBAR_DEFAULT

The above 2 attributes is showing the FCK default elements. So you can
add/remove buttons here. 

But I also really want to know is there anyway proper way to configure the
FCK editor buttons.

Thanks
Edwin


Kai Schliemann wrote:
> 
> 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
> 
> 

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




More information about the opencms-dev mailing list