Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to hide templates from Atto plugin #43

Open
a-kempka opened this issue Jun 14, 2023 · 3 comments
Open

Option to hide templates from Atto plugin #43

a-kempka opened this issue Jun 14, 2023 · 3 comments

Comments

@a-kempka
Copy link

Yet again thanks a lot for your helpful plugin.

Is there any way to hide templetes in the Atto editor, i.e. to prevent templates from appearing as buttons in the Atto editor? When having a lot of templates I would like to hide some templates from other teachers. Some templates are meant to be inserted by specific personnel - it shouldn't be obvious from the GUI that these templates exist.

Either a configuration option ("hide template in the GUI") would be helpful or that templates, whose names are left blank, would not be shown in the atto plugin.

@justinhunt
Copy link
Owner

Well. There is this feature in the Poodll filter templates. I guess we never added it to Generico. I will do this, but I just can't say when. Soon I hope

@a-kempka
Copy link
Author

a-kempka commented Feb 6, 2024

until then we hide the buttons for the templates to be hidden in the theme's css:

.atto_generico_templatebutton_123 { display: none; }
However: Watch out, because the ids of the template can differ from the ids of the buttons

@justinhunt
Copy link
Owner

Sorry I never got back to this. I will try and do this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants