Plugin stylesTo bring the connected plugin to the ONLYOFFICE editor style, you can use the associated styles. They are connected to the plugin in the index.html file. The plugin.css code contains ONLYOFFICE styles for different interface elements. Stylesheet can be connected to the index.html file in the following way: <link rel="stylesheet" href="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css"> After that you can add interface elements to your plugins in the ONLYOFFICE style. Adding interface elements to the pluginHave a look at the YouTube plugin interface as an example of using ONLYOFFICE styles.
|
|
© Ascensio System SIA 2021. All rights reserved
|