> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/collaboration/live-edits.md).

# 实时编辑

开启实时编辑后，你组织中的成员可以在不创建 [更改请求的情况下编辑](/docs/documentation/zh/collaboration/change-requests.md)。在编辑内容时，你可以在右上角看到当前正在查看该章节的任何人的头像。

GitBook 支持实时协作，这意味着你可以与多个成员同时处理同一文档。

{% hint style="info" %}
**实时编辑已锁定** ，这是任何新建章节中的默认设置。要编辑内容，你需要 [创建更改请求](/docs/documentation/zh/collaboration/change-requests.md)，或切换开启实时编辑。
{% endhint %}

### 切换实时编辑模式

你可以通过点击在章节中切换实时编辑模式 **锁定实时编辑** 或 **解锁实时编辑** 在 [章节标题的](/docs/documentation/zh/zi-yuan/gitbook-ui.md#space-header) **操作菜单** <picture><source srcset="/files/HXFvPsjDqbaBEhpH0WKJ" media="(prefers-color-scheme: dark)"><img src="/files/950d2c0e21d4aa4c603de07a2bc5d827c0d5cbde" alt="The Actions menu icon in GitBook"></picture>.

当某个章节处于 **实时编辑** 模式时，章节标题将显示 **编辑器** 选项卡。当它处于 **已锁定的实时编辑** 模式时，章节标题将显示 **只读** 选项卡。当只读选项卡出现在章节标题中时，你需要打开更改请求才能编辑页面内容，或者解锁实时编辑。

### 何时可进行实时编辑 *不会* ？

以下情况下你无法解锁实时编辑：

1. 某个章节以 **公开** 或 **未列出** 可见性选项发布。
2. 某个章节已 [GitHub 或 GitLab 同步](/docs/documentation/zh/getting-started/git-sync.md) 启用。

{% hint style="info" %}
仅 [管理员和创建者](/docs/documentation/zh/collaboration/member-management/roles.md) 可以锁定或解锁实时编辑。
{% endhint %}


---

# 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://gitbook.com/docs/documentation/zh/collaboration/live-edits.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.
