1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Lexical: Added selection to state for aligned reading

Connected up to work with image form
This commit is contained in:
Dan Brown
2024-06-05 18:43:42 +01:00
parent e959c468f6
commit 0722960260
7 changed files with 99 additions and 5 deletions

View File

@ -2,7 +2,7 @@ import {EditorButton, FormatPreviewButton} from "./framework/buttons";
import {
blockquote, bold, code,
dangerCallout,
h2, h3, h4, h5,
h2, h3, h4, h5, image,
infoCallout, italic, link, paragraph,
redo, strikethrough, subscript,
successCallout, superscript, underline,
@ -40,5 +40,6 @@ export function getMainEditorFullToolbar(): EditorContainerUiElement {
new EditorButton(code),
new EditorButton(link),
new EditorButton(image),
]);
}