Skip to content

Commit

Permalink
Rewording.
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Oct 6, 2017
1 parent 0efa05d commit 36ec52e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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 ) {
// Since symbol may contains special characters we use simple indexOf instead of RegExp which is sufficient (#877).
// Since symbol may contains special characters we use `indexOf` (instead of RegExp) which is sufficient (#877).
if ( !removed && node.value.indexOf( symbol ) > -1 ) {

node.value = node.value.replace( symbol, '' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
----
1. Open browser console.
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. Select and copy whole content from Word.
1. Focus CKEditor.
1. Paste word content to editor.
1. Paste copied Word content into the editor.

### Expected
List is pasted to the editor.

### Unexpected
Error appears in console and list is not pasted to the editor.
Error appears in browser console and list is not pasted to the editor.

0 comments on commit 36ec52e

Please sign in to comment.