id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 12704,span tags are replicating in certain contexts,Mike,,"Hello, discovered weird behaviour in CKEditor 4.4.5 integration testing for our CMS. Our current legacy CMS has been responsible for over using span tags, so this isn't a case where it's manually entered HTML that can just be cleaned up in a jiffy, chances are hundreds of our customers will be applicable for this quirk if we roll out CKEditor in our CMS. The issue is when a span tag is surrounding a table tag. Example 1 - this code is pasted into the source view, switch back to wysiwyg view then back to source view: {{{
Content Here. Content Here.
}}} I did testing and narrowed it down to being a core editor behaviour that is separate from ACF. Example 2 - with ACF disabled {{{
Content Here. Content Here.
}}} Example 3 - With ACF disabled and removal of blank span tags disabled (CKEDITOR.dtd.$removeEmpty.span = 0;) {{{
Content Here. Content Here.
}}} Ideally, I would of expected that the default behaviour would be to remove a span tag completely when surrounding a table tag since as far as I know a td does not inherit styles from a span tag. Obviously besides the span tag replication, the issue for me is new styles are being applied to content. Examples 2 and 3 insert copies of the span tags in table cells, and Example 3 just seems to be even worse by inserting new span tags as well as making two blank ones. This is replicated for me in browsers FireFox 33.1, Chrome Version 39.0.2171.65, and IE 11 (haven't tried other browsers). I run windows 7 64 bit. ",Bug,closed,Normal,,General,,invalid,,