Removed cases where tabs are used instead of spaces for indenting, so that the spacing of the file is consistent.
Description of the Change
The block.json file for the example block inconsistently uses tabs and spaces for indentation. I've fixed any cases where tabs are being used, as the majority of the document was using spaces before this fix.
This fixes an issue where indenting would appear inconsistent on platforms like GitLab / GitHub when viewing assets.
How to test the Change
Open themes/10up-theme/includes/blocks/example-block/block.json in your editor of choice and confirm that all indentation uses a consistent character.
Changelog Entry
Fixed - Bug fix
Example Block: Fix instances where tabs were being mixed with spaces for indentation in block.json
Credits
Props @roseg43 (wasn't sure if I should add myself, so here I am 😂)
Removed cases where tabs are used instead of spaces for indenting, so that the spacing of the file is consistent.
Description of the Change
The
block.json
file for the example block inconsistently uses tabs and spaces for indentation. I've fixed any cases where tabs are being used, as the majority of the document was using spaces before this fix.This fixes an issue where indenting would appear inconsistent on platforms like GitLab / GitHub when viewing assets.
How to test the Change
Open
themes/10up-theme/includes/blocks/example-block/block.json
in your editor of choice and confirm that all indentation uses a consistent character.Changelog Entry
Credits
Props @roseg43 (wasn't sure if I should add myself, so here I am 😂)
Checklist: