@haklex/rich-editor 0.67.4 → 0.68.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/{AlertQuoteEditNode-Ck4v29Wg.js → AlertQuoteEditNode-DFg-xOND.js} +8 -0
- package/dist/{MermaidPlugin-BCoGsdi3.js → MermaidPlugin-D0Z2_YAe.js} +1 -1
- package/dist/{VirtualizationPlugin-Dv6V39nq.js → VirtualizationPlugin-Bqv4MkJH.js} +2 -2
- package/dist/commands-entry.mjs +1 -1
- package/dist/components/decorators/NestedEditorCorePlugins.d.ts.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{node-registry-8OWu2S8i.js → node-registry-DRd8ZbeC.js} +1 -1
- package/dist/nodes-entry.mjs +2 -2
- package/dist/plugins-entry.mjs +3 -3
- package/package.json +4 -4
|
@@ -4,6 +4,7 @@ import { t as _defineProperty } from "./defineProperty-BYhxpJwd.js";
|
|
|
4
4
|
import { n as useNestedEditorPlugins } from "./NestedEditorPluginsContext-D78UZkmx.js";
|
|
5
5
|
import { LinkPlugin } from "@lexical/react/LexicalLinkPlugin";
|
|
6
6
|
import { ListPlugin } from "@lexical/react/LexicalListPlugin";
|
|
7
|
+
import { TablePlugin } from "@lexical/react/LexicalTablePlugin";
|
|
7
8
|
import { AutoLinkNode, LinkNode, TOGGLE_LINK_COMMAND } from "@lexical/link";
|
|
8
9
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
9
10
|
import { createElement, useCallback, useEffect, useMemo } from "react";
|
|
@@ -59,11 +60,18 @@ function PasteLinkPlugin() {
|
|
|
59
60
|
//#endregion
|
|
60
61
|
//#region src/components/decorators/NestedEditorCorePlugins.tsx
|
|
61
62
|
function NestedEditorCorePlugins() {
|
|
63
|
+
const [editor] = useLexicalComposerContext();
|
|
62
64
|
const nestedEditorPlugins = useNestedEditorPlugins();
|
|
65
|
+
const hasTables = editor.hasNodes([
|
|
66
|
+
TableNode,
|
|
67
|
+
TableRowNode,
|
|
68
|
+
TableCellNode
|
|
69
|
+
]);
|
|
63
70
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
64
71
|
/* @__PURE__ */ jsx(ListPlugin, {}),
|
|
65
72
|
/* @__PURE__ */ jsx(LinkPlugin, {}),
|
|
66
73
|
/* @__PURE__ */ jsx(PasteLinkPlugin, {}),
|
|
74
|
+
hasTables && /* @__PURE__ */ jsx(TablePlugin, { hasHorizontalScroll: true }),
|
|
67
75
|
nestedEditorPlugins
|
|
68
76
|
] });
|
|
69
77
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { O as $withAdaptiveImageDisplayWidth, f as $createMermaidNode, v as $createKaTeXInlineNode, w as $createImageNode, x as $createKaTeXBlockNode } from "./theme-DH4xzxU-.js";
|
|
2
|
-
import { t as $createAlertQuoteEditNode } from "./AlertQuoteEditNode-
|
|
2
|
+
import { t as $createAlertQuoteEditNode } from "./AlertQuoteEditNode-DFg-xOND.js";
|
|
3
3
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
4
4
|
import { useEffect } from "react";
|
|
5
5
|
import { $insertNodes, COMMAND_PRIORITY_EDITOR, createCommand } from "lexical";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as setCodeBlockCursorIntent, o as $createCodeBlockEditNode, s as $createBannerEditNode, t as getResolvedEditNodes } from "./node-registry-
|
|
1
|
+
import { c as setCodeBlockCursorIntent, o as $createCodeBlockEditNode, s as $createBannerEditNode, t as getResolvedEditNodes } from "./node-registry-DRd8ZbeC.js";
|
|
2
2
|
import { n as useEditorBlock } from "./EditorBlockContext-DytAx9Tg.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { B as FootnoteNode, C as KaTeXBlockNode, G as AlertQuoteNode, K as extractTextContent, O as $withAdaptiveImageDisplayWidth, Q as INLINE_DRAG_MIME, V as OPEN_FILE_PICKER_COMMAND, Z as INLINE_DRAG_ATTR, _ as MentionNode, b as KaTeXInlineNode, c as SpoilerNode, h as $createMentionNode, k as OPEN_IMAGE_UPLOAD_DIALOG_COMMAND, o as $createSpoilerNode, v as $createKaTeXInlineNode, w as $createImageNode, x as $createKaTeXBlockNode, z as $createFootnoteNode } from "./theme-DH4xzxU-.js";
|
|
5
5
|
import { i as FootnoteDefinitionsProvider, t as computeImageMeta } from "./thumbhash-GjK8OYAb.js";
|
|
6
6
|
import { C as fileExtFromName, D as $createCommentPlaceholderNode, E as $createCommentNode, F as BannerNode, T as DetailsNode, _ as $createFootnoteSectionNode, b as $createFileNode, c as $createRubyNode, h as $isGridContainerNode, j as CodeBlockNode, k as CommentNode, o as $createVideoNode, u as RubyNode, v as $isFootnoteSectionNode, w as $createDetailsNode, x as $isFileNode, y as FootnoteSectionNode } from "./ColorSchemeContext-Dc_HebHd.js";
|
|
7
|
-
import { c as PasteLinkPlugin, t as $createAlertQuoteEditNode } from "./AlertQuoteEditNode-
|
|
7
|
+
import { c as PasteLinkPlugin, t as $createAlertQuoteEditNode } from "./AlertQuoteEditNode-DFg-xOND.js";
|
|
8
8
|
import { n as getHostname, r as probeFavicon, t as normalizeSerializedEditorState } from "./normalizeSerializedEditorState-VaI73T09.js";
|
|
9
9
|
import "./VirtualizationPlugin-nD_x-4yR.js";
|
|
10
10
|
import { n as blockIdState } from "./BlockIdPlugin-Cwv8aV9g.js";
|
package/dist/commands-entry.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as extractTextContent, V as OPEN_FILE_PICKER_COMMAND, k as OPEN_IMAGE_UPLOAD_DIALOG_COMMAND, o as $createSpoilerNode, s as $isSpoilerNode } from "./theme-DH4xzxU-.js";
|
|
2
|
-
import { i as INSERT_KATEX_INLINE_COMMAND, l as INSERT_ALERT_COMMAND, o as INSERT_IMAGE_COMMAND, r as INSERT_KATEX_BLOCK_COMMAND, t as INSERT_MERMAID_COMMAND } from "./MermaidPlugin-
|
|
2
|
+
import { i as INSERT_KATEX_INLINE_COMMAND, l as INSERT_ALERT_COMMAND, o as INSERT_IMAGE_COMMAND, r as INSERT_KATEX_BLOCK_COMMAND, t as INSERT_MERMAID_COMMAND } from "./MermaidPlugin-D0Z2_YAe.js";
|
|
3
3
|
import { $createTextNode, $getSelection, $isRangeSelection } from "lexical";
|
|
4
4
|
//#region src/utils/collect-command-items.ts
|
|
5
5
|
function collectCommandItems(editor) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestedEditorCorePlugins.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/NestedEditorCorePlugins.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NestedEditorCorePlugins.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/NestedEditorCorePlugins.tsx"],"names":[],"mappings":"AASA,wBAAgB,uBAAuB,gCActC"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as VideoUploadProvider, C as createTextSelectionStore, D as ImageUploadPlugin, E as LinkFaviconPlugin, H as ImageUploadProvider, J as CorePlugins, K as FileUploadProvider, L as FileUploadPlugin, O as defaultImageUpload, S as TextSelectionStoreProvider, T as useTextSelectionStore, W as ImagePreprocessProvider, _ as $getRootBlock, a as EditorRefPlugin, b as buildBlockAnchor, c as $captureTextSelection, d as createDOMRangeFromTextSelection, f as findDOMPointByTextOffset, g as TEXT_SELECTION_HIGHLIGHT_NAME, h as getTextOffsetFromDOMPoint, i as FootnotePlugin, l as $captureTextSelectionFromRangeSelection, m as getDOMRectFromTextSelection, n as SubmitShortcutPlugin, o as VideoUploadPlugin, p as getBlockElementById, r as OnChangePlugin, s as TextSelectionPlugin, t as AutoFocusPlugin, u as $restoreTextSelection, v as $getTextOffsetInBlock, w as useTextSelectionSnapshot, x as buildRangeAnchor, y as $resolveSelectionPoint } from "./VirtualizationPlugin-
|
|
2
|
-
import { n as setResolvedEditNodes, r as allEditNodes } from "./node-registry-
|
|
1
|
+
import { B as VideoUploadProvider, C as createTextSelectionStore, D as ImageUploadPlugin, E as LinkFaviconPlugin, H as ImageUploadProvider, J as CorePlugins, K as FileUploadProvider, L as FileUploadPlugin, O as defaultImageUpload, S as TextSelectionStoreProvider, T as useTextSelectionStore, W as ImagePreprocessProvider, _ as $getRootBlock, a as EditorRefPlugin, b as buildBlockAnchor, c as $captureTextSelection, d as createDOMRangeFromTextSelection, f as findDOMPointByTextOffset, g as TEXT_SELECTION_HIGHLIGHT_NAME, h as getTextOffsetFromDOMPoint, i as FootnotePlugin, l as $captureTextSelectionFromRangeSelection, m as getDOMRectFromTextSelection, n as SubmitShortcutPlugin, o as VideoUploadPlugin, p as getBlockElementById, r as OnChangePlugin, s as TextSelectionPlugin, t as AutoFocusPlugin, u as $restoreTextSelection, v as $getTextOffsetInBlock, w as useTextSelectionSnapshot, x as buildRangeAnchor, y as $resolveSelectionPoint } from "./VirtualizationPlugin-Bqv4MkJH.js";
|
|
2
|
+
import { n as setResolvedEditNodes, r as allEditNodes } from "./node-registry-DRd8ZbeC.js";
|
|
3
3
|
import { n as useEditorBlock } from "./EditorBlockContext-DytAx9Tg.js";
|
|
4
4
|
import { J as NestedContentRendererProvider, X as useOptionalNestedContentRenderer, Y as useNestedContentRenderer, t as editorTheme } from "./theme-DH4xzxU-.js";
|
|
5
5
|
import { C as MENTION_NODE_KEY, D as VIDEO_NODE_KEY, E as TAG_NODE_KEY, S as LINK_CARD_NODE_KEY, T as RUBY_NODE_KEY, _ as FILE_NODE_KEY, a as useFootnoteContent, b as IMAGE_NODE_KEY, d as useRendererConfig, f as useRendererMode, g as CODE_BLOCK_NODE_KEY, h as BANNER_NODE_KEY, i as FootnoteDefinitionsProvider, m as ALERT_NODE_KEY, o as useFootnoteDefinitions, p as useVariant, s as useFootnoteDisplayNumber, u as RendererConfigProvider, v as FOOTNOTE_NODE_KEY, w as MERMAID_NODE_KEY, x as KATEX_NODE_KEY, y as FOOTNOTE_SECTION_NODE_KEY } from "./thumbhash-GjK8OYAb.js";
|
|
@@ -7,11 +7,11 @@ import { a as chatVariant, c as semanticClassNames, i as commentVariant, l as sh
|
|
|
7
7
|
import { n as useColorScheme, t as ColorSchemeProvider } from "./ColorSchemeContext-Dc_HebHd.js";
|
|
8
8
|
import { i as detailsStyles, n as gridStyles, r as detailsClassNames, t as gridClassNames } from "./grid.css-DJWKdYpz.js";
|
|
9
9
|
import { n as useNestedEditorPlugins, t as NestedEditorPluginsProvider } from "./NestedEditorPluginsContext-D78UZkmx.js";
|
|
10
|
-
import { a as useNestedEditorSync, i as createNestedEditor, o as registerNestedEditorSync, r as NESTED_EDITOR_NODES, s as NestedEditorCorePlugins } from "./AlertQuoteEditNode-
|
|
10
|
+
import { a as useNestedEditorSync, i as createNestedEditor, o as registerNestedEditorSync, r as NESTED_EDITOR_NODES, s as NestedEditorCorePlugins } from "./AlertQuoteEditNode-DFg-xOND.js";
|
|
11
11
|
import { t as normalizeSerializedEditorState } from "./normalizeSerializedEditorState-VaI73T09.js";
|
|
12
12
|
import { n as useExtraNodes, r as LinkFavicon, t as ExtraNodesProvider } from "./ExtraNodesContext-xQ2RNsqH.js";
|
|
13
13
|
import { a as EditorSurfaceProvider, i as EditorSurfacePlugins, n as ActiveEditorScope, o as useActiveEditor, r as EditorSurfacePlugin, s as useEditorSurface, t as VirtualizationPlugin } from "./VirtualizationPlugin-nD_x-4yR.js";
|
|
14
|
-
import { a as KaTeXPlugin, c as AlertPlugin, n as MermaidPlugin, s as ImagePlugin } from "./MermaidPlugin-
|
|
14
|
+
import { a as KaTeXPlugin, c as AlertPlugin, n as MermaidPlugin, s as ImagePlugin } from "./MermaidPlugin-D0Z2_YAe.js";
|
|
15
15
|
import { n as blockIdState, t as BlockIdPlugin } from "./BlockIdPlugin-Cwv8aV9g.js";
|
|
16
16
|
import { n as contentWrapper, r as placeholder, t as content } from "./ContentEditable.css--lQ6ekTS.js";
|
|
17
17
|
import { n as katexStyles, t as katexClassNames } from "./katex.css-9crOcnIa.js";
|
|
@@ -4,7 +4,7 @@ import { c as semanticClassNames, l as sharedStyles, t as clsx } from "./utils-E
|
|
|
4
4
|
import { t as _defineProperty } from "./defineProperty-BYhxpJwd.js";
|
|
5
5
|
import { A as $isCodeBlockNode, F as BannerNode, I as normalizeBannerType, L as BannerRenderer, M as $isBannerNode, S as FileNode, T as DetailsNode, g as GridContainerNode, h as $isGridContainerNode, i as builtinNodes, j as CodeBlockNode, k as CommentNode, n as useColorScheme, p as LinkCardNode, s as VideoNode, u as RubyNode, y as FootnoteSectionNode } from "./ColorSchemeContext-Dc_HebHd.js";
|
|
6
6
|
import { n as gridStyles, t as gridClassNames } from "./grid.css-DJWKdYpz.js";
|
|
7
|
-
import { a as useNestedEditorSync, i as createNestedEditor, n as AlertQuoteEditNode, s as NestedEditorCorePlugins } from "./AlertQuoteEditNode-
|
|
7
|
+
import { a as useNestedEditorSync, i as createNestedEditor, n as AlertQuoteEditNode, s as NestedEditorCorePlugins } from "./AlertQuoteEditNode-DFg-xOND.js";
|
|
8
8
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
9
9
|
import { createElement, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
10
10
|
import { $createNodeSelection, $createParagraphNode, $getNodeByKey, $getRoot, $getSelection, $insertNodes, $isDecoratorNode, $isElementNode, $isNodeSelection, $nodesOfType, $setSelection, COMMAND_PRIORITY_HIGH, KEY_DOWN_COMMAND } from "lexical";
|
package/dist/nodes-entry.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as FootnoteSectionEditNode, i as customEditNodes, n as setResolvedEditNodes, r as allEditNodes, t as getResolvedEditNodes } from "./node-registry-
|
|
1
|
+
import { a as FootnoteSectionEditNode, i as customEditNodes, n as setResolvedEditNodes, r as allEditNodes, t as getResolvedEditNodes } from "./node-registry-DRd8ZbeC.js";
|
|
2
2
|
import { A as computeImageDisplayPixels, C as KaTeXBlockNode, D as sanitizeImageLayout, E as ImageNode, F as imageDisplaySizeAfterResize, I as resolveImageDisplaySize, L as sanitizeImageDisplayWidth, M as imageDisplayCssVars, N as imageDisplayDataAttr, P as imageDisplayFieldsFromSize, R as sanitizeImageFixedPx, S as $isKaTeXBlockNode, T as $isImageNode, U as ALERT_LABELS, W as ALERT_TYPES, _ as MentionNode, b as KaTeXInlineNode, d as RichQuoteNode, f as $createMermaidNode, g as $isMentionNode, h as $createMentionNode, i as TagNode, j as convertImageDisplaySize, l as $createRichQuoteNode, m as MermaidNode, n as $createTagNode, p as $isMermaidNode, r as $isTagNode, u as $isRichQuoteNode, w as $createImageNode, y as $isKaTeXInlineNode } from "./theme-DH4xzxU-.js";
|
|
3
3
|
import { C as fileExtFromName, E as $createCommentNode, N as BANNER_LABELS, O as $isCommentNode, P as BANNER_TYPES, S as FileNode, _ as $createFootnoteSectionNode, a as customNodes, b as $createFileNode, c as $createRubyNode, d as $createLinkCardNode, f as $isLinkCardNode, g as GridContainerNode, h as $isGridContainerNode, i as builtinNodes, k as CommentNode, l as $isRubyNode, m as $createGridContainerNode, p as LinkCardNode, r as allNodes, u as RubyNode, v as $isFootnoteSectionNode, x as $isFileNode, y as FootnoteSectionNode } from "./ColorSchemeContext-Dc_HebHd.js";
|
|
4
|
-
import { r as NESTED_EDITOR_NODES } from "./AlertQuoteEditNode-
|
|
4
|
+
import { r as NESTED_EDITOR_NODES } from "./AlertQuoteEditNode-DFg-xOND.js";
|
|
5
5
|
export { $createCommentNode, $createFileNode, $createFootnoteSectionNode, $createGridContainerNode, $createImageNode, $createLinkCardNode, $createMentionNode, $createMermaidNode, $createRichQuoteNode, $createRubyNode, $createTagNode, $isCommentNode, $isFileNode, $isFootnoteSectionNode, $isGridContainerNode, $isImageNode, $isKaTeXBlockNode, $isKaTeXInlineNode, $isLinkCardNode, $isMentionNode, $isMermaidNode, $isRichQuoteNode, $isRubyNode, $isTagNode, ALERT_LABELS, ALERT_TYPES, BANNER_LABELS, BANNER_TYPES, CommentNode, FileNode, FootnoteSectionEditNode, FootnoteSectionNode, GridContainerNode, ImageNode, KaTeXBlockNode, KaTeXInlineNode, LinkCardNode, MentionNode, MermaidNode, NESTED_EDITOR_NODES, RichQuoteNode, RubyNode, TagNode, allEditNodes, allNodes, builtinNodes, computeImageDisplayPixels, convertImageDisplaySize, customEditNodes, customNodes, fileExtFromName, getResolvedEditNodes, imageDisplayCssVars, imageDisplayDataAttr, imageDisplayFieldsFromSize, imageDisplaySizeAfterResize, resolveImageDisplaySize, sanitizeImageDisplayWidth, sanitizeImageFixedPx, sanitizeImageLayout, setResolvedEditNodes };
|
package/dist/plugins-entry.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as HorizontalRulePlugin, A as presentImageDialog, B as VideoUploadProvider, D as ImageUploadPlugin, E as LinkFaviconPlugin, F as registerImageEditor, G as useImagePreprocess, H as ImageUploadProvider, I as resolvePreprocessTargets, J as CorePlugins, K as FileUploadProvider, L as FileUploadPlugin, M as getImageEditor, N as keepsOriginal, O as defaultImageUpload, P as markKeepOriginal, Q as InlineDndPlugin, R as setFileUploadEntry, U as useImageUpload, V as useVideoUpload, W as ImagePreprocessProvider, X as MarkdownPastePlugin, Y as MarkdownShortcutsPlugin, Z as ALL_TRANSFORMERS, a as EditorRefPlugin, et as ClickBelowPlugin, i as FootnotePlugin, j as ImageDialog, k as uploadImageFile, n as SubmitShortcutPlugin, nt as BlockExitPlugin, o as VideoUploadPlugin, q as useFileUpload, r as OnChangePlugin, rt as AutoLinkPlugin, s as TextSelectionPlugin, t as AutoFocusPlugin, tt as registerClickBelowCommand, z as useFileUploadEntry } from "./VirtualizationPlugin-
|
|
1
|
+
import { $ as HorizontalRulePlugin, A as presentImageDialog, B as VideoUploadProvider, D as ImageUploadPlugin, E as LinkFaviconPlugin, F as registerImageEditor, G as useImagePreprocess, H as ImageUploadProvider, I as resolvePreprocessTargets, J as CorePlugins, K as FileUploadProvider, L as FileUploadPlugin, M as getImageEditor, N as keepsOriginal, O as defaultImageUpload, P as markKeepOriginal, Q as InlineDndPlugin, R as setFileUploadEntry, U as useImageUpload, V as useVideoUpload, W as ImagePreprocessProvider, X as MarkdownPastePlugin, Y as MarkdownShortcutsPlugin, Z as ALL_TRANSFORMERS, a as EditorRefPlugin, et as ClickBelowPlugin, i as FootnotePlugin, j as ImageDialog, k as uploadImageFile, n as SubmitShortcutPlugin, nt as BlockExitPlugin, o as VideoUploadPlugin, q as useFileUpload, r as OnChangePlugin, rt as AutoLinkPlugin, s as TextSelectionPlugin, t as AutoFocusPlugin, tt as registerClickBelowCommand, z as useFileUploadEntry } from "./VirtualizationPlugin-Bqv4MkJH.js";
|
|
2
2
|
import { $ as markInlineDraggable, Z as INLINE_DRAG_ATTR } from "./theme-DH4xzxU-.js";
|
|
3
|
-
import { c as PasteLinkPlugin } from "./AlertQuoteEditNode-
|
|
3
|
+
import { c as PasteLinkPlugin } from "./AlertQuoteEditNode-DFg-xOND.js";
|
|
4
4
|
import { i as EditorSurfacePlugins, n as ActiveEditorScope, o as useActiveEditor, r as EditorSurfacePlugin, t as VirtualizationPlugin } from "./VirtualizationPlugin-nD_x-4yR.js";
|
|
5
|
-
import { a as KaTeXPlugin, c as AlertPlugin, n as MermaidPlugin, s as ImagePlugin } from "./MermaidPlugin-
|
|
5
|
+
import { a as KaTeXPlugin, c as AlertPlugin, n as MermaidPlugin, s as ImagePlugin } from "./MermaidPlugin-D0Z2_YAe.js";
|
|
6
6
|
import { n as blockIdState, t as BlockIdPlugin } from "./BlockIdPlugin-Cwv8aV9g.js";
|
|
7
7
|
export { ALL_TRANSFORMERS, ActiveEditorScope, AlertPlugin, AutoFocusPlugin, AutoLinkPlugin, BlockExitPlugin, BlockIdPlugin, ClickBelowPlugin, CorePlugins, EditorRefPlugin, EditorSurfacePlugin, EditorSurfacePlugins, FileUploadPlugin, FileUploadProvider, FootnotePlugin, HorizontalRulePlugin, INLINE_DRAG_ATTR, ImageDialog, ImagePlugin, ImagePreprocessProvider, ImageUploadPlugin, ImageUploadProvider, InlineDndPlugin, KaTeXPlugin, LinkFaviconPlugin, MarkdownPastePlugin, MarkdownShortcutsPlugin, MermaidPlugin, OnChangePlugin, PasteLinkPlugin, SubmitShortcutPlugin, TextSelectionPlugin, VideoUploadPlugin, VideoUploadProvider, VirtualizationPlugin, blockIdState, defaultImageUpload, getImageEditor, keepsOriginal, markInlineDraggable, markKeepOriginal, presentImageDialog, registerClickBelowCommand, registerImageEditor, resolvePreprocessTargets, setFileUploadEntry, uploadImageFile, useActiveEditor, useFileUpload, useFileUploadEntry, useImagePreprocess, useImageUpload, useVideoUpload };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.68.0",
|
|
4
4
|
"description": "Core rich text editor based on Lexical",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"dist"
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@haklex/rich-editor-ui": "0.
|
|
61
|
-
"@haklex/rich-headless": "0.
|
|
62
|
-
"@haklex/rich-style-token": "0.
|
|
60
|
+
"@haklex/rich-editor-ui": "0.68.0",
|
|
61
|
+
"@haklex/rich-headless": "0.68.0",
|
|
62
|
+
"@haklex/rich-style-token": "0.68.0",
|
|
63
63
|
"@lexical/code-core": "^0.53.0",
|
|
64
64
|
"nanoid": "^6.0.2",
|
|
65
65
|
"thumbhash": "^0.1.1"
|