You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is related to rails-turbolinks.
When I open my page the first time, wysihtml5 run fine. After clicking some links and press back button, wysihtml5 in the original page stops working. It looks like this: ( can't type anything inside the editor )
Btw, I'm using the v0.3.0. Here is my js file. ( I included all the downloaded js files manually. Didn't remember where I downloaded them though. )
//= require ./wysihtml5.js
//= require ./wysihtml5x-0.4.3-toolbar.js
//= require ./templates.js
//= require ./bootstrap3-wysihtml5.js
//= require ./bootstrap-wysihtml5.en-US.js
//= require ./commands.js
The text was updated successfully, but these errors were encountered:
Hi, thx for the report. I am at the phone, so I will keep it short. First, I don't know anything about rails-turbolinks.
Second, is there any reason you can't upgrade to the latest release?
I think you are requiring wysihtml 2 times. Once the one without x, then the one with x and toolbar. Seems to be a pretty mess.
Get the latest and look into the examples folder if you are using amd.
This issue is related to rails-turbolinks.
When I open my page the first time, wysihtml5 run fine. After clicking some links and press back button, wysihtml5 in the original page stops working. It looks like this: ( can't type anything inside the editor )
Btw, I'm using the v0.3.0. Here is my js file. ( I included all the downloaded js files manually. Didn't remember where I downloaded them though. )
//= require ./wysihtml5.js
//= require ./wysihtml5x-0.4.3-toolbar.js
//= require ./templates.js
//= require ./bootstrap3-wysihtml5.js
//= require ./bootstrap-wysihtml5.en-US.js
//= require ./commands.js
The text was updated successfully, but these errors were encountered: