Notes: This post of understanding new features in full site editing (FSE) interface. This learning post is still in active development and updated regularly.
In my recent CSS-Tricks article, I discussed adding box shadow property in the theme.json to style buttons elements. Then, the shadow property was not defined in the Gutenberg plugin, we had custom define the property as settings.custom.shadow presets in the theme.json as shown below:
Notes: This post is part 2 of my proof-of-concepts learning note post for CSS-Tricks article on the JSON elements. Some screenshot images used here are credited to the CSS-Tricks. In the previous section, we briefly overview the JASON elements and discussed how they are used in a theme.json file. In this section, let’s expand JSON […]
Notes: This post is part 2 of two parts series about understanding new features in full site editing (FSE) interface. This learning post is still in active development and updated regularly. In a previous posts in this series, an overview of the recently modified layout structure of WordPress site editor was discussed. In this proof […]
The article covers the new WordPress 6.1 added “JSON elements” which are low-level components for themes and blocks that do not need the complexity of blocks. They are representations of HTML primitives that are not defined in a block but can be used across blocks, like buttons, links, headings, cite and forms, etc.
Ganesh Dahal wrote about Managing CSS Styles in a WordPress Block Theme and took a deep dive into the migration from styles.css files to theme.json. “One of the major benefits of moving CSS to JSON is that JSON is a machine-readable format, which means it can be exposed in the WordPress Site Editor UI by fetching an API, thus allowing users to modify default values and customize a site’s appearance without writing any CSS at all.” he wrote. Gutenberg Times, Weekend Edition #236.
The article was covered by Gutenberg Times, a website covering “Curating News and Community Voices about the WordPress Block Editor, codenamed Gutenberg“.
Recently WordPress 6.1 “Misha” was released with many useful features including fluid typography, layout consistency tools, locking blocks, starter patterns and many more.
The following site editor features, that under discussion at GitHub that keeping an close eye on for the next 6.2 release.
Notes: This post is part 1 of two parts series about understanding new features in full site editing (FSE) interface. This learning post is still in active development and updated regularly. One of the main goals of the Gutenberg site editor is to move the core block style CSS to JSON files. JSON files are […]