﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12656	Unnecessary space added to table class attribute	Marek Lewandowski	Marek Lewandowski	"It semms that an extra space is added at the begining of class attribute of tables in the editable.

1. Open any sample with CKEditor. (i.e. samples/replacebyclass.html)
2. Evaluate following code using JavaScript console:

{{{
(function() {
	var editor = CKEDITOR.instances.editor1;
	// When data is ready, log the class attribute for first table in editable.
	editor.once( 'dataReady', function() {
		console.log( '""%s""', editor.editable().findOne( 'table' ).getAttribute( 'class' ) );
	} );
	
	editor.setData( '<table><tr><td></td><td>foo</td></tr></table>' );
}());
}}}


**Expected result:**[[BR]]

Following value should be logged:

{{{
""cke_show_border""
}}}

**Current result:**[[BR]]

We have a class with an extra space at the beginning.

{{{
"" cke_show_border""
}}}


Additional info:[[BR]]
1. It's caused by the [https://github.com/ckeditor/ckeditor-dev/blob/52324d1c85891c1768e5417158120178fa783087/plugins/showborders/plugin.js#L103 showborders] plugin."	Bug	review	Normal		General				
