mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix
This commit is contained in:
parent
7087db42c0
commit
59e8bf498d
9 changed files with 109 additions and 65 deletions
|
@ -129,6 +129,7 @@ import {
|
|||
import { LinearElementEditor } from "../element/linearElementEditor";
|
||||
import { mutateElement, newElementWith } from "../element/mutateElement";
|
||||
import {
|
||||
convertToExcalidrawElements,
|
||||
deepCopyElement,
|
||||
duplicateElements,
|
||||
newFreeDrawElement,
|
||||
|
@ -2001,7 +2002,9 @@ class App extends React.Component<AppProps, AppState> {
|
|||
}
|
||||
|
||||
if (sceneData.elements) {
|
||||
this.scene.replaceAllElements(sceneData.elements);
|
||||
this.scene.replaceAllElements(
|
||||
convertToExcalidrawElements(sceneData.elements),
|
||||
);
|
||||
}
|
||||
|
||||
if (sceneData.collaborators) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue