chore: remove readonly type
This commit is contained in:
@@ -622,6 +622,15 @@ watch(
|
||||
]),
|
||||
],
|
||||
})
|
||||
} else {
|
||||
view.value!.dispatch({
|
||||
effects: [
|
||||
readOnlyCompt.reconfigure([
|
||||
EditorState.readOnly.of(readonly),
|
||||
EditorView.theme({}),
|
||||
]),
|
||||
],
|
||||
})
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user