obsidian-columns icon indicating copy to clipboard operation
obsidian-columns copied to clipboard

Checkboxes don't work

Open benlug opened this issue 3 years ago • 16 comments

Checkboxes don't work

When in reading mode, I can't tick regular checkboxes (- [ ]).

Steps to reproduce:

```col-md
- [ ] 
```

benlug avatar May 25 '22 20:05 benlug

Sorry Im taking a while, Im still looking into this

tnichols217 avatar May 30 '22 03:05 tnichols217

Just wanna say I also wish this was added! The checkbox bug breaks the great functionality of the plugin

It seems to me that I'm able to check the boxes in Preview mode, but the markdown checkboxes aren't edited when I go into Editing mode. Maybe the checkbox hook is not registering in a codefence?

josephdong1000 avatar Oct 29 '22 06:10 josephdong1000

Unfortunately, I've been really busy at the moment and don't have much time to implement FRs right now, but if anyone has a PR, I'm open to reviewing and merging it

tnichols217 avatar Oct 29 '22 11:10 tnichols217

image I found a workaround. If you place a note embed into a table, you can create a multi-column checklist with functional checkboxes. It has some inelegancies but it's nothing some CSS can't fix.

ThisTheThe avatar Nov 04 '22 02:11 ThisTheThe

Checkboxes should be supported with callout syntax now!, but still not in the codeblocks unfortunately

tnichols217 avatar Dec 14 '22 13:12 tnichols217

I did a bit of testing, and from what I can tell, checkboxes work with callout syntax! Code block checkboxes would be nice but this will more than suffice for now :)))

I did notice that using [!col] and [!col-md] syntax leads to huge gaps between the top of the columns and whatever was above them. Not sure if this is fixable behavior because I'm thinking the gap is just where the [col] callout is located. Picture below to show what I mean

image

josephdong1000 avatar Dec 15 '22 04:12 josephdong1000

Ah, interesting, I can probably fix the large gaps with more css, ill look into that

tnichols217 avatar Dec 30 '22 16:12 tnichols217

Any progress with checkboxes in code blocks? I have built my whole daily notes & tasks using it, to learn now that checkboxes don't work :/

dawid-ai avatar Feb 04 '23 22:02 dawid-ai

Unfortunately, I have not found a way to make checkboxes that are checkable in the codeblock yet, but I am leaving this issue open until something works.

For reference: the codeblock uses the MarkdownRenderer.renderMarkdown method provided by Obsidian, which does not support dynamic editing like link auto updating and checkboxes

tnichols217 avatar Feb 05 '23 00:02 tnichols217

I have checked every plugin out there - all of them have the same issue and so far no one found a way to fix it.

dawid-ai avatar Feb 06 '23 09:02 dawid-ai

Maybe the issue can be brought up to the obsidian devs?

josephdong1000 avatar Feb 06 '23 17:02 josephdong1000

this issue is still unsolved till now :( When I tailored my template and found the checkbox doesn't work, that's the time I felt despair xd

MrKyomoto avatar Oct 13 '24 16:10 MrKyomoto