Generalized implementation of the text editor toolbar (#9147)

Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
Victor Ilyushchenko
2025-06-05 11:05:21 +07:00
committed by GitHub
parent fcb67d20f8
commit f21996252b
28 changed files with 1307 additions and 1113 deletions
@@ -55,6 +55,8 @@
import DocumentPrintTitlePage from '../print/DocumentPrintTitlePage.svelte'
import DocumentTitle from './DocumentTitle.svelte'
export let boundary: HTMLElement | undefined = undefined
const client = getClient()
const hierarchy = client.getHierarchy()
const user = getCollaborationUser()
@@ -279,6 +281,7 @@
object={$controlledDocument}
{attribute}
{user}
{boundary}
readonly={!$isEditable}
editorAttributes={{ style: 'padding: 0 2em; margin: 0 -2em;' }}
overflow="none"