Maybe I just haven't given RADEditor enough of a chance, but COME ON. Hitting enter causes a PAGE BREAK by default instead of a PARAGRAPH?

So, I've been painlessly changing my web.config from:


<htmlEditor defaultProvider="TelerikEditorProvider">

to

<htmlEditor defaultProvider="FckHtmlEditorProvider">

Saving, loading 'er up, and FCKEditor is back. Until today. When I loaded the changed web.config, I got this error when I tried to edit some text/html:

"Could not load RadEditor. Could not load RadEditor! Error while loading provider attributes: Object reference not set to an instance of an object."

Now, it is highly possible that I missed a step in my initial DNN installation that caused this to happen, but judging from the questions I've seen on the topic, I'm not the only one... SO ...

What I found in this post: http://www.dotnetnuke.com/Resources/Forums/forumid/108/postid/377722/scope/posts.aspx got me on the right track, but doesn't quite answer the question, because it again only says to change that one line in the web.config.

What I quickly noticed though, was that this poster's copy/paste of the web.config looked DIFFERENT than mine... Huh? My web.config was missing the whole "<add name... section for FckEditor. I pasted what was in this post:

  <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" />

and Voila - uploaded and FCKEditor is working again. Strange but true. Well not really strange, cuz clearly the web.config needs this piece to work, but strange as to why it wasn't there in the first place. Maybe I'll do some digging later, but for now wanted to post this in case it helps someone else.

Since the above will not likely copy/paste pretty, here's a text file of the code to change RADEditor to FckEditor.