Solved

WPF WYSIWYG HTML Editor

Posted on 2013-11-06
3
2,117 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
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).

734 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