Keyboard Text Button Component

This is a small theme component that creates a button in the composer that on-click, will generate a <kbd>Text</kbd> in the composer.
Repository link:
https://github.com/Chaboi45/Discourse-Keyboard-Text/

Preview

Illustration

What it looks like:

On click:

Composer Preview:

If you are interested in using this theme component:

  • Copy https://github.com/Chaboi45/Discourse-Keyboard-Text/ then go to admin > customize > themes > import > web then paste the link.
  • Click Import
  • Select the main theme(s) that users can use and add the component to each theme and you’ll see the theme component in action!
「いいね!」 19

Discourseの最新バージョンで問題が発生しています。

[管理者通知] テーマ「Keyboard Text Button Component」(https://github.com/Chaboi45/Discourse-Keyboard-Text/issues/4#?safe_mode=no_themes)には、更新が必要なコードが含まれています。(ID: discourse.script-tag-discourse-plugin)(詳細はこちら

It needs to be upgrade for the latest discourse version · Issue #4 · Chaboi45/Discourse-Keyboard-Text · GitHub

「いいね!」 1