Cefsharp design mode?

201 views
Skip to first unread message

Claude

unread,
Nov 6, 2012, 10:12:45 PM11/6/12
to cefs...@googlegroups.com
I want to design a WYSIWYG html editor using cefsharp, it's this possible? The easiest way in my mind is to switch cefsharp into a "design mode", but it doesn't support that.
I try to add my own drag&drop event handler for cefsharp, but there is no
response...
Or should I try to implement by JS? However, not only need I drag&drop elements inside the browser(JS may be able to do this), but drag&drop elements into it from outside(toolbox or something) as well -- JS may not be a good idea for the latter function.
Any suggestion? Thx.

Bryan Holmes

unread,
Dec 3, 2012, 3:43:51 PM12/3/12
to cefs...@googlegroups.com
If nothing else, a hacky way to do it would be to have 2 forms. One cefsharp renderer, and the other a form object that is a proxy. So you do all the wysiwyg editing on the form, dropping images or text. Then you hit "View" and it compiles to an html file then opens the cef browser and locally load the html.
Reply all
Reply to author
Forward
0 new messages