Skip to content

Commit

Permalink
Merge pull request #2241 from alphagov/remove-old-gtm-code
Browse files Browse the repository at this point in the history
Remove old google tag code
  • Loading branch information
mtaylorgds authored Aug 16, 2024
2 parents 689cffd + ffe5e66 commit ef1c320
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/components/_markdown_editor.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@
<div class="app-c-markdown-editor__toolbar">
<markdown-toolbar class="app-c-markdown-editor__toolbar-group" for="<%= textarea[:id] %>">
<% if controls.include?(:headings) %>
<md-header-2 class="app-c-markdown-editor__toolbar-button" title="Heading level 2" aria-label="Heading level 2" data-gtm="markdown-toolbar-h2" data-gtm-click-tracking="true">
<md-header-2 class="app-c-markdown-editor__toolbar-button" title="Heading level 2" aria-label="Heading level 2">
<%= inline_svg_tag "components/markdown-editor/heading-two.svg", class: "app-c-markdown-editor__toolbar-icon" , aria_hidden: true %>
</md-header-2>
<md-header-3 class="app-c-markdown-editor__toolbar-button" title="Heading level 3" aria-label="Heading level 3" data-gtm="markdown-toolbar-h3" data-gtm-click-tracking="true">
<md-header-3 class="app-c-markdown-editor__toolbar-button" title="Heading level 3" aria-label="Heading level 3">
<%= inline_svg_tag "components/markdown-editor/heading-three.svg", class: "app-c-markdown-editor__toolbar-icon" , aria_hidden: true %>
</md-header-3>
<% end %>
<md-link class="app-c-markdown-editor__toolbar-button" title="Link" aria-label="Link">
<%= inline_svg_tag "components/markdown-editor/link.svg", class: "app-c-markdown-editor__toolbar-icon" , aria_hidden: true %>
</md-link>
<% if controls.include?(:blockquote) %>
<md-quote class="app-c-markdown-editor__toolbar-button" title="Blockquote" aria-label="Blockquote" data-gtm="markdown-toolbar-blockquote" data-gtm-click-tracking="true">
<md-quote class="app-c-markdown-editor__toolbar-button" title="Blockquote" aria-label="Blockquote">
<%= inline_svg_tag "components/markdown-editor/blockquote.svg", class: "app-c-markdown-editor__toolbar-icon" , aria_hidden: true %>
</md-quote>
<% end %>
<% if controls.include?(:numbered_list) %>
<md-ordered-list class="app-c-markdown-editor__toolbar-button" title="Numbered list" aria-label="Numbered list" data-gtm="markdown-toolbar-list" data-gtm-click-tracking="true">
<md-ordered-list class="app-c-markdown-editor__toolbar-button" title="Numbered list" aria-label="Numbered list">
<%= inline_svg_tag "components/markdown-editor/numbered-list.svg", class: "app-c-markdown-editor__toolbar-icon" , aria_hidden: true %>
</md-ordered-list>
<% end %>
Expand Down

0 comments on commit ef1c320

Please sign in to comment.