Skip to content

Webpack: remove TinyMCE external dependency mapping#13971

Merged
ellatrix merged 1 commit intomasterfrom
fix/mce-external-mapping
Feb 20, 2019
Merged

Webpack: remove TinyMCE external dependency mapping#13971
ellatrix merged 1 commit intomasterfrom
fix/mce-external-mapping

Conversation

@ellatrix
Copy link
Copy Markdown
Member

Description

This is no longer used. Additionally removes an old irrelevant comment.

How has this been tested?

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.

@ellatrix ellatrix added the [Type] Code Quality Issues or PRs that relate to code quality label Feb 20, 2019
Copy link
Copy Markdown
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for cleaning it up 👍

@gziolo gziolo added this to the 5.2 (Gutenberg) milestone Feb 20, 2019
const externals = {
react: 'React',
'react-dom': 'ReactDOM',
tinymce: 'tinymce',
Copy link
Copy Markdown
Contributor

@youknowriad youknowriad Feb 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we use this in the classic block?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it directly uses the window global.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok that's fine for me.

@ellatrix ellatrix merged commit 1a0f88d into master Feb 20, 2019
@ellatrix ellatrix deleted the fix/mce-external-mapping branch February 20, 2019 13:04
@ellatrix
Copy link
Copy Markdown
Member Author

Thanks!

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

Labels

[Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants