NotePlan / NotePlan/plugins

sync lines and numbered lists bug

Offen
#308 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

When I use my new /add sync'd copy to note command on a note, if there any numbered list items in the note they are all converted to bullet lists items.
This shows it ... note that as soon as initiate the command (through a shortcut) and before I actually select the destination note, it changes the bullets.

In the code it is triggered by the combination of both these lines:

  note.addBlockID(para)
  note.updateParagraph(para)

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.

Rechercherichtung

Beginne beim Befehl /add sync'd copy to note und untersuche die Interaktion zwischen note.addBlockID(para) und note.updateParagraph(para). Reproduziere den Befehl mit einer Notiz, die nummerierte Listenelemente enthält, und überprüfe, dass die ursprüngliche Nummerierung vor und nach der Auswahl der Zielnotiz unverändert bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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