Closed brianmcmichael closed 8 years ago
A simple way to do this:
Add a class to the body tag "editor" and then do something like editor_btn { display: hidden; } body.editor editor_btn { display: block; }
.
The class is added to the body in the template if the option is enabled / available. Similar thing for #111
If the editor has not been configured, remove the button from the view.