Skip to content

Handle empty lines when converting to HTML #210

@viraj071

Description

@viraj071

I am using draft-convert to convert from/to HTML from draft-js. When we have empty lines, they are saved as empty paragraph tags(

) In HTML format. In many browsers(chrome for example), empty paragraph tags are not rendered on a new line. How do I get around this issue?

Question on SO: https://stackoverflow.com/questions/72556798/handle-empty-lines-in-draft-js-html-format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions