feat: Markdown编辑器添加有序列表按钮支持
This commit is contained in:
1 parent
4f7e3795c0
commit
a0b52cee63
1 file changed
+9
@@ -15,6 +15,7 @@
|
||||
Italic,
|
||||
Link,
|
||||
List,
|
||||
ListOrdered,
|
||||
SquareSplitVertical,
|
||||
Strikethrough
|
||||
} from 'lucide-svelte';
|
||||
@@ -257,6 +258,14 @@
|
||||
>
|
||||
<List aria-hidden="true" />
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="md-btn"
|
||||
onclick={() => insertAtCursor('1. ', '', '列表项')}
|
||||
title="有序列表"
|
||||
>
|
||||
<ListOrdered aria-hidden="true" />
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="md-btn"
|
||||
|
||||
Reference in new issue
Block a user