✨ 提供插入块、更新块和删除块的 API https://github.com/siyuan-note/siyuan/issues/3334
This commit is contained in:
parent
7baeefcef6
commit
d9e34a7e86
1 changed files with 2 additions and 2 deletions
4
API.md
4
API.md
|
@ -453,7 +453,7 @@
|
|||
```
|
||||
|
||||
* `dataType`:待插入数据类型,值可选择 `markdown` 或者 `dom`
|
||||
* `data`:带插入的数据
|
||||
* `data`:待插入的数据
|
||||
* `previousID`:前一个块的 ID,用于锚定插入位置
|
||||
* 返回值
|
||||
|
||||
|
@ -496,7 +496,7 @@
|
|||
```
|
||||
|
||||
* `dataType`:待更新数据类型,值可选择 `markdown` 或者 `dom`
|
||||
* `data`:带更新的数据
|
||||
* `data`:待更新的数据
|
||||
* `id`:待更新块 ID
|
||||
* 返回值
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue