@wangeditor-next/plugin-float-image 1.0.9 → 1.0.11

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.
@@ -186,6 +186,10 @@ export interface IEditorConfig {
186
186
  * 自定义粘贴。返回 true 则继续粘贴,返回 false 则自行实现粘贴,阻止默认粘贴
187
187
  */
188
188
  customPaste?: (editor: IDomEditor, e: ClipboardEvent) => boolean;
189
+ /**
190
+ * 自定义复制。拦截 event 添加或修改 clipboardData 数据
191
+ */
192
+ customCopy?: (editor: IDomEditor, e: ClipboardEvent) => void;
189
193
  scroll: boolean;
190
194
  placeholder?: string;
191
195
  readOnly: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/plugin-float-image",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
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.24",
44
+ "@wangeditor-next/editor": "5.6.26",
45
45
  "dom7": "^3.0.0 || ^4.0.0",
46
46
  "slate": "^0.72.0",
47
47
  "snabbdom": "^3.1.0"