NotePlan / NotePlan/plugins

.prependParagraph() not respecting frontmatter

Aperta
#426 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@EduardMe ci sta già lavorando.

Dal 18/3/2023.

API bug
Lingua principale
JavaScript
Stelle
204
Fork
82
Merge medio
22h 27m
PR unite (30g)
3

Descrizione

In this note:

---
title: Filer TEST destination
tags: #test
---
## Project Tasks (H2)
* Existing task
...

When running note.prependParagraph("new task", "open")` I'd expect to get:

---
title: Filer TEST destination
tags: #test
---
* new task
## Project Tasks (H2)
* Existing task
...

But instead I get

---
* new task
title: Filer TEST destination
tags: #test
---
## Project Tasks (H2)
* Existing task
...

I.e. it isn't respecting the fact that there is frontmatter.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.