pds-dev-kit-web-test 2.5.115 → 2.5.116

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.
@@ -164,15 +164,21 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
164
164
  return;
165
165
  }
166
166
  if (shortcutKeyMode === 'MANUAL_BULK_BREAK') {
167
- setBulkBlockIds([]);
168
- setSelectedBlockId(null);
169
- sectionActionHandler &&
170
- sectionActionHandler({
171
- type: '@CUSTOMSECTION/BULK_DISMISSED',
172
- payload: {
173
- message: 'MANUAL_BULK_BREAK_OR_ESC'
174
- }
175
- });
167
+ if (bulkBlockIds.length > 0) {
168
+ setBulkBlockIds([]);
169
+ setSelectedBlockId(null);
170
+ sectionActionHandler &&
171
+ sectionActionHandler({
172
+ type: '@CUSTOMSECTION/BULK_DISMISSED',
173
+ payload: {
174
+ message: 'MANUAL_BULK_BREAK_OR_ESC'
175
+ }
176
+ });
177
+ return;
178
+ }
179
+ if (editingGroupBlock !== 'ROOT') {
180
+ setEditingGroupBlock('ROOT');
181
+ }
176
182
  return;
177
183
  }
178
184
  }, [shortcutKeyMode, setSelectedBlockId]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.115",
3
+ "version": "2.5.116",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",