@wangeditor-next/plugin-float-image 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description icon svg
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  /**
6
6
  * 【注意】svg 字符串的长度 ,否则会导致代码体积过大
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description src entry
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import './asserts/index.less';
6
6
  import module from './module/index';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description float-image element
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  type EmptyText = {
6
6
  text: '';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description elem to html
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import { SlateElement } from '@wangeditor-next/editor';
6
6
  declare function imageToHtml(elem: SlateElement, _childrenHtml: string): string;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description module entry
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import './local';
6
6
  import { IModuleConf } from '@wangeditor-next/editor';
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * @description 多语言
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  export {};
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description image float base class
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import { IButtonMenu, IDomEditor } from '@wangeditor-next/editor';
6
6
  declare abstract class ImageFloatBaseClass implements IButtonMenu {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description float image left
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import ImageFloatBaseClass from './FloatBase';
6
6
  declare class FloatLeft extends ImageFloatBaseClass {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description float image none
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import ImageFloatBaseClass from './FloatBase';
6
6
  declare class FloatNone extends ImageFloatBaseClass {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description float image right
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import ImageFloatBaseClass from './FloatBase';
6
6
  declare class FloatRight extends ImageFloatBaseClass {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description menu index
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import ImageFloatLeft from './FloatLeft';
6
6
  import ImageFloatNone from './FloatNone';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description parse elem html
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import { IDomEditor, SlateDescendant } from '@wangeditor-next/editor';
6
6
  import { DOMElement } from '../utils/dom';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description editor 插件,重写 editor API
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import { IDomEditor } from '@wangeditor-next/editor';
6
6
  declare function withImage<T extends IDomEditor>(editor: T): T;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @description DOM 操作
3
- * @author Yanghc
3
+ * @author cycleccc
4
4
  */
5
5
  import $, { Dom7Array } from 'dom7';
6
6
  import DOMNode = globalThis.Node;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/plugin-float-image",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "wangEditor float image plugin",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "type": "module",
@@ -41,7 +41,7 @@
41
41
  "url": "https://github.com/cycleccc/wangEditor/issues"
42
42
  },
43
43
  "peerDependencies": {
44
- "@wangeditor-next/editor": "^5.6.5",
44
+ "@wangeditor-next/editor": "5.6.7",
45
45
  "dom7": "^3.0.0",
46
46
  "slate": "^0.72.0",
47
47
  "snabbdom": "^3.1.0"