Solved

WPF WYSIWYG HTML Editor

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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 Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

895 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

12 Experts available now in Live!

Get 1:1 Help Now