Fix #9639 Re-implement local image support for tinymce #10235
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add back in support for image insert in tinyMCE/moziak editors that was removed in a previous version as raised here: #9639
Description
Re-implement local image support for email compose & email templates
Remove deprecated file_browser_callback and use new TinyCME 5 file_picker_callback
Implement use of images_upload_handler to base64 encode uploaded image to that file no longer have to be saved on public to be used
Set HTML Purifier config value - URI.AllowedSchemes to allowing saving of Base64 images
Motivation and Context
Re-adds local image support to email modules
How To Test This
Load compose view or email template edit view
See the Image Insert button in the toolbar no longer only allows path to file support but upload image support too
Upload image and save template or send email from compose view and see the image save in Base64 to the email body
Types of changes
Final checklist