Html editor

3 posts, 0 answers
  1. Matthew
    Matthew avatar
    3 posts
    Member since:
    Jan 2012

    Posted 12 Apr 2013 Link to this post

    Hello,

    Is it possible to make the RTF editor in control also an html editor? So if I allow user to create a document inside RTF editor, they can have choice to choose "edit source html" instead?

    I thought this control allowed this?
  2. Matthew
    Matthew avatar
    3 posts
    Member since:
    Jan 2012

    Posted 14 Apr 2013 Link to this post

    anybody?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petya
    Admin
    Petya avatar
    975 posts

    Posted 17 Apr 2013 Link to this post

    Hello Matthew,

    Such functionality should be possible to achieve with RadRichTextBox and HtmlFormatProvider.

    However, please note that the RadRichTextBox control is closer to a word processor than an HTML editor, so the HTML support has its limitations. I suggest you refer to these articles for more detailed information: HTML SupportImport/Export settings.

    When it comes to what approach to adopt, you can try using HtmlDataProvider in order to create a two-way binding between a RadRichTextBox control and a TextBox (for example) similar to this online example.

    I hope this helps!

    Kind regards,
    Petya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top