Add option to apply surround across multilines.

This commit is contained in:
Guo Xiang Tan
2016-10-14 13:39:00 +08:00
parent becff2de4d
commit 6b40f2c42c
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 }
);
}
}
});