﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10924	Attributes and styles are stripped from block elements when they are pasted in the editor	Teresa Monahan		"To Reproduce:
1. Place the following in the Source view of the editor. This is just a styled div containing some text:
{{{
<div name=""styledDiv"" style=""padding-bottom: 4px; background-color: rgb(255,255,204); margin: 8px; padding-left: 4px; padding-right: 4px; padding-top: 4px; border-radius: 6px"">Sample text inside a styled Div</div>
}}}
2. Switch back to wysiwyg mode and click on the editor contents.
3. Select the div in the elementspath bar and use Ctrl+C to copy it.
4. Insert a paragraph below the div using the magicline feature.
5. Paste the div from your clipboard using Ctrl+V

Problems: 
- In FF, the div has been converted to a paragraph element and all attributes and styling have been removed.
- In Chrome, the div has been converted to a paragraph element and all attributes and styling except the background color have been removed.
- This usecase works well in IE.

'''Scenario 2:'''
1. Clear the editor contents and repeat steps 1-4 above.
2. Enter some text into the new paragraph created in step 4 above and press enter.
3. Paste the div contents from your clipboard again.

Problems: 
- In IE, the div has been converted to a paragraph element and all attributes and styling have been removed.
- In Chrome, the div has been converted to a paragraph element and all attributes and styling except the background color have been removed.
- This usecase works well in FF.

Note: The name attribute in the sample code provided will always be removed when ACF is enabled. However, the same results as outlined above also occur even when ACF is disabled.
"	Bug	confirmed	Normal		General	4.0 Beta		IBM	Satya Minnekanti Irina
