witten
/
luminotes
Archived
1
0
Fork 0

Editor.summarize() now supports static note divs.

This commit is contained in:
Dan Helfman 2009-01-09 13:12:03 -08:00
parent 28b2dbe469
commit 4f5825c862
1 changed files with 3 additions and 0 deletions

View File

@ -963,6 +963,9 @@ Editor.prototype.shutdown = function( event ) {
}
Editor.prototype.summarize = function () {
if ( this.div )
return summarize_html( scrapeText( this.div ), this.title );
if ( this.document && this.document.body )
return summarize_html( scrapeText( this.document.body ), this.title );