From 4750686b9f7f0a35113e85cd960d79b53d88c26a Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sun, 14 Jun 2026 20:36:46 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20AI=20Writer=20index=20slashCommands=20co?= =?UTF-8?q?rrig=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit L'item 'Écrire avec l'IA' était inséré au milieu du tableau, décalant tous les index. Déplacé à la fin (index 37). --- memento-note/components/rich-text-editor.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/memento-note/components/rich-text-editor.tsx b/memento-note/components/rich-text-editor.tsx index 4a71420..e0b8356 100644 --- a/memento-note/components/rich-text-editor.tsx +++ b/memento-note/components/rich-text-editor.tsx @@ -176,9 +176,6 @@ const slashCommands: SlashItem[] = [ { title: 'Développer', description: 'Élaborer et enrichir le texte', icon: Expand, category: 'IA Note', isAi: true, aiOption: 'clarify', command: () => { } }, - { - title: 'Écrire avec l\'IA', description: 'Générer du contenu au curseur', icon: Sparkles, category: 'IA Note', isAi: true, aiOption: 'write', command: () => { } - }, // Formatting extensions { title: 'Bold', description: 'Make text bold', icon: Bold, category: 'Formatting', command: (e) => e.chain().focus().toggleBold().run() }, { title: 'Italic', description: 'Make text italic', icon: Italic, category: 'Formatting', command: (e) => e.chain().focus().toggleItalic().run() }, @@ -241,6 +238,9 @@ const slashCommands: SlashItem[] = [ title: 'Columns', description: 'Side-by-side layout', icon: Columns3, category: 'Basic blocks', shortcut: '/cols', command: (e) => { insertColumnsBlock(e, 2) }, }, + { + title: 'Écrire avec l\'IA', description: 'Générer du contenu au curseur', icon: Sparkles, category: 'IA Note', isAi: true, aiOption: 'write', command: () => { } + }, ] async function aiReformulate(text: string, option: string, t: any, language?: string): Promise {