mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 18:36:39 +08:00
add quotes to toolbar details insertion
This commit is contained in:
parent
bbd428fb94
commit
e8a2aaafeb
@ -15,7 +15,7 @@ function initializeDetails(api) {
|
|||||||
actions: {
|
actions: {
|
||||||
insertDetails() {
|
insertDetails() {
|
||||||
this.get("toolbarEvent").applySurround(
|
this.get("toolbarEvent").applySurround(
|
||||||
"\n" + `[details=${I18n.t("composer.details_title")}]` + "\n",
|
"\n" + `[details="${I18n.t("composer.details_title")}"]` + "\n",
|
||||||
"\n[/details]\n",
|
"\n[/details]\n",
|
||||||
"details_text",
|
"details_text",
|
||||||
{ multiline: true }
|
{ multiline: true }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user