@wangeditor-next/list-module 1.1.58 → 2.0.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/dist/core/src/config/interface.d.ts +32 -0
- package/dist/core/src/config/style-mode.d.ts +8 -0
- package/dist/core/src/index.d.ts +2 -1
- package/dist/core/src/render/element/renderStyle.d.ts +3 -1
- package/dist/core/src/render/index.d.ts +2 -2
- package/dist/core/src/render/text/renderStyle.d.ts +3 -1
- package/dist/core/src/to-html/index.d.ts +2 -2
- package/dist/core/src/upload/createUploader.d.ts +7 -3
- package/dist/core/src/upload/createUppyUploader.d.ts +7 -0
- package/dist/core/src/upload/index.d.ts +4 -3
- package/dist/core/src/upload/interface.d.ts +37 -9
- package/dist/css/style.css +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/list-module/src/module/elem-to-html.d.ts +2 -1
- package/dist/list-module/src/module/style-class.d.ts +6 -0
- package/package.json +2 -2
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* @description to html
|
|
3
3
|
* @author wangfupeng
|
|
4
4
|
*/
|
|
5
|
+
import { IDomEditor } from '@wangeditor-next/core';
|
|
5
6
|
import { Element } from 'slate';
|
|
6
|
-
declare function elemToHtml(elem: Element, childrenHtml: string): {
|
|
7
|
+
declare function elemToHtml(elem: Element, childrenHtml: string, editor?: IDomEditor): {
|
|
7
8
|
html: string;
|
|
8
9
|
prefix?: string;
|
|
9
10
|
suffix?: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description list style class utils
|
|
3
|
+
*/
|
|
4
|
+
import { IDomEditor } from '@wangeditor-next/core';
|
|
5
|
+
export declare function genListColorClassName(color: string): string;
|
|
6
|
+
export declare function resolveListColorAction(editor: IDomEditor | undefined, color: string): 'class' | 'preserve-data' | 'inline';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-next/list-module",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "wangEditor list module",
|
|
5
5
|
"author": "cycleccc <2991205548@qq.com>",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@wangeditor-next/core": "1.
|
|
38
|
+
"@wangeditor-next/core": "1.8.0",
|
|
39
39
|
"dom7": "^3.0.0 || ^4.0.0",
|
|
40
40
|
"slate": "^0.123.0",
|
|
41
41
|
"snabbdom": "^3.6.0"
|