@editorcn/editor 0.3.9 → 0.4.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.
- package/README.md +87 -87
- package/dist/index.cjs +377 -518
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -4
- package/dist/index.d.ts +1 -4
- package/dist/index.js +332 -472
- package/dist/index.js.map +1 -1
- package/dist/style.css +1314 -1415
- package/package.json +62 -67
package/dist/index.d.cts
CHANGED
|
@@ -5,7 +5,6 @@ import { Tooltip } from '@base-ui/react/tooltip';
|
|
|
5
5
|
import * as _tiptap_core from '@tiptap/core';
|
|
6
6
|
import { Node } from '@tiptap/core';
|
|
7
7
|
import * as _tiptap_extension_link from '@tiptap/extension-link';
|
|
8
|
-
import * as _tiptap_extension_code_block_lowlight from '@tiptap/extension-code-block-lowlight';
|
|
9
8
|
|
|
10
9
|
interface RichTextEditorIcons {
|
|
11
10
|
boldControlIcon: react__default.ReactNode;
|
|
@@ -325,8 +324,6 @@ declare const DEFAULT_LANGUAGE_ICONS: Record<string, react__default.ReactNode>;
|
|
|
325
324
|
|
|
326
325
|
declare const Link: _tiptap_core.Mark<_tiptap_extension_link.LinkOptions, any>;
|
|
327
326
|
|
|
328
|
-
declare const CodeBlock: _tiptap_core.Node<_tiptap_extension_code_block_lowlight.CodeBlockLowlightOptions, any>;
|
|
329
|
-
|
|
330
327
|
declare global {
|
|
331
328
|
interface Window {
|
|
332
329
|
twttr?: {
|
|
@@ -354,4 +351,4 @@ declare module "@tiptap/core" {
|
|
|
354
351
|
}
|
|
355
352
|
declare const YouTubeEmbed: Node<any, any>;
|
|
356
353
|
|
|
357
|
-
export { BubbleMenu,
|
|
354
|
+
export { BubbleMenu, DEFAULT_ICONS, DEFAULT_LABELS, DEFAULT_LANGUAGE_ICONS, Link, RichTextEditor, type RichTextEditorFooterProps, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextEditorVariant, TwitterEmbed, type WordCountInfo, YouTubeEmbed, useRichTextEditorContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { Tooltip } from '@base-ui/react/tooltip';
|
|
|
5
5
|
import * as _tiptap_core from '@tiptap/core';
|
|
6
6
|
import { Node } from '@tiptap/core';
|
|
7
7
|
import * as _tiptap_extension_link from '@tiptap/extension-link';
|
|
8
|
-
import * as _tiptap_extension_code_block_lowlight from '@tiptap/extension-code-block-lowlight';
|
|
9
8
|
|
|
10
9
|
interface RichTextEditorIcons {
|
|
11
10
|
boldControlIcon: react__default.ReactNode;
|
|
@@ -325,8 +324,6 @@ declare const DEFAULT_LANGUAGE_ICONS: Record<string, react__default.ReactNode>;
|
|
|
325
324
|
|
|
326
325
|
declare const Link: _tiptap_core.Mark<_tiptap_extension_link.LinkOptions, any>;
|
|
327
326
|
|
|
328
|
-
declare const CodeBlock: _tiptap_core.Node<_tiptap_extension_code_block_lowlight.CodeBlockLowlightOptions, any>;
|
|
329
|
-
|
|
330
327
|
declare global {
|
|
331
328
|
interface Window {
|
|
332
329
|
twttr?: {
|
|
@@ -354,4 +351,4 @@ declare module "@tiptap/core" {
|
|
|
354
351
|
}
|
|
355
352
|
declare const YouTubeEmbed: Node<any, any>;
|
|
356
353
|
|
|
357
|
-
export { BubbleMenu,
|
|
354
|
+
export { BubbleMenu, DEFAULT_ICONS, DEFAULT_LABELS, DEFAULT_LANGUAGE_ICONS, Link, RichTextEditor, type RichTextEditorFooterProps, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextEditorVariant, TwitterEmbed, type WordCountInfo, YouTubeEmbed, useRichTextEditorContext };
|