Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2024-12-09 15:18:15 +00:00
commit 3a2abcb9a3

View File

@ -151,13 +151,7 @@ export const MarkdownVoid: any = withDynamicSchemaProps(
setLoading(true);
const cvtContentToHTML = async () => {
setTimeout(async () => {
const replacedContent = await getRenderContent(
engine,
content,
compile(variables),
compile(JSON.parse(JSON.stringify(localVariables))),
parseMarkdown,
);
const replacedContent = await getRenderContent(engine, content, variables, localVariables, parseMarkdown);
setHtml(replacedContent);
});
setLoading(false);