Fix paste of images when focus is in the composer
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
diff --git a/node_modules/quill/dist/quill.js b/node_modules/quill/dist/quill.js
|
||||
index 811b3d0..c8c4892 100644
|
||||
index 811b3d0..313f301 100644
|
||||
--- a/node_modules/quill/dist/quill.js
|
||||
+++ b/node_modules/quill/dist/quill.js
|
||||
@@ -8917,9 +8917,9 @@ var Clipboard = function (_Module) {
|
||||
@@ -8916,10 +8916,10 @@ var Clipboard = function (_Module) {
|
||||
|
||||
var _this = _possibleConstructorReturn(this, (Clipboard.__proto__ || Object.getPrototypeOf(Clipboard)).call(this, quill, options));
|
||||
|
||||
_this.quill.root.addEventListener('paste', _this.onPaste.bind(_this));
|
||||
- _this.quill.root.addEventListener('paste', _this.onPaste.bind(_this));
|
||||
- _this.container = _this.quill.addContainer('ql-clipboard');
|
||||
- _this.container.setAttribute('contenteditable', true);
|
||||
- _this.container.setAttribute('tabindex', -1);
|
||||
+ // _this.quill.root.addEventListener('paste', _this.onPaste.bind(_this));
|
||||
+ // _this.container = _this.quill.addContainer('ql-clipboard');
|
||||
+ // _this.container.setAttribute('contenteditable', true);
|
||||
+ // _this.container.setAttribute('tabindex', -1);
|
||||
|
Reference in New Issue
Block a user