mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
FIX: do not generate multiple detail blocks when the selected input (#5290)
consists of multiple lines
This commit is contained in:
@ -18,7 +18,7 @@ function initializeDetails(api) {
|
||||
"\n" + `[details="${I18n.t("composer.details_title")}"]` + "\n",
|
||||
"\n[/details]\n",
|
||||
"details_text",
|
||||
{ multiline: true }
|
||||
{ multiline: false }
|
||||
);
|
||||
this.set('optionsVisible', false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user