Editor.summarize() now supports static note divs.
This commit is contained in:
parent
28b2dbe469
commit
4f5825c862
|
@ -963,6 +963,9 @@ Editor.prototype.shutdown = function( event ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Editor.prototype.summarize = function () {
|
Editor.prototype.summarize = function () {
|
||||||
|
if ( this.div )
|
||||||
|
return summarize_html( scrapeText( this.div ), this.title );
|
||||||
|
|
||||||
if ( this.document && this.document.body )
|
if ( this.document && this.document.body )
|
||||||
return summarize_html( scrapeText( this.document.body ), this.title );
|
return summarize_html( scrapeText( this.document.body ), this.title );
|
||||||
|
|
||||||
|
|
Reference in New Issue