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

image #141

Open
nimisha744 opened this issue Jun 11, 2024 · 0 comments
Open

image #141

nimisha744 opened this issue Jun 11, 2024 · 0 comments

Comments

@nimisha744
Copy link

here when we select image, it gives base64 encoded images, =>https://prnt.sc/SIxn6GkzRUEm

how can we alse encode and upload actual path in this as i am sending this template in mail and mail is not suport the image

i did this
var editor = grapesjs.init({
container : '#gjs',
plugins: ['grapesjs-preset-newsletter'],
pluginsOpts: {
'grapesjs-preset-newsletter': {
importPlaceholder: '

Hello world!
',
cellStyle: {
'font-size': '12px',
'font-weight': 300,
'vertical-align': 'top',
background: 'rgb(111, 119, 125)',
margin: 0,
padding: 0,
},
assetManager: {
embedAsBase64: false,
}
},
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant