Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #9639 Re-implement local image support for tinymce #10235

Open
wants to merge 1 commit into
base: hotfix
Choose a base branch
from

Conversation

JackBuchanan
Copy link
Contributor

@JackBuchanan JackBuchanan commented Oct 15, 2023

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

  1. Load compose view or email template edit view

  2. See the Image Insert button in the toolbar no longer only allows path to file support but upload image support too

  3. 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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

@JackBuchanan JackBuchanan changed the title Fix #9639 - Re-implement local image support for tinymce Fix #9639 Re-implement local image support for tinymce Oct 27, 2023
@JackBuchanan JackBuchanan force-pushed the issue-9639 branch 2 times, most recently from 647b7cb to 873c6c4 Compare October 27, 2023 16:04
@serhiisamko091184 serhiisamko091184 added Status: Requires Code Review Needs the core team to code review Status:Assessed PRs that have been tested and confirmed to resolve an issue by a core team member Branch:Hotfix PR 4-8 Score given to PRs once assessed labels Oct 27, 2023
@serhiisamko091184
Copy link
Contributor

Hey @JackBuchanan,

thanks for your PR!

Regards,
Serhii

…il signatures

Implement email signatures tinymce config to match working implementation in Knowledge base module

Fix salesagility#9639 - Implement local image support for email compose view and campaign email templates

Updates to implement functionality into tinymce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Branch:Hotfix PR 4-8 Score given to PRs once assessed Status:Assessed PRs that have been tested and confirmed to resolve an issue by a core team member Status: Requires Code Review Needs the core team to code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants