Rich HTML editor in WPF [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
开发者_运维技巧Closed 6 years ago.
Improve this questionI'm working on a WPF application where we need some rich HTML editing features. The application will typically generate some intitial HTML (tables and such) and present to the user, which in turn could edit before submitting the HTML back to the system. It would be really nice if the user could merge and delete cells in tables.
What I'm really looking for is a WYSIWYG editor, like tinyMCE - only for WPF.
Up until now, I've experimented with converting HTML into a Flow Document, that the user can interact with in Extended WPF Toolkit's RichTextBox, by first converting HTML to XAML.
I'm not very happy with the results, as the XAML code is unable to render the HTML correctly.
My feeling is that someone must have been struggeling with the same problems before me. Any suggestions?
Thanks!
If you are not up to Rich Text Editor, rather pure HTML / XHTML editor then a recent release from SpiceLogic WPF HTML Editor Control could be the one that you may be interested in.
https://www.spicelogic.com/Products/WPF-HTML-Editor-Control-17
Yes, this editor control offers Table Manipulation from Context Menu, like Merge / Delete / Add Cells, Rows, Columns etc.
The Telerik wpf rich edit control imports and exports to HTML format making it a way to edit html without relying on a web browser control.
Have a look at this project (now replicated here). It is a wpf rich editor with HTML capabilities
There is an idea and provide source code .Please check the project C# WPF WYSIWYG HTML Editor
Try WPF RichText Editor Control (also available on NuGet).
精彩评论