@itshixun/qckeditor-vue2 1.0.14 → 1.0.15

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.
@@ -25,6 +25,10 @@ declare const _default: import('vue').DefineComponent<{
25
25
  type: PropType<(data: string) => string>;
26
26
  default: (data: string) => string;
27
27
  };
28
+ fontSize: {
29
+ type: PropType<number>;
30
+ default: undefined;
31
+ };
28
32
  value: {
29
33
  type: StringConstructor;
30
34
  default: string;
@@ -37,6 +41,9 @@ declare const _default: import('vue').DefineComponent<{
37
41
  element: import('vue').Ref<HTMLElement | undefined>;
38
42
  instance: import('vue').Ref<Editor | undefined>;
39
43
  lastEditorData: import('vue').Ref<string>;
44
+ containerStyle: import('vue').ComputedRef<{
45
+ '--ck-font-size-base': string;
46
+ } | undefined>;
40
47
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "focus" | "input" | "ready" | "destroy" | "update:modelValue")[], string, Readonly<import('vue').ExtractPropTypes<{
41
48
  editor: {
42
49
  type: PropType<any>;
@@ -62,6 +69,10 @@ declare const _default: import('vue').DefineComponent<{
62
69
  type: PropType<(data: string) => string>;
63
70
  default: (data: string) => string;
64
71
  };
72
+ fontSize: {
73
+ type: PropType<number>;
74
+ default: undefined;
75
+ };
65
76
  value: {
66
77
  type: StringConstructor;
67
78
  default: string;
@@ -77,6 +88,7 @@ declare const _default: import('vue').DefineComponent<{
77
88
  disabled: boolean;
78
89
  disableTwoWayDataBinding: boolean;
79
90
  dataNormalizer: (data: string) => string;
91
+ fontSize: number;
80
92
  modelValue: string;
81
93
  }>;
82
94
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CKEditor.d.ts","sourceRoot":"","sources":["../../../src/components/CKEditor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAoE,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEtG,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAa,MAAM,WAAW,CAAC;;;cAazC,QAAQ,CAAC,GAAG,CAAC;;;;cAIf,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;cAgBpB,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;wBACpC,MAAM;;;;;;;;;;;;;;;;cArBJ,QAAQ,CAAC,GAAG,CAAC;;;;cAIf,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;cAgBpB,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;wBACpC,MAAM;;;;;;;;;;;;;;;;2BADY,MAAM,KAAK,MAAM;;;AAzBzD,wBA8MG"}
1
+ {"version":3,"file":"CKEditor.d.ts","sourceRoot":"","sources":["../../../src/components/CKEditor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA8E,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEhH,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAa,MAAM,WAAW,CAAC;;;cAazC,QAAQ,CAAC,GAAG,CAAC;;;;cAIf,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;cAgBpB,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;wBACpC,MAAM;;;cAGN,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;cAxBd,QAAQ,CAAC,GAAG,CAAC;;;;cAIf,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;cAgBpB,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;wBACpC,MAAM;;;cAGN,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;2BAJE,MAAM,KAAK,MAAM;;;;AAzBzD,wBA4NG"}
@@ -1,3 +1,4 @@
1
+ import { PropType } from 'vue';
1
2
  declare const _default: import('vue').DefineComponent<{
2
3
  value: {
3
4
  type: StringConstructor;
@@ -27,9 +28,16 @@ declare const _default: import('vue').DefineComponent<{
27
28
  type: BooleanConstructor;
28
29
  default: boolean;
29
30
  };
31
+ fontSize: {
32
+ type: PropType<number>;
33
+ default: undefined;
34
+ };
30
35
  }, {
31
36
  container: import('vue').Ref<HTMLDivElement | null>;
32
37
  renderHtml: import('vue').ComputedRef<string>;
38
+ containerStyle: import('vue').ComputedRef<{
39
+ '--ck-font-size-base': string;
40
+ } | undefined>;
33
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
34
42
  value: {
35
43
  type: StringConstructor;
@@ -59,8 +67,13 @@ declare const _default: import('vue').DefineComponent<{
59
67
  type: BooleanConstructor;
60
68
  default: boolean;
61
69
  };
70
+ fontSize: {
71
+ type: PropType<number>;
72
+ default: undefined;
73
+ };
62
74
  }>>, {
63
75
  value: string;
76
+ fontSize: number;
64
77
  modelValue: string;
65
78
  math: boolean;
66
79
  content: string;
@@ -1 +1 @@
1
- {"version":3,"file":"QCKContent.d.ts","sourceRoot":"","sources":["../../../src/components/QCKContent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAClC,OAAO,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+C/C,wBA8KG"}
1
+ {"version":3,"file":"QCKContent.d.ts","sourceRoot":"","sources":["../../../src/components/QCKContent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAyC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAE3E,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAClC,OAAO,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgFzB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;AAjCtC,wBA0LG"}
@@ -12,6 +12,7 @@ export interface Props<TEditor> {
12
12
  disabled?: boolean;
13
13
  disableTwoWayDataBinding?: boolean;
14
14
  dataNormalizer?: (data: string) => string;
15
+ fontSize?: number;
15
16
  }
16
17
  /**
17
18
  * The editor type extracted from the editor instance type.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,KAAK,CAAC,OAAO;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,OAAO,IAAI,OAAO,SAAS;IAAE,MAAM,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAAK,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,KAAK,CAAC,OAAO;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,OAAO,IAAI,OAAO,SAAS;IAAE,MAAM,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itshixun/qckeditor-vue2",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Vue2 components for CKEditor 5",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",