Преглед изворни кода

refac: deprecate `[` `]` prompt variables

Timothy Jaeryang Baek пре 2 месеци
родитељ
комит
3d26bca7c5
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      src/lib/components/common/RichTextInput.svelte

+ 1 - 4
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;