JSON output from RTE - review changes (#14139)
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
namespace Umbraco.Cms.Infrastructure.Models.DeliveryApi;
|
||||
|
||||
public class RichTextElement
|
||||
{
|
||||
public RichTextElement(string tag, string text, Dictionary<string, object> attributes, IEnumerable<RichTextElement> elements)
|
||||
{
|
||||
Tag = tag;
|
||||
Text = text;
|
||||
Attributes = attributes;
|
||||
Elements = elements;
|
||||
}
|
||||
|
||||
public string Tag { get; }
|
||||
|
||||
public string Text { get; }
|
||||
|
||||
public Dictionary<string, object> Attributes { get; }
|
||||
|
||||
public IEnumerable<RichTextElement> Elements { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user