فهرست منبع

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;