Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi all,

I am looking for an WYSIWIG HTML editing control to integrate in my MFC application... the control needs to be W3C compliant (XHTML) which means creating the tags in lower case, having the attributes between quotes, the adequate / when needed, etc...

There are a few good controls here like DHTML Editor with Table Support and Source Editor[^]

But none of them support XHTML... all pointers welcome!

Thanks in advance!
Jerry
Posted
Comments
Maximilien 5-Jan-11 11:24am    
You could modify the control you linked to to generate xhtml instead of html.
Max.
BadJerry 5-Jan-11 11:36am    
Hey Maximilien!
Guess what? that's what I am doing but it might be some time before I have anything that covers all aspects of w3c... and as the control is built on a microsoft COM object, it's clearly a hack...
I was hoping for more help ;-)
Jerry
Espen Harlinn 5-Jan-11 15:13pm    
5+ I'll be interested in the solution ...

1 solution

Microsoft has a fair WYSIWIG HTML editor - while this is probably not what you originally wanted, it just might serve your needs.

Extending Visual Studio[^] could make sense - it all depends on your application...

If you are not working on a contender, why not consider integrating with it? You get tons of functionality for free that might make your customers quite happy.

Or you can try to roll your own editor - can't find any free/open source stuff that fits your needs :(

If you feel like throwing a lot of work into this you can look at the following:
This is a Gecko based project http://kmeleon.sourceforge.net/[^], turning it into an xhtml editor would be a non-trivial project :-\

http://www.w3.org/Amaya/[^] supports xhtml


Regards
Espen Harlinn
 
Share this answer
 
v5
Comments
BadJerry 5-Jan-11 12:09pm    
What i want is to embed a control in my application rather than the other way round ;)... and distributing the final product would be a (financial) problem... I suspect MS will one day distribute their HTML editor as an object... in the meantime, I am stuck ;)
Thanks anyway!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900