﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13282	Copy/paste in CKeditor adds junk styles (e.g. width) which breaks responsive design	Mojmír Ďurík		"Hi,

Let's say in ckeditor/contents.css are defined following styles:

body {
    width: 1000px;
}

.responsive-block {
    width: 50%;
}

Then if in ckeditor you copy (of course in visual mode, not from source code):

<div class=""responsive-block"">...</div>

and you paste it to some other place you will get:

<div class=""responsive-block"" style=""width:500px"">...</div>

This breaks responsive design. 

Provided example deals with width but junk styles are also added for font-size, line-height, ... which also could be changed by responsive styles.

I understand that in some circumstances this behaviour is desired but on other side there are circumstance when this behaviour breaks responsive design.
So if this is not considered as bug it would be great at least have possibility to ""paste without addition of explicit inline styles"" or ""paste unchanged"" and let the user decide what he will do.

Thank you.

Mojmir Durik"	Bug	closed	Normal		Core : Pasting		invalid		
