@editorcn/editor 0.5.0 → 0.5.2
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/CHANGELOG.md +16 -0
- package/README.md +1 -2
- package/dist/index.cjs +703 -356
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +577 -230
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -191,7 +191,7 @@ declare const RichTextEditor: (({ editor, children, className, labels, icons, va
|
|
|
191
191
|
displayName: string;
|
|
192
192
|
};
|
|
193
193
|
Content: ({ children, className, }: RichTextEditorContentProps) => react.JSX.Element;
|
|
194
|
-
Control:
|
|
194
|
+
Control: react.ForwardRefExoticComponent<RichTextEditorControlProps & react.RefAttributes<HTMLButtonElement>>;
|
|
195
195
|
ControlsGroup: ({ children, className, }: RichTextEditorControlsGroupProps) => react.JSX.Element;
|
|
196
196
|
Footer: ({ children, className, sticky, stickyOffset, showWordCount, wordCountClassName, wordCountFormatter, }: RichTextEditorFooterProps) => react.JSX.Element | null;
|
|
197
197
|
H1: {
|
|
@@ -280,8 +280,11 @@ declare const RichTextEditor: (({ editor, children, className, labels, icons, va
|
|
|
280
280
|
displayName: string;
|
|
281
281
|
};
|
|
282
282
|
Toolbar: ({ children, className, sticky, stickyOffset, }: RichTextEditorToolbarProps) => react.JSX.Element | null;
|
|
283
|
-
Tooltip: ({ children, label, }: {
|
|
284
|
-
children: React.ReactElement
|
|
283
|
+
Tooltip: ({ children, id, label, }: {
|
|
284
|
+
children: React.ReactElement<{
|
|
285
|
+
id?: string;
|
|
286
|
+
}>;
|
|
287
|
+
id?: string;
|
|
285
288
|
label: string;
|
|
286
289
|
}) => react.JSX.Element;
|
|
287
290
|
TwitterEmbed: ({ className }: {
|
package/dist/index.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ declare const RichTextEditor: (({ editor, children, className, labels, icons, va
|
|
|
191
191
|
displayName: string;
|
|
192
192
|
};
|
|
193
193
|
Content: ({ children, className, }: RichTextEditorContentProps) => react.JSX.Element;
|
|
194
|
-
Control:
|
|
194
|
+
Control: react.ForwardRefExoticComponent<RichTextEditorControlProps & react.RefAttributes<HTMLButtonElement>>;
|
|
195
195
|
ControlsGroup: ({ children, className, }: RichTextEditorControlsGroupProps) => react.JSX.Element;
|
|
196
196
|
Footer: ({ children, className, sticky, stickyOffset, showWordCount, wordCountClassName, wordCountFormatter, }: RichTextEditorFooterProps) => react.JSX.Element | null;
|
|
197
197
|
H1: {
|
|
@@ -280,8 +280,11 @@ declare const RichTextEditor: (({ editor, children, className, labels, icons, va
|
|
|
280
280
|
displayName: string;
|
|
281
281
|
};
|
|
282
282
|
Toolbar: ({ children, className, sticky, stickyOffset, }: RichTextEditorToolbarProps) => react.JSX.Element | null;
|
|
283
|
-
Tooltip: ({ children, label, }: {
|
|
284
|
-
children: React.ReactElement
|
|
283
|
+
Tooltip: ({ children, id, label, }: {
|
|
284
|
+
children: React.ReactElement<{
|
|
285
|
+
id?: string;
|
|
286
|
+
}>;
|
|
287
|
+
id?: string;
|
|
285
288
|
label: string;
|
|
286
289
|
}) => react.JSX.Element;
|
|
287
290
|
TwitterEmbed: ({ className }: {
|