From 3eb8a6ce9de7290c13748e0a6ecee2e0e83d2565 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 21 Jun 2022 12:24:00 +1000 Subject: [PATCH] Pass content directly instead of its writable container --- ts/editable/ContentEditable.svelte | 4 ++-- ts/editor/rich-text-input/RichTextInput.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/editable/ContentEditable.svelte b/ts/editable/ContentEditable.svelte index c75a0c094..2fee28aaf 100644 --- a/ts/editable/ContentEditable.svelte +++ b/ts/editable/ContentEditable.svelte @@ -39,11 +39,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html const description = getContext>(descriptionKey); $: descriptionCSSValue = `"${$description}"`; - export let content: Writable; + export let content: string;