@atlaskit/editor-core 215.6.0 → 215.6.2
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 +15 -0
- package/dist/cjs/create-editor/editorNativeAnchorSupportPlugin.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/editorNativeAnchorSupportPlugin.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/editorNativeAnchorSupportPlugin.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5a56aa8073a44`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5a56aa8073a44) -
|
|
8
|
+
[ux] ED-29340 fix block controls for layouts with platform_editor_breakout_resizing on and
|
|
9
|
+
platform_editor_native_anchor_support on
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 215.6.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 215.6.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -19,7 +19,7 @@ var key = new _state.PluginKey('editorNativeAnchorSupportPlugin');
|
|
|
19
19
|
// that do not already have a nodeView, allowing them to be rendered with native anchors when needed.
|
|
20
20
|
var createEditorNativeAnchorSupportPlugin = exports.createEditorNativeAnchorSupportPlugin = function createEditorNativeAnchorSupportPlugin(schema) {
|
|
21
21
|
var nodeViewEntries = [];
|
|
22
|
-
var injectList = (0, _expValEquals.expValEquals)('advanced_layouts', 'isEnabled', true) ? injectNodeViewNodeTypeList : injectNodeViewNodeTypeConditionalList;
|
|
22
|
+
var injectList = (0, _expValEquals.expValEquals)('advanced_layouts', 'isEnabled', true) && !(0, _expValEquals.expValEquals)('platform_editor_breakout_resizing', 'isEnabled', true) ? injectNodeViewNodeTypeList : injectNodeViewNodeTypeConditionalList;
|
|
23
23
|
schema.spec.nodes.forEach(function (nodeName, nodeSpec) {
|
|
24
24
|
if (injectList.includes(nodeName)) {
|
|
25
25
|
if (nodeSpec.toDOM && typeof nodeSpec.toDOM === 'function') {
|
|
@@ -13,7 +13,7 @@ const key = new PluginKey('editorNativeAnchorSupportPlugin');
|
|
|
13
13
|
// that do not already have a nodeView, allowing them to be rendered with native anchors when needed.
|
|
14
14
|
export const createEditorNativeAnchorSupportPlugin = schema => {
|
|
15
15
|
const nodeViewEntries = [];
|
|
16
|
-
const injectList = expValEquals('advanced_layouts', 'isEnabled', true) ? injectNodeViewNodeTypeList : injectNodeViewNodeTypeConditionalList;
|
|
16
|
+
const injectList = expValEquals('advanced_layouts', 'isEnabled', true) && !expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) ? injectNodeViewNodeTypeList : injectNodeViewNodeTypeConditionalList;
|
|
17
17
|
schema.spec.nodes.forEach((nodeName, nodeSpec) => {
|
|
18
18
|
if (injectList.includes(nodeName)) {
|
|
19
19
|
if (nodeSpec.toDOM && typeof nodeSpec.toDOM === 'function') {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.
|
|
2
|
+
export const version = "215.6.1";
|
|
@@ -13,7 +13,7 @@ var key = new PluginKey('editorNativeAnchorSupportPlugin');
|
|
|
13
13
|
// that do not already have a nodeView, allowing them to be rendered with native anchors when needed.
|
|
14
14
|
export var createEditorNativeAnchorSupportPlugin = function createEditorNativeAnchorSupportPlugin(schema) {
|
|
15
15
|
var nodeViewEntries = [];
|
|
16
|
-
var injectList = expValEquals('advanced_layouts', 'isEnabled', true) ? injectNodeViewNodeTypeList : injectNodeViewNodeTypeConditionalList;
|
|
16
|
+
var injectList = expValEquals('advanced_layouts', 'isEnabled', true) && !expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) ? injectNodeViewNodeTypeList : injectNodeViewNodeTypeConditionalList;
|
|
17
17
|
schema.spec.nodes.forEach(function (nodeName, nodeSpec) {
|
|
18
18
|
if (injectList.includes(nodeName)) {
|
|
19
19
|
if (nodeSpec.toDOM && typeof nodeSpec.toDOM === 'function') {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.
|
|
2
|
+
export var version = "215.6.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.6.
|
|
3
|
+
"version": "215.6.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/editor-plugins": "^11.0.0",
|
|
54
54
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
55
55
|
"@atlaskit/editor-shared-styles": "^3.8.0",
|
|
56
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
56
|
+
"@atlaskit/editor-toolbar": "^0.16.0",
|
|
57
57
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
58
58
|
"@atlaskit/emoji": "^69.6.0",
|
|
59
59
|
"@atlaskit/icon": "^28.5.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.3.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.12.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^13.18.0",
|
|
68
68
|
"@atlaskit/tokens": "^7.0.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.6.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|