Skip to content

Commit cbaebb7

Browse files
committed
DOC-3309: Remove comments, and mentions of compatibility issues with cross plugins.
1 parent 631c803 commit cbaebb7

File tree

3 files changed

+2
-67
lines changed

3 files changed

+2
-67
lines changed

modules/ROOT/examples/live-demos/full-featured/example.js

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -527,15 +527,11 @@ tinymce.init({
527527
plugins: [
528528
'ai', 'suggestededits', 'preview', 'powerpaste', 'casechange', 'importcss', 'searchreplace',
529529
'autolink', 'autosave', 'save', 'directionality', 'advcode', 'visualblocks', 'visualchars', 'fullscreen',
530-
/* Image plugin removed due to compatibility issues with the uploadcare plugin */
531-
/* 'image', 'editimage', tinydrive', */
532530
'link', 'math', 'media', 'mediaembed', 'codesample', 'table', 'charmap', 'pagebreak', 'nonbreaking',
533531
'anchor', 'tableofcontents', 'insertdatetime', 'advlist', 'lists', 'checklist', 'wordcount', 'tinymcespellchecker',
534532
'a11ychecker', 'help', 'formatpainter', 'permanentpen', 'pageembed', 'charmap', 'tinycomments', 'mentions',
535533
'quickbars', 'emoticons', 'advtable', 'footnotes', 'mergetags', 'autocorrect', 'typography', 'advtemplate', 'markdown',
536-
'revisionhistory', 'importword', 'exportword', 'exportpdf',
537-
/* Uploadcare plugin for image and video optimization */
538-
'uploadcare',
534+
'revisionhistory', 'importword', 'exportword', 'exportpdf', 'uploadcare',
539535
],
540536
menu: {
541537
tc: {
@@ -548,30 +544,13 @@ tinymce.init({
548544
toolbar: "undo redo | insertfile |importword exportword exportpdf | suggestededits | revisionhistory | aidialog aishortcuts | blocks fontsizeinput | bold italic | align numlist bullist | link uploadcare uploadcare-video | table math media pageembed | lineheight outdent indent | strikethrough forecolor backcolor formatpainter removeformat | charmap emoticons checklist | code fullscreen preview | save print | pagebreak anchor codesample footnotes mergetags | addtemplate inserttemplate | addcomment showcomments | ltr rtl casechange | spellcheckdialog a11ycheck",
549545
mobile: {
550546
plugins: 'ai suggestededits preview powerpaste casechange importcss searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker help formatpainter pageembed charmap mentions quickbars emoticons advtable footnotes mergetags autocorrect typography advtemplate uploadcare'
551-
/* The below plugins have been removed due to compatibility issues with the uploadcare plugin */
552-
/* 'image', 'editimage', 'tinydrive', */
553547
},
554-
555-
/* editimage_cors_hosts: ['picsum.photos'], */
556-
557-
/* Tiny Drive has been disabled due to compatibility issues with the uploadcare plugin */
558-
/*
559-
tinydrive_token_provider: (success, failure) => {
560-
success({ token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqb2huZG9lIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.Ks_BdfH4CWilyzLNk8S2gDARFhuxIauLa8PwhdEQhEo' });
561-
},
562-
tinydrive_demo_files_url: '{{imagesdir}}/tiny-drive-demo/demo_files.json',
563-
tinydrive_dropbox_app_key: 'jee1s9eykoh752j',
564-
tinydrive_google_drive_key: 'AIzaSyAsVRuCBc-BLQ1xNKtnLHB3AeoK-xmOrTc',
565-
tinydrive_google_drive_client_id: '748627179519-p9vv3va1mppc66fikai92b3ru73mpukf.apps.googleusercontent.com',
566-
*/
567548

568549
autosave_ask_before_unload: true,
569550
autosave_interval: '30s',
570551
autosave_prefix: '{path}{query}-{id}-',
571552
autosave_restore_when_empty: false,
572553
autosave_retention: '2m',
573-
/* Image plugin options have been disabled due to compatibility issues with the uploadcare plugin */
574-
/* image_advtab: true, */
575554
typography_default_lang: 'en-US',
576555
typography_langs: [
577556
'en-US',
@@ -635,19 +614,8 @@ tinymce.init({
635614
{ title: 'My page 1', value: 'https://www.tiny.cloud' },
636615
{ title: 'My page 2', value: 'http://www.moxiecode.com' }
637616
],
638-
/* Image plugin options have been disabled due to compatibility issues with the uploadcare plugin */
639-
/* image_list: [
640-
{ title: 'My page 1', value: 'https://www.tiny.cloud' },
641-
{ title: 'My page 2', value: 'http://www.moxiecode.com' }
642-
],
643-
image_class_list: [
644-
{ title: 'None', value: '' },
645-
{ title: 'Some class', value: 'class-name' }
646-
], */
647617
importcss_append: true,
648618
height: 600,
649-
/* image_caption: true, */
650-
/* quickimage removed from quickbars_selection_toolbar due to compatibility with uploadcare plugin */
651619
quickbars_selection_toolbar: 'bold italic | quicklink h2 h3 blockquote quicktable',
652620
noneditable_class: 'mceNonEditable',
653621
toolbar_mode: 'sliding',

modules/ROOT/examples/live-demos/full-featured/index.js

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -527,15 +527,11 @@ tinymce.init({
527527
plugins: [
528528
'ai', 'suggestededits', 'preview', 'powerpaste', 'casechange', 'importcss', 'searchreplace',
529529
'autolink', 'autosave', 'save', 'directionality', 'advcode', 'visualblocks', 'visualchars', 'fullscreen',
530-
/* Image plugin removed due to compatibility issues with the uploadcare plugin */
531-
/* 'image', 'editimage', tinydrive', */
532530
'link', 'math', 'media', 'mediaembed', 'codesample', 'table', 'charmap', 'pagebreak', 'nonbreaking',
533531
'anchor', 'tableofcontents', 'insertdatetime', 'advlist', 'lists', 'checklist', 'wordcount', 'tinymcespellchecker',
534532
'a11ychecker', 'help', 'formatpainter', 'permanentpen', 'pageembed', 'charmap', 'tinycomments', 'mentions',
535533
'quickbars', 'emoticons', 'advtable', 'footnotes', 'mergetags', 'autocorrect', 'typography', 'advtemplate', 'markdown',
536-
'revisionhistory', 'importword', 'exportword', 'exportpdf',
537-
/* Uploadcare plugin for image and video optimization */
538-
'uploadcare',
534+
'revisionhistory', 'importword', 'exportword', 'exportpdf', 'uploadcare',
539535
],
540536
menu: {
541537
tc: {
@@ -548,30 +544,13 @@ tinymce.init({
548544
toolbar: "undo redo | insertfile |importword exportword exportpdf | suggestededits | revisionhistory | aidialog aishortcuts | blocks fontsizeinput | bold italic | align numlist bullist | link uploadcare uploadcare-video | table math media pageembed | lineheight outdent indent | strikethrough forecolor backcolor formatpainter removeformat | charmap emoticons checklist | code fullscreen preview | save print | pagebreak anchor codesample footnotes mergetags | addtemplate inserttemplate | addcomment showcomments | ltr rtl casechange | spellcheckdialog a11ycheck",
549545
mobile: {
550546
plugins: 'ai suggestededits preview powerpaste casechange importcss searchreplace autolink autosave save directionality advcode visualblocks visualchars fullscreen link math media mediaembed codesample table charmap pagebreak nonbreaking anchor tableofcontents insertdatetime advlist lists checklist wordcount tinymcespellchecker a11ychecker help formatpainter pageembed charmap mentions quickbars emoticons advtable footnotes mergetags autocorrect typography advtemplate uploadcare'
551-
/* The below plugins have been removed due to compatibility issues with the uploadcare plugin */
552-
/* 'image', 'editimage', 'tinydrive', */
553547
},
554-
555-
/* editimage_cors_hosts: ['picsum.photos'], */
556-
557-
/* Tiny Drive has been disabled due to compatibility issues with the uploadcare plugin */
558-
/*
559-
tinydrive_token_provider: (success, failure) => {
560-
success({ token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqb2huZG9lIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.Ks_BdfH4CWilyzLNk8S2gDARFhuxIauLa8PwhdEQhEo' });
561-
},
562-
tinydrive_demo_files_url: '{{imagesdir}}/tiny-drive-demo/demo_files.json',
563-
tinydrive_dropbox_app_key: 'jee1s9eykoh752j',
564-
tinydrive_google_drive_key: 'AIzaSyAsVRuCBc-BLQ1xNKtnLHB3AeoK-xmOrTc',
565-
tinydrive_google_drive_client_id: '748627179519-p9vv3va1mppc66fikai92b3ru73mpukf.apps.googleusercontent.com',
566-
*/
567548

568549
autosave_ask_before_unload: true,
569550
autosave_interval: '30s',
570551
autosave_prefix: '{path}{query}-{id}-',
571552
autosave_restore_when_empty: false,
572553
autosave_retention: '2m',
573-
/* Image plugin options have been disabled due to compatibility issues with the uploadcare plugin */
574-
/* image_advtab: true, */
575554
typography_default_lang: 'en-US',
576555
typography_langs: [
577556
'en-US',
@@ -635,19 +614,8 @@ tinymce.init({
635614
{ title: 'My page 1', value: 'https://www.tiny.cloud' },
636615
{ title: 'My page 2', value: 'http://www.moxiecode.com' }
637616
],
638-
/* Image plugin options have been disabled due to compatibility issues with the uploadcare plugin */
639-
/* image_list: [
640-
{ title: 'My page 1', value: 'https://www.tiny.cloud' },
641-
{ title: 'My page 2', value: 'http://www.moxiecode.com' }
642-
],
643-
image_class_list: [
644-
{ title: 'None', value: '' },
645-
{ title: 'Some class', value: 'class-name' }
646-
], */
647617
importcss_append: true,
648618
height: 600,
649-
/* image_caption: true, */
650-
/* quickimage removed from quickbars_selection_toolbar due to compatibility with uploadcare plugin */
651619
quickbars_selection_toolbar: 'bold italic | quicklink h2 h3 blockquote quicktable',
652620
noneditable_class: 'mceNonEditable',
653621
toolbar_mode: 'sliding',

modules/ROOT/examples/live-demos/open-source-plugins/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const isSmallScreen = window.matchMedia('(max-width: 1023.5px)').matches;
44
tinymce.init({
55
selector: 'textarea#open-source-plugins',
66
plugins: [
7-
/* Open source plugins */
87
'accordion', 'advlist', 'anchor', 'autolink', 'autoresize', 'autosave', 'charmap', 'code',
98
'codesample', 'directionality', 'emoticons', 'fullscreen', 'help', 'image',
109
'importcss', 'insertdatetime', 'link', 'lists', 'media',

0 commit comments

Comments
 (0)