Ending a link in IE no longer moves the cursor to the end of the line.
This commit is contained in:
parent
dcc42cf808
commit
8df8036255
|
@ -371,7 +371,7 @@ Editor.prototype.end_link = function () {
|
|||
// by appending a temporary span, selecting it, and then immediately removing it
|
||||
var span = this.document.createElement( "span" );
|
||||
span.innerHTML = " ";
|
||||
range.parentElement().parentNode.appendChild( span );
|
||||
range.parentElement().appendChild( span );
|
||||
range.moveToElementText( span );
|
||||
range.select();
|
||||
range.pasteHTML( "" );
|
||||
|
|
Reference in New Issue