We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff5310 commit 7228f07Copy full SHA for 7228f07
src/assets/editor.html
@@ -9325,7 +9325,7 @@
9325
// Use jQuery to figure out those that are not supported
9326
if (typeof e != 'undefined') {
9327
// The target element
9328
- var s = zss_editor.getSelectedNode();
+ var s = zss_editor.getSelectedNode() || e.target;
9329
var t = $(s);
9330
var nodeName = e.target.nodeName.toLowerCase();
9331
0 commit comments