I feel that the tiny_mce used by blogengine is not as good as FCKeditor, and I plan to replace it with FCKeditor.
Mu Zi blog.
To download FCKeditor, go to http://www.fckeditor.net/download. the previous steps are FCKeditor 2.6.3 and FCKeditor. net2.6.3.
After downloading the file, run the command "fredck. copy fckeditorv2.dll to blogengine. copy the FCKeditor folder to the blogengine directory. web directory. We recommend that you delete all files starting with the underscore "_" in the FCKeditor directory:
This is the FCKeditor directory after I delete unnecessary files. Next, configure the fckconfig. js file under the FCKeditor directory:
Find fckconfig. defaultlanguage and use fckconfig. defaultlanguage = 'zh-cn ';
Find VaR _ filebrowserlanguage and use VaR _ filebrowserlanguage = 'aspx ';
Find VaR _ quickuploadlanguage and use VaR _ quickuploadlanguage = 'aspx'
Open the blogengine. Web/admin/htmleditor. ascx file and add
<% @ Register assembly = " Fredck. fckeditorv2 " Namespace = " Fredck. fckeditorv2 " Tagprefix = " Fckeditorv2 " %>
For other changes, see the modified files:
<% @ Control Language = " C # " Autoeventwireup = " True " Codefile = " Htmleditor. ascx. CS " Inherits = " Admin_htmleditor " %>
<% @ Register SRC = " Tinymce. ascx " Tagname = " Tinymce " Tagprefix = " Uc1 " %>
<% @ Register assembly = " Fredck. fckeditorv2 " Namespace = " Fredck. fckeditorv2 " Tagprefix = " Fckeditorv2 " %>
<% -- < Uc1: tinymce ID = " Tinymce1 " Runat = " Server " /> -- %>
< Fckeditorv2: FCKeditor ID = " Tinymce1 " Runat = " Server " Height = " 400px " Width = " 660px " />
Modify the blogengine. Web/admin/htmleditor. ascx. CS file:
Public String Text
... {
Get
... {
//Return tinymce1.text;
ReturnTinymce1.value;
}
Set
... {
//Tinymce1.text = value;
Tinymce1.value=Value;
}
}
Public Short Tabindex
... {
// Get {return tinymce1.tabindex ;}
// Set {tinymce1.tabindex = value ;}
Get ... {Return 0;}
Set ... {}
}
Then, automatically save Js in blogengine. Web/admin/pages/add_entry.aspx.CodeComment out the modification.
This article describes how to change the blogengine editor in fantasy. net.