Skip to content

Commit

Permalink
Update policy package
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Oct 23, 2024
1 parent 5d5af2d commit ca6ab9f
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions packages/policy/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Tooltips } from '@rohberg/volto-slate-glossary/components';
const applyConfig = (config) => {
// glossary tooltips
config.settings.glossary.caseSensitive = false;
config.settings.glossary.matchOnlyFirstOccurence = true;
config.settings.glossary.matchOnlyFirstOccurence = false;

// Tootips everywhere
// Tooltips everywhere
config.settings.appExtras = [
...config.settings.appExtras,
{
Expand All @@ -14,19 +14,6 @@ const applyConfig = (config) => {
},
];

// DEBUG Toltips only in /documentation and /hints
config.settings.appExtras = [
...config.settings.appExtras,
{
match: '/documentation',
component: Tooltips,
},
// {
// match: '/hints',
// component: Tooltips,
// },
];

return config;
};

Expand Down

0 comments on commit ca6ab9f

Please sign in to comment.