This DotNetNuke web.config code provides the specifications for both the FCK HTML Editor and the FTB HTML Editor.
Only one HTML Editor can be used by the portal at any given time. To switch between the HTML Editors, swap the commented and uncommented lines for "defaultProvider" in the code below.
THIS IS ONLY THE CODE NEEDED IN THE WEB.CONFIG FILE. YOU WILL ALSO NEED TO MAKE SURE THAT BOTH EDITORS ARE INSTALLED ON YOUR SYSTEM (DLLs, ETC.) For example, to install the FTB HTML Editor copy the HtmlEditorProviders\Ftb3HtmlEditorProvider folder to your installation, and copy the FreeTextBox.dll and DotNetNuke.Ftb3HtmlEditorProvider.dll to your bin folder. (Please check the appropriate web sites for the offical installation procedures)
<htmlEditor
defaultProvider="FckHtmlEditorProvider">
<!--
defaultProvider="Ftb3HtmlEditorProvider">
-->
<providers>
<clear/>
<add name="FckHtmlEditorProvider"
type="DotNetNuke.HtmlEditor.FckHtmlEditorProvider.FckHtmlEditorProvider, DotNetNuke.FckHtmlEditorProvider"
providerPath="~/Providers/HtmlEditorProviders/Fck/"
CustomConfigurationPath="~/Providers/HtmlEditorProviders/Fck/custom/FCKConfig.js"
EnhancedSecurityDefault="false"
SecureConfigurationPath="~/Providers/HtmlEditorProviders/Fck/custom/FCKConfigSecure.js"
ImageGalleryPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx"
ImageUploadPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx"
ImageAllowedFileTypes="gif,png,bmp,jpg"
FlashGalleryPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx"
FlashUploadPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx"
FlashAllowedFileTypes="fla,swf"
LinksGalleryPath="~/Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx"
DynamicStylesGeneratorPath="~/Providers/HtmlEditorProviders/Fck/FCKStyles.aspx"
DynamicStylesCaseSensitive="true"
DynamicStylesGeneratorFilter="controlpanel|filemanager|mainmenu|wizard"
StaticStylesFile="~/Providers/HtmlEditorProviders/Fck/FCKeditor/fckstyles.xml"
StylesDefaultMode="Static"
DynamicCSSGeneratorPath="~/Providers/HtmlEditorProviders/Fck/FCKCSS.aspx"
StaticCSSFile="~/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/css/fck_editorarea.css"
CSSDefaultMode="static"
spellCheck="ieSpell"
AvailableToolbarSkins="Office2003,Silver"
DefaultToolbarSkin="Office2003"
AvailableToolBarSets="DNNDefault,Default,NoGallery,Basic"
DefaultToolbarSet="DNNDefault"
DefaultImageGallerySkin="Default"
DefaultFlashGallerySkin="Default"
DefaultLinksGallerySkin="Default"
FCKDebugMode="false"
UseFCKSource="false"
OptionsOpenMode="ShowModalDialog"
CustomOptionsDialog="Admin" />
<!--
FTB options:
============
toolbarStyle="Office2003|OfficeXP|Office2000|OfficeMac" Sets the default FTB Toolbar style
enableProFeatures="[true|false]" Pro features require a license from FreeTextBox
or you may test them with localhost only
spellCheck="[{none}|IeSpellCheck|NetSpell]" IeSpellCheck is free for non-commercial use only
NetSpell requires some integration work
-->
<add
name="Ftb3HtmlEditorProvider"
type="DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider, DotNetNuke.Ftb3HtmlEditorProvider"
providerPath="~\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\"
toolbarStyle="Office2003"
enableProFeatures="false"
spellCheck=""/>
</providers>
</htmlEditor>