Block Farm Editor For Umbraco. Allows for easy on page editing using the built in Umbraco data types and property editors.
$ dotnet add package BlockFarmEditor.UmbracoBlock Farm Editor is a visual content editor for Umbraco that enables flexible, block-based content editing.
Build reusable content blocks and containers that can be managed and rendered throughout your website.
Quick links
dotnet add package BlockFarmEditor.Umbraco
Add AddBlockFarmEditor() to your UmbracoBuilder.
Docs: https://blockfarmeditor.com/readme
Block Areas define where blocks can be placed in your templates. Use the <block-area> tag helper to define block areas in your templates.
Docs: https://blockfarmeditor.com/readme/#create-your-first-block-area
Blocks are reusable components geared toward easily placing content in different areas in your templates. They can be used to create anything from simple text blocks to complex components with multiple properties and behaviors.
The initial properties of the block are built out using Umbraco DataTypes just like any other Umbraco Element Type.
Docs: https://blockfarmeditor.com/readme#building-first-block
Create a partial view to display the properties. You can use standard Umbraco syntax including the Models Builder.
Docs: https://blockfarmeditor.com/readme/#create-the-partial-view
If you prefer to use a View Component for your display vs a direct partial view:
Docs: https://blockfarmeditor.com/readme/#optional-viewcomponent-assembly-attribute
Go back to the Block’s Element Type. Switch to the Definition tab to set up the Block Definition. This allows the Element Type to be selectable as a visual block.
Docs: https://blockfarmeditor.com/readme/#setup-the-block-definition
You are able to directly control the configuration passed into a DataType programmatically.
BlockFarmEditorConfiguration attribute to define the custom configuration for a property.Docs: https://blockfarmeditor.com/readme/#defining-block-properties
Save reusable page and block layouts to accelerate initial page creation.
Docs: https://blockfarmeditor.com/readme/layouts/
Full changelog: https://github.com/farmergeek94/blockfarmeditor/blob/main/CHANGELOG.md