mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-04 08:51:05 +02:00
#752 - use new field processing
This commit is contained in:
@@ -1042,7 +1042,7 @@ export class ContentType {
|
||||
console.log(field.name, defaultValue, Array.isArray(defaultValue));
|
||||
|
||||
if (typeof defaultValue === 'string') {
|
||||
data[field.name] = ContentType.processFieldPlaceholders(
|
||||
data[field.name] = await ContentType.processFieldPlaceholders(
|
||||
defaultValue,
|
||||
data,
|
||||
contentType,
|
||||
|
||||
Reference in New Issue
Block a user