discourse/plugins/discourse-templates
Keegan George b9dff97a1f
UX: add default button styling to new template button (#39132)
**Previously**, the `btn-default` class was missing from the "New topic
from template button", which resulteed in missing styling on the button.
Especially in Horizon theme.

**In this update**, the `btn-default` class is added to the button which
allows styles to be correctly applied and improve its presentation in
Horizon theme.

(before)
<img width="417" height="87" alt="Screenshot 2026-04-07 at 07 24 23"
src="https://github.com/user-attachments/assets/390da0ba-52e1-474c-8adc-8dd228df8484"
/>

(after)
<img width="425" height="86" alt="Screenshot 2026-04-07 at 07 24 14"
src="https://github.com/user-attachments/assets/b9d5c562-452a-4f7a-981b-f98c1e2d1e85"
/>
2026-04-07 07:43:04 -07:00
..
app FIX: Check topic visibility in templates use action (#37980) 2026-02-23 16:18:17 +08:00
assets UX: add default button styling to new template button (#39132) 2026-04-07 07:43:04 -07:00
config I18N: Update translations (#38272) 2026-03-10 09:52:23 +01:00
db/migrate
lib DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
spec DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
test/javascripts DEV: Update linting and run lttf (#37494) 2026-02-03 20:02:58 +01:00
about.json
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: Remove obsolete register_svg_icon checks (#35067) 2025-09-30 15:51:44 +02:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

Discourse Templates plugin

This plugin adds support for inserting a template into the composer window via a UI.

For more information please check the Official Plugin Topic & Documentation on Meta.

Installation

Follow the directions at Install a Plugin using https://github.com/discourse/discourse-templates.git as the repository URL.

Previous plugin

Discourse Canned Replies

License

GNU GPL v2