From 647fa41636f1ece5dd5f467c13398dc85702656d Mon Sep 17 00:00:00 2001 From: Anton Timmermans Date: Fri, 12 Oct 2018 11:43:50 +0000 Subject: [PATCH] Script loader: Register @wordpress scripts. This allows the packages to be consumed by plugins and core itself. The code has been based on the work done in the Gutenberg plugin. We've added an array with all the packages and the vendor packages to loop through. This sets a convention so all packages will be registered in the same way. This array can eventually be generated by a webpack plugin. We need to register TinyMCE explicitly. Previously TinyMCE was used by inserting custom `