Open mhhonline opened 4 years ago
Hi Mohammed,
This is a feature, also available as is in ngx-admin module, we have no changes in it for bundles. But anyway, I cannot reproduce the issue as you describing. could you try again on the latest code and share me a screenshot?
Thanks
hi Valentin,
here is the screen-shot. do you keep track of the version on any place? this is for backend "name": "bundle-node", "version": "1.0.0",
this is for frontend "name": "ngx-admin-bundle", "version": "3.2.1",
Hi @mhhonline! The issue is that TinyMCE tries to load skin by URL relative to the current path pages/editors/tinymce/assets/skins/...
when it should be /assets/skins/...
.
I've fixed this in ngx-admin, see the pull request. Until bundles are updated to a fixed version, you can implement the fix on your side.
You need to set an absolute path for skin_url
instead of relative. See changed files on ngx-admin pull request for a code sample how it could be done.
thanks a lot, I will merge this fix into bundles as well!
Greetings,
I have bought "ngx-admin Backend Bundle Node + E-comm"
on TinyMCE page: tinymce:1 Refused to apply style from 'http://localhost:4200/pages/assets/skins/lightgray/content.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Regards, Mohammed