payload icon indicating copy to clipboard operation
payload copied to clipboard

fix(richtext-lexical): lexical focus propagation

Open rolandsaven opened this issue 1 year ago • 1 comments

What?

Lexical FOCUS_COMMAND propagation

Why?

Other plugins unable to register their listeners.

How?

Changes return value to 'true'

Fixes #10049

rolandsaven avatar Dec 18 '24 15:12 rolandsaven

I wonder if we should do the same with the KEY_ESCAPE_COMMAND?

https://github.com/payloadcms/payload/pull/10051/files#diff-ff87460d7a0d0e891ddd89f97922daa43d359804ef7377a5440995eae01b5a0dL26-R34

rolandsaven avatar Dec 18 '24 15:12 rolandsaven

This was resolved by reverting the original PR as can be seen in the linked issue.

GermanJablo avatar Aug 21 '25 11:08 GermanJablo