BlockNote
BlockNote copied to clipboard
Render to inline CSS instead of classes?
Is your feature request related to a problem? Please describe. I want to render content from this editor into an email. Email HTML markup does not support external CSS files, and requires inline styles for all rendered elements for maximum email client rendering compatibility.
The Markdown & HTML doc page should add a section on how to render the editor blocks to HTML with inline styles.
Describe the solution you'd like
I would like an option to render CSS styles inline with HTML markup instead of only CSS classes that require an external file to be loaded or other <style>
block to be defined on the page.
Describe alternatives you've considered There are no alternatives.
Additional context The current class-only approach to rendering prohibits editor markup from being used in emails and/or other embedded formats.