Visarc.Umbraco.HeadingEditor.Core 17.1.1
Visarc.Umbraco.HeadingEditor.Core
Backend (server-side) package for the Visarc Heading Editor property editor for Umbraco 17.
This package contains the parts that are safe to reference from your own code and from ModelsBuilder:
HeadingModel— the strongly-typed value model (Heading,Level,CssLevel).HeadingDataEditor— the property editor schema (aliasVisarc.HeadingEditor, JSON value type).HeadingValueConverter— converts the stored JSON into aHeadingModelwhen rendering content.HeadingEditorComposer— registers the value converter at startup.
When to reference this package
Reference Visarc.Umbraco.HeadingEditor.Core directly when you only need the
backend model and value conversion — for example in a class library that renders
content but does not host the Umbraco backoffice.
For a normal Umbraco website, install Visarc.Umbraco.HeadingEditor instead.
It references this package and additionally ships the backoffice UI.
Usage
Once installed and the property is added to a document type, the property value is
exposed as a HeadingModel:
@using Visarc.Umbraco.HeadingEditor.Core.Models
@{
var heading = Model.Value<HeadingModel>("pageHeading");
}
@if (heading is not null)
{
<h@(heading.Level) class="h@(heading.CssLevel)">@heading.Heading</h@(heading.Level)>
}
Compatibility
| Package | Version |
|---|---|
| Umbraco CMS | 17.x ([17.0.0,18.0.0)) |
| .NET | 10.0 |
Showing the top 20 packages that depend on Visarc.Umbraco.HeadingEditor.Core.
| Packages | Downloads |
|---|---|
|
Visarc.Umbraco.HeadingEditor
Heading editor backoffice UI for Umbraco 17
|
33 |
|
Visarc.Umbraco.HeadingEditor
Heading editor backoffice UI for Umbraco 17
|
8 |
|
Visarc.Umbraco.HeadingEditor
Heading editor backoffice UI for Umbraco 17
|
2 |
.NET 10.0
- Newtonsoft.Json (>= 13.0.3)
- Umbraco.Cms.Core (>= 17.0.0 && < 18.0.0)