Disable BlockGridEditor (#13229)
* Disable BlockGridEditor * Fix typeloader test * Update src/Umbraco.Core/Models/Blocks/BlockGridItem.cs Co-authored-by: Kenn Jacobsen <kja@umbraco.dk> * Apply suggestions from code review Co-authored-by: Kenn Jacobsen <kja@umbraco.dk> Co-authored-by: Kenn Jacobsen <kja@umbraco.dk>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Copyright (c) Umbraco.
|
||||
// See LICENSE for more details.
|
||||
|
||||
using System.ComponentModel;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
@@ -9,6 +10,7 @@ namespace Umbraco.Cms.Core.Models.Blocks;
|
||||
/// <summary>
|
||||
/// Data converter for the block grid property editor
|
||||
/// </summary>
|
||||
[EditorBrowsable(EditorBrowsableState.Never)] // TODO: Remove this for V11/V10.4
|
||||
public class BlockGridEditorDataConverter : BlockEditorDataConverter
|
||||
{
|
||||
private readonly IJsonSerializer _jsonSerializer;
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.ComponentModel;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Umbraco.Cms.Core.Models.Blocks;
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)] // TODO: Remove this for V11/V10.4
|
||||
public class BlockGridLayoutAreaItem
|
||||
{
|
||||
[JsonProperty("key", NullValueHandling = NullValueHandling.Ignore)]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Copyright (c) Umbraco.
|
||||
// See LICENSE for more details.
|
||||
|
||||
using System.ComponentModel;
|
||||
using Newtonsoft.Json;
|
||||
using Umbraco.Cms.Infrastructure.Serialization;
|
||||
|
||||
@@ -9,6 +10,7 @@ namespace Umbraco.Cms.Core.Models.Blocks;
|
||||
/// <summary>
|
||||
/// Used for deserializing the block grid layout
|
||||
/// </summary>
|
||||
[EditorBrowsable(EditorBrowsableState.Never)] // TODO: Remove this for V11/V10.4
|
||||
public class BlockGridLayoutItem : IBlockLayoutItem
|
||||
{
|
||||
[JsonProperty("contentUdi", Required = Required.Always)]
|
||||
|
||||
Reference in New Issue
Block a user