From 3d26bca7c5afd840fbe70334b4b5bb9ec161750c Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 14 Feb 2025 12:40:42 -0800 Subject: [PATCH] refac: deprecate `[` `]` prompt variables --- src/lib/components/common/RichTextInput.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 7fa700dfa..80f92694c 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -53,10 +53,7 @@ // Function to find the next template in the document function findNextTemplate(doc, from = 0) { - const patterns = [ - { start: '[', end: ']' }, - { start: '{{', end: '}}' } - ]; + const patterns = [{ start: '{{', end: '}}' }]; let result = null;