We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello everyone.
The problem: when I try to override editor contentsCss option to something non-default it doesn't go through sprockets properly. E.g.:
#config/initializers/rich.rb ..... config.editor[:contentsCss] = ActionController::Base.helpers.stylesheet_path('rich/custom.css') # => '/stylesheets/rich/custom.css'. expected '/assets/rich/custom-longhash.css'
The root of the problem: sprockets-rails adds digesting in "after_initialize" block so there is no digesting in initializers.
Am I missing something?
Possible solutions:
Rich.options
contentsCss == :default
contentsCss
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello everyone.
The problem:
when I try to override editor contentsCss option to something non-default it doesn't go through sprockets properly. E.g.:
The root of the problem: sprockets-rails adds digesting in "after_initialize" block so there is no digesting in initializers.
Am I missing something?
Possible solutions:
Rich.options
always pass contentsCss option to assets pipeline, not only whencontentsCss == :default
contentsCss
option in initializer and call it inRich.options
.The text was updated successfully, but these errors were encountered: