rme 0.1.15 → 0.1.17
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/index.d.ts +6 -0
- package/dist/index.mjs +12801 -12793
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -114,6 +114,10 @@ interface EditorProps {
|
|
|
114
114
|
hooks?: (() => void)[];
|
|
115
115
|
markdownToolBar?: React.ReactNode[];
|
|
116
116
|
wysiwygToolBar?: React.ReactNode[];
|
|
117
|
+
wysiwygToolBarOptions?: {
|
|
118
|
+
enable?: boolean;
|
|
119
|
+
compProps?: WysiwygToolbarProps;
|
|
120
|
+
};
|
|
117
121
|
onContextMounted?: (context: EditorContext) => void;
|
|
118
122
|
errorHandler?: Pick<ErrorBoundaryProps, 'onError' | 'fallback'>;
|
|
119
123
|
}
|
|
@@ -446,6 +450,7 @@ declare const darkTheme: {
|
|
|
446
450
|
contextMenuBgColor: string;
|
|
447
451
|
contextMenuBgColorHover: string;
|
|
448
452
|
slashMenuBorderColor: string;
|
|
453
|
+
editorToolbarBgColor: string;
|
|
449
454
|
lineHeightBase: string;
|
|
450
455
|
titleBarHeight: string;
|
|
451
456
|
titleBarControlBtnWidth: string;
|
|
@@ -510,6 +515,7 @@ declare const lightTheme: {
|
|
|
510
515
|
contextMenuBgColor: string;
|
|
511
516
|
contextMenuBgColorHover: string;
|
|
512
517
|
slashMenuBorderColor: string;
|
|
518
|
+
editorToolbarBgColor: string;
|
|
513
519
|
lineHeightBase: string;
|
|
514
520
|
titleBarHeight: string;
|
|
515
521
|
titleBarControlBtnWidth: string;
|