@itshixun/qckeditor-vue2 1.1.6 → 1.1.8
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/index.css +1 -1
- package/dist/index.d.ts +41 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1379 -1351
- package/dist/src/components/QCKContent.d.ts +25 -2
- package/dist/src/components/QCKContent.d.ts.map +1 -1
- package/dist/src/components/QCKEditorPro.d.ts +24 -0
- package/dist/src/components/QCKEditorPro.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -33,6 +33,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
33
33
|
type: PropType<number>;
|
|
34
34
|
default: undefined;
|
|
35
35
|
};
|
|
36
|
+
/** 水平方向 padding:数字按像素处理,字符串原样使用(默认与 .qck-content 的 var(--ck-spacing-standard) 一致) */
|
|
37
|
+
horizontalPadding: {
|
|
38
|
+
type: PropType<number | string>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/** 为 true 时消除首尾段落的 margin:首个 p 的 margin-block-start 与末个 p 的 margin-block-end 置 0 */
|
|
42
|
+
trimMargin: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
36
46
|
imagePreview: {
|
|
37
47
|
type: PropType<boolean | QCKImagePreviewOptions>;
|
|
38
48
|
default: boolean;
|
|
@@ -41,8 +51,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
41
51
|
container: import('vue').Ref<HTMLDivElement | null>;
|
|
42
52
|
renderHtml: import('vue').ComputedRef<string>;
|
|
43
53
|
containerStyle: import('vue').ComputedRef<{
|
|
44
|
-
|
|
45
|
-
|
|
54
|
+
padding: string;
|
|
55
|
+
'--ck-content-font-size'?: string | undefined;
|
|
56
|
+
}>;
|
|
46
57
|
previewEnabled: import('vue').ComputedRef<boolean>;
|
|
47
58
|
viewerOptions: import('vue').ComputedRef<Required<QCKImagePreviewOptions>>;
|
|
48
59
|
viewerVisible: import('vue').Ref<boolean>;
|
|
@@ -82,6 +93,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
82
93
|
type: PropType<number>;
|
|
83
94
|
default: undefined;
|
|
84
95
|
};
|
|
96
|
+
/** 水平方向 padding:数字按像素处理,字符串原样使用(默认与 .qck-content 的 var(--ck-spacing-standard) 一致) */
|
|
97
|
+
horizontalPadding: {
|
|
98
|
+
type: PropType<number | string>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
/** 为 true 时消除首尾段落的 margin:首个 p 的 margin-block-start 与末个 p 的 margin-block-end 置 0 */
|
|
102
|
+
trimMargin: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
85
106
|
imagePreview: {
|
|
86
107
|
type: PropType<boolean | QCKImagePreviewOptions>;
|
|
87
108
|
default: boolean;
|
|
@@ -95,6 +116,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
95
116
|
containerClass: string;
|
|
96
117
|
sanitize: boolean;
|
|
97
118
|
highlightCode: boolean;
|
|
119
|
+
horizontalPadding: string | number;
|
|
120
|
+
trimMargin: boolean;
|
|
98
121
|
imagePreview: boolean | QCKImagePreviewOptions;
|
|
99
122
|
}>;
|
|
100
123
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCKContent.d.ts","sourceRoot":"","sources":["../../../src/components/QCKContent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA0D,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAE5F,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAClC,OAAO,uCAAuC,CAAC;AAK/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"QCKContent.d.ts","sourceRoot":"","sources":["../../../src/components/QCKContent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA0D,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAE5F,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAClC,OAAO,uCAAuC,CAAC;AAK/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqFjC,QAAQ,CAAC,MAAM,CAAC;;;IAGlC,qFAAqF;;cAEzD,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAGrD,oFAAoF;;;;;;cAMvD,QAAQ,CAAC,OAAO,GAAG,sBAAsB,CAAC;;;;;;;;;;;;;;;kCA0LlC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAxM7B,QAAQ,CAAC,MAAM,CAAC;;;IAGlC,qFAAqF;;cAEzD,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAGrD,oFAAoF;;;;;;cAMvD,QAAQ,CAAC,OAAO,GAAG,sBAAsB,CAAC;;;;;;;;;;;;;;;;AA/C3E,wBAmWG"}
|
|
@@ -75,6 +75,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
75
75
|
type: NumberConstructor;
|
|
76
76
|
default: number;
|
|
77
77
|
};
|
|
78
|
+
/** 预览态水平 padding:透传给 QCKContent,数字按像素处理 */
|
|
79
|
+
horizontalPadding: {
|
|
80
|
+
type: PropType<number | string>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
/** 预览态消除首尾段落 margin:透传给 QCKContent */
|
|
84
|
+
trimMargin: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
78
88
|
imagePreview: {
|
|
79
89
|
type: PropType<boolean | QCKImagePreviewOptions>;
|
|
80
90
|
default: boolean;
|
|
@@ -101,6 +111,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
101
111
|
containerClass: string;
|
|
102
112
|
sanitize: boolean;
|
|
103
113
|
imagePreview: boolean | QCKImagePreviewOptions;
|
|
114
|
+
horizontalPadding: string | number;
|
|
115
|
+
trimMargin: boolean;
|
|
104
116
|
}>;
|
|
105
117
|
shouldApplyMinHeight: import('vue').ComputedRef<boolean>;
|
|
106
118
|
activate: () => void;
|
|
@@ -186,6 +198,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
186
198
|
type: NumberConstructor;
|
|
187
199
|
default: number;
|
|
188
200
|
};
|
|
201
|
+
/** 预览态水平 padding:透传给 QCKContent,数字按像素处理 */
|
|
202
|
+
horizontalPadding: {
|
|
203
|
+
type: PropType<number | string>;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
/** 预览态消除首尾段落 margin:透传给 QCKContent */
|
|
207
|
+
trimMargin: {
|
|
208
|
+
type: BooleanConstructor;
|
|
209
|
+
default: boolean;
|
|
210
|
+
};
|
|
189
211
|
imagePreview: {
|
|
190
212
|
type: PropType<boolean | QCKImagePreviewOptions>;
|
|
191
213
|
default: boolean;
|
|
@@ -202,6 +224,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
202
224
|
content: string;
|
|
203
225
|
containerClass: string;
|
|
204
226
|
sanitize: boolean;
|
|
227
|
+
horizontalPadding: string | number;
|
|
228
|
+
trimMargin: boolean;
|
|
205
229
|
imagePreview: boolean | QCKImagePreviewOptions;
|
|
206
230
|
disableExit: boolean;
|
|
207
231
|
minHeight: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCKEditorPro.d.ts","sourceRoot":"","sources":["../../../src/components/QCKEditorPro.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA8D,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAChG,OAAO,EAAE,aAAa,EAAkB,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAG7F,OAAO,KAAK,EAAE,iBAAiB,EAAE,sB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