mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-05 06:10:07 -05:00
<br>s should be added to every block in Webkit/Gecko
This commit is contained in:
parent
3068c496c9
commit
f1a714a179
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ implement( Element, {
|
||||||
el.parentNode.insertBefore( doc.createTextNode( '' ), el );
|
el.parentNode.insertBefore( doc.createTextNode( '' ), el );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( !el.textContent && !el.querySelector( 'BR' ) ) {
|
else if ( !el.querySelector( 'BR' ) ) {
|
||||||
fixer = doc.createElement( 'BR' );
|
fixer = doc.createElement( 'BR' );
|
||||||
while ( ( child = el.lastElementChild ) && !child.isInline() ) {
|
while ( ( child = el.lastElementChild ) && !child.isInline() ) {
|
||||||
el = child;
|
el = child;
|
||||||
|
|
Loading…
Reference in a new issue