Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a new line in the editor #80

Open
punit-kulal opened this issue May 20, 2020 · 5 comments · May be fixed by #81
Open

Adding a new line in the editor #80

punit-kulal opened this issue May 20, 2020 · 5 comments · May be fixed by #81

Comments

@punit-kulal
Copy link

When adding a new line into the editor, it adds an empty <p></p> tag instead of <br/> tag is this expected behaviour.. If so why??

@punit-kulal
Copy link
Author

punit-kulal commented May 20, 2020

@jpuri you can try doing the same here.Demo
After digging up the code a bit, I found that draft js adds an empty text block instead of \n thus, causing the conversion to perform incorrectly. Can I put up a pull request to resolve the same.

@jfpimentel
Copy link
Contributor

Hi @punit-kulal, I think you wanted to mention @jpuri? She's the owner of this repo 😉

@punit-kulal
Copy link
Author

Hi @punit-kulal, I think you wanted to mention @jpuri? She's the owner of this repo

my bad

@punit-kulal punit-kulal linked a pull request May 22, 2020 that will close this issue
@ghost
Copy link

ghost commented Oct 1, 2020

Any updates?

@punit-kulal
Copy link
Author

The repository is inactive, not being maintained anymore.
You can use my fork of the repository. If you want to

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants