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
RichText (Lexical) block sync — full bi-directional sync for blocks embedded inside Lexical richText fields
BetterPreviewLexicalFeature — server feature that stamps data-block-id onto every block decorator element in the Lexical editor DOM; exported from payload-better-preview
BetterPreviewClientFeature — client feature exported from payload-better-preview/lexical
data-preview-ignore attribute — add to any element (in preview or in admin custom block components) to prevent clicks on it from triggering scroll sync in either direction
New message types: scroll-to-richtext-block, focus-richtext-block, scroll-to-richtext-nested-block; optional richTextBlockId field on FocusBlockMessage
Fixed
Fixed live preview iframe detection for Payload 3.81+ which no longer sets the live-preview-iframe class on the iframe element; selector now checks ID first (iframe#live-preview-iframe) with fallbacks for older versions
Compatibility
BetterPreviewLexicalFeature requires Payload 3.81+ — on older versions the plugin component is rendered outside of the LexicalComposerContext during SSR and throws. The core block sync (hover, layout blocks, Admin ↔ Preview sync) still works on Payload ^3.0.0; only the new richText-block sync is gated on 3.81+.