Skip to content

Commit

Permalink
Review: ignore tests on edge, reword comment, fix manual test descrip…
Browse files Browse the repository at this point in the history
…tion.
  • Loading branch information
Mateusz Samsel committed Oct 4, 2017
1 parent 673e7a9 commit 37ea5d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/pastefromword/filter/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@
symbol = element.attributes[ 'cke-symbol' ];

element.forEach( function( node ) {
// Changing `match` -> `indexOf`, symbol is String not RegExp (#877).
// Since symbol may contains special characters we use simple indexOf instead of RegExp which is sufficient (#877).
if ( !removed && node.value.indexOf( symbol ) > -1 ) {

node.value = node.value.replace( symbol, '' );
Expand Down
4 changes: 3 additions & 1 deletion tests/plugins/pastefromword/generated/generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
testData: {
_should: {
ignore: {
'test Object word2013 datatransfer': CKEDITOR.env.edge
'test Object word2013 datatransfer': CKEDITOR.env.edge,
'test Unordered_list_special_char_bullet word2013 chrome': CKEDITOR.env.edge,
'test Unordered_list_special_char_bullet word2013 firefox': CKEDITOR.env.edge
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

----
1. Open browser console.
1. Open [file](../generated/_fixtures/Unordered_list_special_char_bullet/Unordered_list_special_char_bullet.docx) in Word.
1. Open [Unordered_list_special_char_bullet.docx](../generated/_fixtures/Unordered_list_special_char_bullet/Unordered_list_special_char_bullet.docx) in Word.
1. Select whole content in Word and copy it to clipboard.
1. Focus CKEditor.
1. Paste word content to editor.
Expand Down

0 comments on commit 37ea5d8

Please sign in to comment.