@editorcn/editor 0.3.3 → 0.3.4
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.cjs +256 -250
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +205 -199
- package/dist/index.js.map +1 -1
- package/dist/style.css +1362 -1362
- package/package.json +6 -4
package/dist/index.d.cts
CHANGED
|
@@ -37,8 +37,6 @@ interface RichTextEditorIcons {
|
|
|
37
37
|
superscriptControlIcon: react__default.ReactNode;
|
|
38
38
|
languageIcons: Record<string, react__default.ReactNode>;
|
|
39
39
|
}
|
|
40
|
-
declare const DEFAULT_LANGUAGE_ICONS: Record<string, react__default.ReactNode>;
|
|
41
|
-
declare const DEFAULT_ICONS: RichTextEditorIcons;
|
|
42
40
|
|
|
43
41
|
interface RichTextEditorLabels {
|
|
44
42
|
boldControlLabel: string;
|
|
@@ -315,6 +313,10 @@ interface RichTextEditorContextValue {
|
|
|
315
313
|
}
|
|
316
314
|
declare const useRichTextEditorContext: () => RichTextEditorContextValue;
|
|
317
315
|
|
|
316
|
+
declare const DEFAULT_ICONS: RichTextEditorIcons;
|
|
317
|
+
|
|
318
|
+
declare const DEFAULT_LANGUAGE_ICONS: Record<string, react__default.ReactNode>;
|
|
319
|
+
|
|
318
320
|
declare const Link: _tiptap_core.Mark<_tiptap_extension_link.LinkOptions, any>;
|
|
319
321
|
|
|
320
322
|
declare const CodeBlock: _tiptap_core.Node<_tiptap_extension_code_block_lowlight.CodeBlockLowlightOptions, any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -37,8 +37,6 @@ interface RichTextEditorIcons {
|
|
|
37
37
|
superscriptControlIcon: react__default.ReactNode;
|
|
38
38
|
languageIcons: Record<string, react__default.ReactNode>;
|
|
39
39
|
}
|
|
40
|
-
declare const DEFAULT_LANGUAGE_ICONS: Record<string, react__default.ReactNode>;
|
|
41
|
-
declare const DEFAULT_ICONS: RichTextEditorIcons;
|
|
42
40
|
|
|
43
41
|
interface RichTextEditorLabels {
|
|
44
42
|
boldControlLabel: string;
|
|
@@ -315,6 +313,10 @@ interface RichTextEditorContextValue {
|
|
|
315
313
|
}
|
|
316
314
|
declare const useRichTextEditorContext: () => RichTextEditorContextValue;
|
|
317
315
|
|
|
316
|
+
declare const DEFAULT_ICONS: RichTextEditorIcons;
|
|
317
|
+
|
|
318
|
+
declare const DEFAULT_LANGUAGE_ICONS: Record<string, react__default.ReactNode>;
|
|
319
|
+
|
|
318
320
|
declare const Link: _tiptap_core.Mark<_tiptap_extension_link.LinkOptions, any>;
|
|
319
321
|
|
|
320
322
|
declare const CodeBlock: _tiptap_core.Node<_tiptap_extension_code_block_lowlight.CodeBlockLowlightOptions, any>;
|