@atlaskit/editor-plugin-block-menu 4.0.14 → 4.0.15
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-menu
|
|
2
2
|
|
|
3
|
+
## 4.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d5cf7cd71a821`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d5cf7cd71a821) -
|
|
8
|
+
ED-29124: Fixed format neste menu on top of top toolbar
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.0.14
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -55,6 +55,7 @@ var FormatMenuComponent = exports.FormatMenuComponent = function FormatMenuCompo
|
|
|
55
55
|
enableMaxHeight: true,
|
|
56
56
|
isDisabled: isDisabled,
|
|
57
57
|
onClick: handleClick,
|
|
58
|
-
dropdownTestId: "editor-nested-turn-into-menu"
|
|
58
|
+
dropdownTestId: "editor-nested-turn-into-menu",
|
|
59
|
+
shouldFitContainer: (0, _platformFeatureFlags.fg)('platform_editor_block_menu_shouldfitcontainer') ? true : undefined
|
|
59
60
|
}, children);
|
|
60
61
|
};
|
|
@@ -49,6 +49,7 @@ export const FormatMenuComponent = ({
|
|
|
49
49
|
enableMaxHeight: true,
|
|
50
50
|
isDisabled: isDisabled,
|
|
51
51
|
onClick: handleClick,
|
|
52
|
-
dropdownTestId: "editor-nested-turn-into-menu"
|
|
52
|
+
dropdownTestId: "editor-nested-turn-into-menu",
|
|
53
|
+
shouldFitContainer: fg('platform_editor_block_menu_shouldfitcontainer') ? true : undefined
|
|
53
54
|
}, children);
|
|
54
55
|
};
|
|
@@ -46,6 +46,7 @@ export var FormatMenuComponent = function FormatMenuComponent(_ref) {
|
|
|
46
46
|
enableMaxHeight: true,
|
|
47
47
|
isDisabled: isDisabled,
|
|
48
48
|
onClick: handleClick,
|
|
49
|
-
dropdownTestId: "editor-nested-turn-into-menu"
|
|
49
|
+
dropdownTestId: "editor-nested-turn-into-menu",
|
|
50
|
+
shouldFitContainer: fg('platform_editor_block_menu_shouldfitcontainer') ? true : undefined
|
|
50
51
|
}, children);
|
|
51
52
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-menu",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.15",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
},
|
|
107
107
|
"platform_editor_block_menu_patch_2": {
|
|
108
108
|
"type": "boolean"
|
|
109
|
+
},
|
|
110
|
+
"platform_editor_block_menu_shouldfitcontainer": {
|
|
111
|
+
"type": "boolean"
|
|
109
112
|
}
|
|
110
113
|
}
|
|
111
114
|
}
|