fix: enable spellcheck prop in textarea (#391)
This commit is contained in:
parent
4fc17f1398
commit
76d0751e2f
3 changed files with 2 additions and 1 deletions
|
@ -188,7 +188,7 @@ export class StickyUtil extends TDShapeUtil<T, E> {
|
|||
autoCorrect="false"
|
||||
autoSave="false"
|
||||
autoFocus
|
||||
spellCheck={false}
|
||||
spellCheck={true}
|
||||
alignment={shape.style.textAlign}
|
||||
/>
|
||||
)}
|
||||
|
|
|
@ -201,6 +201,7 @@ export class TextUtil extends TDShapeUtil<T, E> {
|
|||
onKeyDown={handleKeyDown}
|
||||
onBlur={handleBlur}
|
||||
onPointerDown={handlePointerDown}
|
||||
spellCheck="true"
|
||||
wrap="off"
|
||||
dir="auto"
|
||||
datatype="wysiwyg"
|
||||
|
|
Loading…
Reference in a new issue