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]'
|
||||
)
|
||||
},
|
||||
readOnly: {
|
||||
true: 'cursor-text'
|
||||
readonly: {
|
||||
true: 'cursor-default pointer-events-none user-select-none'
|
||||
}
|
||||
},
|
||||
defaultVariants: {
|
||||
|
|
|
@ -120,7 +120,6 @@ export const ReportEditor = React.memo(
|
|||
return (
|
||||
<Plate
|
||||
editor={editor}
|
||||
readOnly={readOnly || isStreaming}
|
||||
onValueChange={onValueChangeDebounced}>
|
||||
<EditorContainer
|
||||
variant={variant}
|
||||
|
|
Loading…
Reference in New Issue