codemirror option for text widgets & danbooru tag autocomplete

This commit is contained in:
space-nuko
2023-05-24 11:47:08 -05:00
parent 6bbd18a261
commit 18c63c9f2e
15 changed files with 100697 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ export class ImageViewer {
currentImages: string[] = []
selectedIndex: number = -1;
currentGallery: HTMLDivElement | null = null;
static _instance: ImageViewer;
private static _instance: ImageViewer;
static get instance(): ImageViewer {
if (!ImageViewer._instance)