2018-06-29 19:52:40 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataContract(Name = "richtexteditorconfiguration", Namespace = "")]
|
|
|
|
|
|
public class RichTextEditorConfiguration
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataMember(Name = "plugins")]
|
|
|
|
|
|
public IEnumerable<RichTextEditorPlugin> Plugins { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "commands")]
|
|
|
|
|
|
public IEnumerable<RichTextEditorCommand> Commands { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "validElements")]
|
|
|
|
|
|
public string ValidElements { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "inValidElements")]
|
|
|
|
|
|
public string InvalidElements { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "customConfig")]
|
|
|
|
|
|
public IDictionary<string,string> CustomConfig { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|