@coco-vexel/coco-office-editor 1.0.5 → 1.0.7

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,7 +1,7 @@
1
1
  import { Node, Schema } from 'prosemirror-model';
2
2
  import { Plugin, EditorState, PluginKey } from 'prosemirror-state';
3
3
  import { DecorationSet } from 'prosemirror-view';
4
- import { f as EditorDocumentView } from './model-DT8Dw2G6.cjs';
4
+ import { EditorDocumentView } from './index.cjs';
5
5
  import '@coco-vexel/coco-office/word-view';
6
6
 
7
7
  interface WordProjection {
@@ -12,10 +12,11 @@ interface WordProjection {
12
12
  interface CreateWordEditorStateOptions {
13
13
  plugins?: Plugin[];
14
14
  }
15
- declare const wordEditorSchema: Schema<"text" | "image" | "paragraph" | "table" | "doc" | "table_row" | "table_cell", "em" | "strong" | "underline" | "textStyle">;
15
+ declare const wordEditorSchema: Schema<"doc" | "paragraph" | "table" | "table_row" | "table_cell" | "image" | "text", "strong" | "em" | "underline" | "textStyle">;
16
16
  declare const wordDecorationsKey: PluginKey<DecorationSet>;
17
17
  declare const wordStructureNormalizationKey: PluginKey<any>;
18
18
  declare function createWordEditorState(view: EditorDocumentView, options?: CreateWordEditorStateOptions): EditorState;
19
19
  declare function projectWordViewToProseMirror(view: EditorDocumentView): WordProjection;
20
20
 
21
- export { type CreateWordEditorStateOptions, type WordProjection, createWordEditorState, projectWordViewToProseMirror, wordDecorationsKey, wordEditorSchema, wordStructureNormalizationKey };
21
+ export { createWordEditorState, projectWordViewToProseMirror, wordDecorationsKey, wordEditorSchema, wordStructureNormalizationKey };
22
+ export type { CreateWordEditorStateOptions, WordProjection };
@@ -1,7 +1,7 @@
1
1
  import { Node, Schema } from 'prosemirror-model';
2
2
  import { Plugin, EditorState, PluginKey } from 'prosemirror-state';
3
3
  import { DecorationSet } from 'prosemirror-view';
4
- import { f as EditorDocumentView } from './model-DT8Dw2G6.js';
4
+ import { EditorDocumentView } from './index.js';
5
5
  import '@coco-vexel/coco-office/word-view';
6
6
 
7
7
  interface WordProjection {
@@ -12,10 +12,11 @@ interface WordProjection {
12
12
  interface CreateWordEditorStateOptions {
13
13
  plugins?: Plugin[];
14
14
  }
15
- declare const wordEditorSchema: Schema<"text" | "image" | "paragraph" | "table" | "doc" | "table_row" | "table_cell", "em" | "strong" | "underline" | "textStyle">;
15
+ declare const wordEditorSchema: Schema<"doc" | "paragraph" | "table" | "table_row" | "table_cell" | "image" | "text", "strong" | "em" | "underline" | "textStyle">;
16
16
  declare const wordDecorationsKey: PluginKey<DecorationSet>;
17
17
  declare const wordStructureNormalizationKey: PluginKey<any>;
18
18
  declare function createWordEditorState(view: EditorDocumentView, options?: CreateWordEditorStateOptions): EditorState;
19
19
  declare function projectWordViewToProseMirror(view: EditorDocumentView): WordProjection;
20
20
 
21
- export { type CreateWordEditorStateOptions, type WordProjection, createWordEditorState, projectWordViewToProseMirror, wordDecorationsKey, wordEditorSchema, wordStructureNormalizationKey };
21
+ export { createWordEditorState, projectWordViewToProseMirror, wordDecorationsKey, wordEditorSchema, wordStructureNormalizationKey };
22
+ export type { CreateWordEditorStateOptions, WordProjection };