# 서식지 단축키를 누른 후 Esc를 눌러도 서식지가 생성됩니다

**URL:** https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306
**Category:** Support
**Created:** [10월 18, 2021, 5:44오전 UTC](https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306 "2021-10-18T05:44:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)
#### Post date: [10월 18, 2021, 5:44오전 UTC](https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306/1 "2021-10-18T05:44:22Z")

</div>

네, 제목이 좀 길긴 한데 줄이기가 어려워서 죄송합니다.

토픽 북마크 단축키인 `b`를 누른 뒤 `esc`를 누르면에도 북마크가 저장됩니다.  
같은 방식으로 `cancel`을 클릭하면 저장되지 않습니다.

키보드 중심의 사용자들에게는 `esc`가 기본적으로 취소 기능을 의미하므로, 이 부분은 약간 불일치하는 것처럼 보입니다. 이것이 의도된 설계 결정인지, 아니면 다른 이유가 있는지 궁금합니다.

---

<div class="post-metadata">

### Author: ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)
#### Post date: [11월 2, 2021, 5:44오전 UTC](https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306/2 "2021-11-02T05:44:39Z")

</div>

이 글 좀 올려드리려고요 🙂

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [11월 2, 2021, 7:23오전 UTC](https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306/6 "2021-11-02T07:23:25Z")

</div>

마크, 보고해줘서 고마워. 이 문제를 확인해볼게. 고의적인 행동은 아니었던 것 같아.

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [11월 5, 2021, 3:15오전 UTC](https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306/7 "2021-11-05T03:15:02Z")

</div>

이 문제에 대한 수정 사항을 준비했습니다. 앞으로 하루 이틀 안에 병합될 것입니다:

> <https://github.com/discourse/discourse/pull/14823>
>
> Since db7be947df29bb2ab27dd3abd80e3b470dcb74e5 the functionality
> to not save a …bookmark when pressing ESC on the modal has been
> broken, because a new initiatedByESC event was introduced there
> in d-modal instead of clicking on the modal close button. This
> commit fixes the issue by adding an initiatedByESC property
> to onClose inside application.js, and checking for that OR
> initiatedByCloseButton in the bookmark modal.
> 
> See: https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306/2

수정: 병합되었습니다.

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [11월 5, 2021, 3:43오전 UTC](https://meta.discourse.org/t/hitting-the-bookmark-shortcut-and-then-hitting-esc-still-creates-a-bookmark/206306/8 "2021-11-05T03:43:31Z")

</div>


