Fix blur clear email (#2862)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-03-31 12:03:31 +06:00 committed by GitHub
parent fcebe0c3fa
commit 0dcee81ef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -36,7 +36,6 @@
const notificationClient = NotificationClientImpl.getClient()
let objectId = generateId()
let editor: StyledTextEditor
let copy: string = ''
const obj: Data<NewMessage> = {
@ -216,7 +215,7 @@
</div>
{/if}
<div class="input mt-4 clear-mins">
<StyledTextEditor bind:this={editor} full bind:content={obj.content} maxHeight="panel" on:blur={editor.submit} />
<StyledTextEditor full bind:content={obj.content} maxHeight="panel" />
</div>
</div>
</Scroller>

View File

@ -62,7 +62,6 @@
const attachmentParentId = generateId()
let editor: StyledTextEditor
let subject: string = ''
let content: string = ''
let copy: string = ''
@ -320,7 +319,7 @@
</div>
{/if}
<div class="input mt-4 clear-mins">
<StyledTextEditor bind:this={editor} full bind:content on:blur={editor.submit} />
<StyledTextEditor full bind:content />
</div>
</div>
</Scroller>