Technical support This forum is closed.
Version 1.x > Technical support > CMSEditableRegions too small to contain whole FCKEditor View modes: 
User avatar
Member
Member
Ketzal - 2/9/2006 5:04:22 PM
   
CMSEditableRegions too small to contain whole FCKEditor
Hi,

While I don't think this is a Kentico's problem per se, I guess other persons ran into this problem.
I'm currently working on a website that contains several CMSEditableRegions that are rather small due to constraints on the minimum required resolution to see our site.
Since these regions have a width smaller than the FCKEditor toolbar, only a fraction of the editor is diplayed in edit mode. The hidden controls seem unreachable, and our users won't then be able to use them.
I couldn't figure how to access these controls, does anybody know a way or workaround to do this ?

Thanks in advance for the help.

User avatar
Member
Member
forrester - 2/10/2006 7:57:03 PM
   
Re: CMSEditableRegions too small to contain whole FCKEditor
Hi,

If you go into the fckconfig.js file, remove '/', in the "FCKConfig.ToolbarSets["Default"]" section.
This will cause auto-wrapping and should wrap according to your width.

Here is the path to the file in your project:
cmsdesk\aspnet_client\FCKEditor\fckconfig.js

Good luck.

forrester

User avatar
Member
Member
Ketzal - 2/14/2006 3:26:17 PM
   
Re: CMSEditableRegions too small to contain whole FCKEditor
Hi forrester and thanks for your answer.
I removed the '/' entry in the fckconfig.js, unfortunately with no success.
The FCKEditor Wiki says that '/' is used to force the next controls to be in a new row, so I can use them to manually change the toolbar's wrapping, but auto-wrapping would be far more convenient.
I didn't find any information on the wiki or the FCKEditor's forums regarding an auto-wrapping feature.

User avatar
Member
Member
forrester - 2/14/2006 3:46:44 PM
   
Re: CMSEditableRegions too small to contain whole FCKEditor
Actually...you're right.
I went back to mine and looked. I have my toolbar in sets and by removing '/' the whole set will wrap to the next line if it doesn't fit within the fixed width. I suppose you could put each tool in its own set such as ['Source'], ['Cut'], ['Copy']...which would create auto-wrap.

forrester

User avatar
Member
Member
Ketzal - 2/15/2006 2:25:21 PM
   
Re: CMSEditableRegions too small to contain whole FCKEditor
I tried your advice by setting the 'Style', 'FontFormat', 'FontName', and 'FontSize' controls in their own sets, and it works pretty well.
The problem wasn't that auto-wrapping isn't activated, but that it applies on sets rather than on individual controls. The Style & Font set is rather large, so the toolbar couldn't adjust its width below a given value. Moving these controls in individual sets allows the toolbar to adjust to smaller width.
Anyway, thanks again for your help. It solved my problem. :)