@haklex/rich-kit-shiro 0.0.65 → 0.0.66

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 CHANGED
@@ -1,110 +1,83 @@
1
1
  # @haklex/rich-kit-shiro
2
2
 
3
- 生产就绪的编辑器包,包含所有渲染器、插件和扩展。
3
+ Pre-configured integration bundle for Shiroi (Next.js blog). Provides `ShiroEditor` and `ShiroRenderer` with all plugins, extensions, and renderers pre-loaded.
4
4
 
5
- ## 安装
5
+ ## Installation
6
6
 
7
7
  ```bash
8
- pnpm add @haklex/rich-kit-shiro lexical @lexical/react
8
+ pnpm add @haklex/rich-kit-shiro
9
9
  ```
10
10
 
11
- ## 使用
11
+ ## Peer Dependencies
12
12
 
13
- ### 编辑器
13
+ | Package | Version |
14
+ | --- | --- |
15
+ | `@lexical/react` | `^0.41.0` |
16
+ | `lexical` | `^0.41.0` |
17
+ | `react` | `>=19` |
18
+ | `react-dom` | `>=19` |
19
+
20
+ ## Usage
21
+
22
+ ### Editor
14
23
 
15
24
  ```tsx
16
25
  import { ShiroEditor } from '@haklex/rich-kit-shiro/editor'
17
26
  import '@haklex/rich-kit-shiro/style.css'
18
27
 
19
- function Editor() {
20
- const [state, setState] = useState()
21
-
22
- return (
23
- <ShiroEditor
24
- initialValue={state}
25
- onChange={setState}
26
- variant="article"
27
- />
28
- )
29
- }
28
+ <ShiroEditor
29
+ initialValue={savedState}
30
+ onChange={(value) => save(value)}
31
+ variant="article"
32
+ />
30
33
  ```
31
34
 
32
- ### 渲染器
35
+ ### Renderer
33
36
 
34
37
  ```tsx
35
38
  import { ShiroRenderer } from '@haklex/rich-kit-shiro/renderer'
36
- import '@haklex/rich-kit-shiro/style.css'
39
+ import '@haklex/rich-kit-shiro/style-renderer.css'
37
40
 
38
- function Article({ content }) {
39
- return <ShiroRenderer value={content} variant="article" />
40
- }
41
+ <ShiroRenderer value={editorState} variant="article" theme="light" />
41
42
  ```
42
43
 
43
- ## 内置功能
44
-
45
- ShiroEditor 自动包含:
44
+ ## Exports
46
45
 
47
- - 所有编辑渲染器
48
- - SlashMenuPlugin
49
- - FloatingToolbarPlugin
50
- - FloatingLinkEditorPlugin
51
- - TldrawPlugin
52
- - EmbedPlugin
53
- - 表格单元格调整
46
+ ### Components
54
47
 
55
- ## API
48
+ | Export | Description |
49
+ | --- | --- |
50
+ | `ShiroEditor` | Fully configured editor with all plugins and extensions |
51
+ | `ShiroRenderer` | Fully configured static renderer with all renderers |
56
52
 
57
- ### ShiroEditorProps
53
+ ### Types
58
54
 
59
- 继承 `RichEditorProps`,但省略 `rendererConfig`、`extraNodes`:
55
+ | Export | Description |
56
+ | --- | --- |
57
+ | `ShiroEditorProps` | Props for `ShiroEditor` |
58
+ | `ShiroRendererProps` | Props for `ShiroRenderer` |
60
59
 
61
- ```ts
62
- interface ShiroEditorProps extends Omit<RichEditorProps, 'rendererConfig' | 'extraNodes' | 'actions'> {
63
- extraNodes?: Array<Klass<LexicalNode>>
64
- actions?: ReactNode
65
- selfHostnames?: string[] // EmbedPlugin 用
66
- }
67
- ```
68
-
69
- ### ShiroRendererProps
60
+ ### Sub-path Exports
70
61
 
71
- 继承 `RichRendererProps`,但省略 `rendererConfig`、`extraNodes`:
72
-
73
- ```ts
74
- interface ShiroRendererProps extends Omit<RichRendererProps, 'rendererConfig' | 'extraNodes'> {
75
- extraNodes?: Array<Klass<LexicalNode>>
76
- }
77
- ```
62
+ | Import Path | Description |
63
+ | --- | --- |
64
+ | `@haklex/rich-kit-shiro` | Main entry (ShiroEditor + ShiroRenderer + all re-exports) |
65
+ | `@haklex/rich-kit-shiro/editor` | Editor component only |
66
+ | `@haklex/rich-kit-shiro/editor-core` | Core editor re-exports |
67
+ | `@haklex/rich-kit-shiro/excalidraw` | Excalidraw extension re-exports |
68
+ | `@haklex/rich-kit-shiro/markdown` | Markdown conversion utilities |
69
+ | `@haklex/rich-kit-shiro/nodes` | All node classes |
70
+ | `@haklex/rich-kit-shiro/plugins` | All plugin re-exports |
71
+ | `@haklex/rich-kit-shiro/renderer` | Renderer component only |
72
+ | `@haklex/rich-kit-shiro/renderers` | Static renderer configs |
73
+ | `@haklex/rich-kit-shiro/renderers-edit` | Edit-mode renderer configs |
74
+ | `@haklex/rich-kit-shiro/style` | Style/theme utilities |
75
+ | `@haklex/rich-kit-shiro/style.css` | Compiled editor stylesheet |
76
+ | `@haklex/rich-kit-shiro/style-renderer.css` | Compiled renderer stylesheet |
78
77
 
79
- ## 导出
78
+ ## Part of Haklex
80
79
 
81
- ```ts
82
- // 组件
83
- export { ShiroEditor } from './ShiroEditor'
84
- export { ShiroRenderer } from './ShiroRenderer'
85
-
86
- // 类型
87
- export type { ShiroEditorProps } from './ShiroEditor'
88
- export type { ShiroRendererProps } from './ShiroRenderer'
89
-
90
- // 重新导出常用类型
91
- export type { ColorScheme, RendererConfig, RichEditorVariant } from '@haklex/rich-editor'
92
-
93
- // 重新导出配置(高级用法)
94
- export { enhancedRendererConfig } from '@haklex/rich-renderers'
95
- export { enhancedEditRendererConfig } from '@haklex/rich-renderers-edit'
96
- ```
97
-
98
- ## 依赖
99
-
100
- ```json
101
- {
102
- "lexical": "^0.41.0",
103
- "@lexical/react": "^0.41.0",
104
- "react": ">=19",
105
- "react-dom": ">=19"
106
- }
107
- ```
80
+ This package is part of the [Haklex](../../README.md) rich editor ecosystem.
108
81
 
109
82
  ## License
110
83
 
