spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
814 stars 257 forks source link

has to press reload browser to make tinymce items available #140

Closed widjajayd closed 10 years ago

widjajayd commented 10 years ago

thank you helpful gem, I have added to my project, but I have small problem each time I open page that has tinymce editor, the the text area shown blank I pressed reload / refresh browser then the tinymce button showned up

is there any tips to fix this (I'm using rails 4) thank you.

spohlenz commented 10 years ago

When the editor doesn't load, do you see any errors in your browser's console?

widjajayd commented 10 years ago

no error message , just blank on text area that has tinymce attached

widjajayd commented 10 years ago

I think I just fixed the issue, it's because of turbolink so for every link that point to the page that has tinymce attached I disable turbolink by this option 'data-no-turbolink' => true

<%= link_to "Create News", new_news_path, 'data-no-turbolink' => true %>

thank you for response, I close the issue

onkelyoo commented 9 years ago

I had the same issue. Your answer really helped me. Thank you!