@zeedhi/zd-richtext-common 1.4.2 → 1.4.3

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.
@@ -26,6 +26,10 @@ class RichText extends ComponentRender {
26
26
  */
27
27
  this.disabled = false;
28
28
  /**
29
+ * Turn the component into a readonly
30
+ */
31
+ this.readonly = false;
32
+ /**
29
33
  * Card color
30
34
  */
31
35
  this.cardColor = '';
@@ -29,6 +29,10 @@
29
29
  */
30
30
  this.disabled = false;
31
31
  /**
32
+ * Turn the component into a readonly
33
+ */
34
+ this.readonly = false;
35
+ /**
32
36
  * Card color
33
37
  */
34
38
  this.cardColor = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/zd-richtext-common",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "RichTextCommon by BVR",
5
5
  "main": "dist/rich-text-common.umd.js",
6
6
  "module": "dist/rich-text-common.esm.js",
@@ -23,5 +23,5 @@
23
23
  "@zeedhi/common": "^1.74.0",
24
24
  "@zeedhi/core": "^1.74.0"
25
25
  },
26
- "gitHead": "b13fac05395351ba466cc003ab891fd3cbeecd09"
26
+ "gitHead": "fdef8f2b0adf4943741b90db6b59e50f256bf705"
27
27
  }
@@ -4,6 +4,7 @@ export interface IRichText extends IComponentRender {
4
4
  outputFormat?: string;
5
5
  placeholder?: string;
6
6
  disabled?: boolean;
7
+ readonly?: boolean;
7
8
  toolbarColor?: string;
8
9
  formatGetter?: IDictionary<() => any>;
9
10
  value?: any;
@@ -19,6 +19,10 @@ export declare class RichText extends ComponentRender implements IRichText {
19
19
  */
20
20
  disabled: boolean;
21
21
  /**
22
+ * Turn the component into a readonly
23
+ */
24
+ readonly: boolean;
25
+ /**
22
26
  * Toolbar color
23
27
  */
24
28
  toolbarColor?: string;