Open pmario opened 2 years ago
Just found $unselectedText$
too. OP updated
@pmario I have the same problem in some of my own work.
We should consider deprecating older macros - for instance timeline as well - that use text substitution and filter steps as parameters once we have #6666 merged, which will also give us the flexibility of custom filter operators. We can provide newer optimized macros as an alternative.
!sort[]
and sort[]
Hi @pmario I think @saqimtiaz is correct, we will have to eventually deprecate core macros that require text substitution.
Hi @pmario I think @saqimtiaz is correct, we will have to eventually deprecate core macros that require text substitution.
hmmm. ... We do have a deprecated function since April 2018 ... but it is still part of the core.
hmmm. ... We do have a deprecated function since April 2018 ... but it is still part of the core.
That's the plan! The idea is that we gradually deprecate more and and more of the old stuff until we get to the point where it is worthwhile jettisoning the old stuff. The deprecation is gradual, but the jettisoning should be a big bang.
Describe the bug
As the title says: toc-macros have still 2 text substitution:
$sort$
and$unselectedText$
-- So caching is disabledIt is hard to fix, since the
sort
parameter is not a "valid filter" string by itself. It is only a partial eg:sort[title]
as shown in the docs@Jermolene @saqimtiaz ... Any ideas
Expected behavior
No response
To Reproduce
No response
Screenshots
TiddlyWiki Configuration
V 5.2.3-pre
Additional context
No response