code: function(command) {
  				var listElm, listParent;
  
  				execNativeCommand(command);
  
  				// WebKit produces lists within block elements so we need to split them
  				// we will replace the native list creation logic to custom logic later on
  				// TODO: Remove this when the list creation logic is removed
  				listElm = dom.getParent(selection.getNode(), 'ol,ul');
  				if (listElm) {
  					listParent = listElm.parentNode;
  
  					// If list is within a text block then split that block
  					if (/^(H[1-6]|P|ADDRESS|PRE)$/.test(listParent.nodeName)) {
  						storeSelection();
  						dom.split(listParent, listElm);
  						restoreSelection();
  					}
  				}
  			}
docs: Override list commands to fix WebKit bug