-
Notifications
You must be signed in to change notification settings - Fork 33
Issue with Rails 5 Turbolinks #9
Copy link
Copy link
Open
Description
I'm trying to use this gem with a project, and have found that it clashes with turbolinks in Rails 5. Here's a breakdown:
-
Enabling the gem and the requisite javascript works, and I'm able to call up an instance of the editor on a form element. So far, so good!
-
When turbolinks is enabled, I've found that the javascript for the editor doesn't load properly. It will always work on a secondary page refresh, but if you initially visit a new page, the editor stops working again.
-
When turbolinks is disabled, md-editor works automatically.
Is there anything that can be done to get this working properly in Rails 5?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels