Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: rename rich text section to text editor #9954

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

GermanJablo
Copy link
Contributor

@GermanJablo GermanJablo commented Dec 13, 2024

Sorry for one more change in the structure. Maybe this one is not as important as the previous one, but I think it gives clarity since “Rich text” is the field, “Text Editor” is a property of the field. So, this PR corrects the semantics of the sections.

Since there are some more redirects to do, I took the opportunity to shorten the building custom features slug.

Required redirects:

  • /docs/rich-text/overview to /docs/text-editor/overview.
  • /docs/rich-text/converters to /docs/text-editor/converters.
  • /docs/rich-text/building-custom-features to /docs/text-editor/custom-features
  • /docs/rich-text/migration to /docs/text-editor/migration
  • /docs/rich-text/slate to /docs/text-editor/slate

@@ -86,7 +86,7 @@ The Blocks Field inherits all of the default options from the base [Field Admin

#### Customizing the way your block is rendered in Lexical

If you're using this block within the [Lexical editor](/docs/lexical/overview), you can also customize how the block is rendered in the Lexical editor itself by specifying custom components.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was wrong

@@ -1102,7 +1102,7 @@ plugins: [

## `@payloadcms/richtext-lexical`

If you have custom features for `@payloadcms/richtext-lexical` you will need to migrate your code to the new API. Read more about the new API in the [documentation](https://payloadcms.com/docs/lexical/building-custom-features).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was wrong

@@ -79,7 +79,7 @@ This allows you to add i18n translations scoped to your feature. This specific e

### Markdown Transformers#server-feature-markdown-transformers

The Server Feature, just like the Client Feature, allows you to add markdown transformers. Markdown transformers on the server are used when [converting the editor from or to markdown](/docs/lexical/converters#markdown-lexical).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant