提交 2fc70613 编写于 作者: C campaign

by zhanyi

上级 751d5b77
......@@ -448,7 +448,7 @@ UE.plugins['list'] = function () {
li = domUtils.findParentByTagName(rng.startContainer,'li',true);
if(parent && !li){
var html = parent.innerHTML.replace(new RegExp(domUtils.fillChar, 'g'),'');
if(/^\s*1\s*\./.test(html)){
if(/^\s*1\s*\.[^\d]/.test(html)){
parent.innerHTML = html.replace(/^\s*1\s*\./,'');
rng.setStartAtLast(parent).collapse(true).select();
me.__hasEnterExecCommand = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册