diff --git a/ts/editor/FieldDescription.svelte b/ts/editor/FieldDescription.svelte new file mode 100644 index 000000000..f8b1fd731 --- /dev/null +++ b/ts/editor/FieldDescription.svelte @@ -0,0 +1,22 @@ + +
+ +
+ + diff --git a/ts/editor/NoteEditor.svelte b/ts/editor/NoteEditor.svelte index 8aa9261fb..00d9bd71f 100644 --- a/ts/editor/NoteEditor.svelte +++ b/ts/editor/NoteEditor.svelte @@ -49,6 +49,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import { EditorToolbar } from "./editor-toolbar"; import type { FieldData } from "./EditorField.svelte"; import EditorField from "./EditorField.svelte"; + import FieldDescription from "./FieldDescription.svelte"; import Fields from "./Fields.svelte"; import FieldsEditor from "./FieldsEditor.svelte"; import FrameElement from "./FrameElement.svelte"; @@ -361,6 +362,9 @@ the AddCards dialog) should be implemented in the user of this component. > + + {fieldDescriptions[index]} +