obsidian-text-expand
obsidian-text-expand copied to clipboard
$searchresult sequence broken in obsidian 1.0
In new Obsidian release (+1.0) I tried to use $searchresult in a query but didn't obtain any results. Then saw this in the developer tools:
The error came from this line: https://github.com/mrjackphil/obsidian-text-expand/blob/d896e5aff557b37daa566c55c147a6b81fee5717/src/sequences/sequences.ts#L276
I changed the line to:
return results.vChildren.children.map(matchedFile => {
and that restored functionality.
Thank you, saved my confusion