Bundling a .zip version of TinyMCE with CommonJS and Webpack
The following procedure will assist with bundling a
.zip version of TinyMCE with Webpack using CommonJS syntax. The procedure assumes the user has experience with Webpack and CommonJS syntax. The following steps provide a working example for bundling a basic TinyMCE configuration with Webpack, and provides links to reference pages at the end of the procedure for bundling additional customizations with the editor.
This guide requires the following:
Node.js and npm
Basic knowledge of how to use Webpack
Download and unzip the latest version of TinyMCE:
Add the following development dependencies to the project.
tinymceand the following development dependencies to the project.