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 }}
Repository navigation
Blocks: Image and Gallery blocks depend on deprecated RichText events #6944
Note: There's already a proposed fix in #6871, but marking this as a bug which ought to be resolved before a 3.0 release where the deprecated functionality is slated to be removed.
The changes in #6286 cause TinyMCE event forwarding to be deprecated. However, some core blocks (namely, Image and Gallery) depend on the onFocus event which is no longer explicitly called by the RichText component.
We should either:
Restore onFocus handling to RichText
Refactor Image and Gallery blocks to avoid relying on onFocus
Additionally, we should audit other blocks which may depend on this or other events no longer passed.
Activity