From 2ffc6e64c1468223d29ec6ae1885334d225b4ddf Mon Sep 17 00:00:00 2001 From: MikiVL Date: Tue, 5 May 2026 03:49:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=9C=E6=9D=A0=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=88=86=E5=89=B2=E7=BA=BF=E6=96=87=E6=A1=88?= =?UTF-8?q?=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/editor/Editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/editor/Editor.tsx b/src/components/editor/Editor.tsx index 9afe849..a9b767a 100644 --- a/src/components/editor/Editor.tsx +++ b/src/components/editor/Editor.tsx @@ -49,7 +49,7 @@ const SLASH_ITEMS = [ const url = window.prompt('图片地址(URL)') if (url) e?.chain().focus().setImage({ src: url }).run() }}, - { label: '分割线', desc: '水平线', icon: , action: (e: ReturnType) => e?.chain().focus().setHorizontalRule().run() }, + { label: '分割线', desc: '插入水平分割线', icon: , action: (e: ReturnType) => e?.chain().focus().setHorizontalRule().run() }, { label: '表格', desc: '插入表格', icon: , action: (e: ReturnType) => e?.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run() }, ]