Skip to content

Commit

Permalink
feat(blocks): update block Anchor #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed May 10, 2021
1 parent 5a020ea commit 05f1b2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions blocks/blocks/Anchor/block.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{% import "plugins/blueprints/blocks/macros/grid.html" as grid %}
{% import "plugins/blueprints/blocks/macros/attr.html" as attr %}
<a {{ include(template_from_string(attr.id(block.properties.id))) }}
{{ include(template_from_string(attr.data(block.properties.data))) }}
Expand All @@ -7,5 +6,5 @@
{{ include(template_from_string(attr.href(block.properties.href))) }}
{{ include(template_from_string(attr.target(block.properties.target))) }}
{{ include(template_from_string(attr.events(block.properties.events, ['onkeyup', 'onmousedown', 'onmousemove', 'onmouseout',
'onmouseover', 'onmouseup', 'onkeypress', 'onclick', 'ondblclick',
'onkeydown', 'onblur']))) }}>{{ include(template_from_string(block.properties.title)) }}</a>
'onmouseover', 'onmouseup', 'onkeypress', 'onclick', 'ondblclick',
'onkeydown', 'onblur']))) }}>{{ include(template_from_string(block.properties.title)) }}</a>

0 comments on commit 05f1b2a

Please sign in to comment.