Skip to content

Blocks: Image and Gallery blocks depend on deprecated RichText events #6944

Closed

Description

@aduth

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 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

  1. added
    [Type] BugAn existing feature does not function as intended
    on May 24, 2018
  2. added this to the 3.0 milestone on May 24, 2018
  3. self-assigned this
    on May 27, 2018
  4. added
    [Priority] HighUsed to indicate top priority items that need quick attention
    on May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Priority] HighUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions