Skip to content

Commit 62b078c

Browse files
committed
DOC-3329: Revert content-css partial and add licencekeymanager to external-plugin-npm file.
1 parent ba1ed37 commit 62b078c

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

modules/ROOT/pages/bundling-content-css.adoc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ const contentCSS = require('../tinymce/skins/content/example/content.css');
6565
----
6666
|===
6767

68-
[IMPORTANT]
69-
====
70-
The handling of content CSS files varies between bundling tools:
71-
72-
* **Webpack/Rollup**: Import the `.css` file as a variable and use `+content_style+` option (e.g., `+content_style: contentCSS.toString()+`).
73-
* **Vite**: Import the `.js` file as a side-effect and use `+content_css+` option with a string value (e.g., `+content_css: 'example'+`).
74-
75-
View the relevant guide for the required syntax at xref:introduction-to-bundling-tinymce.adoc[Bundling {productname} with a module loader].
76-
====
68+
IMPORTANT: The handling of content CSS files (such as `+content.css+` or `+content.min.css+`) varies between bundling tools. View the relevant guide for the required syntax at xref:introduction-to-bundling-tinymce.adoc[Bundling {productname} with a module loader].
7769

7870
include::partial$module-loading/bundling-content-css-files.adoc[]
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/* Optional: Configure external_plugins for lazy loading premium plugins
2-
* Remove the import or require statement for any premium plugin you want to lazy load,
3-
* then uncomment and configure external_plugins below:
1+
/* Alternatively to importing premium plugins directly, you can configure external_plugins to load premium plugins in a different location.
2+
* Remember to include the licensekeymanager plugin when using premium plugins.
43
*/
54
// external_plugins: {
6-
// 'advcode': '/node_modules/tinymce-premium/plugins/advcode/plugin.min.js',
7-
// 'tinycomments': '/node_modules/tinymce-premium/plugins/tinycomments/plugin.min.js'
5+
// 'advcode': '<path_to_premium_plugins>/advcode/plugin.min.js',
6+
// 'tinycomments': '<path_to_premium_plugins>/tinycomments/plugin.min.js'
7+
// 'licensekeymanager': '<path_to_premium_plugins>/licensekeymanager/plugin.min.js',
88
// },
99

0 commit comments

Comments
 (0)