[opencms-dev] wysiwyg editor has not a button
Schliemann, Kai
K.Schliemann at comundus.com
Fri Nov 7 17:37:52 CET 2014
Hi Corrado,
you don’t have to create a new buttonbar.
You can do it like that as well:
<widget class="org.opencms.widgets.CmsHtmlWidget" alias="HtmlWidget" configuration="link,unlink,anchor,editorlink,replace,image,imagegallery,downloadgallery,linkgallery,htmlgallery,tablegallery,source,cleanup,formatselect,hr,style,media" />
I don’t remember the differences of both approaches right now.
And I am not sure, if this approach works at all, because the HtmlWidget configuration is supposed to work for XML Contents. It looks like your are using XMLPage content type.
HTH
Best regards
Kai
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Paoletti Corrado
Gesendet: Freitag, 7. November 2014 16:14
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] wysiwyg editor has not a button
Hi Eugen,
after read your reply I'm reading a lot of documentation and I found this interesting email:
http://lists.opencms.org/pipermail/opencms-dev/2010q1/033696.html
suggesting to change opencms-vfs.xml (read also http://www.opencms-wiki.org/wiki/HtmlWidget and http://www.opencms.org/javadoc/core/constant-values.html#org.opencms.widgets.CmsHtmlWidgetOption.BUTTONBAR_DEFAULT).
If I understand I have to change
<widget class="org.opencms.widgets.CmsHtmlWidget" alias="HtmlWidget"/>
into
<widget class="org.opencms.widgets.CmsHtmlWidget" alias="HtmlWidget" configuration=" buttonbar:[;source;-;undo;redo;-;find;replace;-;selectall;removeformat;-;cut;copy;paste;-;FontName;FontSize;]" />
Adding “image” into configuration property. Is that right?
Thanks
Corrado
From: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Eugen Melnichuk
Sent: venerdì 7 novembre 2014 11:01
To: The OpenCms mailing list
Subject: Re: [opencms-dev] wysiwyg editor has not a button
Hi Corrado,
you can enable/disable features in TinyMCE. take a look here: http://www.opencms-wiki.org/wiki/HtmlWidget
what you are looking for is probably the "image" configuration. you either can enable it for a single instance of HtmlWidget in you xsd or for all instances in opencms-vfs.xml.
Eugen
codecentric AG | Merscheider Straße 1 | 42699 Solingen | Deutschland
tel: +49 (0) 212 23362831 | fax: +49 (0) 212 23362879 | mobil: +49 (0) 175 2244073
www.codecentric.de<http://www.codecentric.de> | blog.codecentric.de<http://blog.codecentric.de> | www.meettheexperts.de<http://www.meettheexperts.de> | www.more4fi.de<http://www.more4fi.de>
Sitz der Gesellschaft: Solingen | HRB 25917| Amtsgericht Wuppertal
Vorstand: Michael Hochgürtel . Mirko Novakovic . Rainer Vehns
Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Klaus Jäger . Jürgen Schütz
Diese E-Mail einschließlich evtl. beigefügter Dateien enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail und evtl. beigefügter Dateien umgehend. Das unerlaubte Kopieren, Nutzen oder Öffnen evtl. beigefügter Dateien sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
2014-11-07 10:51 GMT+01:00 Paoletti Corrado <c.paoletti at fineco.it<mailto:c.paoletti at fineco.it>>:
Hi all,
I'm a newbie of OpenCms so I'm sorry for my dummy questions. I hope to improve my knowledge of OpenCms in order to spread this tool in our company! ;-)
In a production environment we use OpenCms 7.0.5. Into wysiwyg editor we see the buttons you see in wysiwyg-7.0.5.png attachment.
In a development environment we use OpenCms 8.0.1. Into wysiwyg editor we see the buttons you see in wysiwyg-8.0.1.png attachment.
The only difference is the image button that is present in 7.0.5 version but not in 8.0.1. Why it happens?
We use Internet Explorer 8.0. With FireFox 31.2.0, 7.0.5 version and 8.0.1 version appear completely different: the former is richer.
Many thanks,
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20141107/c9ccc57c/attachment.htm>
More information about the opencms-dev
mailing list