@ap666/office-word 0.1.6 → 0.2.10

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/types.d.ts CHANGED
@@ -4,12 +4,14 @@ export type RichTextEditorProps = {
4
4
  editable?: boolean;
5
5
  mode?: 'edit' | 'preview';
6
6
  outlinePlacement?: 'left' | 'right';
7
+ messages?: RichTextEditorMessages | null;
7
8
  enabledExportItems?: RichTextEditorExportItemKey[] | null;
8
9
  enabledInsertMenuItems?: RichTextEditorInsertMenuItemKey[] | null;
9
10
  enabledToolbarActions?: RichTextEditorToolbarActionKey[] | null;
10
11
  placeholder?: string;
11
12
  collaboration?: RichTextEditorCollaborationOptions | null;
12
13
  };
14
+ export type RichTextEditorMessages = Partial<Record<string, string>>;
13
15
  export type RichTextEditorExportItemKey = 'pdf' | 'html' | 'image' | 'print';
14
16
  export type RichTextEditorInsertMenuItemKey = 'image' | 'video' | 'table' | 'local-file' | 'columns' | 'highlight-block' | 'date' | 'code-block' | 'formula' | 'blockquote' | 'emoji' | 'link' | 'divider' | 'countdown' | 'markdown-import';
15
17
  export type RichTextEditorToolbarActionKey = 'blockquote';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ap666/office-word",
3
- "version": "0.1.6",
3
+ "version": "0.2.10",
4
4
  "description": "A reusable Vue 3 rich text editor component built with Tiptap 3.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",