diff --git a/service.js b/service.js index 3ac0f15..d66ff98 100644 --- a/service.js +++ b/service.js @@ -617,8 +617,8 @@ class BesCKService extends BesService { * @param {Element} el DOM element that was checked * @param {Array} matches Grammar mistakes */ - markProofed(el, matches) { - super.markProofed(el, matches) + markProofed(el, matches, mistakesCounter) { + super.markProofed(el, matches, mistakesCounter) // This is a solution for displaying mistakes in CKEditor. It is not the best solution, but it works for now. if (this.ckEditorInstance) window.dispatchEvent(new Event('resize'))