This repository was archived by the owner on Jun 24, 2025. It is now read-only.
to-do list block : custom text properties for checked item #699
Closed
LaurentAtJoes
started this conversation in
General
Replies: 2 comments
-
It can automatically apply a strikethrough to the text following a checked checkbox.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, this works perfectly fine, many thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm trying to add a bit of custom css to the default theme. Disclaimer: I'm no CSS expert.
I can't figure out how to set custom color and text-decoration only for CHECKED ITEMS .
If I try out this css code, it obviously sets those text properties for all items. (the part for the checked box background works well)
I assume there maybe a way similar to what is used for the checkbox itself (when checked), with the
>span[contenteditable=false]>input[checked]:before
part, but I have no idea how to write that.This is the desired result : (here with manual text formatting, for the example)

Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions