Skip to content

Commit 772970d

Browse files
committed
add code block option to rich text editor toolbar
1 parent a5cecd0 commit 772970d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/rich-text-editor/rich_text_editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function getMarkdownToolbarOptions() {
5959
return [
6060
[{ header: 1 }, { header: 2 }, { header: 3 }],
6161
["bold", "italic"],
62-
["link", "image", "blockquote"],
62+
["link", "image", "blockquote", "code-block"],
6363
[{ list: "ordered" }, { list: "bullet" }],
6464
["clean"],
6565
];

0 commit comments

Comments
 (0)