mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac
This commit is contained in:
@@ -32,7 +32,11 @@
|
||||
<div
|
||||
contenteditable="true"
|
||||
bind:this={textareaElement}
|
||||
class="{className} whitespace-pre-wrap relative {!value.trim() ? 'placeholder' : ''}"
|
||||
class="{className} whitespace-pre-wrap relative {value
|
||||
? !value.trim()
|
||||
? 'placeholder'
|
||||
: ''
|
||||
: 'placeholder'}"
|
||||
style="field-sizing: content; -moz-user-select: text !important;"
|
||||
on:input={() => {
|
||||
const text = textareaElement.innerText;
|
||||
|
||||
Reference in New Issue
Block a user