Plugin - DisableLogoLink
The CSS file loaded by the plugin is used to modify the mouse hover behavior further to remove any indication the logo is a link and uses standard CSS parameters and selectors.
/* Disable Pointer link and link cursor via CSS */
.prism-header__logo {
pointer-events: none;
cursor: default;
text-decoration: none;
}
The plugin.json file of the plugin is used to load both the Javascript and CSS files, which are placed in separate JS and Styles folders.
{
"name": "disableLogoLink",
"source": [
"js/disableLink.js"
],
"style": [
"styles/style.css"
],
"lastUpdate": "2024-02-23T00:04:45.445Z",
"folderName": "disableLogoLink",
"isEnabled": true,
"version": "1.0.0"
}
This plugin, which includes both CSS and Javascript functionality, can be used as a basic template for your own Sisense plugins that load custom Javascript and CSS.
How did the plugin work for you? What other type of plugin are you looking to learn more about?
Let me know in the comments!
Team Lead, Software Engineering of FES SWE at Sisense
1 comment
bamo
·2 years agothanks for sharing this