Hey guys,
tags and styling then i try to use
<%# Eval("NewsText") %> on a cms.News document. I am assuming this is some sort of default behavior, but how to i disable it, I don't want my text formatted the way it chooses, and I would rather avoid making a whole new document type just to stop it outputting tags around the content. Cheers.
tags around the content. Cheers.
-Craig
Whats most likely happening is the end user who is entering the WYSIWYG content is wrapping it with a P tag. I believe Kentico sets the default "return" action inside the WYSIWYG editor to be a break but there is a chance the config.js file was modified and set to return a P tag.
Hello,
could you please check the \CMSAdminControls\CKeditor\config.js file and change the following line to:
config.enterMode = CKEDITOR.ENTER_BR;
Best regards, Jan Hermann
Please, sign in to be able to submit a new answer.