Nested template functions (#186)

This commit is contained in:
Gregory Schier authored and GitHub committed 2025-03-18 12:49:19 -07:00
1 parent b9ed554aca
commit cb773babe1
9 files changed
+321 -118

No files matched your search

+1 -1
View File
@@ -266,7 +266,7 @@ export const Editor = forwardRef<EditorView | undefined, EditorProps>(function E
async (fn: TemplateFunction, tagValue: string, startPos: number) => {
const initialTokens = await parseTemplate(tagValue);
showDialog({
id: 'template-function',
id: 'template-function-'+Math.random(), // Allow multiple at once
size: 'sm',
title: 'Configure Function',
description: fn.description,