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"
|
autoCorrect="false"
|
||||||
autoSave="false"
|
autoSave="false"
|
||||||
autoFocus
|
autoFocus
|
||||||
spellCheck={false}
|
spellCheck={true}
|
||||||
alignment={shape.style.textAlign}
|
alignment={shape.style.textAlign}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue