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
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
This report is about 3 bugs occuring in beta 11 payload-lexical plugin.
HorizontalRuleFeature export is missing
When starting lexical without feature list, Horizontal Rule is present.
However, this feature is not exported and cannot be added in configuration list.
Following error occurs: Module '"@payloadcms/richtext-lexical"' has no exported member 'HorizontalRuleFeature'
Fix: Should be very simple, appropriate export just needs to be added.
enabledHeadingSizes is not applied
In Heading feature
Link modal is broken This commit seems to introduced breaking change - link feature is no longer working, modal appears to be empty and POST request to form state is erroring out with message: Could not find field schema for given path
In request payload, pages.content.feature.link.fields schema is requested (where pages is collection).
In Beta 11, create new collection pages with richText field.
Try overriding lexicalEditor configuration by:
Passing HorizontalRuleFeature (can't import because export is missing)
Pass HeadingFeature({ enabledHeadingSizes: ['h2', 'h3', 'h4', 'h5'] }) and confirm in editor that h1 and h6 are still present.
With default configuration or with LinkFeature({ enabledCollections: ['page'] }), confirm modal is broken and request to get form state is erroring out.
Payload Version
beta 11
Adapters and Plugins
lexical
The text was updated successfully, but these errors were encountered:
Link to reproduction
No response
Describe the Bug
This report is about 3 bugs occuring in beta 11 payload-lexical plugin.
HorizontalRuleFeature export is missing
When starting lexical without feature list, Horizontal Rule is present.
However, this feature is not exported and cannot be added in configuration list.
Following error occurs: Module '"@payloadcms/richtext-lexical"' has no exported member 'HorizontalRuleFeature'
Fix: Should be very simple, appropriate export just needs to be added.
enabledHeadingSizes is not applied
In Heading feature
Link modal is broken
This commit seems to introduced breaking change - link feature is no longer working, modal appears to be empty and POST request to form state is erroring out with message: Could not find field schema for given path
In request payload, pages.content.feature.link.fields schema is requested (where pages is collection).
Another person reported first two issues here
To Reproduce
In Beta 11, create new collection pages with richText field.
Try overriding lexicalEditor configuration by:
HeadingFeature({ enabledHeadingSizes: ['h2', 'h3', 'h4', 'h5'] })
and confirm in editor that h1 and h6 are still present.Payload Version
beta 11
Adapters and Plugins
lexical
The text was updated successfully, but these errors were encountered: