FIX: generate multiline details instead of inline

This commit is contained in:
Sam 2017-06-28 11:45:48 -04:00
parent 301731ef24
commit c1560d8195
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}