This topic is locked

HTML Editor

5/20/2005 4:04:03 PM
ASPRunnerPro General questions
dcampbe11 author

Recently came accross a new open source editor at FCKEditor ( see FCKeditor ). It is a significant improvement over the current one installed with ASPRunner Pro and Net. Can you tell me how to replace your editor with this one? Or where are the calls for the existing editor placed that I have to examine?
Regards,
Richard

Sergey Kornilov admin 5/24/2005

Richard,
I plan to replace existing RTE editor with FCKEditor in 2-3 months.
Meanwhile you can try to plug it in manually.
The most important piece of code to modify located on include/aspfunctions.asp file (function BuildEditControl).

if UseRTE(sFieldName) then

sDefault = RTESafe(sDefault)

BuildEditControl = "<script language=""JavaScript"" type=""text/javascript"">" & vbcrlf &

"writeRichText('" & sFieldName & "', '" & sDefault & "', 520, 200, true, false);" & vbcrlf &


"</script>"

else


This code snippet needs to be replaced with code that creates FCKEditor.
Also in edit.asp and add.asp to update old RTE include files with new one.