Skip to content

Render to inline CSS instead of classes? #375

Open
@vlucas

Description

@vlucas

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions