From 17eb19ff1b64fb709032b7de753f9c7619147eac Mon Sep 17 00:00:00 2001 From: wouter-adriaens Date: Fri, 4 Oct 2024 17:45:58 +0200 Subject: [PATCH] #326 Finish base editor --- .storybook/main.scss | 5 + src/components/dumb/OeEditor.vue | 142 +++++++++++++----- src/models/editor.ts | 30 ++++ src/models/index.ts | 1 + src/stories/dumb-components/editor.stories.ts | 39 +++++ 5 files changed, 177 insertions(+), 40 deletions(-) diff --git a/.storybook/main.scss b/.storybook/main.scss index 0e748a3c..b4be7c60 100644 --- a/.storybook/main.scss +++ b/.storybook/main.scss @@ -12,3 +12,8 @@ .vl-modal-backdrop { display: none; } + +// Skip showing de default story a second time because an editor with duplicate id's will break +#stories + #anchor--dumb-components-editor--default { + display: none; +} diff --git a/src/components/dumb/OeEditor.vue b/src/components/dumb/OeEditor.vue index f3155937..8debef30 100644 --- a/src/components/dumb/OeEditor.vue +++ b/src/components/dumb/OeEditor.vue @@ -1,18 +1,18 @@