From 57d8667a4e9d918a2bd0b627afc42ba266046703 Mon Sep 17 00:00:00 2001 From: Mikey Stengel Date: Wed, 13 Nov 2024 13:14:23 +0100 Subject: [PATCH] fix(editor-web-component): Mark shadow as false --- packages/editor-web-component/package.json | 2 +- packages/editor-web-component/src/editor-web-component.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-web-component/package.json b/packages/editor-web-component/package.json index 21380d2e38..2a8bc3fcea 100644 --- a/packages/editor-web-component/package.json +++ b/packages/editor-web-component/package.json @@ -1,6 +1,6 @@ { "name": "@serlo/editor-web-component", - "version": "0.10.0", + "version": "0.10.1", "homepage": "https://de.serlo.org/editor", "bugs": { "url": "https://github.com/serlo/frontend/issues" diff --git a/packages/editor-web-component/src/editor-web-component.tsx b/packages/editor-web-component/src/editor-web-component.tsx index 5a6b2de9f6..9ff3669d97 100644 --- a/packages/editor-web-component/src/editor-web-component.tsx +++ b/packages/editor-web-component/src/editor-web-component.tsx @@ -76,7 +76,7 @@ export class EditorWebComponent extends HTMLElement { ) { this.mode = newValue } else if (name === 'use-shadow-dom') { - this._useShadowDOM = newValue !== 'false' + this._useShadowDOM = newValue === 'true' } else if (name === 'editor-variant' && oldValue !== newValue) { this.editorVariant = newValue as EditorVariant } else if (name === 'plugins' && oldValue !== newValue) {