From 393bbd9a64d1b2248ce3e17dbde6f3485140f777 Mon Sep 17 00:00:00 2001
From: Cédric <42071178+BOTkirial@users.noreply.github.com>
Date: Sun, 2 Nov 2025 22:48:38 +0100
Subject: feat: Support inline toggling for todos. fixes #1931 (#1933)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* [1931] Can now chain the creation of todos from the quick add form

* [1931] Can now toggle todos from the masonry view + added a custom renderer for inputs of type checkbox (required to remove the readonly default attribute)

* handle nested lists and case

---------

Co-authored-by: Cédric <cedric.marinot@elosi.com>
Co-authored-by: Mohamed Bassem <me@mbassem.com>
---
 .../web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx')

diff --git a/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx b/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx
index 82e483a9..e7fea2c3 100644
--- a/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx
+++ b/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx
@@ -33,10 +33,13 @@ export function BookmarkMarkdownComponent({
       text,
     });
   };
+
   return (
     <div className="h-full">
       {readOnly ? (
-        <MarkdownReadonly>{bookmark.content.text}</MarkdownReadonly>
+        <MarkdownReadonly onSave={onSave}>
+          {bookmark.content.text}
+        </MarkdownReadonly>
       ) : (
         <MarkdownEditor onSave={onSave} isSaving={isPending}>
           {bookmark.content.text}
-- 
cgit v1.2.3-70-g09d2

