Is there a way to keep VML code in CSS to keep some of the styles away from Outlook?
Thanks for reporting this, @DMSlam. Great question about Is there a way to keep VML code in CSS to keep some of the styles away from Outlook?. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listene...
Read full answer below βQuestion
Hi. When I try to generate a newsletter template out of an existing HTML code with some VML wrapping <style> tags, the existing styling classes are processed well although any mentioning of such VML is removed from the Editor.
Can you please give a hint of a possible workaround? Is that even possible to have VML code in GrapesJS CSS Editor?
Answers (1)
Thanks for reporting this, @DMSlam. Great question about Is there a way to keep VML code in CSS to keep some of the styles away from Outlook?. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for th...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3383
Is it possible to include the style in the html?
I'm currently using grapesjs to build email templates, however when I import HTML with the <style> tag already inside, before this is store...
Issue #3600
[Question]: Event listener to visibility(eye) icon in the Layer Manager
I would like to listen to the eye icon in the layer manager from the editor, based on which, I need to write the custom styles. Is there an...
Issue #3832
The css classes are removed and the autogenerated ids for each html tags gets changed ( Example : ivj5m-2) after each reload
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link Not there De...
Issue #3304
How I can customize the UI of Grapesjs?
I want to customize the ui of Grapesjs but the js and css files are minified.Please tell me how can I do this? I just want to keep some spe...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βBrowse Plugin Categories
Jump directly to plugin category pages on the marketplace.