Blocks: Image and Gallery blocks depend on deprecated RichText events #6944
Labels
[Priority] High
Used to indicate top priority items that need quick attention
[Type] Bug
An existing feature does not function as intended
Milestone
Related: #6286
Proposed fix: #6871
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 theRichText
component.We should either:
onFocus
handling toRichText
onFocus
Additionally, we should audit other blocks which may depend on this or other events no longer passed.
The text was updated successfully, but these errors were encountered: