@wangeditor-next/plugin-float-image 1.0.14 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [wangEditor-next](https://
|
1
|
+
# [wangEditor-next](https://wangeditor-next.github.io/docs/) 图片浮动 插件
|
2
2
|
|
3
3
|
[English Documentation](./README-en.md)
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
## 介绍
|
15
15
|
|
16
|
-
[wangEditor-next](https://
|
16
|
+
[wangEditor-next](https://wangeditor-next.github.io/docs/) 图片浮动 插件。
|
17
17
|
|
18
18
|
![](./_img/demo-1.png)
|
19
19
|
![](./_img/demo-2.png)
|
@@ -2,10 +2,10 @@
|
|
2
2
|
* @description SelectList class
|
3
3
|
* @author wangfupeng
|
4
4
|
*/
|
5
|
+
import { IDomEditor } from '../../editor/interface';
|
5
6
|
import { Dom7Array } from '../../utils/dom';
|
6
7
|
import { IOption } from '../interface';
|
7
8
|
import PanelAndModal from './BaseClass';
|
8
|
-
import { IDomEditor } from '../../editor/interface';
|
9
9
|
declare class SelectList extends PanelAndModal {
|
10
10
|
type: string;
|
11
11
|
readonly $elem: Dom7Array;
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wangeditor-next/plugin-float-image",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.16",
|
4
4
|
"description": "wangEditor float image plugin",
|
5
5
|
"author": "cycleccc <2991205548@qq.com>",
|
6
6
|
"type": "module",
|
7
|
-
"homepage": "https://github.com/
|
7
|
+
"homepage": "https://github.com/wangeditor-next/wangEditor-next#readme",
|
8
8
|
"license": "MIT",
|
9
9
|
"types": "dist/plugin-float-image/src/index.d.ts",
|
10
10
|
"main": "dist/index.js",
|
@@ -28,7 +28,7 @@
|
|
28
28
|
},
|
29
29
|
"repository": {
|
30
30
|
"type": "git",
|
31
|
-
"url": "git+https://github.com/
|
31
|
+
"url": "git+https://github.com/wangeditor-next/wangEditor-next.git"
|
32
32
|
},
|
33
33
|
"scripts": {
|
34
34
|
"dev": "cross-env NODE_ENV=development rollup -c rollup.config.js",
|
@@ -38,10 +38,10 @@
|
|
38
38
|
"size-stats": "cross-env NODE_ENV=production:size_stats rollup -c rollup.config.js"
|
39
39
|
},
|
40
40
|
"bugs": {
|
41
|
-
"url": "https://github.com/
|
41
|
+
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
|
42
42
|
},
|
43
43
|
"peerDependencies": {
|
44
|
-
"@wangeditor-next/editor": "5.6.
|
44
|
+
"@wangeditor-next/editor": "5.6.31",
|
45
45
|
"dom7": "^3.0.0 || ^4.0.0",
|
46
46
|
"slate": "^0.72.0",
|
47
47
|
"snabbdom": "^3.1.0"
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @description Processing blob url
|
3
|
-
* @author CodePencil
|
4
|
-
*/
|
5
|
-
/** 提取 blob URL */
|
6
|
-
export declare function extractBlobUrlFromImg(html: string): string | null;
|
7
|
-
/** 将 blob URL 转换为 base64 */
|
8
|
-
export declare function convertBlobUrlToBase64(blobUrl: string): Promise<string | null>;
|