Skip to content

Commit 2617d0c

Browse files
committed
fix issue with view field examples
1 parent b6b0e05 commit 2617d0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exampleVault/Input Fields/Editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ INPUT[editor(showcase):editor]
6666

6767
```meta-bind
6868
INPUT[editor(showcase):editor2]
69-
```
69+
```

packages/core/src/utils/InputFieldExamples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function createViewFieldInsertExamples(_plugin: IPlugin): [string, string
144144
const ret: [string, string][] = [];
145145
for (const declarations of Object.values(VIEW_FIELD_EXAMPLE_DECLARATIONS)) {
146146
for (const declaration of declarations) {
147-
ret.push([declaration.title, `\`${declaration.declaration}]\``]);
147+
ret.push([declaration.title, `\`${declaration.display}\``]);
148148
}
149149
}
150150

0 commit comments

Comments
 (0)