feat(input-rich-text) : ajout d'un éditeur de texte riche basé sur TipTap v3
Composant MalioInputRichText aligné sur le thème Malio : - TipTap v3.22.5 + StarterKit + Placeholder + tiptap-markdown 0.9.0 - Toolbar : gras, italique, barré, H2/H3, listes, citation, code, lien, undo/redo - États error / success / hint, props disabled / readonly / editable - Sortie configurable markdown (défaut) ou HTML via outputFormat - Couleurs m-primary / m-danger / m-success / m-muted, icônes mdi:* - Tests (12), playground page, story Histoire, MAJ CHANGELOG + COMPONENTS Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './'),
|
||||
'tiptap-markdown': path.resolve(__dirname, 'node_modules/tiptap-markdown/dist/tiptap-markdown.es.js'),
|
||||
},
|
||||
},
|
||||
css: {
|
||||
@@ -19,6 +20,17 @@ export default defineConfig({
|
||||
plugins: [tailwindcss(), autoprefixer()],
|
||||
},
|
||||
},
|
||||
ssr: {
|
||||
noExternal: ['tiptap-markdown', /^@tiptap\//],
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'tiptap-markdown',
|
||||
'@tiptap/vue-3',
|
||||
'@tiptap/starter-kit',
|
||||
'@tiptap/extension-placeholder',
|
||||
],
|
||||
},
|
||||
},
|
||||
plugins: [HstVue()],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user