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: { 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);
} }