1
0
Fork 0

FIX: ensure element is present before passing on insertText event

Dieser Commit ist enthalten in:
Angus McLeod 2023-05-23 10:10:52 +02:00
Ursprung 6dbd8f7c4f
Commit 4cdfdbf9d5

Datei anzeigen

@ -69,7 +69,7 @@ export default {
}, },
_wizardInsertText(text, options) { _wizardInsertText(text, options) {
if (this.session.wizardEventFieldId === this.fieldId) { if (this.session.wizardEventFieldId === this.fieldId && this.element) {
this.insertText(text, options); this.insertText(text, options);
} }
}, },