mirror of
https://github.com/rifts-obsidian-laboratory/anki-integration.git
synced 2026-07-22 05:42:50 +00:00
Features - Tag autofilling for AddNoteFromMetadataModal
This commit is contained in:
parent
27275ed975
commit
6ee817f20f
1 changed files with 4 additions and 0 deletions
|
|
@ -136,6 +136,10 @@ export class AddNoteFromMetadataModal extends Modal {
|
|||
"ankiIntegrationModal__container--flex-wrap",
|
||||
"ankiIntegrationModal__container--gap-16px"
|
||||
])
|
||||
|
||||
for (let i = 0; i < yaml["cardTags"].length; i++) {
|
||||
AddTagInputGroup(tagsBody, yaml["cardTags"][i]);
|
||||
}
|
||||
/**
|
||||
* @description addTagFieldButton's onClick() event listener used to add a tag input group in tagsBody.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue