From 50c168b8de1248422569492cd8d15d4da85c60a3 Mon Sep 17 00:00:00 2001 From: Gerard Rovira Date: Mon, 27 May 2024 17:39:19 -0400 Subject: [PATCH] . --- .../src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lexical-playground/src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts b/packages/lexical-playground/src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts index 74b8ea6ab06..fe5bf59d606 100644 --- a/packages/lexical-playground/src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts +++ b/packages/lexical-playground/src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts @@ -100,7 +100,7 @@ export class CollapsibleContainerNode extends ElementNode { } exportDOM(): DOMExportOutput { - const element = document.createElement('div'); + const element = document.createElement('details'); element.classList.add('Collapsible__container'); element.setAttribute('open', this.__open.toString()); return {element};