Ticket #155: fck.entermode.lihandler.patch

File fck.entermode.lihandler.patch, 740 bytes (added by joelwreed@…, 13 years ago)
  • editor/_source/internals/fcklisthandler.js

    diff -up -urwbB /home/jreed/tmp/fck/2.4/fckeditor/editor/_source/internals/fcklisthandler.js editor/_source/internals/fcklisthandler.js
    old new var FCKListHandler =  
    102102                                        FCKDomTools.InsertAfterNode( eParent, eNextList ) ;
    103103                                }
    104104
    105                                 var eBlock = oDocument.createElement( 'p' ) ;   // TODO: Get from configuration.
     105                                var eBlock = oDocument.createElement( FCKConfig.EnterMode ) ;
    106106                                FCKDomTools.MoveChildren( eParent.removeChild( listItem ), eBlock ) ;
    107107                                FCKDomTools.InsertAfterNode( eParent, eBlock ) ;
    108108                               
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy