mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-21 08:28:16 +00:00
fix: 优化画布中点击事件屏蔽,增加富文本组件的部分屏蔽
This commit is contained in:
parent
a5b65579ea
commit
ec08c6c223
@ -398,7 +398,7 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
|||||||
'.next-calendar-table',
|
'.next-calendar-table',
|
||||||
'.editor-container', // 富文本组件
|
'.editor-container', // 富文本组件
|
||||||
];
|
];
|
||||||
const ignoreSelectorsString = String.prototype.concat(ignoreSelectors);
|
const ignoreSelectorsString = ignoreSelectors.join(',');
|
||||||
if (isFormEvent(e) || target?.closest(ignoreSelectorsString)) {
|
if (isFormEvent(e) || target?.closest(ignoreSelectorsString)) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user