@lax-wp/editor 0.2.9 → 0.3.0
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/config/EditorConfig.d.ts +7 -0
- package/dist/index.es.js +845 -842
- package/dist/index.umd.js +27 -27
- package/package.json +1 -1
|
@@ -62,6 +62,8 @@ export interface EditorConfig {
|
|
|
62
62
|
ydoc?: unknown | null;
|
|
63
63
|
provider?: unknown | null;
|
|
64
64
|
};
|
|
65
|
+
/** Editor sidebar id */
|
|
66
|
+
editorSidebarId?: string;
|
|
65
67
|
/** Callback when share is clicked */
|
|
66
68
|
onShare?: () => void;
|
|
67
69
|
/** Callback when content changes */
|
|
@@ -73,5 +75,10 @@ export interface EditorConfig {
|
|
|
73
75
|
insertTableFromData: ({ tableType, data, columns, options }: InsertTableUsingDataProps) => void;
|
|
74
76
|
updateTableValues: () => void;
|
|
75
77
|
}) => void;
|
|
78
|
+
/** Sidebar configuration for redline positioning */
|
|
79
|
+
sidebarConfig?: {
|
|
80
|
+
/** ID of the sidebar element (default: 'editor-sidebar-qwCfsxssdsfsd') */
|
|
81
|
+
sidebarId?: string;
|
|
82
|
+
};
|
|
76
83
|
}
|
|
77
84
|
export declare const defaultEditorConfig: EditorConfig;
|