Closed SebastianMC closed 2 weeks ago
Testing - weird behavior of syntax check / popup. Steps: 1 - Introduced syntax error 2 - clicked ribbon to enable sort, syntax error popup + red ribbon icon appeared 3 - fixed the syntax error, clicked ribbon, the 2nd instance of syntax error popup appeared, ribbon btn remained red 4 - click ribbon again, this time correct behavior, sorting applied
At the same time, if I wait between steps 2 and 3, the duplicate error popup doesn't appear and the sorting is applied correctly in step 3, no need to step 4.
At glance it seems to be related to Obsidian's cache of metadata - need to wait with clicking ribbon after syntax change for Obsidian to re-read the note.
Testing - minor issue, the expected order is different (opposite) - why?