Skip to content

Plugin: Seek to eliminate or substitute packages for globals references #15125

Open

Description

Related: #14837 (comment)
Meeting discussion (link requires registration): https://wordpress.slack.com/archives/C5UNMSU4R/p1556028118143500

There are multiple occurrences of window globals being referenced in code. These are incompatible for use in an npm context and should be eliminated or substituted with an equivalent package.

From https://wordpress.slack.com/archives/C5UNMSU4R/p1556030096195300 :

there are 4 packages only: postbox, media-views, editor and media-models

From https://wordpress.slack.com/archives/C5UNMSU4R/p1556030164197100 :

existing packages which depend on them are block-library and edit-post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Gutenberg PluginIssues or PRs related to Gutenberg Plugin management related efforts[Package] Block library/packages/block-library[Package] Edit Post/packages/edit-post[Type] Code QualityIssues or PRs that relate to code quality[Type] TaskIssues or PRs that have been broken down into an individual action to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions