Changeset 627
- Timestamp:
- 05/25/09 16:31:56 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wymeditor/jquery.wymeditor.explorer.js
r625 r627 106 106 107 107 var container = this.findUp(this.container(), WYMeditor.LI); 108 if(container) 109 this._doc.execCommand(cmd); 108 if(container) { 109 var ancestor = container.parentNode.parentNode; 110 if(container.parentNode.childNodes.length>1 111 || ancestor.tagName.toLowerCase() == WYMeditor.OL 112 || ancestor.tagName.toLowerCase() == WYMeditor.UL) 113 this._doc.execCommand(cmd); 114 } 110 115 break; 111 116 default:
Note: See TracChangeset
for help on using the changeset viewer.