Changes between Initial Version and Version 2 of Ticket #16738


Ignore:
Timestamp:
Dec 13, 2016, 1:27:14 PM (7 years ago)
Author:
Tade0
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16738

    • Property Status changed from new to pending
  • Ticket #16738 – Description

    initial v2  
    22
    331. I have custom style link in my editor that I try to apply using editor.applyStyle(style)and my style is:
    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'}
     4{{{
     5const linkStyle: CKEDITOR.style = new CKEDITOR.style({
     6        name: 'link',
     7        element: 'a',
     8        type: CKEDITOR.STYLE_INLINE,
     9        attributes: {'href': data, 'target': '_blank'}
    1010 });
    11 
     11}}}
    12122. In edge, when I call this method, an exception gets thrown
    1313"Unable to get property 'compare' of undefined or null reference"
     
    1717
    1818at this line
     19{{{
    1920var currentPath = this.elementPath();
    20                 if ( !currentPath.compare( this._.selectionPreviousPath ) ) {
    21 
     21        if ( !currentPath.compare( this._.selectionPreviousPath ) ) {
    2222...
    23 
     23}}}
    2424currentPath is undefined here, it tries to call compare and an exception gets thrown.
    2525
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy