Skip to content

Bug with count plugin #65

@JanHoosHU

Description

@JanHoosHU

Hi!

We've got news wizard that uses the CKE Editor. Before you get there, you have to make a choice on what channel you want to post your news update.
When getting to the choice screen for the first time, the validation fires, no problem. Select a channel and move on. When you move back to the channel selection screen, and check off the selected channel (no channels selected), the validation does not fire up.
I've checked with a breakpoint. The validation still works, but does not display.
In the console there's an error with the CKE Editor that has to do with the count plugin. When I turn that off, and repeat the scenario the validation fires.

Here's a video showing the proces: https://www.youtube.com/watch?v=YOfd4Hug3uY&feature=youtu.be&hd=1

Here's the error:
Cannot set property 'innerText' of null TypeError: Cannot set property 'innerText' of null
at updateCounter (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/plugins/wordcount/plugin.js?t=F969:271:58)
at a. (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/plugins/wordcount/plugin.js?t=F969:363:13)
at a.q (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:24:224)
at a. (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:26:47)
at a.CKEDITOR.editor.CKEDITOR.editor.fire (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:27:242)
at b.setData (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:355:407)
at b. (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:362:32)
at a.q (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:24:224)
at a. (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:26:47)
at a.CKEDITOR.editor.CKEDITOR.editor.fire (http://localhost:8080/widgets/CKEditorForMendix/widget/lib/ckeditor.js?636791726601960922:27:242)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions