-
Notifications
You must be signed in to change notification settings - Fork 134
Customizing toolbar #38
Comments
+1, Im trying the same. Seems that you can not just add the file "/app/admin/assets/javascripts/active_admin/editor/templates/toolbar.jst.ejs" and it will override the gems file. A configuration for this would be great :) |
I thought that it is a ruby on rails feature, but I was wrong. In fact, Spree has the same behaviors - it is possible to override templates in spree. |
I Think ist because the js witch requires the template is in the gem, so the gems assets have privileges. But Im investigating. It should be relatively easy to configure the template name, to set it to a own one. They do it already for the parser options. Hope this is working. |
This is our file, here we have to add the possibility to configure the template name for the toolbar template :) I will fork it and try it... https://github.com/ejholmes/active_admin_editor/blob/master/app/assets/javascripts/active_admin/editor/config.js.erb |
Ok i got it. look at the Pull Request #39. gem 'active_admin_editor', git: "[email protected]:edenspiekermann/active_admin_editor.git" |
Looks good enough, thank you for your work! Hope @ejholmes will take a look. |
@codingluke and @killthekitten did this get merged in? I wasn't sure looking through. |
+1 |
Is there any way to override an existing toolbar template or to use config for customization?
The text was updated successfully, but these errors were encountered: