Przeglądaj źródła

:art: https://github.com/Vanessa219/vditor/pull/1745

Vanessa 8 miesięcy temu
rodzic
commit
cc101d391d
2 zmienionych plików z 2 dodań i 0 usunięć
  1. 1 0
      README.md
  2. 1 0
      README_en_US.md

+ 1 - 0
README.md

@@ -547,6 +547,7 @@ if (xhr.status === 200) {
 | unHlCommentIds(ids: string[]) | 取消评论高亮 |
 | removeCommentIds(removeIds: string[]) | 删除评论 |
 | updateToolbarConfig(config: {hide?: boolean, pin?: boolean}) | 更新工具栏配置 |
+| insertEmptyBlock(position: InsertPosition) | 插入空快 |
 
 #### static methods
 

+ 1 - 0
README_en_US.md

@@ -500,6 +500,7 @@ xhr.send(JSON.stringify({url: src})); // src is the address of the image outside
 | unHlCommentIds(ids: string[]) | Cancel highlight comment by Ids |
 | removeCommentIds(removeIds: string[]) | Remove comment by Ids |
 | updateToolbarConfig(config: {hide?: boolean, pin?: boolean}) | Update toolbar config |
+| insertEmptyBlock(position: InsertPosition) | Insert empty block |
 
 #### static methods