Commit 53bc6da
committed
✨ feat(editarea): add lang attribute and spellcheck to the edit area
- add lang and spellCheck={true} props to the contenteditable div
- strip region code from target_rfc (e.g. en-US → en) to match browser lang attribute format1 parent e6460f0 commit 53bc6da
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
| 729 | + | |
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| |||
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
| 759 | + | |
| 760 | + | |
759 | 761 | | |
760 | 762 | | |
761 | 763 | | |
| |||
0 commit comments