vdc-editor 0.1.209 → 0.1.211

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.
@@ -22,6 +22,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
22
22
  fontSizeDefault: string;
23
23
  fontFamilyDefault: string;
24
24
  isShowFormatControlBar: boolean;
25
+ customClassFormatControlBar: string;
25
26
  isScreenSplit: boolean;
26
27
  isShowLineNumber: boolean;
27
28
  fieldNameComment: null;
@@ -77,6 +78,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
77
78
  fontSizeDefault: string;
78
79
  fontFamilyDefault: string;
79
80
  isShowFormatControlBar: boolean;
81
+ customClassFormatControlBar: string;
80
82
  isScreenSplit: boolean;
81
83
  isShowLineNumber: boolean;
82
84
  fieldNameComment: null;
@@ -131,6 +133,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
131
133
  dark: boolean;
132
134
  hideToolbar: boolean;
133
135
  isShowFormatControlBar: boolean;
136
+ customClassFormatControlBar: string;
134
137
  titleBarComment: import('../../type').TitleBar | null;
135
138
  titleBarContent: import('../../type').TitleBar | null;
136
139
  fieldNameComment: import('../../type').FieldName | null;
@@ -1,6 +1,7 @@
1
+ import { MaybeRefOrGetter } from 'vue';
1
2
  import { NodeViewProps } from '@tiptap/vue-3';
2
3
 
3
- export declare function useTouchDrag(props: NodeViewProps): {
4
+ export declare function useTouchDrag(props: NodeViewProps, dragDisabled?: MaybeRefOrGetter<boolean>): {
4
5
  onTouchStart: (e: TouchEvent) => void;
5
6
  onTouchMove: (e: TouchEvent) => void;
6
7
  onTouchEnd: (_e: TouchEvent) => Promise<void>;
package/lib/src/type.d.ts CHANGED
@@ -341,6 +341,10 @@ export interface EditorProps {
341
341
  * @default false
342
342
  */
343
343
  isShowFormatControlBar?: boolean;
344
+ /**
345
+ * Custom class format control bar
346
+ */
347
+ customClassFormatControlBar?: string;
344
348
  /**
345
349
  * Editor Title bar comment
346
350
  */
@@ -1,4 +1,4 @@
1
- import { A as i, r as t, q as o, s as r, E as d, p, t as u, p as E, B as l, v as n, F as S, y as m, u as w, w as x, z as f, x as g } from "./index-DBp0Ucy4.mjs";
1
+ import { A as i, r as t, q as o, s as r, E as d, p, t as u, p as E, B as l, v as n, F as S, y as m, u as w, w as x, z as f, x as g } from "./index-Dknqd1BE.mjs";
2
2
  import "@vueuse/core";
3
3
  export {
4
4
  i as ArticleCompareEditor,