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