mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Lexical: Added view/edit source code button/form/action
This commit is contained in:
@ -4,7 +4,7 @@ import {
|
||||
dangerCallout, details,
|
||||
h2, h3, h4, h5, image,
|
||||
infoCallout, italic, link, paragraph,
|
||||
redo, strikethrough, subscript,
|
||||
redo, source, strikethrough, subscript,
|
||||
successCallout, superscript, underline,
|
||||
undo,
|
||||
warningCallout
|
||||
@ -42,5 +42,7 @@ export function getMainEditorFullToolbar(): EditorContainerUiElement {
|
||||
new EditorButton(link),
|
||||
new EditorButton(image),
|
||||
new EditorButton(details),
|
||||
|
||||
new EditorButton(source),
|
||||
]);
|
||||
}
|
Reference in New Issue
Block a user