Solved

WPF WYSIWYG HTML Editor

Posted on 2013-11-06
3
2,016 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to learn more about SecurityProtocolType.Tls12 3 31
Sql server insert 13 32
C# LINQ ForEach() question 6 28
Mouse event to control image and transparency. 4 22
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

803 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