Commit 5649c7ca authored by Austin Regnery's avatar Austin Regnery

Replace icon with details block

parent 12305e7a
......@@ -234,7 +234,7 @@ export default {
:prepend="true"
tag-select="Click to expand"
:button-title="__('Add a collapsible section')"
icon="chevron-right"
icon="details-block"
/>
<toolbar-button
:prepend="true"
......
......@@ -16,7 +16,7 @@
data: { "md-tag" => "[{text}](url)", "md-select" => "url", "md-shortcuts": '["mod+k"]' },
title: sprintf(s_("MarkdownEditor|Add a link (%{modifier_key}K)") % { modifier_key: modifier_key }) })
= markdown_toolbar_button({ icon: "chevron-right",
= markdown_toolbar_button({ icon: "details-block",
data: { "md-tag" => "<details><summary>Click to expand</summary>\n{text}\n</details>", "md-prepend" => true, "md-select" => "Click to expand" },
title: _("Add a collapsible section") })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment