admin管理员组文章数量:1122832
I am using a non-block theme for my website and am using Gutenberg for writing posts. I want to extend Gutenberg's functionality by adding the image lightbox feature. So I added a theme.json file to the non-block theme and left it empty, exept for
{
"$schema": ".json",
"version": 2,
"settings": {
"blocks": {
"core/image": {
"lightbox": {
"enabled": true
}
}
}
},
"styles": {},
"templateParts": [],
"customTemplates": []
}
Still, the theme.json file f.ex. adds underlines to links that I don't want. How could I setup the theme.json file so that it doesn't do anthing at all, so that I can use it for adding functionality to Gutenberg?
Thanks!
本文标签: phpAdding features to Gutenberg without themejson
版权声明:本文标题:php - Adding features to Gutenberg without theme.json 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736306224a1932879.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论