@atlaskit/editor-core 189.3.16 → 189.3.17
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 +7 -0
- package/dist/cjs/presets/universal.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 189.3.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#42702](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42702) [`79e5ed8fac7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79e5ed8fac7) - ED-19543 remove unused FF check
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 189.3.16
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -39,7 +39,6 @@ var _editorPluginMentions = require("@atlaskit/editor-plugin-mentions");
|
|
|
39
39
|
var _editorPluginPlaceholderText = require("@atlaskit/editor-plugin-placeholder-text");
|
|
40
40
|
var _editorPluginExpand = require("@atlaskit/editor-plugin-expand");
|
|
41
41
|
var _isFullPage = require("../utils/is-full-page");
|
|
42
|
-
var _mediaCommon = require("@atlaskit/media-common");
|
|
43
42
|
var _default = require("./default");
|
|
44
43
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
45
44
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -145,8 +144,9 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
145
144
|
}
|
|
146
145
|
return builder;
|
|
147
146
|
}).maybeAdd(_editorPluginCaption.captionPlugin, function (plugin, builder) {
|
|
147
|
+
var _props$media;
|
|
148
148
|
// EDM-799: inside caption plugin we do the feature flag in enabling the plugin
|
|
149
|
-
if (props.media &&
|
|
149
|
+
if ((_props$media = props.media) !== null && _props$media !== void 0 && _props$media.allowCaptions) {
|
|
150
150
|
return builder.add(plugin);
|
|
151
151
|
}
|
|
152
152
|
return builder;
|
|
@@ -29,7 +29,6 @@ import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
|
29
29
|
import { placeholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
30
30
|
import { expandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
31
31
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
32
|
-
import { getMediaFeatureFlag } from '@atlaskit/media-common';
|
|
33
32
|
import { createDefaultPreset } from './default';
|
|
34
33
|
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
35
34
|
/**
|
|
@@ -133,8 +132,9 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
133
132
|
}
|
|
134
133
|
return builder;
|
|
135
134
|
}).maybeAdd(captionPlugin, (plugin, builder) => {
|
|
135
|
+
var _props$media;
|
|
136
136
|
// EDM-799: inside caption plugin we do the feature flag in enabling the plugin
|
|
137
|
-
if (props.media &&
|
|
137
|
+
if ((_props$media = props.media) !== null && _props$media !== void 0 && _props$media.allowCaptions) {
|
|
138
138
|
return builder.add(plugin);
|
|
139
139
|
}
|
|
140
140
|
return builder;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "189.3.
|
|
2
|
+
export const version = "189.3.17";
|
|
@@ -33,7 +33,6 @@ import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
|
33
33
|
import { placeholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
34
34
|
import { expandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
35
35
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
36
|
-
import { getMediaFeatureFlag } from '@atlaskit/media-common';
|
|
37
36
|
import { createDefaultPreset } from './default';
|
|
38
37
|
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
39
38
|
/**
|
|
@@ -137,8 +136,9 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
137
136
|
}
|
|
138
137
|
return builder;
|
|
139
138
|
}).maybeAdd(captionPlugin, function (plugin, builder) {
|
|
139
|
+
var _props$media;
|
|
140
140
|
// EDM-799: inside caption plugin we do the feature flag in enabling the plugin
|
|
141
|
-
if (props.media &&
|
|
141
|
+
if ((_props$media = props.media) !== null && _props$media !== void 0 && _props$media.allowCaptions) {
|
|
142
142
|
return builder.add(plugin);
|
|
143
143
|
}
|
|
144
144
|
return builder;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "189.3.
|
|
2
|
+
export var version = "189.3.17";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "189.3.
|
|
3
|
+
"version": "189.3.17",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"@atlaskit/form": "^9.0.0",
|
|
118
118
|
"@atlaskit/icon": "^21.12.0",
|
|
119
119
|
"@atlaskit/logo": "^13.14.0",
|
|
120
|
-
"@atlaskit/media-card": "^77.
|
|
120
|
+
"@atlaskit/media-card": "^77.4.0",
|
|
121
121
|
"@atlaskit/media-client": "^25.0.0",
|
|
122
|
-
"@atlaskit/media-common": "^
|
|
122
|
+
"@atlaskit/media-common": "^11.0.0",
|
|
123
123
|
"@atlaskit/mention": "^22.1.0",
|
|
124
124
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
125
125
|
"@atlaskit/prosemirror-collab": "^0.2.0",
|