Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.7' into 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
robertSt7 committed Dec 4, 2024
2 parents 89c8713 + 252e17c commit 1d45642
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/js/pimcore/document/editables/wysiwyg.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pimcore.document.editables.wysiwyg = Class.create(pimcore.document.editable, {
}

document.addEventListener(pimcore.events.changeWysiwyg, function (e) {
if(`${this.id}_textarea` === e.detail.e.target.id) {
if(this.textarea.id === e.detail.e.target.id) {
this.setValue(e.detail.data);
}
}.bind(this));
Expand All @@ -122,6 +122,7 @@ pimcore.document.editables.wysiwyg = Class.create(pimcore.document.editable, {
e: e,
data: data,
context: "document",
textareaId: this.textarea.id
}
});

Expand Down
1 change: 1 addition & 0 deletions public/js/pimcore/object/tags/wysiwyg.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ pimcore.object.tags.wysiwyg = Class.create(pimcore.object.tags.abstract, {
e: e,
data: data,
context: "object",
textareaId: this.editableDivId
},
});

Expand Down
1 change: 1 addition & 0 deletions public/js/pimcore/settings/translationEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ pimcore.settings.translation.editor = Class.create({
e: e,
data: data,
context: "translation",
textareaId: this.editableDivId
},
});

Expand Down

0 comments on commit 1d45642

Please sign in to comment.