Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-21 17:00:29 +01:00
FIX: composer event prefix needs to be set later in the render cycle.
Dieser Commit ist enthalten in:
Ursprung
d4148ebd3f
Commit
87b19ec364
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
|
@ -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"));
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren