Dynamically catch and refresh colors in tag editor

This commit is contained in:
koloml committed 2024-10-12 20:15:59 +04:00
1 parent 03512a6539
commit 57c505bee9
2 files changed
+38 -31

No files matched your search

+2 -6
View File
@@ -1,7 +1,3 @@
import {initializeTagForm} from "$lib/components/TagsForm.js";
import {TagsForm} from "$lib/components/TagsForm.js";
const tagsEditorContainer = document.querySelector('#tags-form');
if (tagsEditorContainer) {
initializeTagForm(tagsEditorContainer);
}
TagsForm.watchForEditors();