From fc8a4e2fdaef7751aa3da8076070ddde27e504dd Mon Sep 17 00:00:00 2001 From: Stefan Dietz Date: Mon, 4 Nov 2024 17:50:36 +0100 Subject: [PATCH] Fix abbr usages in Designer and Sample App Refs: #6627 --- .../designer/src/components/editor/store.tsx | 26 ++---------------- .../react/src/components/handout/basic.tsx | 27 +++---------------- 2 files changed, 5 insertions(+), 48 deletions(-) diff --git a/packages/designer/src/components/editor/store.tsx b/packages/designer/src/components/editor/store.tsx index 48f80287bf..355e67b6eb 100644 --- a/packages/designer/src/components/editor/store.tsx +++ b/packages/designer/src/components/editor/store.tsx @@ -174,32 +174,10 @@ export const components: Record = { 'KOL-ABBR': () => (

- Ich bin eine{' '} - - ABB - {' '} - mit Tooltip oben + Ich z. B. bin eine Abkürzung mit Label.

- Ich bin eine{' '} - - ABB - {' '} - mit Tooltip rechts -

-

- Ich bin eine{' '} - - ABB - {' '} - mit Tooltip unten -

-

- Ich bin eine{' '} - - ABB - {' '} - mit Tooltip links + Ich z. B. bin eine Abkürzung ohne Label.

), diff --git a/packages/samples/react/src/components/handout/basic.tsx b/packages/samples/react/src/components/handout/basic.tsx index e94241318f..9810758f80 100644 --- a/packages/samples/react/src/components/handout/basic.tsx +++ b/packages/samples/react/src/components/handout/basic.tsx @@ -251,32 +251,11 @@ export const HandoutBasic: FC = () => {

- I am a{' '} - - ABB - {' '} - with tooltip at the top -

-

- I am a{' '} - - ABB - {' '} - with tooltip on the right -

-

- I am a{' '} - - ABB - {' '} - with tooltip at the bottom + I am e.g. an abbreviation.

+

- I am a{' '} - - ABB - {' '} - with tooltip on the left + I am e.g. an abbreviation without label.