Skip to content

Commit 9498f66

Browse files
committed
Various changes and remove instructions related to premium plugins from the bundling with webpack guide
1 parent 7351dbf commit 9498f66

11 files changed

+18
-38
lines changed

modules/ROOT/pages/introduction-to-bundling-tinymce.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:description: Introduction to bundling TinyMCE with Webpack, Rollup.js, or Browserify.
55
:keywords: webpack, browserify, es6, rollup, commonjs, modules, tinymce, es2015
66

7-
The following guides and reference pages assist with bundling {productname} using a module loader, such as Webpack, Rollup.js, and Browserify. {productname} is a modular platform that is designed to lazy-load libraries when they are required. This allows developers to only bundle the components of {productname} that are required and keep the resulting bundle as small as possible.
7+
The following guides and reference pages assists you bundle {productname} into your project using a module bundler, such as Webpack, Rollup.js, and Browserify.
88

99
== Webpack
1010

modules/ROOT/pages/webpack-cjs-download.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ include::partial$module-loading/bundling-procedure-intro.adoc[]
1313

1414
This guide requires the following:
1515

16-
* Node.js and npm
16+
* Node.js and NPM
1717
* Basic knowledge of how to use https://webpack.js.org/[Webpack]
1818

1919
== Procedure

modules/ROOT/pages/webpack-cjs-npm.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
= Bundling an NPM version of TinyMCE with CommonJS and Webpack
2-
:navtitle: CommonJS and npm
1+
= Bundling TinyMCE from NPM using Webpack and CommonJS
2+
:navtitle: CommonJS and NPM
33
:description_short: Bundling an NPM version of TinyMCE in a project using CommonJS and Webpack
44
:description: Bundling an NPM version of TinyMCE in a project using CommonJS and Webpack
55
:keywords: webpack, commonjs, cjs, npm, modules, tinymce
6-
:installtype: an npm
6+
:installtype: an NPM
77
:bundler: https://webpack.js.org/[Webpack]
88
:syntax: http://www.commonjs.org/specs/modules/1.0/[CommonJS syntax]
99

@@ -13,7 +13,7 @@ include::partial$module-loading/bundling-procedure-intro.adoc[]
1313

1414
This guide requires the following:
1515

16-
* Node.js and npm
16+
* Node.js and NPM
1717
* Basic knowledge of how to use https://webpack.js.org/[Webpack]
1818
* (Optional: For premium features) The latest premium `+.zip+` bundle of TinyMCE for including premium plugins
1919

modules/ROOT/pages/webpack-es6-download.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ include::partial$module-loading/bundling-procedure-intro.adoc[]
1313

1414
This guide requires the following:
1515

16-
* Node.js and npm
16+
* Node.js and NPM
1717
* Basic knowledge of how to use https://webpack.js.org/[Webpack]
1818

1919
== Procedure

modules/ROOT/pages/webpack-es6-npm.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
= Bundling an NPM version of TinyMCE with ES6 and Webpack
2-
:navtitle: ES6 and npm
3-
:description_short: Bundling an NPM version of TinyMCE in a project using ES6 and Webpack
4-
:description: Bundling an NPM version of TinyMCE in a project using ES6 and Webpack
1+
= Bundling TinyMCE from NPM with Webpack using ES6 modules
2+
:navtitle: ES6
3+
:description_short: Bundling TinyMCE in a project using Webpack with ES6
4+
:description: Bundling TinyMCE in a project using Webpack with ES6
55
:keywords: webpack, es6, es2015, npm, modules, tinymce
6-
:installtype: an npm
6+
:installtype: an NPM
77
:bundler: https://webpack.js.org/[Webpack]
88
:syntax: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules[ES6+ syntax]
99

@@ -13,7 +13,7 @@ include::partial$module-loading/bundling-procedure-intro.adoc[]
1313

1414
This guide requires the following:
1515

