NotePlan / NotePlan/plugins

Fix bug in Editor.insertParagraphAtCursor()

Offen
#205 3 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@EduardMe arbeitet bereits daran.

Seit 12.1.2022.

API bug E-1 P-3
Vorherrschende Sprache
JavaScript
Sterne
204
Forks
82
Ø Merge
22 Std. 27 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.