@tailor-cms/ce-quill-html-edit 0.0.6 → 0.1.0
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/components/Edit.vue.d.ts +5 -7
- package/dist/components/QuillEditor.vue.d.ts +1 -71
- package/dist/components/TopToolbar.vue.d.ts +1 -1
- package/dist/components/theme/index.d.ts +2 -1
- package/dist/index.cjs +364 -472
- package/dist/index.css +6 -7
- package/dist/index.js +364 -472
- package/package.json +19 -16
- package/dist/components/Edit.vue.js +0 -106
- package/dist/components/QuillEditor.vue.js +0 -117
- package/dist/components/TopToolbar.vue.js +0 -214
- package/dist/components/theme/index.js +0 -157
- package/dist/components/theme/modules/image-embed.js +0 -18
- package/dist/components/theme/toolbar-icons.js +0 -69
- package/dist/components/theme/ui/color-picker.js +0 -54
- package/dist/components/theme/ui/image-embed-tooltip.js +0 -84
- package/dist/components/theme/ui/tooltip.js +0 -31
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { Element } from '@tailor-cms/ce-quill-html-manifest';
|
|
2
2
|
interface Props {
|
|
3
3
|
element: Element;
|
|
4
|
-
isFocused?: boolean;
|
|
5
|
-
isDisabled?: boolean;
|
|
6
4
|
isDragged?: boolean;
|
|
7
|
-
|
|
5
|
+
isFocused?: boolean;
|
|
6
|
+
isReadonly?: boolean;
|
|
8
7
|
}
|
|
9
8
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
9
|
save: (...args: any[]) => void;
|
|
11
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
11
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
13
12
|
}>, {
|
|
14
|
-
isFocused: boolean;
|
|
15
|
-
isDisabled: boolean;
|
|
16
13
|
isDragged: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
isFocused: boolean;
|
|
15
|
+
isReadonly: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
17
|
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import 'quill/dist/quill.core.css';
|
|
2
2
|
import 'quill/dist/quill.snow.css';
|
|
3
3
|
import 'quill/dist/quill.bubble.css';
|
|
4
|
-
import Quill from 'quill';
|
|
5
4
|
type __VLS_Props = {
|
|
6
5
|
modelValue: string;
|
|
7
6
|
};
|
|
@@ -9,74 +8,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
9
8
|
"update:modelValue": (...args: any[]) => void;
|
|
10
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
13
|
-
editor: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
14
|
-
modelValue?: string | null;
|
|
15
|
-
options?: import("quill").QuillOptions;
|
|
16
|
-
isSemanticHtmlModel?: boolean;
|
|
17
|
-
}> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
-
"onText-change"?: ((args_0: {
|
|
20
|
-
delta: import("quill").Delta;
|
|
21
|
-
oldContent: import("quill").Delta;
|
|
22
|
-
source: import("quill").EmitterSource;
|
|
23
|
-
}) => any) | undefined;
|
|
24
|
-
"onSelection-change"?: ((args_0: {
|
|
25
|
-
range: import("quill").Range;
|
|
26
|
-
oldRange: import("quill").Range;
|
|
27
|
-
source: import("quill").EmitterSource;
|
|
28
|
-
}) => any) | undefined;
|
|
29
|
-
"onEditor-change"?: ((eventName: "text-change" | "selection-change") => any) | undefined;
|
|
30
|
-
onBlur?: ((quill: Quill) => any) | undefined;
|
|
31
|
-
onFocus?: ((quill: Quill) => any) | undefined;
|
|
32
|
-
onReady?: ((quill: Quill) => any) | undefined;
|
|
33
|
-
}>, {
|
|
34
|
-
initialize: (QuillClass: typeof Quill) => Quill;
|
|
35
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
"update:modelValue": (value: string) => any;
|
|
37
|
-
"text-change": (args_0: {
|
|
38
|
-
delta: import("quill").Delta;
|
|
39
|
-
oldContent: import("quill").Delta;
|
|
40
|
-
source: import("quill").EmitterSource;
|
|
41
|
-
}) => any;
|
|
42
|
-
"selection-change": (args_0: {
|
|
43
|
-
range: import("quill").Range;
|
|
44
|
-
oldRange: import("quill").Range;
|
|
45
|
-
source: import("quill").EmitterSource;
|
|
46
|
-
}) => any;
|
|
47
|
-
"editor-change": (eventName: "text-change" | "selection-change") => any;
|
|
48
|
-
blur: (quill: Quill) => any;
|
|
49
|
-
focus: (quill: Quill) => any;
|
|
50
|
-
ready: (quill: Quill) => any;
|
|
51
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
52
|
-
P: {};
|
|
53
|
-
B: {};
|
|
54
|
-
D: {};
|
|
55
|
-
C: {};
|
|
56
|
-
M: {};
|
|
57
|
-
Defaults: {};
|
|
58
|
-
}, Readonly<{
|
|
59
|
-
modelValue?: string | null;
|
|
60
|
-
options?: import("quill").QuillOptions;
|
|
61
|
-
isSemanticHtmlModel?: boolean;
|
|
62
|
-
}> & Readonly<{
|
|
63
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
64
|
-
"onText-change"?: ((args_0: {
|
|
65
|
-
delta: import("quill").Delta;
|
|
66
|
-
oldContent: import("quill").Delta;
|
|
67
|
-
source: import("quill").EmitterSource;
|
|
68
|
-
}) => any) | undefined;
|
|
69
|
-
"onSelection-change"?: ((args_0: {
|
|
70
|
-
range: import("quill").Range;
|
|
71
|
-
oldRange: import("quill").Range;
|
|
72
|
-
source: import("quill").EmitterSource;
|
|
73
|
-
}) => any) | undefined;
|
|
74
|
-
"onEditor-change"?: ((eventName: "text-change" | "selection-change") => any) | undefined;
|
|
75
|
-
onBlur?: ((quill: Quill) => any) | undefined;
|
|
76
|
-
onFocus?: ((quill: Quill) => any) | undefined;
|
|
77
|
-
onReady?: ((quill: Quill) => any) | undefined;
|
|
78
|
-
}>, {
|
|
79
|
-
initialize: (QuillClass: typeof Quill) => Quill;
|
|
80
|
-
}, {}, {}, {}, {}> | null;
|
|
81
|
-
}, any>;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
12
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Picker from 'quill/ui/picker';
|
|
2
2
|
import Quill from 'quill';
|
|
3
3
|
import Toolbar from 'quill/modules/toolbar';
|
|
4
|
+
import ImageEmbed from './modules/image-embed.ts';
|
|
4
5
|
declare const _default: () => {
|
|
5
6
|
new (quill: Quill, options: import("quill/core/theme").ThemeOptions): {
|
|
6
7
|
options: any;
|
|
@@ -22,7 +23,7 @@ declare const _default: () => {
|
|
|
22
23
|
NAME: string;
|
|
23
24
|
DEFAULTS: {
|
|
24
25
|
modules: {
|
|
25
|
-
[
|
|
26
|
+
[ImageEmbed.NAME]: boolean;
|
|
26
27
|
toolbar: import("quill/modules/toolbar").ToolbarProps | null | undefined;
|
|
27
28
|
};
|
|
28
29
|
};
|