Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$tag ignored if group passed to the_element() #10

Open
cathal-maverick opened this issue Aug 29, 2023 · 0 comments
Open

$tag ignored if group passed to the_element() #10

cathal-maverick opened this issue Aug 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@cathal-maverick
Copy link
Contributor

$icenberg->the_element('some_group', 'h1');

Expected Output

<h1 class="block--block-name__some-group">
    <div class="block--block-name__field-1">Value 1</div>
    <div class="block--block-name__field-2">Value 2</div>
</h1>

Actual Output

<div class="block--block-name__some-group">
    <div class="block--block-name__field-1">Value 1</div>
    <div class="block--block-name__field-2">Value 2</div>
</div>
@danieldevine danieldevine added the bug Something isn't working label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants