Changes between Initial Version and Version 2 of Ticket #11649


Ignore:
Timestamp:
Mar 8, 2014, 2:52:21 PM (11 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11649

    • Property Version changed from 4.3.2 to
  • Ticket #11649 – Description

    initial v2  
    44
    55I would suggest below code:
    6 {code}
     6
     7{{{
    78        getParent: function( allowFragmentParent ) {
    89                var parent;
     
    1516                return ( parent && ( parent.nodeType == CKEDITOR.NODE_ELEMENT || allowFragmentParent && parent.nodeType == CKEDITOR.NODE_DOCUMENT_FRAGMENT ) ) ? new CKEDITOR.dom.node( parent ) : null;
    1617        },
    17 {code}
     18}}}
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy