feat: Persist collapsible block state in Super notes (#2119)

This commit is contained in:
Aman Harwara
2022-12-24 20:35:41 +05:30
committed by GitHub
parent b8da877804
commit 577318e208
4 changed files with 48 additions and 26 deletions

View File

@@ -204,7 +204,7 @@ export default function CollapsiblePlugin(): JSX.Element | null {
const content = $createCollapsibleContentNode().append(
$createParagraphNode(),
);
const container = $createCollapsibleContainerNode().append(
const container = $createCollapsibleContainerNode(true).append(
title,
content,
);