mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Lexical: Added initial form/modal styles
This commit is contained in:
@ -87,17 +87,17 @@ export function getMainEditorFullToolbar(): EditorContainerUiElement {
|
||||
new EditorButton(fullscreen),
|
||||
|
||||
// Test
|
||||
new EditorButton({
|
||||
label: 'Test button',
|
||||
action(context: EditorUiContext) {
|
||||
context.editor.update(() => {
|
||||
// Do stuff
|
||||
});
|
||||
},
|
||||
isActive() {
|
||||
return false;
|
||||
}
|
||||
})
|
||||
// new EditorButton({
|
||||
// label: 'Test button',
|
||||
// action(context: EditorUiContext) {
|
||||
// context.editor.update(() => {
|
||||
// // Do stuff
|
||||
// });
|
||||
// },
|
||||
// isActive() {
|
||||
// return false;
|
||||
// }
|
||||
// })
|
||||
]),
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user