Skip to content

Commit fecae92

Browse files
committed
use heading buttons, not a dropdown
1 parent edf09c9 commit fecae92

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
@@ -57,7 +57,7 @@ function createAndReplaceTextarea(textarea) {
5757
*/
5858
function getMarkdownToolbarOptions() {
5959
return [
60-
[{ header: [1, 2, 3, false] }],
60+
[{ header: 1 }, { header: 2 }, { header: 3 }],
6161
["bold", "italic"],
6262
["link", "image", "blockquote"],
6363
[{ list: "ordered" }, { list: "bullet" }],

0 commit comments

Comments
 (0)