Solved

WPF WYSIWYG HTML Editor

Posted on 2013-11-06
3
1,978 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 500 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now