Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WPF WYSIWYG HTML Editor

Posted on 2013-11-06
3
Medium Priority
?
2,235 Views
Last Modified: 2013-11-06
Hi,

I am implementing a WYSIWYG HTM Editor in my WPF application as suggested by http://www.sheldmandu.com/programming/wysiwyg-html-editor-in-dotnet-wpf-windows-forms-vb6-in-web-browser, using ckeditor.

I am having an issue where my ckeditor config.js does not seem to be referenced when the page is loaded into the webbrowser control.

If I view in a browser then all works fine.

Anyone any ideas why not and how to resolve?

Cheers

Simon
0
Comment
Question by:Simon482
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Alexandre Simões earned 1500 total points
ID: 39627034
I have no clue of what's going on there but I think you could use a native WPF solution instead:
https://github.com/icsharpcode/SharpDevelop/wiki/AvalonEdit

This is the edit engine behing MonoDevelop so it's pretty stable and reliable.
Lots of example and papers can be found there also.

Make sure you have a look here also: http://www.codeproject.com/Articles/42490/Using-AvalonEdit-WPF-Text-Editor
0
 

Author Comment

by:Simon482
ID: 39627367
Thank you, I will have a look at that.

A native WPF control was always the preferred solution and I have been using the Smith WPF HTML Editor up until recently - problem is it is a bit buggy and users were complaining.

If this does the trick I will mark as answer.

Cheers

Simon
0
 

Author Closing Comment

by:Simon482
ID: 39627619
This control was not exactly what I was after for this problem, but it may still come in useful as it is a nice control for viewing code syntax.

I will mark as answer, however, as by trying this control and moving the webbrowser control out of the way, it seemed to kickstart the webbrowser into working properly, so I can continue with the initial plan.

Cheers
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question