Template Button Relocation

AI-generated summary

Template Button Relocation

Aizada_M wants to move the “Insert Template” button from the gear dropdown to the end of the editor button section, making it more accessible to users. Lilly suggests that this may require a plugin, as the composer toolbar isn’t readily customizable. She points to the formatting toolbar plugin as a potential solution.

Aizada_M thanks Lilly for the response, but notes that they already have the formatting toolbar plugin installed and don’t know how to use it to move the template button. Moin shares a link to a post that may be helpful, which describes how to move the format text button from the gear menu to the composer toolbar.

Continuing the discussion from Discourse Templates:

Greetings! I want to allow users to use templates in the post editor, but it is very difficult to explain to everyone that the templates are inside the gear button :gear:, to most this button may seem like a setting for something. Is it possible to move the “Insert Template” button from the gear dropdown to the end of the editor button section using CSS. For example:

Or does it require more advanced programming knowledge? Tell me if this can be solved somehow :pray:

yes. If this is something you must have, I would post in Marketplace - the composer toolbar isn’t readily customizable. The gear is usually default for new buttons. I managed to do it with my Image Alignment and Grid component, so you could look at that for clues. I don’t remember offhand how I achieved it though.

It is possible you may need a plugin to do more composer toolbar manipulation- there is code in the formatting toolbar plugin that controls buttons, as well as some tips on controlling them I think.

I am very grateful for the response :raising_hands:

“I have this plugin installed, but unfortunately, I do not know how to use it to move the template button. Perhaps I will still have to post an announcement in Marketplace :disappointed_face:”

Maybe this post is also helpful: Why so many options in the gear editor menu? - #12 by Don
It moves the format text button from the gear menu to the composer toolbar.