Skip to content

Loading…

bootstrap-wysihtml5-rails double toolbar #1296

Closed
lamguy opened this Issue · 5 comments

4 participants

@lamguy

Hello,

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?

@dexion

read more about dev\production.
You have duplicate files

@brewster1134

i submit a pull request that will likely solve this issue...

#1324

@mshibuya
Collaborator

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.

@mshibuya mshibuya closed this
@brewster1134

the pull request i submit should solve that problem and allow for validating asset precompilation in development.

@mshibuya
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.