|
@{
Syncfusion.JavaScript.Models.RTEproperties rte = new Syncfusion.JavaScript.Models.RTEproperties();
List<Syncfusion.JavaScript.Models.Format> list = new List<Syncfusion.JavaScript.Models.Format>{
new Syncfusion.JavaScript.Models.Format { Text= "Absatz", Value= "p", SpriteCssClass= "e-paragraph" },
new Syncfusion.JavaScript.Models.Format { Text= "Zitat", Value= "blockquote", SpriteCssClass= "e-quotation" },
new Syncfusion.JavaScript.Models.Format { Text= "Kopf 1", Value= "h1", SpriteCssClass= "e-h1"} ,
new Syncfusion.JavaScript.Models.Format { Text= "Kopf 2", Value= "h2", SpriteCssClass= "e-h2" },
new Syncfusion.JavaScript.Models.Format { Text="Kopf 3", Value="h3", SpriteCssClass= "e-h3" },
new Syncfusion.JavaScript.Models.Format { Text= "Kopf 4", Value= "h4", SpriteCssClass= "e-h4" },
new Syncfusion.JavaScript.Models.Format { Text= "Kopf 5", Value= "h5", SpriteCssClass= "e-h5" },
new Syncfusion.JavaScript.Models.Format { Text= "Kopf 6", Value= "h6", SpriteCssClass= "e-h6" }
};
rte.Format = list;
rte.Value = "Das RichTextEditor (RTE) Steuerung ermöglicht Ihnen, den Inhalt mit Einsatz Tisch und Bilder zu bearbeiten ," +
" sondern bietet auch eine Werkzeugleiste , die Rich-Text- Format ," +
" um die in der Textarea eingegeben Gehalt gelten können.";
rte.Locale = "de-DE";
rte.Width = "600px";
}
@{Html.EJ().RTE("rteSample3", rte).Render();} |