Open BrunoQuaresma opened 8 years ago
As #28 mentioned, maybe try to reload ckeditor with script so that you don't need to do anything about turbolinks. something like...
<%= f.cktext_area :content, id: “ckeditor” %>
$(document).on(‘ready page:load’, function () {
CKEDITOR.replace(‘ckeditor’);
});
@BrunoQuaresma I think you need to add data-no-turbolink
to the link from which ckeditor is loading and not to the form-group
on which it is initialized. I tried following and its working fine for me
%li= link_to "New Recipe", new_recipe_path, data: {"no-turbolink" => true}
and I have ckeditor
on new recipe page. Hope this helps.
When i load a second page with ckeditor it is still broken.