pds-dev-kit-web-test 2.5.116 → 2.5.118
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,6 +164,18 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
164
164
|
return;
|
165
165
|
}
|
166
166
|
if (shortcutKeyMode === 'MANUAL_BULK_BREAK') {
|
167
|
+
if (selectedBlockId) {
|
168
|
+
setSelectedBlockId(null);
|
169
|
+
sectionActionHandler &&
|
170
|
+
sectionActionHandler({
|
171
|
+
type: '@CUSTOMSECTION/BULK_DISMISSED',
|
172
|
+
payload: {
|
173
|
+
message: 'MANUAL_BULK_BREAK_OR_ESC',
|
174
|
+
editingGroupBlock: editingGroupBlock
|
175
|
+
}
|
176
|
+
});
|
177
|
+
return;
|
178
|
+
}
|
167
179
|
if (bulkBlockIds.length > 0) {
|
168
180
|
setBulkBlockIds([]);
|
169
181
|
setSelectedBlockId(null);
|
@@ -171,15 +183,24 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
171
183
|
sectionActionHandler({
|
172
184
|
type: '@CUSTOMSECTION/BULK_DISMISSED',
|
173
185
|
payload: {
|
174
|
-
message: 'MANUAL_BULK_BREAK_OR_ESC'
|
186
|
+
message: 'MANUAL_BULK_BREAK_OR_ESC',
|
187
|
+
editingGroupBlock: editingGroupBlock
|
175
188
|
}
|
176
189
|
});
|
177
190
|
return;
|
178
191
|
}
|
179
192
|
if (editingGroupBlock !== 'ROOT') {
|
180
193
|
setEditingGroupBlock('ROOT');
|
194
|
+
sectionActionHandler &&
|
195
|
+
sectionActionHandler({
|
196
|
+
type: '@CUSTOMSECTION/BULK_DISMISSED',
|
197
|
+
payload: {
|
198
|
+
message: 'MANUAL_BULK_BREAK_OR_ESC',
|
199
|
+
editingGroupBlock: 'ROOT'
|
200
|
+
}
|
201
|
+
});
|
202
|
+
return;
|
181
203
|
}
|
182
|
-
return;
|
183
204
|
}
|
184
205
|
}, [shortcutKeyMode, setSelectedBlockId]);
|
185
206
|
(0, react_1.useLayoutEffect)(function () {
|