fix(client): remove auto focus for rich text component

This commit is contained in:
chenos 2022-04-12 23:19:01 +08:00
parent 85fb8d7452
commit 5d9976b35e

View File

@ -85,7 +85,7 @@ export const RichText = (props: any) => {
renderLeaf={renderLeaf}
placeholder={placeholder}
spellCheck
autoFocus
style={{ minHeight: '10em' }}
readOnly={readOnly}
onKeyDown={(event) => {
for (const hotkey in HOTKEYS) {