mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Issue #12 has something todo with Webkit and Gecko
A DIV has no height, but we solve this with CSS :empty It's not perfect because we can still not focus when there's no BR. Will keep digging!
This commit is contained in:
parent
4257d9ca78
commit
0fde531dd3
2 changed files with 13 additions and 0 deletions
2
vendors/squire/build/squire-raw.js
vendored
2
vendors/squire/build/squire-raw.js
vendored
|
|
@ -283,6 +283,8 @@ const
|
|||
}
|
||||
} else if ( !node.querySelector( 'BR' ) ) {
|
||||
fixer = createElement( doc, 'BR' );
|
||||
// fixer = doc.createTextNode( ZWS );
|
||||
// fixer = doc.createTextNode( NBSP );
|
||||
while ( ( child = node.lastElementChild ) && !isInline( child ) ) {
|
||||
node = child;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue