Rich HTML editor in WPF

I am working on a WPF application where we need some rich HTML editing capabilities. An application usually generates some intitial HTML (tables, etc.) and presents it to the user, who, in turn, can edit before sending the HTML back to the system. It would be very nice if the user could combine and delete cells in tables.

I'm really looking for a WYSIWYG editor, like tinyMCE - for WPF only.

So far I have been experimenting with converting HTML to Flow Document , with which the user can interact with the Extended WPF Toolkit RichTextBox , first converting HTML to XAML .

I am not very happy with the results, since the XAML code cannot render HTML correctly.

I feel that someone must have been struggling with the same problems in front of me. Any suggestions?

Thanks!

+6
source share
6 answers

I tried this briefly, and it seems to be doing pretty well with what I saw and what people say in the discussion area.

HTML Smith Editor

+5
source

If you're not using the Rich Text Editor, a fairly clean HTML / XHTML editor, then the recent version of SpiceLogic WPF HTML Editor Control may be what you might be interested in.

https://www.spicelogic.com/Products/WPF-HTML-Editor-Control-17

enter image description here

Yes, this editor control offers manipulation of tables from the context menu, for example, β€œMerge / Delete / Add Cells”, β€œRows”, β€œColumns”, etc.

enter image description here

+4
source

Check out this project . This is a rich wpf editor with HTML features.

+2
source

The Telerik wpf rich edit control imports and exports into HTML format, making it a way to edit html without using a web browser control.

+1
source

Have an idea and provide the source code. Please check out the C # WPF WYSIWYG HTML Editor project

+1
source

Try WPF RichText Editor Management (also available on NuGet).

0
source

Source: https://habr.com/ru/post/896320/


All Articles