Category / Section
How can i add custom tools to the Editor control?
1 min read
The following code illustrates adding custom tools to the Editor Control.
C#
RichTextEditor1.NamedFonts.Add("Arial");
RichTextEditor1.NamedFonts.Add("Arial Black");
RichTextEditor1.NamedFonts.Add("Verdana");
RichTextEditor1.NamedFonts.Add ("century Gothic");
RichTextEditor1.NamedFonts.Add ("Comic Sans MS");
RichTextEditor1.NamedSize.Add("3");
RichTextEditor1.NamedSize.Add ("4");
RichTextEditor1.NamedSize.Add ("5");
RichTextEditor1.NamedSize.Add("6");
RichTextEditor1.Namedsnippet.Add("ConfirmationForm","Dear ____________________,Thank you for inquiring about ____________. Your request will be processed in 48 hours and shipped at the address you have provided.Please, contact us if you have any problems. ");