32}
class:scrollable={isScrollable}
style="--texteditor-maxheight: {varsStyle};"
>
{#if isScrollable}
{
dispatch('message', ev.detail)
content = ''
textEditor?.clear()
}}
on:blur
on:focus
supportSubmit={false}
/>
{:else}
{
dispatch('message', ev.detail)
content = ''
textEditor?.clear()
}}
on:blur
on:focus
supportSubmit={false}
{boundary}
/>
{/if}