diff --git a/docs/contributors/coding-guidelines.md b/docs/contributors/coding-guidelines.md index 1b4524ffcf9ac7..5230d561fa98a5 100644 --- a/docs/contributors/coding-guidelines.md +++ b/docs/contributors/coding-guidelines.md @@ -57,7 +57,7 @@ Example: /** * External dependencies */ -import TinyMCE from 'tinymce'; +import moment from 'moment'; ``` #### WordPress Dependencies @@ -142,7 +142,7 @@ const name = 'Matt'; // Bad: const pet = 'Matt\'s dog'; -// Also bad (not using an apostrophe): +// Also bad (not using an apostrophe): const pet = "Matt's dog"; // Good: const pet = 'Matt’s dog'; diff --git a/packages/keycodes/src/index.js b/packages/keycodes/src/index.js index 45e5dba7076743..5465b9df19184d 100644 --- a/packages/keycodes/src/index.js +++ b/packages/keycodes/src/index.js @@ -39,7 +39,6 @@ export const F10 = 121; export const ALT = 'alt'; export const CTRL = 'ctrl'; -// Understood in both Mousetrap and TinyMCE. export const COMMAND = 'meta'; export const SHIFT = 'shift'; diff --git a/webpack.config.js b/webpack.config.js index 998cabd9c9ace6..c67b8c95c804dd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -48,7 +48,6 @@ const gutenbergPackages = Object.keys( dependencies ) const externals = { react: 'React', 'react-dom': 'ReactDOM', - tinymce: 'tinymce', moment: 'moment', jquery: 'jQuery', lodash: 'lodash',