Is it possible to set CSS attributes on the TrixEditor object, like set the height of the input box or enable resizing?
This seems not to work:
<TrixEditor bind:value={value} hideAttachmentButton={true} config={{style:'height: 500px'}} />
<TrixEditor bind:value={value} hideAttachmentButton={true} config={{css:'height: 500px'}} />
<TrixEditor bind:value={value} hideAttachmentButton={true} style="height: 500px" />
<TrixEditor bind:value={value} hideAttachmentButton={true} css="height: 500px" />
Is this the only way?
<style>
:global(.svelte-trix-content) {
min-height: 200px;
max-height: 500px;
overflow-y: auto;
resize: vertical;
}
</style>
Is it possible to set CSS attributes on the TrixEditor object, like set the height of the input box or enable resizing?
This seems not to work:
Is this the only way?