Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohberg/volto-slate-glossary
Glossary with tooltips
https://github.com/rohberg/volto-slate-glossary
plone volto volto-addon
Last synced: about 1 month ago
JSON representation
Glossary with tooltips
- Host: GitHub
- URL: https://github.com/rohberg/volto-slate-glossary
- Owner: rohberg
- License: mit
- Created: 2021-05-01T07:53:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-11T07:47:58.000Z (about 1 year ago)
- Last Synced: 2024-04-24T10:39:24.557Z (3 months ago)
- Topics: plone, volto, volto-addon
- Language: JavaScript
- Homepage:
- Size: 189 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- awesome-volto - volto-slate-glossary - Tooltips for glossary terms (Addons)
README
# @rohberg/volto-slate-glossary
Volto Add-On `@rohberg/volto-slate-glossary` adds tooltips for glossary terms of [collective.glossary](https://github.com/collective/collective.glossary)
![Tooltips @rohberg/volto-slate-glossary](https://github.com/rohberg/volto-slate-glossary/raw/main/public/volto-slate-glossary-tooltips.png)
Determine where to apply tooltips in your project by match configuration:
import { Tooltips } from '@rohberg/volto-slate-glossary/components';
export default function applyConfig(config) {
config.settings.appExtras = [
...config.settings.appExtras,
{
match: '/documentation',
component: Tooltips,
},
{
match: '/news',
component: Tooltips,
},
];return config;
}Install Plone Add-On [collective.glossary](https://github.com/collective/collective.glossary) in your backend.
User can opt-out by setting glossarytooltips to false.
Add a boolean member field *glossarytooltips* for it.This add-on requires Volto with Slate editor. Be sure to upgrade to Volto >= 16.0.0-alpha.15.