mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
persist mermaid data to storage
This commit is contained in:
parent
f85f890b25
commit
6518e05cab
3 changed files with 39 additions and 8 deletions
|
@ -1178,10 +1178,12 @@ class App extends React.Component<AppProps, AppState> {
|
|||
app={this}
|
||||
>
|
||||
{this.props.children}
|
||||
<MermaidToExcalidraw
|
||||
appState={this.state}
|
||||
elements={this.scene.getNonDeletedElements()}
|
||||
/>
|
||||
{this.state.activeTool.type === "mermaid" && (
|
||||
<MermaidToExcalidraw
|
||||
appState={this.state}
|
||||
elements={this.scene.getNonDeletedElements()}
|
||||
/>
|
||||
)}
|
||||
</LayerUI>
|
||||
|
||||
<div className="excalidraw-textEditorContainer" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue