Thank you for your help.
The extra TinyMCE options will show if I perform the steps below.
1.1. Edit the file public/legacy/modules/Emails/include/ComposeView/EmailsComposeView.js to the below.
1.2. Change:
menubar: false,
plugins: [‘link’],
toolbar: [‘fontselect | fontsizeselect | bold italic underline | forecolor backcolor | styleselect | outdent indent | link’],
To:
menubar: true,
plugins: [‘fullscreen code print preview searchreplace autolink directionality visualblocks visualchars image link media template codesample charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists textcolor wordcount imagetools contextmenu colorpicker textpattern’],
toolbar: [‘undo redo | fontselect | fontsizeselect | forecolor backcolor | bold italic underline | indent outdent bullist numlist | styleselect’],
1.3. Delete the folders cache/ and public/legacy/cache/
1.4. Run ./bin/console cache:clear in the terminal.
1.5. Run a ‘Quick Repair and Rebuild’
1.6. Open a private browser window or clear the browser cache.
1.7. Visit /#/emails/compose?return_module=Emails&return_action=index
1.8. Click on an email on the contact or account page. For some reason, you have to visit /#/emails/compose?return_module=Emails&return_action=index first for it to show on these pages.
The extra TinyMCE options will not show if I perform the steps below to make it upgrade-safe.
2.1. Copy the file public/legacy/modules/Emails/include/ComposeView/EmailsComposeView.js to public/legacy/custom/modules/Emails/include/ComposeView/EmailsComposeView.js.
2.2. Change:
menubar: false,
plugins: [‘link’],
toolbar: [‘fontselect | fontsizeselect | bold italic underline | forecolor backcolor | styleselect | outdent indent | link’],
To:
menubar: true,
plugins: [‘fullscreen code print preview searchreplace autolink directionality visualblocks visualchars image link media template codesample charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists textcolor wordcount imagetools contextmenu colorpicker textpattern’],
toolbar: [‘undo redo | fontselect | fontsizeselect | forecolor backcolor | bold italic underline | indent outdent bullist numlist | styleselect’],
2.3. Delete the folders cache/ and public/legacy/cache/
2.4. Run ./bin/console cache:clear in the terminal.
2.5. Run a ‘Quick Repair and Rebuild’
2.6. Open a private browser window or clear the browser cache.
2.7. Visit /#/emails/compose?return_module=Emails&return_action=index
2.8. Click on an email on the contact or account page. For some reason, you have to visit /#/emails/compose?return_module=Emails&return_action=index first for it to show on these pages.
Why does the copy of the file in the custom folder not overwrite the working file in SuiteCRM 8?