@lowdefy/blocks-tiptap 5.3.0 → 5.4.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.
|
@@ -45,7 +45,9 @@
|
|
|
45
45
|
method: 'POST',
|
|
46
46
|
body: formData
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
// createPresignedPost returns the bucket endpoint with a trailing slash, so only
|
|
49
|
+
// add a separator when it is missing to avoid a double slash before the key.
|
|
50
|
+
file.url = url.endsWith('/') ? `${url}${key}` : `${url}/${key}`;
|
|
49
51
|
return file.url;
|
|
50
52
|
}
|
|
51
53
|
export default s3FileUpload;
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/blocks-tiptap",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy TipTap rich-text editor blocks.",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
7
|
+
"lowdefy": {
|
|
8
|
+
"serverExternalPackages": [
|
|
9
|
+
"turndown"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
7
12
|
"keywords": [
|
|
8
13
|
"lowdefy",
|
|
9
14
|
"lowdefy blocks",
|
|
@@ -41,9 +46,9 @@
|
|
|
41
46
|
"dist/*"
|
|
42
47
|
],
|
|
43
48
|
"dependencies": {
|
|
44
|
-
"@lowdefy/block-utils": "5.
|
|
45
|
-
"@lowdefy/blocks-antd": "5.
|
|
46
|
-
"@lowdefy/helpers": "5.
|
|
49
|
+
"@lowdefy/block-utils": "5.4.0",
|
|
50
|
+
"@lowdefy/blocks-antd": "5.4.0",
|
|
51
|
+
"@lowdefy/helpers": "5.4.0",
|
|
47
52
|
"@tiptap/core": "2.27.2",
|
|
48
53
|
"@tiptap/extension-file-handler": "2.27.2",
|
|
49
54
|
"@tiptap/extension-highlight": "2.27.2",
|
|
@@ -67,8 +72,8 @@
|
|
|
67
72
|
"react-dom": ">=18"
|
|
68
73
|
},
|
|
69
74
|
"devDependencies": {
|
|
70
|
-
"@lowdefy/block-dev-e2e": "5.
|
|
71
|
-
"@lowdefy/e2e-utils": "5.
|
|
75
|
+
"@lowdefy/block-dev-e2e": "5.4.0",
|
|
76
|
+
"@lowdefy/e2e-utils": "5.4.0",
|
|
72
77
|
"@playwright/test": "1.50.1",
|
|
73
78
|
"@swc/cli": "0.8.0",
|
|
74
79
|
"@swc/core": "1.15.18",
|