@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 +5 -0
- package/dist/codemirror.js +2890 -951
- package/dist/codemirror.min.js +1 -1
- package/package.json +20 -20
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
|