We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moveableOptions.draggable 配置不允许拖拽 现状: 鼠标不可以拖动,但可以通过键盘的方向键进行方位调整,并触发了属性的方位修改。 期望: 方位属性值键盘事件不生效
The text was updated successfully, but these errors were encountered:
feat(stage): feat(stage): 新增获取moveable配置的方法
1710168
re #521
更新到 v1.2.0-alpha.10
然后加上如下代码
editorService.usePlugin({ beforeDoUpdate(config: MNode) { const stage = editorService.get('stage'); if (!stage?.getMoveableOption('draggable') && config.style) { delete config.style.left; delete config.style.top; delete config.style.right; delete config.style.bottom; } return [config]; }, });
Sorry, something went wrong.
No branches or pull requests
moveableOptions.draggable 配置不允许拖拽
现状:
鼠标不可以拖动,但可以通过键盘的方向键进行方位调整,并触发了属性的方位修改。
期望:
方位属性值键盘事件不生效
The text was updated successfully, but these errors were encountered: