mirror of
https://github.com/Mail-0/Zero.git
synced 2026-03-03 02:17:01 +00:00
# Add image support to email composer This PR adds support for inline images in the email composer. Users can now drag and drop or paste images directly into the email body, which will be properly embedded in the outgoing emails. ## Key changes: - Added TipTap extensions for image handling and file handling - Modified the sanitize HTML function to process base64 images and convert them to CID references - Updated Google and Microsoft mail managers to handle inline images in emails <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for inserting and handling images (including drag-and-drop and paste) in the email composer. * Inline images are now properly embedded and displayed in sent emails and drafts. * **Bug Fixes** * Improved sanitization to allow safe image embedding while restricting allowed tags and attributes. * **Chores** * Updated and added dependencies to support image handling and improved email processing. * Removed the toast notification test route and related UI. * **Refactor** * Streamlined attachment processing and schema handling for better reliability and maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
26 lines
493 B
JSON
26 lines
493 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "tui",
|
|
"envMode": "loose",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build", "sentry:sourcemaps"],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"outputs": ["build/**", "!.react-router/**", "dist/**"]
|
|
},
|
|
"dev": {
|
|
"persistent": true,
|
|
"cache": false
|
|
},
|
|
"start": {
|
|
"cache": false
|
|
},
|
|
"lint": {
|
|
"outputs": []
|
|
},
|
|
"sentry:sourcemaps": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|