> For the complete documentation index, see [llms.txt](https://godomall-help.nhn-commerce.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://godomall-help.nhn-commerce.com/design-editor-guide/efficiency/history.md).

# 17. 실행취소·재실행과 작업 히스토리

### ↩️ 작업 히스토리란?

작업 히스토리는 편집 도중의 변경 내역을 잠시 기억해 두었다가, 실수했을 때 되돌릴 수 있게 해주는 유용한 기능이에요. 위젯을 잘못 삭제하거나 배치를 바꿨을 때 이전 상태로 빠르게 복구할 수 있답니다.

<figure><img src="/files/WlBXvntmSS9cFAMzRqbz" alt=""><figcaption></figcaption></figure>

* **실행취소(Undo):** 직전 작업을 한 단계 되돌려줘요.
* **재실행(Redo):** 되돌린 작업을 다시 적용해 줘요.

상단 메뉴의 실행취소·재실행 아이콘을 클릭하거나 키보드 단축키를 이용해 사용할 수 있어요. \
되돌릴 작업이 있을 때만 아이콘이 활성화되고, 더 이상 되돌릴 내역이 없으면 회색으로 비활성화돼요.

> 💡 **TIP** 실행취소는 `Ctrl+Z`, 재실행은 `Ctrl+Y`예요. (맥은 `⌘+Z` / `⌘+Y`) 단축키 전체 목록은 [18. 키보드 단축키 활용하기](/design-editor-guide/efficiency/shortcuts.md)에서 확인하실 수 있어요.

### 📌 작업 히스토리와 저장은 별개예요

작업 히스토리에 기록되었다고 해서 서버에 바로 저장되는 것은 아니에요. 히스토리는 편집 중 실수를 되돌리기 위한 임시 기억일 뿐이며, 실제 보관은 \[게시하기]나 \[저장하기]를 눌러야 안전하게 이루어져요. 즉, 이 두 가지는 완전히 별개의 기능이랍니다.

* 히스토리는 브라우저에 잠시 보관되며, 최대 50단계까지 되돌릴 수 있어요.
* 과거 상태로 되돌린 뒤 새로 편집하면, 되돌렸던 이후의 재실행 내역은 사라지고 새 작업 기준으로 이어져요. \
  (일반 문서 편집기의 되돌리기와 같은 방식이에요.)

### ⚠️ 히스토리가 사라지는 경우

작업 히스토리는 임시 기억이기 때문에 아래와 같은 상황에서는 즉시 사라져요. 한 번 사라진 히스토리는 복구할 수 없으니 주의해 주세요.

<table><thead><tr><th width="200">상황</th><th>설명</th></tr></thead><tbody><tr><td>페이지 변경</td><td>작업 중인 페이지에서 다른 페이지로 이동할 때</td></tr><tr><td>브라우저 새로고침</td><td>F5, Ctrl+R 등으로 새로고침할 때</td></tr><tr><td>브라우저/탭 종료</td><td>브라우저 창이나 탭을 닫을 때</td></tr><tr><td>주소창 URL 변경</td><td>주소를 직접 입력하거나 외부 링크로 이동할 때</td></tr></tbody></table>

{% hint style="warning" %}
⚠️ **히스토리가 사라지기 전에 꼭 저장해 주세요.**

되돌릴 내역이 있는 상태에서 페이지를 벗어나려고 하면 안내 팝업이 나타나요. 저장하지 않은 작업이 있다면 \[취소]를 눌러 먼저 저장한 뒤 이동해 주시면 좋아요. 히스토리가 초기화된 뒤에는 실행취소로도 복구할 수 없답니다.
{% endhint %}

### 💡 자주 묻는 질문

<details>

<summary>실수로 삭제한 섹션·위젯을 되돌리고 싶어요.</summary>

상단 메뉴의 \[실행취소] 버튼이나 단축키 Ctrl+Z를 눌러 삭제 직전 상태로 되돌릴 수 있어요.&#x20;

단, 페이지를 이동하거나 새로고침하여 작업 히스토리가 초기화된 뒤에는 복구할 수 없으니 초기화되기 전에 되돌려 주세요.

</details>

<details>

<summary>실행취소가 더 이상 안 눌려요.</summary>

되돌릴 작업이 없으면 실행취소 아이콘이 회색으로 비활성화돼요.\
또한, 히스토리는 최대 50단계까지만 기억하므로 그보다 더 오래된 작업은 되돌릴 수 없답니다.

</details>

<details>

<summary>실행취소로 되돌리면 저장한 내용도 취소되나요?</summary>

작업 히스토리와 저장은 완전히 별개예요!&#x20;

실행취소는 에디터 화면의 상태만 되돌릴 뿐, 이미 저장되거나 게시된 서버 데이터를 직접 되돌리지는 않아요.

되돌린 상태를 실제 서버에 반영하려면 다시 한 번 저장이나 게시를 진행해 주세요.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://godomall-help.nhn-commerce.com/design-editor-guide/efficiency/history.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
