# 제목이 미리 채워지면 편집기에 포커스

**URL:** <https://meta.discourse.org/t/focus-the-editor-when-title-is-pre-filled/311449>\
**Category:** Development\
**Created:** [6월 10, 2024, 9:10오후 UTC](https://meta.discourse.org/t/focus-the-editor-when-title-is-pre-filled/311449 "2024-06-10T21:10:26Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Onlyanegg](https://avatars.discourse-cdn.com/v4/letter/o/e8c25b/32.png) [@Onlyanegg](https://meta.discourse.org/u/Onlyanegg)\
**Post date:** [6월 19, 2024, 9:41오후 UTC](https://meta.discourse.org/t/focus-the-editor-when-title-is-pre-filled/311449/10 "2024-06-19T21:41:47Z")

</div>

다시 한번 Arkshine님께 감사드립니다. 이제 discourse\_theme를 사용해 제 첫 번째 컴포넌트를 만들었습니다 🙂  
이 스레드를 찾은 분들을 위해, 저는 기본적으로 몇 가지 명령어만 실행하면 되었습니다:

```plaintext
gem install discourse_theme
npm install -g yarn
discourse_theme new <component-name>

```

그리고 javascripts/discourse/api-initializers/.js 파일을 편집합니다.  
그 후 GitHub에 업로드하면 설치하거나 공유할 수 있습니다.  
제 컴포넌트는 [여기](https://github.com/ihatepasswords-xyz/discourse_focus_editor_component)에 있습니다.  
파일을 수정할 때마다 서버의 버전이 자동으로 업데이트되는 기능이 있는 것 같습니다. 점점 더 복잡한 컴포넌트를 다루게 되면서 유용할 것 같네요.

감사합니다

---

_[View the full topic](https://meta.discourse.org/t/focus-the-editor-when-title-is-pre-filled/311449)._
