Skip to content

Commit

Permalink
DOC-2368: delete plugin-file-plugins.adoc pages, update plugin.js for…
Browse files Browse the repository at this point in the history
… import code blocks.
  • Loading branch information
kemister85 committed Apr 15, 2024
1 parent c2fbb72 commit 6be1b3d
Show file tree
Hide file tree
Showing 58 changed files with 62 additions and 342 deletions.
58 changes: 29 additions & 29 deletions modules/ROOT/partials/integrations/react-quick-start.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -503,36 +503,36 @@ import './tinymce/icons/default/icons.min.js';
// Editor styles
import './tinymce/skins/ui/oxide/skin.min.css';
// importing the plugin js.
// importing the plugin index.js file.
// if you use a plugin that is not listed here the editor will fail to load
import './tinymce/plugins/advlist/plugin.min.js';
import './tinymce/plugins/anchor/plugin.min.js';
import './tinymce/plugins/autolink/plugin.min.js';
import './tinymce/plugins/autoresize/plugin.min.js';
import './tinymce/plugins/autosave/plugin.min.js';
import './tinymce/plugins/charmap/plugin.min.js';
import './tinymce/plugins/code/plugin.min.js';
import './tinymce/plugins/codesample/plugin.min.js';
import './tinymce/plugins/directionality/plugin.min.js';
import './tinymce/plugins/emoticons/plugin.min.js';
import './tinymce/plugins/fullscreen/plugin.min.js';
import './tinymce/plugins/help/plugin.min.js';
import './tinymce/plugins/image/plugin.min.js';
import './tinymce/plugins/importcss/plugin.min.js';
import './tinymce/plugins/insertdatetime/plugin.min.js';
import './tinymce/plugins/link/plugin.min.js';
import './tinymce/plugins/lists/plugin.min.js';
import './tinymce/plugins/media/plugin.min.js';
import './tinymce/plugins/nonbreaking/plugin.min.js';
import './tinymce/plugins/pagebreak/plugin.min.js';
import './tinymce/plugins/preview/plugin.min.js';
import './tinymce/plugins/quickbars/plugin.min.js';
import './tinymce/plugins/save/plugin.min.js';
import './tinymce/plugins/searchreplace/plugin.min.js';
import './tinymce/plugins/table/plugin.min.js';
import './tinymce/plugins/visualblocks/plugin.min.js';
import './tinymce/plugins/visualchars/plugin.min.js';
import './tinymce/plugins/wordcount/plugin.min.js';
import './tinymce/plugins/advlist';
import './tinymce/plugins/anchor';
import './tinymce/plugins/autolink';
import './tinymce/plugins/autoresize';
import './tinymce/plugins/autosave';
import './tinymce/plugins/charmap';
import './tinymce/plugins/code';
import './tinymce/plugins/codesample';
import './tinymce/plugins/directionality';
import './tinymce/plugins/emoticons';
import './tinymce/plugins/fullscreen';
import './tinymce/plugins/help';
import './tinymce/plugins/image';
import './tinymce/plugins/importcss';
import './tinymce/plugins/insertdatetime';
import './tinymce/plugins/link';
import './tinymce/plugins/lists';
import './tinymce/plugins/media';
import './tinymce/plugins/nonbreaking';
import './tinymce/plugins/pagebreak';
import './tinymce/plugins/preview';
import './tinymce/plugins/quickbars';
import './tinymce/plugins/save';
import './tinymce/plugins/searchreplace';
import './tinymce/plugins/table';
import './tinymce/plugins/visualblocks';
import './tinymce/plugins/visualchars';
import './tinymce/plugins/wordcount';
// importing plugin resources
import './tinymce/plugins/emoticons/js/emojis.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ require('../tinymce/js/tinymce/models/dom/model.js');
require('../tinymce/js/tinymce/skins/ui/oxide/skin.css');
/* Import plugins - include the relevant plugin in the 'plugins' option. */
require('../tinymce/js/tinymce/plugins/advlist/plugin.js');
require('../tinymce/js/tinymce/plugins/code/plugin.js');
require('../tinymce/js/tinymce/plugins/emoticons/plugin.js');
require('../tinymce/js/tinymce/plugins/advlist');
require('../tinymce/js/tinymce/plugins/code');
require('../tinymce/js/tinymce/plugins/emoticons');
require('../tinymce/js/tinymce/plugins/emoticons/js/emojis');
require('../tinymce/js/tinymce/plugins/link/plugin.js');
require('../tinymce/js/tinymce/plugins/lists/plugin.js');
require('../tinymce/js/tinymce/plugins/table/plugin.js');
require('../tinymce/js/tinymce/plugins/link');
require('../tinymce/js/tinymce/plugins/lists');
require('../tinymce/js/tinymce/plugins/table');
/* content UI CSS is required */
const contentUiSkinCss = fs.readFileSync('tinymce/js/tinymce/skins/ui/oxide/content.css', { encoding: 'UTF-8' });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ import 'tinymce/plugins/link';
import 'tinymce/plugins/lists';
import 'tinymce/plugins/table';
/* Import premium plugins */
/* Import premium plugins by replacing <plugincode> */
/* NOTE: Download separately and add these to /src/plugins */
/* import './plugins/checklist/plugin'; */
/* import './plugins/powerpaste/plugin'; */
/* import './plugins/powerpaste/js/wordimport'; */
/* import './plugins/<plugincode>'; */
/* content UI CSS is required */
import contentUiSkinCss from 'tinymce/skins/ui/oxide/content.css';
Expand All @@ -51,4 +49,4 @@ export function render () {
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString(),
});
};
----
----
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,17 @@ import '../tinymce/js/tinymce/models/dom/model';
import '../tinymce/js/tinymce/skins/ui/oxide/skin.css';
/* Import plugins */
import '../tinymce/js/tinymce/plugins/advlist/plugin';
import '../tinymce/js/tinymce/plugins/code/plugin';
import '../tinymce/js/tinymce/plugins/emoticons/plugin';
import '../tinymce/js/tinymce/plugins/advlist';
import '../tinymce/js/tinymce/plugins/code';
import '../tinymce/js/tinymce/plugins/emoticons';
import '../tinymce/js/tinymce/plugins/emoticons/js/emojis';
import '../tinymce/js/tinymce/plugins/link/plugin';
import '../tinymce/js/tinymce/plugins/lists/plugin';
import '../tinymce/js/tinymce/plugins/table/plugin';
import '../tinymce/js/tinymce/plugins/link';
import '../tinymce/js/tinymce/plugins/lists';
import '../tinymce/js/tinymce/plugins/table';
/* Import premium plugins */
/* NOTE: Download separately and add these to /src/plugins */
/* import './plugins/checklist/plugin'; */
/* import './plugins/powerpaste/plugin'; */
/* import './plugins/powerpaste/js/wordimport'; */
/* import './plugins/<plugincode>'; */
/* content UI CSS is required */
import contentUiSkinCss from '../tinymce/js/tinymce/skins/ui/oxide/content.css';
Expand All @@ -51,4 +49,4 @@ export function render () {
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString(),
});
};
----
----
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ import 'tinymce/plugins/table';
/* Import premium plugins */
/* NOTE: Download separately and add these to /src/plugins */
/* import './plugins/checklist/plugin.js'; */
/* import './plugins/powerpaste/plugin.js'; */
/* import './plugins/powerpaste/js/wordimport.js'; */
/* import './plugins/<plugincode>'; */
/* content UI CSS is required */
import contentUiSkinCss from 'tinymce/skins/ui/oxide/content.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ require('../tinymce/js/tinymce/models/dom/model.js');
require('../tinymce/js/tinymce/skins/ui/oxide/skin.css');
/* Import plugins - include the relevant plugin in the 'plugins' option. */
require('../tinymce/js/tinymce/plugins/advlist/plugin.js');
require('../tinymce/js/tinymce/plugins/code/plugin.js');
require('../tinymce/js/tinymce/plugins/emoticons/plugin.js');
require('../tinymce/js/tinymce/plugins/advlist');
require('../tinymce/js/tinymce/plugins/code');
require('../tinymce/js/tinymce/plugins/emoticons');
require('../tinymce/js/tinymce/plugins/emoticons/js/emojis');
require('../tinymce/js/tinymce/plugins/link/plugin.js');
require('../tinymce/js/tinymce/plugins/lists/plugin.js');
require('../tinymce/js/tinymce/plugins/table/plugin.js');
require('../tinymce/js/tinymce/plugins/link');
require('../tinymce/js/tinymce/plugins/lists');
require('../tinymce/js/tinymce/plugins/table');
/* content UI CSS is required */
const contentUiSkinCss = require('../tinymce/js/tinymce/skins/ui/oxide/content.css');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ import 'tinymce/plugins/table';
/* Import premium plugins */
/* NOTE: Download separately and add these to /src/plugins */
/* import './plugins/checklist/plugin'; */
/* import './plugins/powerpaste/plugin'; */
/* import './plugins/powerpaste/js/wordimport'; */
/* import './plugins/<plugincode>'; */
/* content UI CSS is required */
import contentUiSkinCss from 'tinymce/skins/ui/oxide/content.css';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,17 @@ import '../tinymce/js/tinymce/models/dom/model';
import '../tinymce/js/tinymce/skins/ui/oxide/skin.css';
/* Import plugins */
import '../tinymce/js/tinymce/plugins/advlist/plugin';
import '../tinymce/js/tinymce/plugins/code/plugin';
import '../tinymce/js/tinymce/plugins/emoticons/plugin';
import '../tinymce/js/tinymce/plugins/advlist';
import '../tinymce/js/tinymce/plugins/code';
import '../tinymce/js/tinymce/plugins/emoticons';
import '../tinymce/js/tinymce/plugins/emoticons/js/emojis';
import '../tinymce/js/tinymce/plugins/link/plugin';
import '../tinymce/js/tinymce/plugins/lists/plugin';
import '../tinymce/js/tinymce/plugins/table/plugin';
import '../tinymce/js/tinymce/plugins/link';
import '../tinymce/js/tinymce/plugins/lists';
import '../tinymce/js/tinymce/plugins/table';
/* Import premium plugins */
/* NOTE: Download separately and add these to /src/plugins */
/* import './plugins/checklist/plugin'; */
/* import './plugins/powerpaste/plugin'; */
/* import './plugins/powerpaste/js/wordimport'; */
/* import './plugins/<plugincode>'; */
/* content UI CSS is required */
import contentUiSkinCss from '../tinymce/js/tinymce/skins/ui/oxide/content.css';
Expand All @@ -51,4 +49,4 @@ export function render () {
content_style: contentUiSkinCss.toString() + '\n' + contentCss.toString(),
});
};
----
----

This file was deleted.

13 changes: 0 additions & 13 deletions modules/ROOT/partials/plugin-files/plugin-file-list-advcode.adoc

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions modules/ROOT/partials/plugin-files/plugin-file-list-code.adoc

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions modules/ROOT/partials/plugin-files/plugin-file-list-help.adoc

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions modules/ROOT/partials/plugin-files/plugin-file-list-link.adoc

This file was deleted.

Loading

0 comments on commit 6be1b3d

Please sign in to comment.