@hailin-zheng/editor-core 2.2.19 → 2.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -514,7 +514,7 @@ export declare class DocEditor {
514
514
  * 在光标处插入内容
515
515
  * @param data
516
516
  */
517
- onInsertContent(data: {
517
+ insertContent(data: {
518
518
  text: string;
519
519
  doc: string;
520
520
  }): void;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.2.19",
7
+ "version": "2.2.20",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",