javalent / admonitions

Adds admonition block-styled content to Obsidian.md
MIT License
1.07k stars 71 forks source link

Checkboxes are not getting updated in Live Preview #166

Closed VeroVerro closed 2 years ago

VeroVerro commented 2 years ago

Hi! I looked at the existing issues and I'm not sure if this is related to this: https://github.com/valentine195/obsidian-admonition/issues/9

The problem is that ticking a checkbox doesn't update the source / doesn't get saved in Live Preview. It works in Reading mode though, so it's not a big deal - I just thought to report it in case it's something simple :)

valentine195 commented 2 years ago

Is this for blockquote style or codeblock style?

Edit: actually, this is probably going to be very difficult to fix, but let me think about it.

VeroVerro commented 2 years ago

Codeblock style - thanks for looking into it and good luck!

nousernameavailableanymore commented 2 years ago

I just ran into the same issue. Apart from not retaining the "checked" status, it also doesnt seem to apply the "normal" checkbox css (in this case strikethrough).

I would really be awesome if it was possible to fix this, as admonitions is awesome with multiple columns for large amounts of checkboxes.

image

valentine195 commented 2 years ago

I recommend using the new Obsidian Callout core feature available in the insider build if you need checkboxes inside callout boxes. Because it is tightly integrated, it does not have some of the issues that Admonitions has to work around.

nousernameavailableanymore commented 2 years ago

Why was this closed? Checkboxes still do not work in callout admonitions.

Was this tested / confirmed that checkboxes would work in callout boxes before closing?

valentine195 commented 2 years ago

If checkboxes do not work in callouts, you need to submit a bug report on the Obsidian forums.