Using the RichTextEditor I am attempting to set a default value for font family using a style but so far have been unable to get it to work.
Here is my attempt.
StringBuilder _HtmlContent = new StringBuilder();
_HtmlContent.Append("<html><head><style>body { font-family:verdana;; font-size: 16px; }</style></head><body>");
_HtmlContent.Append("<p>This is a paragraph with Verdana font.</p>");
_HtmlContent.Append("</body></html>");
this.richTextEditor.Source = RichTextSource.FromString(_HtmlContent.ToString());
What am I doing wrong? Thanks for your help.
Daniel