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.