admin管理员组文章数量:1315241
When forming my own HTML within Gutenberg HTML blocks, trying to keep my HTML tidy for easy debugging purposes is a pain because tab indenting cannot be used, and therefore multiples of 4 spaces or more has to be used for each indentation level. Having to count 1,2,3,4...1,2,3,4...1,2,3,4 for example to keep everything in line slows down page production too.
Is there a way of allowing tab indenting to be used within Gutenberg blocks?
When forming my own HTML within Gutenberg HTML blocks, trying to keep my HTML tidy for easy debugging purposes is a pain because tab indenting cannot be used, and therefore multiples of 4 spaces or more has to be used for each indentation level. Having to count 1,2,3,4...1,2,3,4...1,2,3,4 for example to keep everything in line slows down page production too.
Is there a way of allowing tab indenting to be used within Gutenberg blocks?
Share Improve this question edited Nov 19, 2020 at 16:03 Chris Rogers asked Nov 19, 2020 at 10:27 Chris RogersChris Rogers 12310 bronze badges 2- specifically for the HTML block; or the HTML that is in the code editor? – Will Commented Nov 19, 2020 at 15:59
- @Will I want to be able to tab indent HTML within HTML blocks. I just edited my question in the hope of making it more clear – Chris Rogers Commented Nov 19, 2020 at 16:02
1 Answer
Reset to default 0Unfortunately, I don't believe there's anything available that would allow this unless you do some extensive customization to the block editor.
TAB is used very often by users who have limited dexterity (I use it myself) so entering TAB on the keyboard will be used to move to the next element on the page.
本文标签: Tidy HTML formatting in Gutenberg HTML blocks
版权声明:本文标题:Tidy HTML formatting in Gutenberg HTML blocks 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741980177a2408351.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论