@senyao-design-system/editor 0.0.6 → 0.0.7

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/dist/types.d.ts CHANGED
@@ -47,6 +47,8 @@ export interface EditorProps {
47
47
  height?: string;
48
48
  /** 是否禁用 */
49
49
  disabled?: boolean;
50
+ /** 是否只读 */
51
+ readOnly?: boolean;
50
52
  /** 自定义类名 */
51
53
  className?: string;
52
54
  /** 自定义样式 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@senyao-design-system/editor",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "A flexible editor component based on CodeMirror",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",