Add block editor config and config editor

This commit is contained in:
Kenn Jacobsen
2019-05-19 11:25:29 +02:00
parent 2455e2bed9
commit 1a4c45dbdf
4 changed files with 19 additions and 1 deletions
@@ -0,0 +1,7 @@
namespace Umbraco.Web.PropertyEditors
{
public class BlockEditorConfiguration
{
// TODO: implement
}
}
@@ -0,0 +1,9 @@
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
internal class BlockEditorConfigurationEditor : ConfigurationEditor<BlockEditorConfiguration>
{
// TODO: implement
}
}
@@ -11,7 +11,7 @@ namespace Umbraco.Web.PropertyEditors
: base(logger)
{ }
protected override IConfigurationEditor CreateConfigurationEditor() => base.CreateConfigurationEditor();
protected override IConfigurationEditor CreateConfigurationEditor() => new BlockEditorConfigurationEditor();
protected override IDataValueEditor CreateValueEditor() => base.CreateValueEditor();
}
+2
View File
@@ -211,6 +211,8 @@
<Compile Include="Models\PublishedContent\HybridVariationContextAccessor.cs" />
<Compile Include="Models\TemplateQuery\QueryConditionExtensions.cs" />
<Compile Include="Mvc\SurfaceControllerTypeCollectionBuilder.cs" />
<Compile Include="PropertyEditors\BlockEditorConfiguration.cs" />
<Compile Include="PropertyEditors\BlockEditorConfigurationEditor.cs" />
<Compile Include="PropertyEditors\BlockEditorPropertyEditor.cs" />
<Compile Include="PublishedCache\NuCache\Snap\GenObj.cs" />
<Compile Include="PublishedCache\NuCache\Snap\GenRef.cs" />