diff --git a/about.json b/about.json index 306509e..873ddca 100644 --- a/about.json +++ b/about.json @@ -4,6 +4,6 @@ "license_url": null, "about_url": "https://www.mon-discourse.fr/themes/md-composer-extras/", "authors": "Steven", - "theme_version": "1.0", + "theme_version": "1.1", "learn_more": "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966" } diff --git a/common/head_tag.html b/common/head_tag.html index e327d2f..f391db4 100644 --- a/common/head_tag.html +++ b/common/head_tag.html @@ -16,7 +16,7 @@ api.onToolbarCreate(toolbar => { id: "align_center_button", group: "extras", icon: "align-center", - perform: e => e.applySurround('
', '
', 'align_center_text') + perform: e => e.applySurround('
\n\n', '\n
', 'align_center_text') }); }); api.onToolbarCreate(toolbar => { @@ -24,7 +24,7 @@ api.onToolbarCreate(toolbar => { id: "align_right_button", group: "extras", icon: "align-right", - perform: e => e.applySurround('
', '
', 'align_right_text') + perform: e => e.applySurround('
\n\n', '\n
', 'align_right_text') }); }); api.onToolbarCreate(toolbar => { @@ -32,7 +32,7 @@ api.onToolbarCreate(toolbar => { id: "align_justify_button", group: "extras", icon: "align-justify", - perform: e => e.applySurround('
', '
', 'align_justify_text') + perform: e => e.applySurround('
\n\n', '\n
', 'align_justify_text') }); });