0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 18:30:27 +01:00

FIX: composer event prefix needs to be set later in the render cycle.

Dieser Commit ist enthalten in:
Angus McLeod 2024-10-11 11:24:33 +02:00
Ursprung d4148ebd3f
Commit 87b19ec364

Datei anzeigen

@ -36,12 +36,13 @@ export default ComposerEditor.extend({
draftStatus: "null",
replyPlaceholder: alias("field.translatedPlaceholder"),
wizardEventFieldId: null,
composerEventPrefix: wizardComposerEdtiorEventPrefix,
@on("didInsertElement")
_composerEditorInit() {
this._super(...arguments);
this.composerEventPrefix = wizardComposerEdtiorEventPrefix;
if (this.siteSettings.mentionables_enabled) {
const $input = $(this.element.querySelector(".d-editor-input"));