BlockNote
BlockNote copied to clipboard
Support for folding?
In IDEs, blocks are often associated with folding. For example in VS Code:
Unfolded:
Folded:
Is there support for folding in BlockNote? Has anyone built this feature on top of BlockNote? Would it be straightforward to add?
Hi Dan! Good suggestion. I think there would be several ways to add this:
Fold nested elements I think this makes most sense, add an option to fold nested (indented) element above a parent element
Create "foldable" elements This would be similar to the "Toggle node" in Notion for example; create a separate node type that's foldable
Make headings foldable Automatically make contents below headings foldable (i.e.: treat content between headings as "sections"
Let me know if you see other options. What way of folding would you be most interested in?
+1'ing that this would be great to have. I agree that option 1 - folded nested elements - makes the most sense.
Create "foldable" elements This would be similar to the "Toggle node" in Notion for example; create a separate node type that's foldable
This variant best for my case, need feature "nested blocks"