mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-20 12:21:28 +08:00
Lexical: Added basic list button/support
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
import {EditorButton} from "./framework/buttons";
|
||||
import {
|
||||
blockquote, bold, clearFormating, code,
|
||||
blockquote, bold, bulletList, clearFormating, code,
|
||||
dangerCallout, details,
|
||||
h2, h3, h4, h5, highlightColor, image,
|
||||
infoCallout, italic, link, paragraph,
|
||||
infoCallout, italic, link, numberList, paragraph,
|
||||
redo, source, strikethrough, subscript,
|
||||
successCallout, superscript, textColor, underline,
|
||||
successCallout, superscript, taskList, textColor, underline,
|
||||
undo,
|
||||
warningCallout
|
||||
} from "./defaults/button-definitions";
|
||||
@ -53,6 +53,11 @@ export function getMainEditorFullToolbar(): EditorContainerUiElement {
|
||||
new EditorButton(code),
|
||||
new EditorButton(clearFormating),
|
||||
|
||||
// Lists
|
||||
new EditorButton(bulletList),
|
||||
new EditorButton(numberList),
|
||||
new EditorButton(taskList),
|
||||
|
||||
// Insert types
|
||||
new EditorButton(link),
|
||||
new EditorButton(image),
|
||||
|
Reference in New Issue
Block a user