mirror of https://github.com/buster-so/buster.git
Merge branch 'nate/report-hot-fix' of https://github.com/buster-so/buster into nate/report-hot-fix
This commit is contained in:
commit
29fe1a1b34
|
@ -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: {
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue