Merge pull request #4499 from tgxworld/add_options_to_surround_text

Add option to apply surround across multilines.
This commit is contained in:
Guo Xiang Tan
2016-10-17 10:18:25 +08:00
committed by GitHub
2 changed files with 15 additions and 4 deletions

View File

@@ -18,8 +18,9 @@ function initializeDetails(api) {
this.get("toolbarEvent").applySurround(
`[details=${I18n.t("composer.details_title")}]`,
"[/details]",
"details_text")
;
"details_text",
{ multiline: false }
);
}
}
});