diff --git a/components.d.ts b/components.d.ts index 4151f1e6..f6cc059e 100644 --- a/components.d.ts +++ b/components.d.ts @@ -303,6 +303,7 @@ declare module '@vue/runtime-core' { 'NanoMemo.content': typeof import('./src/tools/nano-memo/nano-memo.content.md')['default'] NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default'] NCode: typeof import('naive-ui')['NCode'] + NColorPicker: typeof import('naive-ui')['NColorPicker'] NConfigProvider: typeof import('naive-ui')['NConfigProvider'] NDivider: typeof import('naive-ui')['NDivider'] NEllipsis: typeof import('naive-ui')['NEllipsis'] @@ -318,6 +319,8 @@ declare module '@vue/runtime-core' { NLayoutSider: typeof import('naive-ui')['NLayoutSider'] NMenu: typeof import('naive-ui')['NMenu'] NScrollbar: typeof import('naive-ui')['NScrollbar'] + NSpace: typeof import('naive-ui')['NSpace'] + NSwitch: typeof import('naive-ui')['NSwitch'] NTable: typeof import('naive-ui')['NTable'] NumberInput: typeof import('./src/tools/pomodoro-timer/app/components/NumberInput.vue')['default'] NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default'] diff --git a/package.json b/package.json index b64323ca..fe55dae8 100644 --- a/package.json +++ b/package.json @@ -146,6 +146,7 @@ "heic-convert": "^2.1.0", "hex-array": "^1.0.0", "highlight.js": "^11.11.1", + "htmlfy": "^0.8.1", "hyparquet": "^1.9.0", "hyparquet-compressors": "^1.0.0", "iarna-toml-esm": "^3.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a90a33d4..06c9ee5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -335,6 +335,9 @@ dependencies: highlight.js: specifier: ^11.11.1 version: 11.11.1 + htmlfy: + specifier: ^0.8.1 + version: 0.8.1 hyparquet: specifier: ^1.9.0 version: 1.9.0 @@ -7026,7 +7029,7 @@ packages: dependencies: '@unhead/dom': 0.5.1 '@unhead/schema': 0.5.1 - '@vueuse/shared': 13.3.0(vue@3.3.4) + '@vueuse/shared': 13.5.0(vue@3.3.4) unhead: 0.5.1 vue: 3.3.4 dev: false @@ -7698,8 +7701,8 @@ packages: - vue dev: false - /@vueuse/shared@13.3.0(vue@3.3.4): - resolution: {integrity: sha512-L1QKsF0Eg9tiZSFXTgodYnu0Rsa2P0En2LuLrIs/jgrkyiDuJSsPZK+tx+wU0mMsYHUYEjNsuE41uqqkuR8VhA==} + /@vueuse/shared@13.5.0(vue@3.3.4): + resolution: {integrity: sha512-K7GrQIxJ/ANtucxIXbQlUHdB0TPA8c+q5i+zbrjxuhJCnJ9GtBg75sBSnvmLSxHKPg2Yo8w62PWksl9kwH0Q8g==} peerDependencies: vue: ^3.5.0 dependencies: @@ -11999,6 +12002,10 @@ packages: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} dev: false + /htmlfy@0.8.1: + resolution: {integrity: sha512-xWROBw9+MEGwxpotll0h672KCaLrKKiCYzsyN8ZgL9cQbVumFnyvsk2JqiB9ELAV1GLj1GG/jxZUjV9OZZi/yQ==} + dev: false + /htmlparser2@8.0.2: resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==} dependencies: diff --git a/src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue b/src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue index e6187c9b..06e266cd 100644 --- a/src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue +++ b/src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue @@ -1,16 +1,34 @@