chore: remove readonly type

This commit is contained in:
nivedin
2024-04-24 21:11:07 +05:30
parent 05ad84f372
commit 7411e36880

View File

@@ -622,6 +622,15 @@ watch(
]),
],
})
} else {
view.value!.dispatch({
effects: [
readOnlyCompt.reconfigure([
EditorState.readOnly.of(readonly),
EditorView.theme({}),
]),
],
})
}
}
)