Settings: prompts como tarjetas + modal editor TipTap (negrita, listas, código, etc.)

- PromptEditorModal.vue: nuevo componente con editor TipTap rich text
  toolbar: bold, italic, headings, bullet/ordered lists, code, quote, undo/redo
- SettingsView: prompts se muestran como tarjetas con preview y botón editar
  clic abre modal con editor completo + guardar/restaurar
- Instalado @tiptap/vue-3 con starter-kit y extensiones (placeholder, code, link, table)
This commit is contained in:
2026-05-30 00:48:21 -05:00
parent b21214d1f1
commit 97950adf8b
6 changed files with 3050 additions and 46 deletions
+12
View File
@@ -19,6 +19,16 @@
"@tauri-apps/api": "^2.11.0",
"@tauri-apps/cli": "^2.11.2",
"@tauri-apps/plugin-http": "^2.5.9",
"@tiptap/extension-code-block-lowlight": "^3.23.6",
"@tiptap/extension-image": "^3.23.6",
"@tiptap/extension-link": "^3.23.6",
"@tiptap/extension-placeholder": "^3.23.6",
"@tiptap/extension-table": "^3.23.6",
"@tiptap/extension-table-cell": "^3.23.6",
"@tiptap/extension-table-header": "^3.23.6",
"@tiptap/extension-table-row": "^3.23.6",
"@tiptap/starter-kit": "^3.23.6",
"@tiptap/vue-3": "^3.23.6",
"@vueuse/core": "^14.3.0",
"ag-grid-community": "^35.3.0",
"ag-grid-vue3": "^35.3.0",
@@ -26,10 +36,12 @@
"clsx": "^2.1.1",
"dexie": "^4.0.4",
"dnd-kit-vue": "^0.0.2",
"lowlight": "^3.3.0",
"lucide-vue-next": "^1.0.0",
"mammoth": "^1.12.0",
"pinia": "^2.1.7",
"reka-ui": "^2.9.8",
"shadcn-minimal-tiptap": "github:Aslam97/minimal-tiptap",
"shadcn-vue": "^2.7.3",
"sharp": "^0.34.5",
"tailwind-merge": "^3.6.0",