Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with count plugin #65

Open
JanHoosHU opened this issue Nov 30, 2018 · 0 comments
Open

Bug with count plugin #65

JanHoosHU opened this issue Nov 30, 2018 · 0 comments

Comments

@JanHoosHU
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant