rejection due to inline style in email template

I just upload wordpress plugin on codecanyon. But got rejection due to i use inline css in email template functionality. I provide email template for sending email in customize design. But themeforest is not allowing to inline css. So how can i make email template for approve my plugin without inline css?

my error is :- No inline scripts or styles unless dynamic: Screen Shot on 2022-07-23 at 08-33-53.png - Droplr

Thanks is advanced for any help.

1 Like


the base code must be without inline css, you can use create classes for the default style and only when the user wants to customize it can have inline css, but it would not be in the plugin code directly.

I don’t know if you see what I mean.

I have the same question. How can I use custom js/css if the user configures the appearance and logic through widget settings?
Author, please, if you find the answer - share it :heart: