FIX: generate multiline details instead of inline
This commit is contained in:
parent
301731ef24
commit
c1560d8195
|
@ -15,10 +15,10 @@ function initializeDetails(api) {
|
|||
actions: {
|
||||
insertDetails() {
|
||||
this.get("toolbarEvent").applySurround(
|
||||
`[details=${I18n.t("composer.details_title")}]`,
|
||||
"[/details]",
|
||||
"\n" + `[details=${I18n.t("composer.details_title")}]` + "\n",
|
||||
"\n[/details]\n",
|
||||
"details_text",
|
||||
{ multiline: false }
|
||||
{ multiline: true }
|
||||
);
|
||||
this.set('optionsVisible', false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue