Text alignment actions (#7604)

Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
Victor Ilyushchenko
2025-01-09 09:35:48 +07:00
committed by GitHub
parent 9c78dc6ad3
commit 89618c70f4
11 changed files with 105 additions and 21 deletions
@@ -175,6 +175,7 @@
}
: false,
drawingBoard: false,
textAlign: false,
submit: supportSubmit ? { submit } : false,
toolbar: {
element: textToolbarElement,
@@ -60,7 +60,6 @@
const { command } = action.action
if ((editor.commands as any)[command] === undefined) {
console.error(`Command ${command} not found`)
continue
}
}
@@ -8,7 +8,7 @@ export const InlinePopupExtension: Extension<BubbleMenuOptions> = BubbleMenu.ext
pluginKey: 'inline-popup',
element: null,
tippyOptions: {
maxWidth: '38rem',
maxWidth: '46rem',
zIndex: 500,
appendTo: () => document.body
}