@atlaskit/editor-plugin-placeholder-text 5.0.1 → 5.2.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-placeholder-text
|
|
2
2
|
|
|
3
|
+
## 5.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
|
|
8
|
+
EDITOR-1562 bump adf-schema for afm
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 5.1.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
|
|
19
|
+
EDITOR-1568 bump adf-schema for afm
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 5.0.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -219,6 +219,9 @@ var basePlaceholderTextPlugin = function basePlaceholderTextPlugin(_ref2) {
|
|
|
219
219
|
var editorView = _ref5.editorView,
|
|
220
220
|
popupsMountPoint = _ref5.popupsMountPoint,
|
|
221
221
|
popupsBoundariesElement = _ref5.popupsBoundariesElement;
|
|
222
|
+
if (!editorView) {
|
|
223
|
+
return null;
|
|
224
|
+
}
|
|
222
225
|
return /*#__PURE__*/_react.default.createElement(ContentComponent, {
|
|
223
226
|
editorView: editorView,
|
|
224
227
|
popupsMountPoint: popupsMountPoint,
|
|
@@ -205,6 +205,9 @@ const basePlaceholderTextPlugin = ({
|
|
|
205
205
|
popupsMountPoint,
|
|
206
206
|
popupsBoundariesElement
|
|
207
207
|
}) {
|
|
208
|
+
if (!editorView) {
|
|
209
|
+
return null;
|
|
210
|
+
}
|
|
208
211
|
return /*#__PURE__*/React.createElement(ContentComponent, {
|
|
209
212
|
editorView: editorView,
|
|
210
213
|
popupsMountPoint: popupsMountPoint,
|
|
@@ -211,6 +211,9 @@ var basePlaceholderTextPlugin = function basePlaceholderTextPlugin(_ref2) {
|
|
|
211
211
|
var editorView = _ref5.editorView,
|
|
212
212
|
popupsMountPoint = _ref5.popupsMountPoint,
|
|
213
213
|
popupsBoundariesElement = _ref5.popupsBoundariesElement;
|
|
214
|
+
if (!editorView) {
|
|
215
|
+
return null;
|
|
216
|
+
}
|
|
214
217
|
return /*#__PURE__*/React.createElement(ContentComponent, {
|
|
215
218
|
editorView: editorView,
|
|
216
219
|
popupsMountPoint: popupsMountPoint,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-placeholder-text",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "placeholder text plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^51.
|
|
31
|
-
"@atlaskit/editor-plugin-analytics": "^5.
|
|
32
|
-
"@atlaskit/editor-plugin-type-ahead": "^5.
|
|
30
|
+
"@atlaskit/adf-schema": "^51.1.2",
|
|
31
|
+
"@atlaskit/editor-plugin-analytics": "^5.2.0",
|
|
32
|
+
"@atlaskit/editor-plugin-type-ahead": "^5.2.0",
|
|
33
33
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
34
34
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
35
35
|
"@atlaskit/icon": "^28.1.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@emotion/react": "^11.7.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@atlaskit/editor-common": "^109.
|
|
42
|
+
"@atlaskit/editor-common": "^109.5.0",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"react-dom": "^18.2.0",
|
|
45
45
|
"react-intl-next": "npm:react-intl@^5.18.1"
|