fix(client): remove auto focus for rich text component
This commit is contained in:
parent
85fb8d7452
commit
5d9976b35e
@ -85,7 +85,7 @@ export const RichText = (props: any) => {
|
|||||||
renderLeaf={renderLeaf}
|
renderLeaf={renderLeaf}
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
spellCheck
|
spellCheck
|
||||||
autoFocus
|
style={{ minHeight: '10em' }}
|
||||||
readOnly={readOnly}
|
readOnly={readOnly}
|
||||||
onKeyDown={(event) => {
|
onKeyDown={(event) => {
|
||||||
for (const hotkey in HOTKEYS) {
|
for (const hotkey in HOTKEYS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user