|
@@ -49,6 +49,7 @@ class EditableSpan extends Component{
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
txt = that.$span.current.innerText||that.$span.current.innerHTML;
|
|
txt = that.$span.current.innerText||that.$span.current.innerHTML;
|
|
that.$span.current.innerHTML = txt;
|
|
that.$span.current.innerHTML = txt;
|
|
|
|
+ that.moveEnd($(that.$span.current)[0]); //光标落到最后去
|
|
});
|
|
});
|
|
})
|
|
})
|
|
|
|
|