Introduction The Blocs developer API allows 3rd parties to create custom Brics that can be used within the Blocs design environment. The core components of a custom Bric are created using HTML, JS and CSS (you can read more about data and file structure here). There are various API protocols that can be accessed via […]
Introduction Custom Brics require a specific directory structure in order to work and compile correctly. Please note, the Bric Builder that comes with Blocs 2.5+ has the ability to create new custom Brics from boiler plate examples, using these ensures all relevant files and directories are named correctly and present. Directories Within a custom Bric […]
To compile a custom Bric, click the export button found in the top right corner of the Bric Builder. This will then open a sheet and ask you to select a save location for your compiled custom Bric.
The following helper classes can be used in custom Brics to do miscellaneous tasks, such as hiding content from certain view modes within the Blocs design environment. .display-in-blocs-edit-mode-only – Content with this class applied will show in edit mode only, it will be hidden in all preview modes and when exported this class is replaced […]