You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Refactoring that simplifies finding things:
```md
## BEFORE
- Rich Text
- Overview
- Slate
- Lexical
- Lexical
- Overview
- Converters
- Migration
- Custom Features
## AFTER
- Rich Text
- Overview
- Converters
- Custom Features
- Migration
- Slate (legacy)
```
- It takes some of the spotlight away from Slate. Lexical is assumed as
the default editor and a banner at the beginning refers to the Slate
documentation.
- Various writing improvements.
PENDING:
- [ ] some 301 redirects needed
- `/docs/rich-text/lexical` to `/docs/rich-text/overview`
- `/docs/lexical/overview` to `/docs/rich-text/overview`
- `/docs/lexical/converters` to `/docs/rich-text/converters`
- `/docs/lexical/migration` to `/docs/rich-text/migration`
The Rich Text Field is a powerful way to allow editors to write dynamic content. The content is saved as JSON in the database and can be converted into any format, including HTML, that you need.
9
+
The Rich Text Field lets editors write and format dynamic content in a familiar interface.
10
+
The content is saved as JSON in the database and can be converted to HTML or any other format needed.
11
+
12
+
Consistent with Payload's goal of making you learn as little of Payload as possible, customizing
13
+
and using the Rich Text Editor does not involve learning how to develop for a Payload rich text editor.
14
+
Instead, you can invest your time and effort into learning the underlying open-source tools that will allow
|**`editor`**|Override the rich text editor specified in your base configuration for this field. |
39
+
|**`editor`**|Customize or override the rich text editor. [More details](/docs/rich-text/overview). |
51
40
|**`custom`**| Extension point for adding custom data (e.g. for plugins) |
52
41
|**`typescriptSchema`**| Override field type generation with providing a JSON schema |
53
42
|**`virtual`**| Provide `true` to disable field in the database. See [Virtual Fields](https://payloadcms.com/blog/learn-how-virtual-fields-can-help-solve-common-cms-challenges)|
@@ -79,4 +68,5 @@ The Rich Text Field inherits all of the default options from the base [Field Adm
79
68
80
69
## Editor-specific Options
81
70
82
-
For a ton more editor-specific options, including how to build custom rich text elements directly into your editor, take a look at either the [Slate docs](/docs/rich-text/slate) or the [Lexical docs](/docs/lexical/overview) depending on which editor you're using.
71
+
For a ton more editor-specific options, including how to build custom rich text elements directly into your editor,
72
+
take a look at the [rich text editor documentation](/docs/rich-text/overview).
0 commit comments