mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Lexical: Added tracked container, added fullscreen action
Changed how the editor is loaded in, so it now creates its own DOM, and content is passed via creation function, to be better self-contained.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import {EditorButton} from "./framework/buttons";
|
||||
import {
|
||||
blockquote, bold, bulletList, clearFormating, code,
|
||||
dangerCallout, details,
|
||||
dangerCallout, details, fullscreen,
|
||||
h2, h3, h4, h5, highlightColor, horizontalRule, image,
|
||||
infoCallout, italic, link, numberList, paragraph,
|
||||
redo, source, strikethrough, subscript,
|
||||
@ -73,6 +73,7 @@ export function getMainEditorFullToolbar(): EditorContainerUiElement {
|
||||
|
||||
// Meta elements
|
||||
new EditorButton(source),
|
||||
new EditorButton(fullscreen),
|
||||
|
||||
// Test
|
||||
new EditorButton({
|
||||
|
Reference in New Issue
Block a user