-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
Tiny MCE Alchemy Skin css doesn't not get compiled in production #3059
Comments
The skin does not need to be compiled anymore. Alchemy now includes a compiled css file that gets served by Sprockets. The file that is configured in the default config is at Do you have a custom Tinymce config? |
Thank you for your response. I am using Alchemy out of the box. I have created a monkey patch / rake task which solves the issue temporarily: namespace :assets do
end |
This is interesting, since we deal with this in https://github.com/AlchemyCMS/alchemy_cms/blob/7.3-stable/lib/non_stupid_digest_assets.rb called here alchemy_cms/lib/alchemy/engine.rb Line 20 in 115da13
|
Found the issue. Fix upcoming |
SecureRandom was added to the factory to ensure unique names during tests fix Validation error SecureRandom was added to the factory to ensure unique names during tests test develop add test for validation on name fix test fix lint running standardrb --fix fix lint delete duplicate Remove unused tinymce skin files We use the minified versions of these files. Add tinymce skin files to Sprockets manifest. We only tell sprockets to copy the compiled alchemy styles during precompilation, but we also need the Tinymce skin files. Closes AlchemyCMS#3059 Update all development npm dependencies (2024-10-03) Update tinymce package after rollup plugin update The commonjs plugin was updated and produced a new minified file
Steps to reproduce
I am using rails 7.2 and alchemy_cms (7.3.0). In production the I am getting a 404 not found failed to load resource: the server responded with a status of 404 () mydomain.com/assets/tinymce/skins/ui/alchemy/content.min.css and my domain.com/assets/tinymce/skins/ui/alchemy/skin.min.css
On my server the current/public/assets/tinymce directory does not include a skins directory...
The TinyMCE editor does not work...
my environments/production.rb
Expected behavior
TinyMCE does load as it is doing in development.
Actual behavior
Tell us what happens instead
System configuration
The text was updated successfully, but these errors were encountered: