]> BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/ui/defaults/toolbars.ts
Lexical: Added a media toolbar, improved toolbars and media selection
[bookstack] / resources / js / wysiwyg / ui / defaults / toolbars.ts
index b09a7530f1f21773bb27c76486ebe6fc7c16f6fe..cdc451d088bc08c02a003eac320773b868996f6b 100644 (file)
@@ -224,6 +224,10 @@ export function getImageToolbarContent(): EditorUiElement[] {
     return [new EditorButton(image)];
 }
 
+export function getMediaToolbarContent(): EditorUiElement[] {
+    return [new EditorButton(media)];
+}
+
 export function getLinkToolbarContent(): EditorUiElement[] {
     return [
         new EditorButton(link),