File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Fixed Issues:
18
18
* [ #13533 ] ( http://dev.ckeditor.com/ticket/13533 ) : Fixed: No progress during upload.
19
19
* [ #13680 ] ( http://dev.ckeditor.com/ticket/13680 ) : Fixed: The parser should allow ` <h1-6> ` to be a child of the ` <summary> ` element.
20
20
* [ #11724 ] ( http://dev.ckeditor.com/ticket/11724 ) : [ Touch devices] Fixed: Drop-downs often hide right after opening them.
21
+ * [ #13690 ] ( http://dev.ckeditor.com/ticket/13690 ) : Fixed: Copying content from IE to Chrome adding extra paragraph.
21
22
22
23
Other Changes:
23
24
Original file line number Diff line number Diff line change 2081
2081
}
2082
2082
2083
2083
this . _ = {
2084
- metaRegExp : / ^ < m e t a .* ?> / ,
2085
- bodyRegExp : / < b o d y (?: [ \s \S ] * ?) > ( [ \s \S ] * ) < \/ b o d y > / ,
2084
+ metaRegExp : / ^ < m e t a .* ?> / i ,
2085
+ bodyRegExp : / < b o d y (?: [ \s \S ] * ?) > ( [ \s \S ] * ) < \/ b o d y > / i ,
2086
2086
fragmentRegExp : / < ! - - (?: S t a r t | E n d ) F r a g m e n t - - > / g,
2087
2087
2088
2088
data : { } ,
Original file line number Diff line number Diff line change 1
- /* bender-tags: editor,unit,clipboard */
1
+ /* bender-tags: editor,unit,clipboard,13690 */
2
2
/* bender-ckeditor-plugins: toolbar,clipboard */
3
3
/* bender-include: _helpers/pasting.js */
4
4
@@ -298,6 +298,25 @@ bender.test( {
298
298
assert . areSame ( 'foo<b>bom</b>xbar' , dataTransfer . getData ( 'text/html' ) ) ;
299
299
} ,
300
300
301
+ 'test getData body filter uppercase tags' : function ( ) {
302
+ if ( ! CKEDITOR . plugins . clipboard . isCustomDataTypesSupported ) {
303
+ assert . ignore ( ) ;
304
+ }
305
+
306
+ var nativeData = bender . tools . mockNativeDataTransfer ( ) ;
307
+ nativeData . setData ( 'text/html' ,
308
+ '<HTML>' +
309
+ '<BODY foo="bar" bar=foo bom=\'bim\'>' +
310
+ '<!--StartFragment-->foo<B>bom</B>x' +
311
+ 'bar<!--EndFragment-->' +
312
+ '</BODY>' +
313
+ '</HTML>' ) ;
314
+
315
+ var dataTransfer = new CKEDITOR . plugins . clipboard . dataTransfer ( nativeData ) ;
316
+
317
+ assert . areSame ( 'foo<B>bom</B>xbar' , dataTransfer . getData ( 'text/html' ) ) ;
318
+ } ,
319
+
301
320
'test getData body filter for tables' : function ( ) {
302
321
if ( ! CKEDITOR . plugins . clipboard . isCustomDataTypesSupported ) {
303
322
assert . ignore ( ) ;
You can’t perform that action at this time.
0 commit comments