@wangeditor-next/list-module 1.1.0 → 1.1.1
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.
- package/CHANGELOG.md +60 -0
- package/LICENSE +21 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/list-module/src/module/helpers.d.ts +13 -0
- package/package.json +4 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description table menu helpers
|
|
3
|
+
* @author wangfupeng
|
|
4
|
+
*/
|
|
5
|
+
import { IDomEditor } from '@wangeditor-next/core';
|
|
6
|
+
import { ListItemElement } from './custom-types';
|
|
7
|
+
/**
|
|
8
|
+
* 获取上一个同一 level 的 list item
|
|
9
|
+
* @param editor 编辑器实例
|
|
10
|
+
* @param elem elem
|
|
11
|
+
*/
|
|
12
|
+
export declare function getBrotherListNodeByLevel(editor: IDomEditor, elem: ListItemElement, level?: number): ListItemElement | null;
|
|
13
|
+
export declare function hasSameOrderWithBrother(editor: IDomEditor, elem: ListItemElement, level?: number): boolean;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-next/list-module",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "wangEditor list module",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "cycleccc <2991205548@qq.com>",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"homepage": "https://github.com/cycleccc/wangEditor#readme",
|
|
8
8
|
"license": "MIT",
|
|
@@ -44,5 +44,6 @@
|
|
|
44
44
|
"dom7": "^3.0.0",
|
|
45
45
|
"slate": "^0.72.0",
|
|
46
46
|
"snabbdom": "^3.1.0"
|
|
47
|
-
}
|
|
47
|
+
},
|
|
48
|
+
"gitHead": "d7e089a4d21860eb57bc3f1df07c39e725b1d5fd"
|
|
48
49
|
}
|