mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Lexical: Added list support, started todo
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
import {EditorButton} from "./framework/buttons";
|
||||
import {
|
||||
alignCenter, alignJustify,
|
||||
alignLeft,
|
||||
alignRight,
|
||||
blockquote, bold, bulletList, clearFormating, code, codeBlock,
|
||||
dangerCallout, details, editCodeBlock, fullscreen,
|
||||
h2, h3, h4, h5, highlightColor, horizontalRule, image,
|
||||
@ -62,6 +65,14 @@ export function getMainEditorFullToolbar(): EditorContainerUiElement {
|
||||
new EditorButton(clearFormating),
|
||||
]),
|
||||
|
||||
// Alignment
|
||||
new EditorOverflowContainer(4, [
|
||||
new EditorButton(alignLeft),
|
||||
new EditorButton(alignCenter),
|
||||
new EditorButton(alignRight),
|
||||
new EditorButton(alignJustify),
|
||||
]),
|
||||
|
||||
// Lists
|
||||
new EditorOverflowContainer(3, [
|
||||
new EditorButton(bulletList),
|
||||
|
Reference in New Issue
Block a user