tiddly-gittly / tw-command-palette

Command palette Chinese translated
https://tiddly-gittly.github.io/tw-command-palette/
MIT License
4 stars 1 forks source link

It prevent [all[tiddlers+shadows]]+[fields[]]+[search[]] to work #24

Open linonetwo opened 3 months ago

linonetwo commented 3 months ago

can't search for field names

    return $tw.wiki.filterTiddlers(filter)
      .map((title) => $tw.wiki.getTiddler(title)?.fields)
      .filter(Boolean) as ITiddlerFields[];

only add this when search for tiddler, not field name of other things