News Articles

FCK Editor Adds Lines in DNN 4.9

The FCK Editor adds a <p>&#160;</p> by default which causes some unexpected spacing in your HTML. 

The place I am most frustrated with this issue is in Dynamic Forms. No knock on DataSprings modules. It isn't their issue, but the spacing issues are most noticable in these modules because the header and footer from each field in the form has a p-tag surrounding each field. If you have margin or padding on your paragraph tags, then the fields go crazy.

I have two solutions to the issue.

Short-term resolution for Dynamic Forms. I've already experienced the issue and I just want to clean it up.

Update {objectQualifier}DynamicForms_Question Set QuestionHeader = '', QuestionFooter = ''

Intermediate resolution is to modify the config of the FCK editor

In the file Providers\HtmlEditorProviders\Fck\Custom\fckconfig.js

Change FCKConfig.FillEmptyBlocks = true; TO  ;FCKConfig.FillEmptyBlock; = false;

Comments

Currently, there are no comments. Be the first to post one!
Click here to post a comment