First, let's briefly introduce the source of Rich Text Editor (rich texteditor) in dnn, which is also known as the online web editor. The first dnn version was integrated with freetextbox, however, due to the commercialization of freetextbox and its own freetextbox is not particularly useful, due to the open source nature of dnn, The FCKeditor is replaced. The following are some features of FCKeditor:
1) compatibility with multiple browsers, including IE 5.5 + (Windows), Firefox 1.0 +, Mozilla 1.3 +, and Netscape 7 +
2) supports XHTML 1.0
3) supports CSS
4) EDIT font attributes
5) cut, paste, undo, and repeat
6) paste the document from word and clear the format automatically
7) insert and upload images
8) edit a table
9) insert form fields and their child elements
10) supports context menu
11) customizable Toolbar
12) skin support
13) plugin mode support
14) spelling check Program
15) multi-language support and automatic user language detection.
16) Lightweight and fast
17) Automatic browser detection and customization
18) multiple types of support Programming Language Including ASP, CGI, PHP, ASP. NET, Java, ColdFusion, Python, and other scripts.
19) Support for developer installation and API Programming
20) Easy to use!
21) Open Source
Here we will focus on how to customize the FCKeditor of dnn. Before that, we will briefly describe the directory structure of FCKeditor in dnn. Currently, FCKeditor appears in dnn as an htmleditorproviders, that is, dnn has integrated FCKeditor and provided a default providersl for management. In the future, it will be convenient to replace other providers. I think this is the charm of providers in dnn, programmers who have developed dnn are clear, and the root directory of FCKeditor is $ rootwebsite/providers/htmleditorproviders/fck, the main directory related to how to customize FCKeditor is the default "Custom" directory added by the FCKeditor and dnn core. If you open these two directories, you will be clear, in fact, the FCKeditor directory contains all the default FCKeditor items, such as skins, plugins, and Lang (Language Pack). Custom is some of the modifications that dnn has customized for the default FCKeditor. for example, the default dnn editor toolbar attribute is added:
Fckconfig. toolbarsets [ " Dnndefault " ] = [
[ ' Source ' , ' Preview ' , ' - ' , ' Templates ' ],
[ ' Cut ' , ' Copy ' , ' Paste ' , ' Pastetext ' , ' Pasteword ' , ' - ' , ' Print ' , ' Spellcheck ' ],
[ ' Undo ' , ' Redo ' , ' - ' , ' Find ' , ' Replace ' , ' - ' , ' Selectall ' , ' Removeformat ' ],
[ ' Bold ' , ' Italic ' , ' Underline ' , ' Strikethrough ' , ' - ' , ' Subscript ' , ' Superscript ' ],
[ ' Orderedlist ' , ' Unorderedlist ' , ' - ' , ' Outdent ' , ' Indent ' ],
[ ' Justifyleft ' , ' Justifycenter ' , ' Justifyright ' , ' Justifyfull ' ],
[ ' Link ' , ' Unlink ' , ' Anchor ' ],
[ ' Image ' , ' Flash ' , ' Table ' , ' Rule ' , ' Smiley ' , ' Specialchar ' , ' Pagebreak ' ],
[ ' Style ' , ' Fontformat ' ], [ ' Fontname ' , ' Fontsize ' ],
[ ' Textcolor ' , ' Bgcolor ' ],
[ ' Fitwindow ' , ' - ' , ' About ' ]
];
More information... (http://www.dnnsun.com/Community/BaldwinsBlog/tabid/67/EntryID/32/Default.aspx)