GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
After trying to re-compile the assets of development mode, the toolbar of the editor was doubled.
See screenshot: http://cl.ly/image/250A2n331V08
Anyone has addressed this issue before?
read more about dev\production.
You have duplicate files
i submit a pull request that will likely solve this issue...
Please do not precompile assets in dev environment. That will lead to duplication of initialization process and bootstrap-wysihtml5-all.js to be loaded twice.
Do it on deployment instead.
the pull request i submit should solve that problem and allow for validating asset precompilation in development.
If you have some reason to precompile assets in dev env(though I don't think that's the right way), you can set
config.assets.debug = false
in your app's config/environments/development.rb to prevent duplication.