Skip to content

Orchard Core module providing a block based content editor

License

Notifications You must be signed in to change notification settings

EtchUK/Etch.OrchardCore.Blocks

Repository files navigation

Etch.OrchardCore.Blocks

Orchard Core module providing WYSIWYG editor via Editor.js.

Build Status

NuGet

Orchard Core Reference

This module is referencing a stable build of Orchard Core (1.8.3).

Installing

This module is available on NuGet. Add a reference to your Orchard Core web project via the NuGet package manager. Search for "Etch.OrchardCore.Blocks", ensuring include prereleases is checked.

Alternatively, download the source or clone the repository to your local machine. Add the project to your solution that contains an Orchard Core project and add a reference to Etch.OrchardCore.Blocks.

Usage

Enable the "Blocks" feature, which will add a new "Block Body" part and a "Block Field" content field. Both the part & field will allow content editors to use a block editor driven by Editor.js.

Each block is represented by a shape whose template can be overridden in a custom module/theme. For example, the pargraph block is represented by a shape named Block__Paragraph that can be overridden with a template named Block-Paragraph.