简体   繁体   中英

How to enable Multi-Level undo/redo in mshtml & c#

I have a System.Windows.Forms.Webbrowser control hosted in a Winforms app and am loading up a html document that has various elements with the contentEditable attribute set to true. How do I enable multi-level undo and redo for the document?

TIA.

MB

Correct me if I'm wrong, but I would think you can apply the library DejaVu found in codeplex.

here is the blog link

撤消/重做内置于此,这是我之前使用的控件http://www.itwriting.com/htmleditor/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM