@zeedhi/zd-richtext-common 1.5.1 → 1.5.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.
@@ -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.1",
3
+ "version": "1.5.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": "1b3715e1a7255b053f46736ebab3b87c1ee644f5"
26
+ "gitHead": "8836006ea62574c8f60d2efc40a411b02bafa569"
27
27
  }
@@ -12,8 +12,10 @@ export interface IRichText extends IComponentRender {
12
12
  outlined?: boolean;
13
13
  width?: number | string;
14
14
  height?: number | string;
15
- fillHeight?: boolean;
15
+ fillHeight?: boolean | string;
16
16
  fonts?: IFonts[];
17
+ label?: string;
18
+ enableFullscreen?: boolean;
17
19
  }
18
20
  export interface IFonts {
19
21
  font: string;
@@ -42,13 +42,15 @@ export declare class RichText extends ComponentRender implements IRichText {
42
42
  * Component height.
43
43
  */
44
44
  height: number | string;
45
+ label: string;
46
+ enableFullscreen?: boolean;
45
47
  /**
46
48
  * Events registered to the Rich Text
47
49
  */
48
50
  events: IRickTextEvents;
49
51
  get value(): any;
50
52
  set value(value: any);
51
- fillHeight: boolean;
53
+ fillHeight: boolean | string;
52
54
  formatGetter: IDictionary<() => any>;
53
55
  /**
54
56
  * Rich text content