fix(editor): typos on embed card modal (#10046)
This commit is contained in:
@@ -49,7 +49,7 @@ export class EmbedCardEditCaptionEditModal extends WithDisposable(
|
|||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
|
|
||||||
this.disposables.addFromEvent(this, 'keydown', this._onKeydown);
|
this.disposables.addFromEvent(this, 'keydown', this._onKeydown);
|
||||||
this.disposables.addFromEvent(this, 'cup', stopPropagation);
|
this.disposables.addFromEvent(this, 'cut', stopPropagation);
|
||||||
this.disposables.addFromEvent(this, 'copy', stopPropagation);
|
this.disposables.addFromEvent(this, 'copy', stopPropagation);
|
||||||
this.disposables.addFromEvent(this, 'paste', stopPropagation);
|
this.disposables.addFromEvent(this, 'paste', stopPropagation);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ export class EmbedCardCreateModal extends WithDisposable(ShadowlessElement) {
|
|||||||
})
|
})
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
this.disposables.addFromEvent(this, 'keydown', this._onDocumentKeydown);
|
this.disposables.addFromEvent(this, 'keydown', this._onDocumentKeydown);
|
||||||
this.disposables.addFromEvent(this, 'cup', stopPropagation);
|
this.disposables.addFromEvent(this, 'cut', stopPropagation);
|
||||||
this.disposables.addFromEvent(this, 'copy', stopPropagation);
|
this.disposables.addFromEvent(this, 'copy', stopPropagation);
|
||||||
this.disposables.addFromEvent(this, 'paste', stopPropagation);
|
this.disposables.addFromEvent(this, 'paste', stopPropagation);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ export class EmbedCardEditModal extends SignalWatcher(
|
|||||||
this.disposables.add(listenClickAway(this, this._hide));
|
this.disposables.add(listenClickAway(this, this._hide));
|
||||||
this.disposables.addFromEvent(this, 'keydown', this._onKeydown);
|
this.disposables.addFromEvent(this, 'keydown', this._onKeydown);
|
||||||
this.disposables.addFromEvent(this, 'pointerdown', stopPropagation);
|
this.disposables.addFromEvent(this, 'pointerdown', stopPropagation);
|
||||||
this.disposables.addFromEvent(this, 'cup', stopPropagation);
|
this.disposables.addFromEvent(this, 'cut', stopPropagation);
|
||||||
this.disposables.addFromEvent(this, 'copy', stopPropagation);
|
this.disposables.addFromEvent(this, 'copy', stopPropagation);
|
||||||
this.disposables.addFromEvent(this, 'paste', stopPropagation);
|
this.disposables.addFromEvent(this, 'paste', stopPropagation);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user