*Why don't use style at display time? Why do you add them to text field?*
Thank you @Mohammad, I forgot to say that I need to change the value of the
tiddler and not only its appearance.
Thank you @BurningTreeC, your solutions works within the current prerelease!
On Tuesday, December 8, 2020
This could work:
\define line-through()
<$action-setfield text="~~$(text-field)$~~"/>
\end
\define uncheckactions()
<$set name="splitregexp" value="[\^~~][~~$]">
<$set name="splittext" value={{{
[[$(text-field)$]search-replace:g:regexp,[]] }}}>
<$action-setfield text=<>/>
\end
<$list
No, that doesn't work, sorry for my premature proposal
With the current prerelease you could do:
<$set name="splitregexp" value="[\^~~][~~$]">
<$action-setfield text={{{
[[$(text-field)$]search-replace:g:regexp,[]] }}}/>
BurningTreeC schrieb am Dienstag, 8. Dezember 2020 um 10:47:19 UTC+1:
>
Hi @kebi,
for the uncheckactions you could use something like:
\define uncheckactions()
<$set name="splitregexp" value="[\^~~][~~$]">
<$action-setfield text={{{ [[$(text-field)$]splitregexp] }}}/>
\end
kebi schrieb am Dienstag, 8. Dezember 2020 um 09:10:36 UTC+1:
> Hello everyone,
> I have a
Kebi,
Why don't use style at display time? Why do you add them to text field?
I believe you should separate these two content from style.
By the way the removesuffix/removeprefixx filter operators shall do what
you want
On Tuesday, December 8, 2020 at 11:40:36 AM UTC+3:30 kebi wrote:
> Hello
5 matches
Mail list logo