mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Update to latest
This commit is contained in:
parent
8684c2315b
commit
f2198ef2d0
2 changed files with 3 additions and 2 deletions
|
@ -1139,7 +1139,8 @@ var rangeDoesStartAtBlockBoundary = function ( range, root ) {
|
|||
// The cursor was right at the end of the document
|
||||
if ( !nodeAfterCursor ) {
|
||||
nodeAfterCursor = getNodeBefore( startContainer, startOffset );
|
||||
if ( node.nodeType === TEXT_NODE && node.length ) {
|
||||
if ( nodeAfterCursor.nodeType === TEXT_NODE &&
|
||||
nodeAfterCursor.length ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue