fix: prevent translation of excalidraw container (#10389)

This commit is contained in:
David Luzar
2025-11-22 16:16:30 +01:00
committed by GitHub
parent 37882c66cb
commit b660478164
+2 -1
View File
@@ -1575,7 +1575,8 @@ class App extends React.Component<AppProps, AppState> {
return (
<div
className={clsx("excalidraw excalidraw-container", {
translate="no"
className={clsx("excalidraw excalidraw-container notranslate", {
"excalidraw--view-mode":
this.state.viewModeEnabled ||
this.state.openDialog?.name === "elementLinkSelector",