My html code gets changed when i switched from design to source view. I pasted the following code
<div>test</div> But when ichanged to design view and then cme again to source view code changed. Below is the changed code
<p>test</p> Why the div changed to p Please help me how to fix this..
setData()? Does the data within the normal non-CKEDITOR textarea look good, meaning that it might be a htmlencoding issue. I first thought it might be an AdvancedContentFilter issue, but if that's your config i doubt it. Still, I strongly recommend trying to setconfig.allowedContent = true;just to be sure, try that. Do you have a link you could give where I could see the problem?