Merge branch 'nate/report-hot-fix' of https://github.com/buster-so/buster into nate/report-hot-fix

This commit is contained in:
Nate Kelley 2025-08-21 21:22:52 -06:00
commit 29fe1a1b34
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 2 additions and 3 deletions

View File

@ -26,8 +26,8 @@ const editorContainerVariants = cva(
'has-data-readonly:w-fit has-data-readonly:cursor-default has-data-readonly:border-transparent has-data-readonly:focus-within:[box-shadow:none]' 'has-data-readonly:w-fit has-data-readonly:cursor-default has-data-readonly:border-transparent has-data-readonly:focus-within:[box-shadow:none]'
) )
}, },
readOnly: { readonly: {
true: 'cursor-text' true: 'cursor-default pointer-events-none user-select-none'
} }
}, },
defaultVariants: { defaultVariants: {

View File

@ -120,7 +120,6 @@ export const ReportEditor = React.memo(
return ( return (
<Plate <Plate
editor={editor} editor={editor}
readOnly={readOnly || isStreaming}
onValueChange={onValueChangeDebounced}> onValueChange={onValueChangeDebounced}>
<EditorContainer <EditorContainer
variant={variant} variant={variant}