﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
323	why is there so much extra added for inline styling?	gregsmith		"OK,

This isn't so much a 'bug', but I didn't know where else to put it.

I've got the div tag in the 'protected tags' bit.

($oFCKeditor->Config['ProtectedTags'] = '<div>|<?php>|<?>'; this is how I'm doing it - is this right??)

I've also set FormatSource to false.

However, when I paste in a div with inline styling, it adds in loads of extra stuff that ruins it and isn't what I want at all.

I paste in this:

<div style=""padding:50px 15px; background:url(images/pic.jpg) no-repeat; width:215px; height:275px;"">Whatever</div>

When I switch to and from source, I've suddenly got this:

<div style=""padding: 50px 15px; background: transparent url(images/pic.jpg) no-repeat scroll 0% 50%; width: 215px; height: 275px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"">Whatever</div>

Now, why would I want all those mozilla filters, and why would I want 'transparent' put into the background bit, stopping IE from showing the background image on the div?  What's the point in that?  Also the 'scroll 0% 50%' - why add unnecessary bloat to the code, especially when I have no control over whether it adds it in or not?"	Bug	closed	Normal		General		wontfix		
