mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-18 12:42:37 -05:00
bug fixed: use correct tag on first line
This commit is contained in:
parent
96bdda13ca
commit
11ff577168
3 changed files with 6 additions and 4 deletions
|
@ -1534,7 +1534,6 @@ function Squire ( doc ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
body.setAttribute( 'contenteditable', 'true' );
|
body.setAttribute( 'contenteditable', 'true' );
|
||||||
this.setHTML( '' );
|
|
||||||
|
|
||||||
// Remove Firefox's built-in controls
|
// Remove Firefox's built-in controls
|
||||||
try {
|
try {
|
||||||
|
@ -1543,6 +1542,8 @@ function Squire ( doc ) {
|
||||||
} catch ( error ) {}
|
} catch ( error ) {}
|
||||||
|
|
||||||
instances.push( this );
|
instances.push( this );
|
||||||
|
|
||||||
|
this.setHTML( '' );
|
||||||
}
|
}
|
||||||
|
|
||||||
var proto = Squire.prototype;
|
var proto = Squire.prototype;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -110,7 +110,6 @@ function Squire ( doc ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
body.setAttribute( 'contenteditable', 'true' );
|
body.setAttribute( 'contenteditable', 'true' );
|
||||||
this.setHTML( '' );
|
|
||||||
|
|
||||||
// Remove Firefox's built-in controls
|
// Remove Firefox's built-in controls
|
||||||
try {
|
try {
|
||||||
|
@ -119,6 +118,8 @@ function Squire ( doc ) {
|
||||||
} catch ( error ) {}
|
} catch ( error ) {}
|
||||||
|
|
||||||
instances.push( this );
|
instances.push( this );
|
||||||
|
|
||||||
|
this.setHTML( '' );
|
||||||
}
|
}
|
||||||
|
|
||||||
var proto = Squire.prototype;
|
var proto = Squire.prototype;
|
||||||
|
|
Loading…
Add table
Reference in a new issue