Block editor config first stab

This commit is contained in:
Kenn Jacobsen
2019-05-19 11:59:24 +02:00
parent 1a4c45dbdf
commit 174af027e9
@@ -1,7 +1,27 @@
namespace Umbraco.Web.PropertyEditors
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
public class BlockEditorConfiguration
{
// TODO: implement
[ConfigurationField("blocks", "Blocks", "views/propertyeditors/textarea/textarea.html")]
public Block[] Blocks { get; set; }
public class Block
{
public Udi ElementType { get; set; }
public BlockSetting Settings { get; set; }
}
public class BlockSetting
{
public string Label { get; set; }
public string Alias { get; set; }
public Udi DataType { get; set; }
}
}
}