Adds RTE and stylesheet services
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user