Changes between Initial Version and Version 2 of Ticket #16738
- Timestamp:
- Dec 13, 2016, 1:27:14 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16738
-
Property
Status
changed from
new
topending
-
Property
Status
changed from
-
Ticket #16738 – Description
initial v2 2 2 3 3 1. I have custom style link in my editor that I try to apply using editor.applyStyle(style)and my style is: 4 5 6 7 8 9 4 {{{ 5 const linkStyle: CKEDITOR.style = new CKEDITOR.style({ 6 name: 'link', 7 element: 'a', 8 type: CKEDITOR.STYLE_INLINE, 9 attributes: {'href': data, 'target': '_blank'} 10 10 }); 11 11 }}} 12 12 2. In edge, when I call this method, an exception gets thrown 13 13 "Unable to get property 'compare' of undefined or null reference" … … 17 17 18 18 at this line 19 {{{ 19 20 var currentPath = this.elementPath(); 20 if ( !currentPath.compare( this._.selectionPreviousPath ) ) { 21 21 if ( !currentPath.compare( this._.selectionPreviousPath ) ) { 22 22 ... 23 23 }}} 24 24 currentPath is undefined here, it tries to call compare and an exception gets thrown. 25 25