Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCannot switch from basic editor to richtextCannot switch from basic editor to richtext
Previous
 
Next
New Post
8/6/2008 11:10 AM
 

Hi!

There is a serious bug in the 2.0.1 beta concerning switching of editors. When you have switched to the basic editor, you cannot switch back, because of a javascript error (FCKeditorAPI is undefined).

As far as I could tell, the FCKeditor control is initialized, but the containing panel is hidden. Nonetheless the control registers an OnSubmit statement, that tries to update FCKeditor's linked field. This statement fails and prohibits the postback.

Is there any workaround or will there be a timely fix for this?

Regards
Christoph


Christoph Herold
Visit my developer's blog: http://www.coeamyd.net/
 
New Post
8/6/2008 6:21 PM
 

Plase tell me what are you talking about when saying "basic editor"??  Basic toolbar in the FCKeditor?


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
8/7/2008 3:55 AM
 

I'm talking about the radio buttons above the texteditor: "Basic Text Box" and "Rich Text Editor". When you have switched to "Basic Text Box" (not FCKeditor but a simple <textarea>), switching back to "Rich Text Editor" fails as explained above.

Regards
Christoph


Christoph Herold
Visit my developer's blog: http://www.coeamyd.net/
 
New Post
8/7/2008 4:29 AM
 

As far as I've been able to analyze the situation, the problem is the RegisterOnSubmitStatement call in the Fckeditor control. The panel containing the RichTextEditor in the DotNetNuke.UI.UserControls.TextEditor control is hidden at latest in the control's OnLoad() method. It occurs in the SetPanels() method, which is, in turn, called by  optRender_SelectedIndexChanged() and OnLoad(). Thus, it should be possible to move the RegisterOnSubmitStatement call to the Fckeditor control's OnPreRender method and have it check, if any of the parent controls are not visible. If one isn't, the OnSubmitStatement should not be registered.

An alternative approach would be to perform a check in JS whether the FCKeditorAPI is defined. This is more of a "symptom-fighting" approach, but should also work.

Regards
Christoph


Christoph Herold
Visit my developer's blog: http://www.coeamyd.net/
 
New Post
8/7/2008 2:10 PM
 

I just test in 2 different sites and saw no problems.

Can you give more information about the DNN version you are testing in, ajax, IIS and other HOST settings?

B.T.W. Those radio buttons are part of the editor control in DNN and not the editor provider. So please also check the version of your current text/html module

Also, please give us detailed step by step instructions to reproduce the behavior. I will give priority to those tests because I want to continue in the round to 3.x


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCannot switch from basic editor to richtextCannot switch from basic editor to richtext


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out