ONLYOFFICE / sdkjs-plugins

The add-ons for ONLYOFFICE Document Server and ONLYOFFICE Desktop Editors.
https://www.onlyoffice.com
Apache License 2.0
136 stars 134 forks source link

Is there a way to put the plugin icon on the main toolbar? #2

Closed tsmgodoi closed 8 years ago

tsmgodoi commented 8 years ago

I've managed to run the plugins. But I need to put its icon on the main toolbar. Is there a way to do it?

K0R0L commented 8 years ago

Thank you for your interest). Look plug-ins are in the editor as follows:

plugins

Try it - the easiest way is: take the plugin (eg chess), to archive the contents of a folder (not the folder) in the zip archive, rename to chess.plugin and do drag drop the resulting file to the desktop editor main page. Instructions on how to write plug-ins, how to include everyone on the server, or separately for each user in the Web version, or installed in a desktop - will be released within a month.

tsmgodoi commented 8 years ago

Thanks for the feedback. I've managed to run the plugins on the web version. This is an exciting feature. It would be nice if we could customize the upper toolbar to include a plugin button too. Another interesting feature would be the ability of a plugin to be initialized automatically, so we could intercept some events automatically. Keep up the good work with this awesome project!

trofim24 commented 8 years ago

variations.icons - Plugin icon image files used in the editors. https://api.onlyoffice.com/plugin/config