@atlaskit/editor-ssr-renderer 2.0.1 → 2.1.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-ssr-renderer
|
|
2
2
|
|
|
3
|
+
## 2.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3242cbd5e88b9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3242cbd5e88b9) -
|
|
8
|
+
Update packages to match prosemirror library updates
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 2.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`04b96fcb2ac43`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/04b96fcb2ac43) -
|
|
16
|
+
Use existing function to check if SSR
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 2.0.1
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -147,6 +147,16 @@ var SSREditorView = /*#__PURE__*/function () {
|
|
|
147
147
|
value: function someProp() {
|
|
148
148
|
return undefined;
|
|
149
149
|
}
|
|
150
|
+
}, {
|
|
151
|
+
key: "serializeForClipboard",
|
|
152
|
+
value: function serializeForClipboard(slice) {
|
|
153
|
+
// No-op in SSR - clipboard operations are not supported
|
|
154
|
+
return {
|
|
155
|
+
dom: document.createElement('div'),
|
|
156
|
+
text: '',
|
|
157
|
+
slice: slice
|
|
158
|
+
};
|
|
159
|
+
}
|
|
150
160
|
}]);
|
|
151
161
|
}();
|
|
152
162
|
var SSREventDispatcher = /*#__PURE__*/function (_EventDispatcher) {
|
|
@@ -80,6 +80,14 @@ class SSREditorView {
|
|
|
80
80
|
someProp() {
|
|
81
81
|
return undefined;
|
|
82
82
|
}
|
|
83
|
+
serializeForClipboard(slice) {
|
|
84
|
+
// No-op in SSR - clipboard operations are not supported
|
|
85
|
+
return {
|
|
86
|
+
dom: document.createElement('div'),
|
|
87
|
+
text: '',
|
|
88
|
+
slice
|
|
89
|
+
};
|
|
90
|
+
}
|
|
83
91
|
constructor(place, props) {
|
|
84
92
|
this.state = props.state;
|
|
85
93
|
this.dom = document.createElement('div');
|
|
@@ -139,6 +139,16 @@ var SSREditorView = /*#__PURE__*/function () {
|
|
|
139
139
|
value: function someProp() {
|
|
140
140
|
return undefined;
|
|
141
141
|
}
|
|
142
|
+
}, {
|
|
143
|
+
key: "serializeForClipboard",
|
|
144
|
+
value: function serializeForClipboard(slice) {
|
|
145
|
+
// No-op in SSR - clipboard operations are not supported
|
|
146
|
+
return {
|
|
147
|
+
dom: document.createElement('div'),
|
|
148
|
+
text: '',
|
|
149
|
+
slice: slice
|
|
150
|
+
};
|
|
151
|
+
}
|
|
142
152
|
}]);
|
|
143
153
|
}();
|
|
144
154
|
var SSREventDispatcher = /*#__PURE__*/function (_EventDispatcher) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-ssr-renderer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "SSR Renderer based on Editor",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"atlassian": {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/adf-schema": "^51.5.0",
|
|
31
|
-
"@atlaskit/editor-prosemirror": "^7.
|
|
31
|
+
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^111.
|
|
36
|
+
"@atlaskit/editor-common": "^111.11.0",
|
|
37
37
|
"react": "^18.2.0"
|
|
38
38
|
}
|
|
39
39
|
}
|