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
### What?
This PR fixes a minor issue in `richtext-lexical` where editor
placeholders were not localized.
### Why?
To allow users to localize placeholders accordingly with their language
preferences in config.
### How?
By evaluating the placeholder in the editor RSC, if any is provided. The
`ContentEditable` component falls back to a default in the event that no
placeholder was provided as this was the existing behavior.
Fixes#10518
Describe the Bug.
Despite other Payload fields including localized placeholders, the
lexicalEditor
only supports a string in it'sadmin.placeholder
property.Reproduction Steps
add an object with locale keys to
lexicalEditor
'sadmin.placeholder
propertyEnvironment Info
The text was updated successfully, but these errors were encountered: