{#if isScrollable}
{
dispatch('message', ev.detail)
content = ''
textEditor.clear()
}}
on:blur
on:focus
supportSubmit={false}
{textEditorToolbar}
on:selection-update={updateFormattingState}
/>
{:else}
{
dispatch('message', ev.detail)
content = ''
textEditor.clear()
}}
on:blur
on:focus
supportSubmit={false}
{textEditorToolbar}
on:selection-update={updateFormattingState}
/>
{/if}