-
Notifications
You must be signed in to change notification settings - Fork 258
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
Problem with deploy on production #304
Comments
Well, there is no such thing as |
tinymce-rails 6.5.1 |
I solve this problem adding config.tinymce.install = :copy in config/application.rb |
Getting the same issue when running it with
And before that:
|
I'm seeing the same behavior in my test environments only. Specifically, my test fails with but testing locally, TinyMCE works fine.
|
Hey guys! I recently added tinymce-rails latest version to my project and it's working fine in the development environment. However, after deploying to staging or production stop working for some reason. At first, I tried using this approach: <%= tinymce_assets %>
#=> <script type="text/javascript" src="/assets/tinymce.js"> But it didn't work, so I changed to the this approach: added this line in my application.js //= require tinymce added this into my layout.erb <%= javascript_include_tag 'tinymce' %> and finally added this line to this config: Rails.application.config.assets.precompile += %w[
tinymce.js
] It works like a charm on development, but when it goes to staging/prod, the rich text doesn't load and throws those errors on console: Any idea on how to solve this? UPDATE 02-26-2024I had an issue with my webpacker config. After solving this issue, just run |
I use last version this gem. Tinymce work fine on stage. When i deploy on production, i get error:
rake aborted!
SassC::SyntaxError: Error: "calc(100vh - 110px)" is not a number for
min' on line 1:30571 of stdin, in function
min`from line 1:30571 of stdin
I found that this bad for my prefixer code in tinymce/skins/ui/oxide/skin.min.css. I try change version of prefixer, but is not solve problem. I have ruby version 2.6.0 , autoprefixer-rails 10.4.13, nodejs autoprefixer: "9.8.8".
Maybe somebody know how i can solve this problem.
The text was updated successfully, but these errors were encountered: