Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
Remove wizard composer static id
This causes an issue if multiple composers are used in a single step
Dieser Commit ist enthalten in:
Ursprung
1f8f24804b
Commit
fd0dfeae32
2 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen
|
@ -3,8 +3,7 @@ import EmberObject from "@ember/object";
|
|||
|
||||
export default Ember.Component.extend({
|
||||
showPreview: false,
|
||||
elementId: "reply-control",
|
||||
classNameBindings: ["showPreview:show-preview:hide-preview"],
|
||||
classNameBindings: [":wizard-field-composer", "showPreview:show-preview:hide-preview"],
|
||||
|
||||
didInsertElement() {
|
||||
this.set('composer', EmberObject.create({
|
||||
|
|
|
@ -42,11 +42,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
#reply-control.show-preview .d-editor-textarea-wrapper {
|
||||
.wizard-field-composer.show-preview .d-editor-textarea-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.custom-wizard #reply-control .toggle-preview {
|
||||
.custom-wizard .wizard-field-composer .toggle-preview {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren