How to add function buttons to editor toolbar?

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Posts: 1
Joined: Fri Feb 12, 2021 11:29 am

How to add function buttons to editor toolbar?

Postby berhab » Fri Feb 12, 2021 1:14 pm

For composing HTML mails, I would like to add function buttons to the HTML editor, such as source code view (code), Paste from Text, Paste from Word, or undo/redo.
In Zimbra\Zimbra Desktop\jetty\webapps\zimbra\js\, I have identified the following locations where tinymce buttons are configured:


Adding there, e.g., the "paste" plugin and the "pastetext" button doesn't seem having any effect.

How to do the appropriate changes to add and display function buttons?

[Additional remark: I have a similar request concerning the web client: I would like to use "Paste Text" and "Paste from Word" in the web client. I saw that Startup2_all.zgz is delivered to my browser, which contains tinymce initialization, including the paste plugin and pastetext button. The button is not displayed when using the advanced (ajax) client type (our default), but is displayed when using the standard (HTML) client type. Is there a way to also display the button in the advanced client type?]

Return to “Developers”

Who is online

Users browsing this forum: Google [Bot] and 2 guests