mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: Remove non-functional spellCheck attribute and document VSCode webview limitation
- Removed spellCheck={true} from ChatTextArea as it does not work in VSCode webviews
- Added comment explaining the limitation with reference to VSCode issue #30180
- This addresses the concern raised by @mrubens about spell check not working
This commit is contained in:
parent
97aec2e6b7
commit
ad848acb62
1 changed files with 3 additions and 1 deletions
|
|
@ -1076,7 +1076,9 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
|
|||
minRows={3}
|
||||
maxRows={15}
|
||||
autoFocus={true}
|
||||
spellCheck={true}
|
||||
// Note: spellCheck doesn't work in VSCode webviews due to platform limitations
|
||||
// The native browser spell check functionality is disabled in VSCode's webview environment
|
||||
// See: https://github.com/microsoft/vscode/issues/30180
|
||||
className={cn(
|
||||
"w-full",
|
||||
"text-vscode-input-foreground",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue