Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c69b5bd

Browse files
authored
fix: Allow clicks to propagate to plugins (#8288)
1 parent 5bb869c commit c69b5bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cms/static/cms/js/modules/cms.plugins.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2231,12 +2231,10 @@ Plugin._highlightPluginContent = function _highlightPluginContent(
22312231
}
22322232
};
22332233

2234-
Plugin._clickToHighlightHandler = function _clickToHighlightHandler(e) {
2234+
Plugin._clickToHighlightHandler = function _clickToHighlightHandler() {
22352235
if (CMS.settings.mode !== 'structure') {
22362236
return;
22372237
}
2238-
e.preventDefault();
2239-
e.stopPropagation();
22402238
// FIXME refactor into an object
22412239
CMS.API.StructureBoard._showAndHighlightPlugin(200, true); // eslint-disable-line no-magic-numbers
22422240
};

0 commit comments

Comments
 (0)