basic text editor

This commit is contained in:
2025-09-06 01:21:13 +02:00
parent 73d3b2a27f
commit a4c2c039d2
13 changed files with 315 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
export const useImageViewer = defineStore('image-viewer', {
state: () => ({
src: null as string | null,
}),
actions: {
open(src: string) {
this.src = src;
},
close() {
this.src = null;
},
},
});