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

Enter behaviour has bug with HTML tags at the end #35

Open
agat opened this issue Mar 16, 2022 · 2 comments · May be fixed by #52
Open

Enter behaviour has bug with HTML tags at the end #35

agat opened this issue Mar 16, 2022 · 2 comments · May be fixed by #52
Labels
good first issue Good for newcomers

Comments

@agat
Copy link

agat commented Mar 16, 2022

Expected behaviour: If cursor located at the end of list item with link or another HTML tag, hitting Enter, empty new item are created.

 * List item with a <a href="#">link at end</a>| <- Cursor here...

After Enter hitting...

 * List item with a <a href="#">link at end</a>
 * |

New empty list item created.

Actual behaviour: Hitting Enter new list item are created with an empty tag at the end.

 * List item with a <a href="#">link at end</a>
 * | <a href="#"></a>

New list item with the empty tag at the end are created.

@benlammers
Copy link

+1

@ZRogerson
Copy link

Any movement on this or did anyone find a workaround?

@leorott leorott linked a pull request Mar 15, 2023 that will close this issue
@e11sy e11sy added the good first issue Good for newcomers label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants