mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
Generalized implementation of the text editor toolbar (#9147)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user