Nested template functions (#186)

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

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,