Skip to content

Commit

Permalink
fix:compute only the main body word count
Browse files Browse the repository at this point in the history
  • Loading branch information
Hufe921 committed Mar 19, 2023
1 parent 97b878e commit 4306d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/core/worker/WorkerManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class WorkerManager {
reject(evt)
}

const elementList = this.draw.getOriginalElementList()
const elementList = this.draw.getOriginalMainElementList()
this.wordCountWorker.postMessage(elementList)
})
}
Expand Down

0 comments on commit 4306d44

Please sign in to comment.