Ticket #5465: 5465_2.patch
File 5465_2.patch, 572 bytes (added by , 14 years ago) |
---|
-
_source/plugins/enterkey/plugin.js
111 111 112 112 if ( !newBlock ) 113 113 newBlock = doc.createElement( blockTag ); 114 else if ( forceMode ) 114 // Force the enter block unless we're talking of a list item. 115 else if ( forceMode && !newBlock.is( 'li' ) ) 115 116 newBlock.renameNode( blockTag ); 116 117 117 118 // Recreate the inline elements tree, which was available