Closed jsandlund closed 9 years ago
Hi jsandlund,
I came across this same issue earlier in my development. Due to the (odd) way Turbolinks works, you need to do two things in order for Redactor to load first time:
Here is an example: https://github.com/Jellyfishboy/trado/blob/master/app/assets/javascripts/administration.js.erb
Hope this helps! Tom
This issue is solved in new 0.5.0 version of redactor-rails.
Hi,
Redactor doesn't display on first page-load when turbolinks is active. Upon page load, it properly renders. Disabling turbolinks on the "body" element fixes this issue.
Thoughts on the root cause? Form code below.
<%= form_for @article do |f| %>
<% end %>