@edifice.io/react 2.0.5-develop-pedago.20250211181024 → 2.0.5-develop-pedago.20250212101448
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/editor.js +30 -27
- package/dist/modules/editor/components/Editor/Editor.js +1 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +1 -0
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +1 -0
- package/dist/modules/editor/index.d.ts +3 -1
- package/package.json +6 -6
package/dist/editor.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { EditorContent, useEditor } from "@tiptap/react";
|
|
2
|
-
import { default as default2 } from "
|
|
3
|
-
import { default as default3 } from "./modules/editor/components/
|
|
4
|
-
import { default as default4 } from "./modules/editor/components/
|
|
5
|
-
import { default as default5 } from "./modules/editor/components/NodeView/
|
|
6
|
-
import { default as default6 } from "./modules/editor/components/NodeView/
|
|
7
|
-
import { default as default7 } from "./modules/editor/components/NodeView/
|
|
8
|
-
import { default as default8 } from "./modules/editor/components/NodeView/
|
|
9
|
-
import { default as default9 } from "./modules/editor/components/
|
|
10
|
-
import { default as default10 } from "./modules/editor/components/Renderer/
|
|
11
|
-
import { default as default11 } from "./modules/editor/components/Renderer/
|
|
12
|
-
import { default as default12 } from "./modules/editor/components/Renderer/
|
|
13
|
-
import { default as default13 } from "./modules/editor/components/
|
|
14
|
-
import { default as default14 } from "./modules/editor/components/Toolbar/
|
|
1
|
+
import { EditorContent, Editor, useEditor } from "@tiptap/react";
|
|
2
|
+
import { default as default2 } from "@tiptap/starter-kit";
|
|
3
|
+
import { default as default3 } from "./modules/editor/components/Editor/Editor.js";
|
|
4
|
+
import { default as default4 } from "./modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js";
|
|
5
|
+
import { default as default5 } from "./modules/editor/components/NodeView/AudioNodeView.js";
|
|
6
|
+
import { default as default6 } from "./modules/editor/components/NodeView/AttachmentNodeView.js";
|
|
7
|
+
import { default as default7 } from "./modules/editor/components/NodeView/ImageNodeView.js";
|
|
8
|
+
import { default as default8 } from "./modules/editor/components/NodeView/LinkerNodeView.js";
|
|
9
|
+
import { default as default9 } from "./modules/editor/components/NodeView/VideoNodeView.js";
|
|
10
|
+
import { default as default10 } from "./modules/editor/components/Renderer/AudioRenderer.js";
|
|
11
|
+
import { default as default11 } from "./modules/editor/components/Renderer/AttachmentRenderer.js";
|
|
12
|
+
import { default as default12 } from "./modules/editor/components/Renderer/LinkerRenderer.js";
|
|
13
|
+
import { default as default13 } from "./modules/editor/components/Renderer/MediaRenderer.js";
|
|
14
|
+
import { default as default14 } from "./modules/editor/components/Toolbar/TableToolbar.js";
|
|
15
|
+
import { default as default15 } from "./modules/editor/components/Toolbar/LinkToolbar.js";
|
|
15
16
|
import { EditorToolbar } from "./modules/editor/components/EditorToolbar/EditorToolbar.js";
|
|
16
17
|
import { useActionOptions } from "./modules/editor/hooks/useActionOptions.js";
|
|
17
18
|
import { useCommentEditor } from "./modules/editor/hooks/useCommentEditor.js";
|
|
@@ -26,22 +27,24 @@ import { useSpeechRecognition } from "./modules/editor/hooks/useSpeechRecognitio
|
|
|
26
27
|
import { useSpeechSynthetisis } from "./modules/editor/hooks/useSpeechSynthetisis.js";
|
|
27
28
|
import { useTipTapEditor } from "./modules/editor/hooks/useTipTapEditor.js";
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
default6 as AttachmentNodeView,
|
|
31
|
+
default11 as AttachmentRenderer,
|
|
32
|
+
default5 as AudioNodeView,
|
|
33
|
+
default10 as AudioRenderer,
|
|
34
|
+
default4 as BubbleMenuEditImage,
|
|
35
|
+
default3 as Editor,
|
|
35
36
|
EditorContent,
|
|
36
37
|
EditorContext,
|
|
37
38
|
EditorToolbar,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
default7 as ImageNodeView,
|
|
40
|
+
default15 as LinkToolbar,
|
|
41
|
+
default8 as LinkerNodeView,
|
|
42
|
+
default12 as LinkerRenderer,
|
|
43
|
+
default13 as MediaRenderer,
|
|
44
|
+
default2 as StarterKit,
|
|
45
|
+
default14 as TableToolbar,
|
|
46
|
+
Editor as TipTapEditor,
|
|
47
|
+
default9 as VideoNodeView,
|
|
45
48
|
useActionOptions,
|
|
46
49
|
useCommentEditor,
|
|
47
50
|
useEditor,
|
|
@@ -2,6 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef, useId, useImperativeHandle, Suspense, lazy } from "react";
|
|
3
3
|
import { EditorContent } from "@tiptap/react";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
+
import "@tiptap/starter-kit";
|
|
5
6
|
import { useEdificeClient } from "../../../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
6
7
|
import { useMathsStyles } from "../../hooks/useMathsStyles.js";
|
|
7
8
|
import { useTipTapEditor } from "../../hooks/useTipTapEditor.js";
|
|
@@ -2,6 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import "@tiptap/react";
|
|
5
|
+
import "@tiptap/starter-kit";
|
|
5
6
|
import SvgIconAlignLeft from "../../../icons/components/IconAlignLeft.js";
|
|
6
7
|
import SvgIconBulletList from "../../../icons/components/IconBulletList.js";
|
|
7
8
|
import SvgIconLandscape from "../../../icons/components/IconLandscape.js";
|
|
@@ -2,6 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { NodeViewWrapper } from "@tiptap/react";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
+
import "@tiptap/starter-kit";
|
|
5
6
|
import SvgIconDelete from "../../../icons/components/IconDelete.js";
|
|
6
7
|
import SvgIconDownload from "../../../icons/components/IconDownload.js";
|
|
7
8
|
import Attachment from "../../../../components/Attachment/Attachment.js";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as StarterKit } from '@tiptap/starter-kit';
|
|
2
|
+
export { EditorContent, type Content, useEditor, Editor as TipTapEditor } from '@tiptap/react';
|
|
3
|
+
export { StarterKit };
|
|
2
4
|
export * from './components';
|
|
3
5
|
export * from './hooks';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.0.5-develop-pedago.
|
|
3
|
+
"version": "2.0.5-develop-pedago.20250212101448",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"react-slugify": "^3.0.3",
|
|
119
119
|
"swiper": "^10.1.0",
|
|
120
120
|
"ua-parser-js": "^1.0.36",
|
|
121
|
-
"@edifice.io/bootstrap": "2.0.5-develop-pedago.
|
|
122
|
-
"@edifice.io/tiptap-extensions": "2.0.5-develop-pedago.
|
|
123
|
-
"@edifice.io/utilities": "2.0.5-develop-pedago.
|
|
121
|
+
"@edifice.io/bootstrap": "2.0.5-develop-pedago.20250212101448",
|
|
122
|
+
"@edifice.io/tiptap-extensions": "2.0.5-develop-pedago.20250212101448",
|
|
123
|
+
"@edifice.io/utilities": "2.0.5-develop-pedago.20250212101448"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
"vite": "^5.4.11",
|
|
149
149
|
"vite-plugin-dts": "^4.1.0",
|
|
150
150
|
"vite-tsconfig-paths": "^5.0.1",
|
|
151
|
-
"@edifice.io/
|
|
152
|
-
"@edifice.io/
|
|
151
|
+
"@edifice.io/config": "2.0.5-develop-pedago.20250212101448",
|
|
152
|
+
"@edifice.io/client": "2.0.5-develop-pedago.20250212101448"
|
|
153
153
|
},
|
|
154
154
|
"peerDependencies": {
|
|
155
155
|
"@react-spring/web": "^9.7.5",
|