mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 14:04:28 +00:00
Merge branch 'develop' into release/1.1.11-beta
This commit is contained in:
commit
9171a023af
@ -15,3 +15,14 @@ sidebar_position: 0
|
|||||||

|

|
||||||
|
|
||||||
this.index 是当前循环的索引值。
|
this.index 是当前循环的索引值。
|
||||||
|
|
||||||
|
3.在事件绑定函数中使用
|
||||||
|
|
||||||
|
在事件绑定函数中使用扩展参数设置
|
||||||
|

|
||||||
|
|
||||||
|
绑定之后在函数中使用
|
||||||
|

|
||||||
|
|
||||||
|
按钮点击效果
|
||||||
|

|
||||||
|
|||||||
@ -277,6 +277,10 @@ export const builtinHotkey = (ctx: IPublicModelPluginContext) => {
|
|||||||
if (isFormEvent(e) || !doc) {
|
if (isFormEvent(e) || !doc) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const anchorValue = document.getSelection()?.anchorNode?.nodeValue;
|
||||||
|
if (anchorValue && typeof anchorValue === 'string') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
let selected = doc.selection.getTopNodes(true);
|
let selected = doc.selection.getTopNodes(true);
|
||||||
|
|||||||
@ -40,6 +40,7 @@ import {
|
|||||||
Designer as InnerDesigner,
|
Designer as InnerDesigner,
|
||||||
Node as InnerNode,
|
Node as InnerNode,
|
||||||
LowCodePluginManager as InnerLowCodePluginManager,
|
LowCodePluginManager as InnerLowCodePluginManager,
|
||||||
|
DesignerView as InnerDesignerView,
|
||||||
} from '@alilc/lowcode-designer';
|
} from '@alilc/lowcode-designer';
|
||||||
import {
|
import {
|
||||||
Skeleton as InnerSkeleton,
|
Skeleton as InnerSkeleton,
|
||||||
@ -105,6 +106,7 @@ class DesignerCabin implements IPublicApiCommonDesignerCabin {
|
|||||||
Designer: InnerDesigner,
|
Designer: InnerDesigner,
|
||||||
Node: InnerNode,
|
Node: InnerNode,
|
||||||
LowCodePluginManager: InnerLowCodePluginManager,
|
LowCodePluginManager: InnerLowCodePluginManager,
|
||||||
|
DesignerView: InnerDesignerView,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user