Problem with using tinymce
hofa77 opened this issue · comments
hofa77 commented
when I add tinymce to project
everything is woking fine without ssr
when I run " npm run ssr "
I get this error
`
TypeError: Cannot read property 'split' of undefined
at zw.toAbsPath (webpack:///./node_modules/tinymce/tinymce.min.js?:2:336063)
at new zw (webpack:///./node_modules/tinymce/tinymce.min.js?:2:334212)
at zw.toAbsolute (webpack:///./node_modules/tinymce/tinymce.min.js?:2:335336
)
`
in package.json
"angular2-tinymce": "^3.3.0", "tinymce": "^4.7.13",
hofa77 commented
I could solve my problem with using ngx-tinymce