Bug reports
Version 2.x > Bug reports > Automatic <p></p> in Editable text-Webparts and... View modes: 
User avatar
Member
Member
s.sabel@pc-soft.info - 5/31/2007 8:55:21 AM
   
Automatic <p></p> in Editable text-Webparts and...
Hello Support,

since the new version of Kentico we have following problem, for example with the "Editable text"-Webparts:

All text we will write in the Webpart will be automatic get an <p> in front and a </p> at end of the whole text.

This behavior is also in the textfields of articles etc. All text in their will get the <p></p>! Deleting this formation and save will bring the normal format but when the article or web-part will be shown or edited the next time the <p></p> will be back.

User avatar
Member
Member
kentico_petrpa - 6/29/2007 1:47:42 PM
   
RE:Automatic <p></p> in Editable text-Webparts and...
Hi,

You can configure the FCKEditor by edit the file "fckconfig.js" file located in "<webProject> -> CMSAdminControls->FCKeditor".
Find there "FCKConfig.EnterMode" flag and define there which tag you want to use for wraping.