@uiw/react-codemirror 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -246,6 +246,11 @@ export interface ReactCodeMirrorProps
246
246
  * @default true
247
247
  */
248
248
  editable?: boolean;
249
+ /**
250
+ * This disables editing of the editor content by the user.
251
+ * @default false
252
+ */
253
+ readOnly?: boolean;
249
254
  /**
250
255
  * Whether to optional basicSetup by default
251
256
  * @default true