Files
payload/packages
Alessio Gravili d7a7fbf93a feat(richtext-lexical): expose client config to client features (#11054)
This PR exposes the `ClientConfig` as an argument to the lexical `ClientFeature`. This is a requirement for https://github.com/payloadcms/payload/pull/10905, as we need to get the ClientBlocks from the `clientConfig.blocksMap` if they are strings.

## Example

```tsx
export const BlocksFeatureClient = createClientFeature(
  ({ config, featureClientSchemaMap, props, schemaPath }) => { // <= config is the new argument
  	
  	// Return ClientFeature
})
```
2025-02-07 21:22:38 +00:00
..
2025-02-07 09:22:48 -05:00
2025-02-07 09:22:48 -05:00
2025-02-07 09:22:48 -05:00
2025-02-07 09:22:48 -05:00
2025-02-07 09:22:48 -05:00