Browse Source

fix: support collaboration in bounded text (#4580)

aakansha-fix
David Luzar 4 years ago committed by GitHub
parent
commit
1ef287027b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/data/restore.ts

2
src/data/restore.ts

@ -136,7 +136,7 @@ const restoreElement = ( @@ -136,7 +136,7 @@ const restoreElement = (
textAlign: element.textAlign || DEFAULT_TEXT_ALIGN,
verticalAlign: element.verticalAlign || DEFAULT_VERTICAL_ALIGN,
containerId: element.containerId ?? null,
originalText: element.originalText ?? "",
originalText: element.originalText || element.text,
});
case "freedraw": {
return restoreElementWithProperties(element, {

Loading…
Cancel
Save