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’ 包含需要更新的代码。(ID:discourse.script-tag-discourse-plugin) (了解更多

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

1 个赞