Resolve status display issue for CKEditor instances
This commit is contained in:
parent
9680ece493
commit
2d1195ee96
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user