@@ -1 +1 @@
1
- {"version":3,"file":"IsolateEditor.d.ts","sourceRoot":"","sources":["../src/IsolateEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAOrD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAEjD,wBAAgB,aAAa,CAAC,EAC5B,KAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CASpB"}
1
+ {"version":3,"file":"IsolateEditor.d.ts","sourceRoot":"","sources":["../src/IsolateEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAOtD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AAElD,wBAAgB,aAAa,CAAC,EAAE,KAAe,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CASzF"}
@@ -1 +1 @@
1
- {"version":3,"file":"IsolateRenderer.d.ts","sourceRoot":"","sources":["../src/IsolateRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAOzD,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAe,EACf,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,2CAatB"}
1
+ {"version":3,"file":"IsolateRenderer.d.ts","sourceRoot":"","sources":["../src/IsolateRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAO1D,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,KAAe,EACf,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,2CAatB"}
@@ -32,7 +32,7 @@ function ShiroEditor({
32
32
  [extraNodes]
33
33
  );
34
34
  const renderNestedContent = useCallback(
35
- (value) => /* @__PURE__ */ jsx(ShiroRenderer, { value, variant, theme }),
35
+ (value) => /* @__PURE__ */ jsx(ShiroRenderer, { theme, value, variant }),
36
36
  [theme, variant]
37
37
  );
38
38
  const renderLinkExtraActions = useCallback(
@@ -40,24 +40,17 @@ function ShiroEditor({
40
40
  url,
41
41
  linkKey,
42
42
  actionButtonClassName
43
- }) => /* @__PURE__ */ jsx(
44
- ConvertToLinkCardAction,
45
- {
46
- url,
47
- linkKey,
48
- className: actionButtonClassName
49
- }
50
- ),
43
+ }) => /* @__PURE__ */ jsx(ConvertToLinkCardAction, { className: actionButtonClassName, linkKey, url }),
51
44
  []
52
45
  );
53
46
  return /* @__PURE__ */ jsx(NestedContentRendererProvider, { value: renderNestedContent, children: /* @__PURE__ */ jsxs(
54
47
  RichEditor,
55
48
  {
56
49
  ...props,
57
- variant,
58
- theme,
59
50
  extraNodes: mergedNodes,
60
51
  rendererConfig: enhancedEditRendererConfig,
52
+ theme,
53
+ variant,
61
54
  actions: /* @__PURE__ */ jsxs(Fragment, { children: [
62
55
  /* @__PURE__ */ jsx(SlashMenuPlugin, {}),
63
56
  /* @__PURE__ */ jsx(MentionMenuPlugin, { extraPlatforms: extraMentionPlatforms }),
@@ -3,10 +3,10 @@ import { MentionPlatformDef } from '@haklex/rich-plugin-mention';
3
3
  import { Klass, LexicalNode } from 'lexical';
4
4
  import { ReactNode } from 'react';
5
5
  export interface ShiroEditorProps extends Omit<RichEditorProps, 'rendererConfig' | 'extraNodes' | 'actions'> {
6
- extraNodes?: Array<Klass<LexicalNode>>;
7
6
  actions?: ReactNode;
8
- selfHostnames?: string[];
9
7
  extraMentionPlatforms?: MentionPlatformDef[];
8
+ extraNodes?: Array<Klass<LexicalNode>>;
9
+ selfHostnames?: string[];
10
10
  }
11
11
  export declare function ShiroEditor({ extraNodes, actions, children, selfHostnames, extraMentionPlatforms, variant, theme, ...props }: ShiroEditorProps): import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=ShiroEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShiroEditor.d.ts","sourceRoot":"","sources":["../src/ShiroEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAK1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAoBrE,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAyB,MAAM,SAAS,CAAA;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AActC,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAC5C,eAAe,EACf,gBAAgB,GAAG,YAAY,GAAG,SAAS,CAC5C;IACC,UAAU,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAA;IACtC,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,qBAAqB,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC7C;AAED,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,OAAO,EACP,QAAQ,EACR,aAAa,EACb,qBAAqB,EACrB,OAAmB,EACnB,KAAe,EACf,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA6DlB"}
1
+ {"version":3,"file":"ShiroEditor.d.ts","sourceRoot":"","sources":["../src/ShiroEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAK3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAiBtE,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAyB,MAAM,SAAS,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAcvC,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAC5C,eAAe,EACf,gBAAgB,GAAG,YAAY,GAAG,SAAS,CAC5C;IACC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,qBAAqB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC7C,UAAU,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,OAAO,EACP,QAAQ,EACR,aAAa,EACb,qBAAqB,EACrB,OAAmB,EACnB,KAAe,EACf,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAsDlB"}
package/dist/editor.mjs CHANGED
@@ -1,14 +1,10 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import root from "react-shadow";
3
- import { S as ShiroEditor } from "./ShiroEditor-B1d8hQ_r.js";
4
- import { c as cssText } from "./style-BTA1ZhvB.js";
3
+ import { S as ShiroEditor } from "./ShiroEditor-DF352TP2.js";
4
+ import { c as cssText } from "./style-CwdYBOlE.js";
5
5
  const resolvedCss = cssText.replaceAll(":root {", ":root, :host {");
6
- function IsolateEditor({
7
- theme = "light",
8
- className,
9
- ...props
10
- }) {
11
- return /* @__PURE__ */ jsx(root.div, { className, children: /* @__PURE__ */ jsxs("div", { id: "shadow-html", "data-theme": theme, suppressHydrationWarning: true, children: [
6
+ function IsolateEditor({ theme = "light", className, ...props }) {
7
+ return /* @__PURE__ */ jsx(root.div, { className, children: /* @__PURE__ */ jsxs("div", { suppressHydrationWarning: true, "data-theme": theme, id: "shadow-html", children: [
12
8
  /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: resolvedCss } }),
13
9
  /* @__PURE__ */ jsx(ShiroEditor, { ...props, theme })
14
10
  ] }) });
@@ -1,4 +1,6 @@
1
- export type { ColorScheme, FootnoteDefinitionsContextValue, LinkFaviconProps, RendererConfig, RendererMode, RichEditorProps, RichEditorVariant, SlashMenuItemConfig, } from '@haklex/rich-editor';
2
- export { ColorSchemeProvider, createRendererDecoration, getVariantClass, LinkFavicon, RichEditor, useColorScheme, useRendererConfig, useRendererMode, } from '@haklex/rich-editor';
1
+ export type { ColorScheme, FootnoteDefinitionsContextValue, LinkFaviconProps, RendererConfig, RendererMode, RichEditorProps, RichEditorVariant, } from '@haklex/rich-editor';
2
+ export { ColorSchemeProvider, getVariantClass, LinkFavicon, RichEditor, useColorScheme, useRendererConfig, useRendererMode, } from '@haklex/rich-editor';
3
3
  export { FootnoteDefinitionsProvider, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, } from '@haklex/rich-editor';
4
+ export type { SlashMenuItemConfig } from '@haklex/rich-editor/commands';
5
+ export { createRendererDecoration } from '@haklex/rich-editor/renderers';
4
6
  //# sourceMappingURL=editor-core.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor-core.d.ts","sourceRoot":"","sources":["../../src/exports/editor-core.ts"],"names":[],"mappings":"AACA,YAAY,EACV,WAAW,EACX,+BAA+B,EAC/B,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,eAAe,GAChB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"editor-core.d.ts","sourceRoot":"","sources":["../../src/exports/editor-core.ts"],"names":[],"mappings":"AACA,YAAY,EACV,WAAW,EACX,+BAA+B,EAC/B,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAG7B,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -1,4 +1,5 @@
1
- import { ColorSchemeProvider, FootnoteDefinitionsProvider, LinkFavicon, RichEditor, createRendererDecoration, getVariantClass, useColorScheme, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, useRendererConfig, useRendererMode } from "@haklex/rich-editor";
1
+ import { ColorSchemeProvider, FootnoteDefinitionsProvider, LinkFavicon, RichEditor, getVariantClass, useColorScheme, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, useRendererConfig, useRendererMode } from "@haklex/rich-editor";
2
+ import { createRendererDecoration } from "@haklex/rich-editor/renderers";
2
3
  export {
3
4
  ColorSchemeProvider,
4
5
  FootnoteDefinitionsProvider,
@@ -1,4 +1,4 @@
1
- import { S, a, b } from "../markdown-DFW9jcXy.js";
1
+ import { S, a, b } from "../markdown-6NDL-9Bg.js";
2
2
  export {
3
3
  S as SHIRO_EXT_MARKDOWN_TRANSFORMERS,
4
4
  a as SHIRO_MARKDOWN_TRANSFORMERS,
@@ -1,4 +1,4 @@
1
- export { allEditNodes, allNodes, builtinNodes, customEditNodes, customNodes, getResolvedEditNodes, NESTED_EDITOR_NODES, setResolvedEditNodes, } from '@haklex/rich-editor';
1
+ export { allEditNodes, allNodes, builtinNodes, customEditNodes, customNodes, getResolvedEditNodes, NESTED_EDITOR_NODES, setResolvedEditNodes, } from '@haklex/rich-editor/nodes';
2
2
  export type { SerializedExcalidrawNode } from '@haklex/rich-ext-excalidraw';
3
3
  export { $createExcalidrawNode, $isExcalidrawNode, ExcalidrawNode, } from '@haklex/rich-ext-excalidraw';
4
4
  export type { SerializedCodeSnippetNode, SerializedEmbedNode, SerializedGalleryNode, } from '@haklex/rich-renderers';
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/exports/nodes.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,qBAAqB,CAAA;AAG5B,YAAY,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,GACf,MAAM,6BAA6B,CAAA;AAGpC,YAAY,EACV,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,GACb,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,6BAA6B,CAAA"}
1
+ {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/exports/nodes.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AAGnC,YAAY,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,GACf,MAAM,6BAA6B,CAAC;AAGrC,YAAY,EACV,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,GACb,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,6BAA6B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { NESTED_EDITOR_NODES, allEditNodes, allNodes, builtinNodes, customEditNodes, customNodes, getResolvedEditNodes, setResolvedEditNodes } from "@haklex/rich-editor";
1
+ import { NESTED_EDITOR_NODES, allEditNodes, allNodes, builtinNodes, customEditNodes, customNodes, getResolvedEditNodes, setResolvedEditNodes } from "@haklex/rich-editor/nodes";
2
2
  import { $createExcalidrawNode, $isExcalidrawNode, ExcalidrawNode } from "@haklex/rich-ext-excalidraw";
3
3
  import { $createCodeSnippetNode, $createGalleryNode, $isCodeSnippetNode, $isGalleryNode, CodeSnippetNode, EmbedNode, GalleryNode, codeSnippetNodes, embedNodes, galleryNodes } from "@haklex/rich-renderers";
4
4
  import { $createCodeSnippetEditNode, $createEmbedEditNode, $isCodeSnippetEditNode, $isEmbedEditNode, CodeSnippetEditNode, EmbedEditNode, KaTeXBlockEditNode, KaTeXInlineEditNode, LinkCardEditNode, codeSnippetEditNodes, embedEditNodes, katexEditNodes, linkCardEditNodes } from "@haklex/rich-renderers-edit";