@wangeditor-next/list-module 1.1.3 → 1.1.4-alpha.0

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 CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.1.4-alpha.0](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/list-module@1.1.3...@wangeditor-next/list-module@1.1.4-alpha.0) (2024-07-25)
7
+
8
+ **Note:** Version bump only for package @wangeditor-next/list-module
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.1.3](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/list-module@1.1.1...@wangeditor-next/list-module@1.1.3) (2024-07-15)
7
15
 
8
16
 
@@ -66,17 +74,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
66
74
 
67
75
 
68
76
 
69
- ## [1.0.5](https://github.com/wangeditor-team/wangEditor/compare/@wangeditor/list-module@1.0.4...@wangeditor/list-module@1.0.5) (2022-09-27)
77
+ ## [1.0.5](https://github.com/cycleccc/wangEditor/compare/@wangeditor/list-module@1.0.4...@wangeditor/list-module@1.0.5) (2022-09-27)
70
78
 
71
79
 
72
80
  ### Bug Fixes
73
81
 
74
- * list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/wangeditor-team/wangEditor/commit/98543083a1cb09207aceb2a4d8f3c1ce020b106d))
82
+ * list-item - 遇到 style 是 toHtml 出错 ([9854308](https://github.com/cycleccc/wangEditor/commit/98543083a1cb09207aceb2a4d8f3c1ce020b106d))
75
83
 
76
84
 
77
85
 
78
86
 
79
87
 
80
- ## [1.0.4](https://github.com/wangeditor-team/wangEditor/compare/@wangeditor/list-module@1.0.3...@wangeditor/list-module@1.0.4) (2022-09-27)
88
+ ## [1.0.4](https://github.com/cycleccc/wangEditor/compare/@wangeditor/list-module@1.0.3...@wangeditor/list-module@1.0.4) (2022-09-27)
81
89
 
82
90
  **Note:** Version bump only for package @wangeditor/list-module
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # wangEditor list-module
2
-
3
- List module built in [wangEditor](https://www.wangeditor.com/) by default.
1
+ # wangEditor list-module
2
+
3
+ List module built in [wangeditor-next](https://cycleccc.github.io/docs/) by default.
package/dist/index.esm.js CHANGED
@@ -71,9 +71,6 @@ function genPreSymbol(level) {
71
71
  */
72
72
  function getOrderedItemNumber(editor, elem) {
73
73
  var _a = elem, type = _a.type, _b = _a.level, level = _b === void 0 ? 0 : _b, _c = _a.ordered, ordered = _c === void 0 ? false : _c;
74
- if (!ordered) {
75
- return -1; // 不是有序列表
76
- }
77
74
  var num = 1; // 默认值 1
78
75
  var curElem = elem;
79
76
  var curPath = DomEditor.findPath(editor, curElem);
package/dist/index.js CHANGED
@@ -76,9 +76,6 @@
76
76
  */
77
77
  function getOrderedItemNumber(editor, elem) {
78
78
  var _a = elem, type = _a.type, _b = _a.level, level = _b === void 0 ? 0 : _b, _c = _a.ordered, ordered = _c === void 0 ? false : _c;
79
- if (!ordered) {
80
- return -1; // 不是有序列表
81
- }
82
79
  var num = 1; // 默认值 1
83
80
  var curElem = elem;
84
81
  var curPath = core.DomEditor.findPath(editor, curElem);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/list-module",
3
- "version": "1.1.3",
3
+ "version": "1.1.4-alpha.0",
4
4
  "description": "wangEditor list module",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "contributors": [],
@@ -45,5 +45,5 @@
45
45
  "slate": "^0.72.0",
46
46
  "snabbdom": "^3.1.0"
47
47
  },
48
- "gitHead": "df10e6d36e9d83b99f56146d49f6c7985bb9f13c"
48
+ "gitHead": "f1f99fe27bf74e20f0098aa1f43d39b9bcacf352"
49
49
  }