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() }, ]