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

Fix bug in Editor.insertParagraphAtCursor() #205

Open
jgclark opened this issue Jan 12, 2022 · 3 comments
Open

Fix bug in Editor.insertParagraphAtCursor() #205

jgclark opened this issue Jan 12, 2022 · 3 comments
Assignees
Labels
API bug Something isn't working E-1 Effort 1 P-3 Priority 3 (med-low)

Comments

@jgclark
Copy link
Collaborator

jgclark commented Jan 12, 2022

I've tried using Editor.insertParagraphAtCursor() for the first time, and it has a consistent problem of inserting one character too early. The docs say "Inserts a plain paragraph before the selected paragraph (or the paragraph the cursor is currently positioned)" but when the cursor is at the start of a new line it actually appends to the end of the previous line.

@jgclark jgclark added bug Something isn't working API labels Jan 12, 2022
@jgclark
Copy link
Collaborator Author

jgclark commented Jun 1, 2022

I'm just doing some house-keeping. Do you know if you've worked on this, @EduardMe?

@jgclark
Copy link
Collaborator Author

jgclark commented Jun 2, 2022

@mikeerickson I think you might have closed the wrong issue with this commit.

@jgclark jgclark reopened this Jun 2, 2022
@EduardMe
Copy link
Contributor

EduardMe commented Jun 2, 2022 via email

@jgclark jgclark added P-3 Priority 3 (med-low) E-1 Effort 1 labels Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API bug Something isn't working E-1 Effort 1 P-3 Priority 3 (med-low)
Projects
None yet
Development

No branches or pull requests

2 participants