Fix bug regarding Chat on stable (#15954)

This commit is contained in:
communiteq 2022-02-15 18:40:48 +01:00 committed by GitHub
parent cb9678ed34
commit 247f70f79c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ export default Mixin.create(ExtendableUploader, UppyS3Multipart, {
this.fileInputEl,
this._addFiles
);
this.editorEl.addEventListener("paste", this.pasteEventListener);
this.editorEl?.addEventListener("paste", this.pasteEventListener);
this._uppyInstance = new Uppy({
id: this.uppyId,