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"
autoSave="false"
autoFocus
spellCheck={false}
spellCheck={true}
alignment={shape.style.textAlign}
/>
)}

View file

@ -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"