16-
* Node.js and npm
16+
* Node.js and NPM
1717
* Basic knowledge of how to use https://webpack.js.org/[Webpack]
1818
* (Optional: For premium features) The latest premium `+.zip+` bundle of TinyMCE for including premium plugins
1919

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
The following procedure will assist with bundling {installtype} version of {productname} with {bundler} using {syntax}. The procedure assumes the user has experience with {bundler} and {syntax}. The following steps provide a working example for bundling a basic {productname} configuration with {bundler}, and provides links to reference pages at the end of the procedure for bundling additional customizations with the editor.
2-
3-
If {productname} will be used with a JavaScript framework (such as React.js, Angular, or Vue.js) the bundle will also require the relevant framework integration package (where available). For a list of supported framework integrations, see: xref:installation.adoc[Installing {productname}].
1+
The following procedure will assist with bundling {installtype} version of {productname} with {bundler} using {syntax}. The procedure assumes the user has experience with {bundler} and {syntax}. The following steps provide a working example for bundling a basic {productname} configuration with {bundler}.

modules/ROOT/partials/module-loading/bundling-webpack-cjs-npm_editor.adoc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ require('tinymce/plugins/table');
3030
require('tinymce/plugins/help');
3131
require('tinymce/plugins/help/js/i18n/keynav/en');
3232
33-
/* Import premium plugins from NPM */
34-
require('tinymce-premium/plugins/advcode');
35-
require('tinymce-premium/plugins/licensekeymanager');
36-
require('tinymce-premium/plugins/tinycomments');
37-
3833
/* content UI CSS is required (using the default oxide skin) */
3934
const contentUiSkinCss = require('tinymce/skins/ui/oxide/content.css');
4035
@@ -50,8 +45,7 @@ exports.render = () => {
5045
toolbar: 'bold italic | bullist numlist | link emoticons',
5146
skin: false,
5247
content_css: false,
53-
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString(),
54-
include::partial$module-loading/bundling-external-plugins-npm.adoc[]
48+
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString()
5549
});
5650
};
5751
----

modules/ROOT/partials/module-loading/bundling-webpack-cjs-zip_editor.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ require('../tinymce/js/tinymce/plugins/table');
3030
require('../tinymce/js/tinymce/plugins/help');
3131
require('../tinymce/js/tinymce/plugins/help/js/i18n/keynav/en');
3232
33-
include::partial$integrations/premium-plugins-bundling.adoc[]
34-
/* From ZIP download - download separately and add to /src/plugins */
35-
/* import './plugins/<plugincode>'; */
36-
3733
/* content UI CSS is required (using the default oxide skin) */
3834
const contentUiSkinCss = require('../tinymce/js/tinymce/skins/ui/oxide/content.css');
3935

modules/ROOT/partials/module-loading/bundling-webpack-es6-npm_editor.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ import 'tinymce/plugins/table';
3030
import 'tinymce/plugins/help';
3131
import 'tinymce/plugins/help/js/i18n/keynav/en';
3232
33-
include::partial$integrations/premium-plugins-bundling.adoc[]
34-
3533
/* content UI CSS is required (using the default oxide skin) */
3634
import contentUiSkinCss from 'tinymce/skins/ui/oxide/content.css';
3735
@@ -46,8 +44,7 @@ export function render () {
4644
toolbar: 'bold italic | bullist numlist | link emoticons',
4745
skin: false,
4846
content_css: false,
49-
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString(),
50-
include::partial$module-loading/bundling-external-plugins-npm.adoc[]
47+
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString()
5148
});
5249
};
5350
----

modules/ROOT/partials/module-loading/bundling-webpack-es6-zip_editor.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ import '../tinymce/js/tinymce/plugins/table';
3030
import '../tinymce/js/tinymce/plugins/help';
3131
import '../tinymce/js/tinymce/plugins/help/js/i18n/keynav/en';
3232
33-
include::partial$integrations/premium-plugins-bundling.adoc[]
34-
/* From ZIP download - download separately and add to /src/plugins */
35-
/* import './plugins/<plugincode>'; */
36-
3733
/* content UI CSS is required (using the default oxide skin) */
3834
import contentUiSkinCss from '../tinymce/js/tinymce/skins/ui/oxide/content.css';
3935
@@ -48,8 +44,7 @@ export function render () {
4844
toolbar: 'bold italic | bullist numlist | link emoticons',
4945
skin: false,
5046
content_css: false,
51-
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString(),
52-
include::partial$module-loading/bundling-external-plugins-zip.adoc[]
47+
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString()
5348
});
5449
};
5550
----

0 commit comments

Comments
 (0)