fix: don't bundle react-dom when importing from element (#7635)

pull/7637/head
Aakansha Doshi 1 year ago committed by GitHub
parent d426cc968d
commit e0fefa8025
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -115,7 +115,6 @@ import {
newLinearElement,
newTextElement,
newImageElement,
textWysiwyg,
transformElements,
updateTextElement,
redrawTextBoundingBox,
@ -409,6 +408,7 @@ import { AnimatedTrail } from "../animated-trail";
import { LaserTrails } from "../laser-trails";
import { withBatchedUpdates, withBatchedUpdatesThrottled } from "../reactUtils";
import { getRenderOpacity } from "../renderer/renderElement";
import { textWysiwyg } from "../element/textWysiwyg";
const AppContext = React.createContext<AppClassProperties>(null!);
const AppPropsContext = React.createContext<AppProps>(null!);

@ -50,7 +50,6 @@ export {
dragNewElement,
} from "./dragElements";
export { isTextElement, isExcalidrawElement } from "./typeChecks";
export { textWysiwyg } from "./textWysiwyg";
export { redrawTextBoundingBox } from "./textElement";
export {
getPerfectElementSize,

Loading…
Cancel
Save