@blocklet/editor 2.0.120 → 2.0.121
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.
|
@@ -4,7 +4,8 @@ import { useReactive, useTimeout } from 'ahooks';
|
|
|
4
4
|
import { Box, CircularProgress, IconButton } from '@mui/material';
|
|
5
5
|
import CachedIcon from '@mui/icons-material/Cached';
|
|
6
6
|
import WarningTwoToneIcon from '@mui/icons-material/WarningTwoTone';
|
|
7
|
-
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
import { EmbedIframe } from '@blocklet/embed/react';
|
|
8
9
|
const getHost = (url) => {
|
|
9
10
|
try {
|
|
10
11
|
return new URL(url).host;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/editor",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.121",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npm run storybook",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@arcblock/ux": "^2.10.
|
|
41
|
-
"@blocklet/embed": "^0.
|
|
42
|
-
"@blocklet/pages-kit": "^0.2.
|
|
43
|
-
"@blocklet/pdf": "2.0.
|
|
40
|
+
"@arcblock/ux": "^2.10.20",
|
|
41
|
+
"@blocklet/embed": "^0.2.0",
|
|
42
|
+
"@blocklet/pages-kit": "^0.2.396",
|
|
43
|
+
"@blocklet/pdf": "2.0.121",
|
|
44
44
|
"@excalidraw/excalidraw": "^0.14.2",
|
|
45
45
|
"@iconify/iconify": "^3.0.1",
|
|
46
46
|
"@iconify/icons-tabler": "^1.2.95",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"copyfiles": "^2.4.1",
|
|
103
103
|
"react": "^18.2.0",
|
|
104
104
|
"typescript": "^4.9.3",
|
|
105
|
-
"vite": "^5.
|
|
105
|
+
"vite": "^5.4.0",
|
|
106
106
|
"vite-plugin-svgr": "^4.2.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"react": "*",
|
|
114
114
|
"react-dom": "*"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "8f9d09ae2d4379fac4e7fafdffe1a2aae2aaa2b7"
|
|
117
117
|
}
|