mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 13:04:32 +08:00
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