vdc-editor 0.1.212 → 0.1.213

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.
@@ -10,6 +10,7 @@ interface Props {
10
10
  action?: ButtonViewReturnComponentProps['action'];
11
11
  isActive?: ButtonViewReturnComponentProps['isActive'];
12
12
  id?: string;
13
+ customClass?: string;
13
14
  }
14
15
  declare function __VLS_template(): {
15
16
  default?(_: {}): any;
@@ -24,6 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
24
25
  class: string;
25
26
  btn_class: string;
26
27
  id: string;
28
+ customClass: string;
27
29
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
28
30
  icon: undefined;
29
31
  title: undefined;
@@ -34,6 +36,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
34
36
  class: string;
35
37
  btn_class: string;
36
38
  id: string;
39
+ customClass: string;
37
40
  }>>> & Readonly<{}>, {
38
41
  title: string;
39
42
  class: string;
@@ -41,6 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
41
44
  icon: any;
42
45
  disabled: boolean;
43
46
  tooltip: string;
47
+ customClass: string;
44
48
  action: (value?: unknown) => void;
45
49
  isActive: () => boolean;
46
50
  btn_class: string;
@@ -1,11 +1,14 @@
1
1
  import { EditorMode } from '../constants';
2
2
  import { Editor } from '@tiptap/core';
3
+ import { HTMLAttributes } from 'vue';
3
4
 
4
5
  interface Props {
5
6
  editor: Editor;
6
7
  editorComment?: Editor;
7
8
  disabled?: boolean;
8
9
  mode: EditorMode;
10
+ class?: HTMLAttributes['class'];
11
+ customClassToolbar?: string;
9
12
  }
10
13
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
14
  disabled: boolean;
@@ -6,6 +6,7 @@ interface Props {
6
6
  disabled?: boolean;
7
7
  mode: EditorMode;
8
8
  activeExtensions?: string[];
9
+ customClassToolbar?: string;
9
10
  }
10
11
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
12
  disabled: boolean;
@@ -29,7 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
29
29
  fieldNameContent: null;
30
30
  titleBarComment: null;
31
31
  titleBarContent: null;
32
- toolBarClass: undefined;
32
+ customClassToolbar: string;
33
33
  hideComment: boolean;
34
34
  disableSuperInput: boolean;
35
35
  readonly: boolean;
@@ -85,7 +85,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
85
85
  fieldNameContent: null;
86
86
  titleBarComment: null;
87
87
  titleBarContent: null;
88
- toolBarClass: undefined;
88
+ customClassToolbar: string;
89
89
  hideComment: boolean;
90
90
  disableSuperInput: boolean;
91
91
  readonly: boolean;
@@ -123,6 +123,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
123
123
  minHeight: string | number;
124
124
  comment: string | object;
125
125
  disableSuperInput: boolean;
126
+ customClassToolbar: string;
126
127
  superTextArea: {
127
128
  view: boolean;
128
129
  button: boolean;
@@ -144,7 +145,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
144
145
  hideBubble: boolean;
145
146
  editorClass: string | string[] | Record<string, unknown>;
146
147
  contentClass: string | string[] | Record<string, unknown>;
147
- toolBarClass: string | string[] | Record<string, unknown>;
148
148
  readonly: boolean;
149
149
  autoFocus: boolean;
150
150
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
23
23
  contentClass: undefined;
24
24
  fontSizeDefault: string;
25
25
  fontFamilyDefault: string;
26
- toolBarClass: undefined;
26
+ customClassToolbar: string;
27
27
  readonly: boolean;
28
28
  canEditSuperReadOnly: boolean;
29
29
  hideComment: boolean;
@@ -85,7 +85,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
85
85
  contentClass: undefined;
86
86
  fontSizeDefault: string;
87
87
  fontFamilyDefault: string;
88
- toolBarClass: undefined;
88
+ customClassToolbar: string;
89
89
  readonly: boolean;
90
90
  canEditSuperReadOnly: boolean;
91
91
  hideComment: boolean;
@@ -136,6 +136,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
136
136
  comment: string | object;
137
137
  disableSuperInput: boolean;
138
138
  superPreviewCustomClass: import('../../type').SuperPreviewCustomClass;
139
+ customClassToolbar: string;
139
140
  superTextArea: {
140
141
  view: boolean;
141
142
  button: boolean;
@@ -154,7 +155,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
154
155
  editorClass: string | string[] | Record<string, unknown>;
155
156
  contentClass: string | string[] | Record<string, unknown>;
156
157
  autoHeight: boolean;
157
- toolBarClass: string | string[] | Record<string, unknown>;
158
158
  readonly: boolean;
159
159
  canEditSuperReadOnly: boolean;
160
160
  minChar: import('../../type').MinChar;
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
18
18
  fontFamilyDefault: string;
19
19
  fieldNameSuper: null;
20
20
  fieldNameContent: null;
21
- toolBarClass: undefined;
21
+ customClassToolbar: string;
22
22
  disabled: boolean;
23
23
  readonly: boolean;
24
24
  contentClass: undefined;
@@ -62,7 +62,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
62
62
  fontFamilyDefault: string;
63
63
  fieldNameSuper: null;
64
64
  fieldNameContent: null;
65
- toolBarClass: undefined;
65
+ customClassToolbar: string;
66
66
  disabled: boolean;
67
67
  readonly: boolean;
68
68
  contentClass: undefined;
@@ -98,6 +98,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
98
98
  maxWidth: string | number;
99
99
  minHeight: string | number;
100
100
  comment: string | object;
101
+ customClassToolbar: string;
101
102
  fontSizeDefault: string;
102
103
  fontFamilyDefault: string;
103
104
  hideToolbar: boolean;
@@ -106,7 +107,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
106
107
  hideBubble: boolean;
107
108
  editorClass: string | string[] | Record<string, unknown>;
108
109
  contentClass: string | string[] | Record<string, unknown>;
109
- toolBarClass: string | string[] | Record<string, unknown>;
110
110
  readonly: boolean;
111
111
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
112
112
  export default _default;
package/lib/src/type.d.ts CHANGED
@@ -433,9 +433,9 @@ export interface EditorProps {
433
433
  */
434
434
  textAlert?: string | null;
435
435
  /**
436
- * Editor toolbar class
436
+ * Editor toolbar custom class
437
437
  */
438
- toolBarClass?: string | string[] | Record<string, unknown>;
438
+ customClassToolbar?: string;
439
439
  /**
440
440
  * Editor readonly
441
441
  */