mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
fix: show collaborator connection errors (#9259)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -152,8 +152,6 @@
|
||||
|
||||
let editor: Editor
|
||||
let element: HTMLElement
|
||||
let textToolbarElement: HTMLElement
|
||||
let imageToolbarElement: HTMLElement
|
||||
let editorPopupContainer: HTMLElement
|
||||
|
||||
let placeHolderStr: string = ''
|
||||
@@ -242,10 +240,6 @@
|
||||
needFocus = false
|
||||
}
|
||||
|
||||
function handleFocus (): void {
|
||||
needFocus = true
|
||||
}
|
||||
|
||||
$: if (editor !== undefined) {
|
||||
// When the content is invalid, we don't want to emit an update
|
||||
// Preventing synchronization of the invalid content
|
||||
@@ -253,9 +247,6 @@
|
||||
editor.setEditable(editable, emitUpdate)
|
||||
}
|
||||
|
||||
// TODO: should be inside the editor
|
||||
$: showToolbar = canShowPopups
|
||||
|
||||
const optionalExtensions: AnyExtension[] = []
|
||||
|
||||
if (attachFile !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user