Skip to content

Commit

Permalink
bug: playground - remove Markdown Plugin when rich text is turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Dec 27, 2024
1 parent 9dd94d1 commit 0d312e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demos/playground/src/RichTextComposer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,12 @@
<KeywordPlugin {keywordsRegex} />
<HashtagPlugin />
<AutoLinkPlugin />
<MarkdownShortcutPlugin transformers={ALL_TRANSFORMERS} />
<ColumnLayoutPlugin />

{#if $settings.isRichText}
<RichTextPlugin />

<MarkdownShortcutPlugin transformers={ALL_TRANSFORMERS} />
{#if $settings.isCollab}
<CollaborationPlugin
id="main"
Expand Down

0 comments on commit 0d312e2

Please sign in to comment.