mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #4499 from tgxworld/add_options_to_surround_text
Add option to apply surround across multilines.
This commit is contained in:
@@ -18,8 +18,9 @@ function initializeDetails(api) {
|
||||
this.get("toolbarEvent").applySurround(
|
||||
`[details=${I18n.t("composer.details_title")}]`,
|
||||
"[/details]",
|
||||
"details_text")
|
||||
;
|
||||
"details_text",
|
||||
{ multiline: false }
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user