fix: enable spellcheck prop in textarea (#391)

This commit is contained in:
Siddhartha Varma 2021-11-27 15:18:13 +05:30 committed by GitHub
parent 4fc17f1398
commit 76d0751e2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View file

@ -188,7 +188,7 @@ export class StickyUtil extends TDShapeUtil<T, E> {
autoCorrect="false" autoCorrect="false"
autoSave="false" autoSave="false"
autoFocus autoFocus
spellCheck={false} spellCheck={true}
alignment={shape.style.textAlign} alignment={shape.style.textAlign}
/> />
)} )}

View file

@ -201,6 +201,7 @@ export class TextUtil extends TDShapeUtil<T, E> {
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}
onBlur={handleBlur} onBlur={handleBlur}
onPointerDown={handlePointerDown} onPointerDown={handlePointerDown}
spellCheck="true"
wrap="off" wrap="off"
dir="auto" dir="auto"
datatype="wysiwyg" datatype="wysiwyg"