@atlaskit/editor-core 185.2.10 → 185.2.13
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 +6 -0
- package/dist/cjs/plugins/media/toolbar/index.js +3 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/media/toolbar/index.js +3 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/media/toolbar/index.js +3 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 185.2.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`406f89ad910`](https://bitbucket.org/atlassian/atlassian-frontend/commits/406f89ad910) - [ux] fix image border missing in renderer when image is linked and also double seperators issue
|
|
8
|
+
|
|
3
9
|
## 185.2.10
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -232,8 +232,9 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
232
232
|
}
|
|
233
233
|
if (allowAdvancedToolBarOptions) {
|
|
234
234
|
var _pluginInjectionApi$d;
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
var layoutButtons = (0, _card.buildLayoutButtons)(state, intl, state.schema.nodes.mediaSingle, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.dependencies.width, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$d = pluginInjectionApi.dependencies.analytics) === null || _pluginInjectionApi$d === void 0 ? void 0 : _pluginInjectionApi$d.actions, allowResizing, allowResizingInTables);
|
|
236
|
+
toolbarButtons = [].concat((0, _toConsumableArray2.default)(toolbarButtons), (0, _toConsumableArray2.default)(layoutButtons));
|
|
237
|
+
if (layoutButtons.length) {
|
|
237
238
|
toolbarButtons.push({
|
|
238
239
|
type: 'separator'
|
|
239
240
|
});
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "185.2.
|
|
9
|
+
var version = "185.2.13";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/cjs/version.json
CHANGED
|
@@ -231,8 +231,9 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
|
|
|
231
231
|
}
|
|
232
232
|
if (allowAdvancedToolBarOptions) {
|
|
233
233
|
var _pluginInjectionApi$d;
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
const layoutButtons = buildLayoutButtons(state, intl, state.schema.nodes.mediaSingle, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.dependencies.width, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$d = pluginInjectionApi.dependencies.analytics) === null || _pluginInjectionApi$d === void 0 ? void 0 : _pluginInjectionApi$d.actions, allowResizing, allowResizingInTables);
|
|
235
|
+
toolbarButtons = [...toolbarButtons, ...layoutButtons];
|
|
236
|
+
if (layoutButtons.length) {
|
|
236
237
|
toolbarButtons.push({
|
|
237
238
|
type: 'separator'
|
|
238
239
|
});
|
package/dist/es2019/version.json
CHANGED
|
@@ -225,8 +225,9 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
225
225
|
}
|
|
226
226
|
if (allowAdvancedToolBarOptions) {
|
|
227
227
|
var _pluginInjectionApi$d;
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
var layoutButtons = buildLayoutButtons(state, intl, state.schema.nodes.mediaSingle, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.dependencies.width, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$d = pluginInjectionApi.dependencies.analytics) === null || _pluginInjectionApi$d === void 0 ? void 0 : _pluginInjectionApi$d.actions, allowResizing, allowResizingInTables);
|
|
229
|
+
toolbarButtons = [].concat(_toConsumableArray(toolbarButtons), _toConsumableArray(layoutButtons));
|
|
230
|
+
if (layoutButtons.length) {
|
|
230
231
|
toolbarButtons.push({
|
|
231
232
|
type: 'separator'
|
|
232
233
|
});
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "185.2.
|
|
3
|
+
"version": "185.2.13",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"@atlaskit/menu": "^1.7.0",
|
|
170
170
|
"@atlaskit/page-layout": "^1.6.0",
|
|
171
171
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
172
|
-
"@atlaskit/renderer": "^108.
|
|
172
|
+
"@atlaskit/renderer": "^108.2.0",
|
|
173
173
|
"@atlaskit/section-message": "^6.4.0",
|
|
174
174
|
"@atlaskit/share": "*",
|
|
175
175
|
"@atlaskit/smart-user-picker": "^6.1.0",
|