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개의 좋아요

현재 기능은 정상적으로 작동하고 있음에도 테마 컴포넌트에 대한 알림을 받고 있습니다. 다만, 이것이 시스템에 영향을 미칠지 여부는 불확실합니다.