1
0
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:
Dan Brown
2024-06-12 14:01:36 +01:00
parent 5c343638b6
commit e889bc680b
7 changed files with 70 additions and 14 deletions

View File

@ -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),
]);
}