allow mermaid syntax and export in preview

This commit is contained in:
Aakansha Doshi 2023-08-21 20:52:01 +05:30
parent c5514974b7
commit fec984895e
5 changed files with 116 additions and 26 deletions

View file

@ -1178,7 +1178,10 @@ class App extends React.Component<AppProps, AppState> {
app={this}
>
{this.props.children}
<MermaidToExcalidraw appState={this.state} />
<MermaidToExcalidraw
appState={this.state}
elements={this.scene.getNonDeletedElements()}
/>
</LayerUI>
<div className="excalidraw-textEditorContainer" />