GrapesJS / preset-newsletter

GrapesJS preset configuration for the newsletter editor.
https://grapesjs.com/demo-newsletter-editor.html
BSD 3-Clause "New" or "Revised" License
189 stars 143 forks source link

image #141

Open nimisha744 opened 3 months ago

nimisha744 commented 3 months ago

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, } }, } });