vdc-editor 0.1.6 → 0.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.
@@ -1,6 +1,3 @@
1
- import { SpellcheckerExtension } from './spellchecker-extension';
2
- import { IProofreaderInterface, ITextWithPosition } from './i-proofreader-interface';
3
-
4
- export default SpellcheckerExtension;
1
+ export { SpellcheckerExtension } from './spellchecker-extension';
2
+ export type { IProofreaderInterface, ITextWithPosition, ITransferSpellData, SpellCheckDataType } from './i-proofreader-interface';
5
3
  export { Proofreader } from './proofreader';
6
- export type { IProofreaderInterface, ITextWithPosition };
@@ -72,3 +72,5 @@ export { Preview } from './Preview';
72
72
  export { FindAndReplace } from './FindAndReplace';
73
73
  export { Printer } from './Printer';
74
74
  export type { PrinterOptions } from './Printer';
75
+ export { SpellcheckerExtension, Proofreader } from './SpellChecker';
76
+ export type { IProofreaderInterface, ITextWithPosition, ITransferSpellData, SpellCheckDataType } from './SpellChecker';
@@ -0,0 +1,6 @@
1
+ import { Config } from '../type';
2
+
3
+ export declare function useConfigTiptap(config: Config): {
4
+ defaultExtensions: globalThis.ComputedRef<(import('@tiptap/core').Extension<import('../extensions').BaseKitOptions, any> | import('@tiptap/core').Node<import('../extensions').ClearOptions, any> | import('@tiptap/core').Mark<import('../extensions').LinkOptions, any> | import('@tiptap/core').Extension<import('../extensions').HistoryOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-image').ImageOptions, any> | import('@tiptap/core').Node<import('../extensions').TableOptions, any> | import('@tiptap/core').Extension<import('../extensions').FormatPainterOptions, any> | import('@tiptap/core').Node<import('../extensions').ColumnsOptions, any>)[]>;
5
+ content: globalThis.Ref<string, string>;
6
+ };
package/lib/src/type.d.ts CHANGED
@@ -144,6 +144,5 @@ export interface PageOption {
144
144
  };
145
145
  }
146
146
  export interface Config {
147
- mode: 'straight' | 'report';
148
147
  sidebar: boolean;
149
148
  }