cipchk / ngx-tinymce

Angular for tinymce
https://cipchk.github.io/ngx-tinymce/
MIT License
79 stars 15 forks source link

Cannot read property 'events' of null - (cipchk/ngx-editor v1.0.1) #5

Closed ishantha-dhanushka closed 6 years ago

ishantha-dhanushka commented 6 years ago

There is a issue in version 1.0.1 (Latest Version). I here attached a screen shots of web console. Also I have debugged the JS file. "this.router" is assigning a null value. And also version 1.0.0 is working correctly.

1 2

cipchk commented 6 years ago

You can import the RouterModule in to you root module.

I will next version fix this.

ishantha-dhanushka commented 6 years ago

I tried it using RouterModule in several times. But not successes.

cipchk commented 6 years ago

This is the minimum runnable version in stackblitz