@zeedhi/zd-richtext-common 1.5.1 → 1.5.2
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.
|
@@ -45,6 +45,8 @@ class RichText extends ComponentRender {
|
|
|
45
45
|
* Component height.
|
|
46
46
|
*/
|
|
47
47
|
this.height = '';
|
|
48
|
+
this.label = '';
|
|
49
|
+
this.enableFullscreen = false;
|
|
48
50
|
this.fillHeight = false;
|
|
49
51
|
this.formatGetter = {};
|
|
50
52
|
/**
|
|
@@ -64,6 +66,8 @@ class RichText extends ComponentRender {
|
|
|
64
66
|
this.content = this.getInitValue('content', props.content, this.content);
|
|
65
67
|
this.value = this.getInitValue('value', props.value, this.value);
|
|
66
68
|
this.fonts = this.getInitValue('fonts', props.fonts, this.fonts);
|
|
69
|
+
this.label = this.getInitValue('label', props.label, this.label);
|
|
70
|
+
this.enableFullscreen = this.getInitValue('enableFullscreen', props.enableFullscreen, this.enableFullscreen);
|
|
67
71
|
this.createAccessors();
|
|
68
72
|
}
|
|
69
73
|
get value() {
|
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
* Component height.
|
|
49
49
|
*/
|
|
50
50
|
this.height = '';
|
|
51
|
+
this.label = '';
|
|
52
|
+
this.enableFullscreen = false;
|
|
51
53
|
this.fillHeight = false;
|
|
52
54
|
this.formatGetter = {};
|
|
53
55
|
/**
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
this.content = this.getInitValue('content', props.content, this.content);
|
|
68
70
|
this.value = this.getInitValue('value', props.value, this.value);
|
|
69
71
|
this.fonts = this.getInitValue('fonts', props.fonts, this.fonts);
|
|
72
|
+
this.label = this.getInitValue('label', props.label, this.label);
|
|
73
|
+
this.enableFullscreen = this.getInitValue('enableFullscreen', props.enableFullscreen, this.enableFullscreen);
|
|
70
74
|
this.createAccessors();
|
|
71
75
|
}
|
|
72
76
|
get value() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/zd-richtext-common",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
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": "
|
|
26
|
+
"gitHead": "9ca7713e55a3c661d1b932c971fbfff56d3c4c34"
|
|
27
27
|
}
|
package/types/interfaces.d.ts
CHANGED
package/types/rich-text.d.ts
CHANGED