Skip to content

Fix bug in Editor.insertParagraphAtCursor() #205

@jgclark

Description

@jgclark

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.

Metadata

Metadata

Assignees

Labels

APIE-1Effort 1P-3Priority 3 (med-low)bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions