From ca6ab9f74763271612fdac84393d0c540524aa30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katja=20Su=CC=88ss?= Date: Wed, 23 Oct 2024 13:51:08 +0200 Subject: [PATCH] Update policy package --- packages/policy/src/index.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/packages/policy/src/index.js b/packages/policy/src/index.js index 4086826..51562a3 100644 --- a/packages/policy/src/index.js +++ b/packages/policy/src/index.js @@ -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, { @@ -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; };