JMMJ.LayoutEditor
1.0.3
dotnet add package JMMJ.LayoutEditor --version 1.0.3
NuGet\Install-Package JMMJ.LayoutEditor -Version 1.0.3
<PackageReference Include="JMMJ.LayoutEditor" Version="1.0.3" />
paket add JMMJ.LayoutEditor --version 1.0.3
#r "nuget: JMMJ.LayoutEditor, 1.0.3"
// Install JMMJ.LayoutEditor as a Cake Addin
#addin nuget:?package=JMMJ.LayoutEditor&version=1.0.3
// Install JMMJ.LayoutEditor as a Cake Tool
#tool nuget:?package=JMMJ.LayoutEditor&version=1.0.3
Umbraco Layout Editor
The Layout Editor is used to construct modular site content in a flexible WYSIWYG editor based on Umbraco Macros.
Getting Started
This package is supported on Umbraco 7.4+.
Installation
The Layout Editor package is available from NuGet, Our Umbraco, or directly from GitHub repository.
Our Umbraco
A downloadable Umbraco package is available on the Our Umbraco. You can install it by Umbraco backoffice.
NuGet package
To install from NuGet, run the following command in your Visual Studio package manager console.
PM> Install-Package JMMJ.LayoutEditor
Usage
After installing the package you need to create a new Data Type based on LayoutEditor via the Umbraco backoffice.
In the next step add LayoutEditor Data Type as a property in your Document Type.
Then add yours Macros to Layout Editor.
Important
To render layout in the backoffice properly (same as in the front-end), add your stylesheet link to the "_/Partials/LayoutEditor/Component.cshtml" partial.
In the end plug Layout Editor property in a template by adding @using JMMJ.LayoutEditor.Helpers and insert the code below:
@Html.LayoutEditor(Model.Content, "propertyAlias")
License
Copyright; 2018 JMMJ, and other contributors
Licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- UmbracoCms.Core (>= 7.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.