# 링크 클릭 시 페이지 강제 새로고침

**URL:** https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347
**Category:** Development
**Created:** [12월 20, 2023, 5:16오후 UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347 "2023-12-20T17:16:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Farhan\_Hossen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/farhan_hossen/32/344620_2.png) [@Farhan\_Hossen](https://meta.discourse.org/u/Farhan_Hossen)
#### Post date: [12월 20, 2023, 5:16오후 UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347/1 "2023-12-20T17:16:14Z")

</div>

여기서 텍스트를 변경하려고 합니다. 링크를 포함했습니다.

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/2/6/82621a80ccb678752feee654fc584dea9b3460f0.png)  
하지만 링크를 클릭하면 해당 페이지로 이동은 하지만, 원하지 않는 대로 모달과 편집기가 화면에 계속 남아 있습니다.  
 ![image](https://global.discourse-cdn.com/meta/original/4X/3/e/e/3eecb58b42592d040d8f04cd1f6f41d57456998c.png)  
따라서 이 링크를 클릭한 후 페이지를 새로고침하도록 강제하면 예상대로 작동할 것 같습니다. `target="_blank"`를 추가해 보았지만 도움이 되지 않았습니다. 아이디어를 환영합니다. 감사합니다.

---

<div class="post-metadata">

### Author: ![Farhan\_Hossen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/farhan_hossen/32/344620_2.png) [@Farhan\_Hossen](https://meta.discourse.org/u/Farhan_Hossen)
#### Post date: [12월 22, 2023, 4:07오전 UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347/2 "2023-12-22T04:07:42Z")

</div>

정말 이렇게 어려운 건가요 🤔

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [12월 22, 2023, 4:18오전 UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347/3 "2023-12-22T04:18:11Z")

</div>

> [@Farhan\_Hossen](#):
>
> 하지만 링크를 클릭하면 해당 페이지로 이동은 하는데, 원치 않는 모달과 에디터가 화면에 계속 남아 있어요

네, 의외로 구현하기가 까다롭고, 이를 위해 모달의 핵심 구현을 오버라이드하는 것은 가장 피하고 싶은 부분입니다.

지도를 받을 수 있는 분들에게 언급해 두었습니다. 다만 휴가철이라 답변이 조금 걸릴 수 있습니다.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [12월 22, 2023, 7:09오전 UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347/5 "2023-12-22T07:09:35Z")

</div>

안녕하세요 👋

도움이 될 수 있는 간단한 _트릭_이 있습니다. 이 트릭은 전체 페이지를 새로고침합니다.

이 모달이 정확히 어디에 표시되는지 확실하지는 않지만, 이런 식으로 하면 도움이 될 수 있습니다? 제 생각에는 이것이 Discourse에서 가능한 최대 수준일 것입니다. 🤔  
`<a href="../../../../../about">`

---

<div class="post-metadata">

### Author: ![Farhan\_Hossen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/farhan_hossen/32/344620_2.png) [@Farhan\_Hossen](https://meta.discourse.org/u/Farhan_Hossen)
#### Post date: [12월 22, 2023, 1:25오후 UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347/6 "2023-12-22T13:25:09Z")

</div>

오, 정말! 작동했어!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [1월 21, 2024, 1:26오후 UTC](https://meta.discourse.org/t/force-page-refresh-on-a-link-click/289347/7 "2024-01-21T13:26:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
