mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 07:27:09 +08:00
docs: 添加editor disabledDragStart props
This commit is contained in:
parent
ac11fc5926
commit
841b75eef1
@ -774,3 +774,21 @@ const updateDragEl = (el, target) => {
|
||||
};
|
||||
```
|
||||
|
||||
## disabledDragStart
|
||||
|
||||
- **详情:**
|
||||
|
||||
禁用组件未选中情况下,按住鼠标直接拖动
|
||||
|
||||
- **类型:** `boolean`
|
||||
|
||||
- **默认值:** `false`
|
||||
|
||||
- **示例:**
|
||||
|
||||
```html
|
||||
<template>
|
||||
<m-editor :disabled-drag-start="true"></m-editor>
|
||||
</template>
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user