This project is read-only.

Swap out editor for Tekerik RadEditor

Oct 31, 2008 at 8:15 PM
How easy/difficult will it be for me to swap out the tiny_mce editor for the Telerik RadEditor?  Is the editor fully integrated into the system or is there a usercontrol for it?
Thanks in advance.
Nov 1, 2008 at 11:19 PM
Please, I hope this not to be a difficult task.
Nov 2, 2008 at 4:28 AM
Edited Nov 2, 2008 at 4:30 AM

I have tried to create a new "htmlEditor.ascx" page with the telerik RadEditor instead of the TinyMCE editor, and I wrote the following




using System.ComponentModel;
using System.Web;
using System.Web.UI.WebControls;

public partial class admin_htmlEditor : System.Web.UI.UserControl








public string Text




get { return RadEditor1.Content; }


set { RadEditor1.Content = value; }




public short TabIndex




get { return RadEditor1.TabIndex; }


set { RadEditor1.TabIndex = value; }



but this is of no use... still causing issues with not only layout but also javascript.



Nov 2, 2008 at 4:49 AM
Looking at the documentation there is "supposed" to be a spot that demonstrates how to integrate FCKEditor ... but there is no link... no documentation. 

Any documentation would be better than nothing at all. 

4 - Customization

Making the site look and work exactly how you'd like it.

Nov 3, 2008 at 6:10 AM
Continuing on my journey...

I noticed that I am not supposed to edit the "htmlEditor.ascx" but rather create a new usercontrol and put the RadEditor data in it... I did so and still get the same errors.
So I rebuilt the solution making sure I was using ASP.NET AJAX 2.0 instead of 3.5... Same errors.
I have rebuilt the solution using 3.5, 2.0 with/without ajax and I continue to get the same errors... I cant figure this bloody thing out for the life of me.

Javascript errors
1) Invalid Character
2) sys is undefined
3) sys is undefined
4) sys is undefined

Does anyone have any other suggestions?
Nov 4, 2008 at 11:28 PM
Just want to bump this to the top of the page.  Can someone please help or point in the right direction?
Nov 5, 2008 at 9:23 AM
Maybe this needs to go onto a wish list for the next release?  A choice of a more advanced editor would be great. I really need the option of linking to images, instead of uploading. Sure I can drop the <img src code to HTML, but my customers cannot. Ideally offer a choice of default editors in the BE.NET Settings.

When is the next scheduled release guys?

Nov 7, 2008 at 1:16 AM
Just want to bump this to the top of the list... Again.
Nov 7, 2008 at 7:21 PM
Is there no one who reads and responds to these descussions?  I am not looking for someone to do it for me, just some direction, information, whatever... just an answer from a developer or experienced user would be great.
Nov 7, 2008 at 10:11 PM
I see your question and I am here, but I have no answer nor direction for you.  Just so you know, people are paying attention.
Nov 12, 2008 at 1:08 AM
Just bumping this to the top of the list again.
Nov 12, 2008 at 5:43 PM
You are going to need to include the RadControls DLL and copy up the RadEditor files to the root of the site. 

Check the RadEditor help file for the appropriate info.
Nov 12, 2008 at 8:01 PM
Well that is quite obvious.  I have gotten that far and I can even see the editor in the page.  The problem is that the rest of the way BE is wired up is cause for JavaScript errors and poor layout with regards to the editor.  I just can't seem to drill down into the code far enough to find where it is all coming from.

From what I have found, TinyMCE is too integrated that I can't find where to strip it all out.
Nov 22, 2008 at 6:21 PM
Still looking for a developer to chime in on this.
Dec 28, 2008 at 10:12 PM
Edited Dec 29, 2008 at 5:54 AM
For anyone wanting to do this, here is my solution 
Dec 28, 2008 at 10:45 PM
Edited Dec 28, 2008 at 10:45 PM
The reason you likely aren't getting a ton of help on this was due to the fact that most of the senior level developers that hang around here, seem to use Windows Live Writer.  So not much concern for the built in editor.
Dec 28, 2008 at 11:58 PM
Don't really need any help anymore since I have solved this issue on my own. 

There were a couple of reasons I didnt want to use Live Writer (when I first posted this question)...
  1. because I cannot specify individual asset folders for each user
  2. because I could not properly format code (I see now there is a plug-in for LW on CodePlex that allows for code formatting).
Dec 29, 2008 at 5:49 AM
Edited Dec 29, 2008 at 5:57 AM
Hey Rock, I'd help but I haven't had a need to use a different editor. I could take a look at it right now and see what parts need changing and get back to you. I'm hoping it is not too difficult myself :)

nvm, I see you have it figured out, congrats!