# 自定义富文本编辑器

> Source: https://strapi.nodejs.cn/cms/admin-panel-customization/wysiwyg-editor

🌐 Change the default rich text editor

Strapi 的管理面板为 `richtext` 字段内置了 WYSIWYG Markdown 编辑器。你可以通过从市场安装第三方编辑器插件或创建自定义字段以实现更深入的集成来替换它。

🌐 Strapi's admin panel includes a built-in WYSIWYG markdown editor for `richtext` fields. You can replace it by installing third-party editor plugins from the Marketplace or creating a custom field for deeper integration.

:::note

本页涵盖用于 `richtext` 字段的 **所见即所得 Markdown 编辑器** 的自定义内容。对于 **Blocks** 字段（基于 JSON 的富文本编辑器），请参阅 [内容管理器 API：addRichTextBlocks](/cms/plugins-development/content-manager-apis#addrichtextblocks)。

🌐 This page covers customization of the **WYSIWYG markdown editor** used for `richtext` fields. For the **Blocks** field (the JSON-based rich text editor), see [Content Manager APIs: addRichTextBlocks](/cms/plugins-development/content-manager-apis#addrichtextblocks).

:::

Strapi 的 [管理面板](/cms/admin-panel-customization) 附带了一个内置的富文本编辑器。要更改默认编辑器，你有几种选择：

🌐 Strapi's [admin panel](/cms/admin-panel-customization) comes with a built-in rich text editor. To change the default editor, several options are at your disposal:

- 你可以通过访问 [Strapi](https://market.strapi.io/)安装第三方插件，例如用于CKEditor的插件。
- 你可以创建自己的插件来创建和注册一个完全自定义的所见即所得字段（参见 [自定义字段文档](/cms/features/custom-fields)）。

:::tip Next steps

评估编辑器时，建议先从 Marketplace 下载插件进行快速试用，如果需要更深入的集成（例如架构、验证或自定义工具栏行为），则可以考虑使用自定义字段。

🌐 When evaluating editors, start with a plugin from the Marketplace for a quick trial, then consider a custom field if you need deeper integration (schema, validation, or custom toolbar behavior).

:::
