@atlaskit/editor-core 187.31.0 → 187.31.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 +6 -0
- package/dist/cjs/plugins/block-type/commands/block-type.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/plugins/block-type/commands/block-type.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/plugins/block-type/commands/block-type.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 187.31.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4b8154ff94d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b8154ff94d) - added node attributes to safeInsert, so that it does not takes the default attributes
|
|
8
|
+
|
|
3
9
|
## 187.31.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -255,7 +255,7 @@ function createWrapSelectionTransaction(_ref3) {
|
|
|
255
255
|
tr.wrap(range, wrapping).scrollIntoView();
|
|
256
256
|
} else {
|
|
257
257
|
/** We always want to append a block type */
|
|
258
|
-
(0, _utils.safeInsert)(type.createAndFill())(tr).scrollIntoView();
|
|
258
|
+
(0, _utils.safeInsert)(type.createAndFill(nodeAttributes))(tr).scrollIntoView();
|
|
259
259
|
}
|
|
260
260
|
return tr;
|
|
261
261
|
}
|
|
@@ -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 = "187.31.
|
|
9
|
+
var version = "187.31.1";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
@@ -239,7 +239,7 @@ export function createWrapSelectionTransaction({
|
|
|
239
239
|
tr.wrap(range, wrapping).scrollIntoView();
|
|
240
240
|
} else {
|
|
241
241
|
/** We always want to append a block type */
|
|
242
|
-
safeInsert(type.createAndFill())(tr).scrollIntoView();
|
|
242
|
+
safeInsert(type.createAndFill(nodeAttributes))(tr).scrollIntoView();
|
|
243
243
|
}
|
|
244
244
|
return tr;
|
|
245
245
|
}
|
|
@@ -237,7 +237,7 @@ export function createWrapSelectionTransaction(_ref3) {
|
|
|
237
237
|
tr.wrap(range, wrapping).scrollIntoView();
|
|
238
238
|
} else {
|
|
239
239
|
/** We always want to append a block type */
|
|
240
|
-
safeInsert(type.createAndFill())(tr).scrollIntoView();
|
|
240
|
+
safeInsert(type.createAndFill(nodeAttributes))(tr).scrollIntoView();
|
|
241
241
|
}
|
|
242
242
|
return tr;
|
|
243
243
|
}
|