@oyat/editor 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +27 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -12,13 +12,39 @@ export declare const styles: string;
12
12
 
13
13
  // Export other commonly used components
14
14
  export { EditorKit } from "./components/editor/editor-kit";
15
+ export { BaseEditorKit } from "./components/editor/editor-base-kit";
15
16
  export type { MyEditor } from "./components/editor/editor-kit";
16
17
 
17
18
  // Re-export commonly used types from platejs
18
19
  export type { Value } from "platejs";
19
20
 
20
21
  // Export utility functions
21
- export { normalizeNodeId } from "platejs";
22
+ export {
23
+ normalizeNodeId,
24
+ createSlateEditor,
25
+ createSlatePlugin,
26
+ serializeHtml,
27
+ PlateStatic,
28
+ } from "platejs";
29
+
30
+ // Export platejs/react
31
+ export {
32
+ Plate,
33
+ PlateView,
34
+ usePlateEditor,
35
+ usePlateViewEditor,
36
+ toPlatePlugin,
37
+ PlateLeaf,
38
+ type PlateLeafProps,
39
+ } from "platejs/react";
40
+
41
+ // Export platejs/diff
42
+ export {
43
+ computeDiff,
44
+ withGetFragmentExcludeDiff,
45
+ type DiffOperation,
46
+ type DiffUpdate,
47
+ } from "@platejs/diff";
22
48
 
23
49
  // Export UI components that users might want to customize
24
50
  export { Editor, EditorContainer, EditorView } from "./components/ui/editor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oyat/editor",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A powerful, feature-rich Plate.js editor component with AI integration, collaboration features, and extensive customization options",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",