HTML Checkboxes do not keep their state after being checked

What is going on?

I use HTML Checkboxes for tracking items with multiple steps all on one line. I do this for both tasks and while playing D&D to track thing like spell slots. Whenever I click an HTML check box it will change states to checked or unchecked. However, once the note is closed that state will disappear. I have narrowed this down to an issue where obsidian does not keep the change of the checkbox adding the modifier checked to the note after you check an html checkbox.

What is an HTML Checkbox?

An html checkbox is an alternative to the normal - [ ] checkbox, the biggest difference being you can have as many of them as you want on one line. The syntax for an html checkbox is <input type="checkbox"> to get a checked checkbox it is <input type="checkbox" checked>.

What should happen

Obsidian should keep the state change of the checkbox. This would allow for much cleaner notes and a smoother experience. It would also prevent from unwanted data loss. I do not see a downside to adding this feature as it does not take away from anything or remove any core behaviors. I think it would be a useful addition that could benefit quite a few people.

Environment

  • Operating system: macOS 13.2
  • Debug info:
SYSTEM INFO:
	Obsidian version: v1.1.9
	Installer version: v1.0.0
	Operating system: Darwin Kernel Version 22.3.0: Thu Jan  5 20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 22.3.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: Shiba Inu v1.0.6
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 23
	Plugins enabled: 23
		1: Icons v0.3.0
		2: Pandoc Plugin v0.4.1
		3: Folder Note v0.7.3
		4: Banners v1.3.3
		5: Fantasy Calendar v2.3.10
		6: Timelines v0.3.2
		7: Collapse All v1.5.3
		8: Image Toolkit v1.3.1
		9: Advanced Tables v0.18.1
		10: Calendar v1.5.10
		11: Tag Wrangler v0.5.6
		12: Hider v1.2.3
		13: RPG Manager v3.4.5
		14: Buttons v0.4.19
		15: Admonition v9.2.1
		16: Dataview v0.5.55
		17: Dice Roller v8.8.3
		18: Icon Folder v1.6.0
		19: Initiative Tracker v8.1.8
		20: Obsidian Leaflet v5.1.2
		21: Style Settings v1.0.2
		22: TTRPG Statblocks v2.24.20
		23: Hover Editor v0.11.9

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
1 Like

we don’t support this. Open a feature request.

1 Like