Files
Umbraco-CMS/src/Umbraco.Core/PropertyEditors/SingleBlockConfiguration.cs
Sven Geusens dd01a56d2a Feature: single block property editor (#20098)
* First Go at the single block property editor based on blocklistpropertyeditor

* Add simalar tests to the blocklist editor

Also check whether either block of configured blocks can be picked and used from a data perspective

* WIP singleblock Valiation tests

* Finished first full pass off SingleBlock validation testing

* Typos, Future test function

* Restore accidently removed file

* Introduce propertyValueConverter

* Comment updates

* Add singleBlock renderer

* Textual improvements

Comment improvements, remove licensing in file

* Update DataEditorCount by 1 as we introduced a new one

* Align test naming

* Add ignored singleblock default renderer

* Enable SingleBlock Property Indexing

* Enable Partial value merging

* Fix indentation

---------

Co-authored-by: kjac <kja@umbraco.dk>
2025-09-17 07:20:09 +02:00

14 lines
354 B
C#

// Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.PropertyEditors;
/// <summary>
/// The configuration object for the Single Block editor
/// </summary>
public class SingleBlockConfiguration
{
[ConfigurationField("blocks")]
public BlockListConfiguration.BlockConfiguration[] Blocks { get; set; } = [];
}