ASPX templates
Version 5.x > ASPX templates > New Page CMSEditableRegion has single space View modes: 
User avatar
Member
Member
BitWise Blake - 8/29/2011 7:59:36 AM
   
New Page CMSEditableRegion has single space
This was just pointed out to me by a client, but when inserting a new page, all the CMSEditableRegion's within the page start with a single space ( ) in them. Is this something that can be configured somewhere to not happen, or is this something caused by our implementation? I've recreated this on 3 sites that are running various versions of 5.5R2 with ASPX Templates.

I'd rather they all come in completely empty if there is nothing in them to begin with. The solution for now is to delete the space obviously when inserting content, but if the client doesn't notice the space, then all their content starts off with a space in front.

User avatar
Member
Member
kentico_michal - 8/30/2011 3:24:10 AM
   
RE:New Page CMSEditableRegion has single space
Hello,

This behavior can be caused by FCK editor that is used in Kentico CMS. However, you can change it by modifying ~\CMSAdminControls\FCKeditor\fckconfig.js file, by setting FillEmptyBlocks property to false:

FCKConfig.FillEmptyBlocks = false ; (line about 85)

Best regards,
Michal Legen

User avatar
Member
Member
BitWise Blake - 8/30/2011 7:13:16 AM
   
RE:New Page CMSEditableRegion has single space
Michal, that works. Thank you for the help.