Skip to content

Handle empty lines when converting to HTML #210

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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