GrapesJS / preset-newsletter

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

Import html code with javascript events #74

Closed Shah-ali closed 1 year ago

Shah-ali commented 5 years ago

<table class="table"><tr><td class="cell">Hello world!</td></tr></table><details/open/ontoggle=alert(1)>

Trying to import above html code. getting alert after click on import button. Can i delete all javascript events while importing the html in grapejs newsletter.

Please check attached screenshots.

Screenshot (108) Screenshot (107)

artf commented 1 year ago

Shouldn't be an issue anymore