diff --git a/packages/excalidraw/components/hoc/withInternalFallback.tsx b/packages/excalidraw/components/hoc/withInternalFallback.tsx
index 298f58dd9e..7c3c04ce00 100644
--- a/packages/excalidraw/components/hoc/withInternalFallback.tsx
+++ b/packages/excalidraw/components/hoc/withInternalFallback.tsx
@@ -20,7 +20,7 @@ export const withInternalFallback = (
// for rerenders
const [, setCounter] = useAtom(renderAtom);
// for initial & subsequent renders. Tracked as component state
- // due to excalidraw multi-instance scanerios.
+ // due to excalidraw multi-instance scenarios.
const metaRef = useRef({
// flag set on initial render to tell the fallback component to skip the
// render until mount counter are initialized. This is because the counter
diff --git a/packages/excalidraw/data/types.ts b/packages/excalidraw/data/types.ts
index 6878b81b18..fd123cb748 100644
--- a/packages/excalidraw/data/types.ts
+++ b/packages/excalidraw/data/types.ts
@@ -21,7 +21,7 @@ export interface ExportedDataState {
/**
* Map of legacy AppState keys, with values of:
- * [, ]
+ * [, ]
*
* This is a helper type used in downstream abstractions.
* Don't consume on its own.
diff --git a/packages/excalidraw/deburr.ts b/packages/excalidraw/deburr.ts
index ba95eddc81..18c2f73ff1 100644
--- a/packages/excalidraw/deburr.ts
+++ b/packages/excalidraw/deburr.ts
@@ -37,7 +37,7 @@ const deburredLetters = {
'\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
'\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
'\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
- // normaly Ae/ae
+ // normally Ae/ae
'\xc6': 'E', '\xe6': 'e',
// normally Th/th
'\xde': 'T', '\xfe': 't',
diff --git a/packages/excalidraw/scene/export.ts b/packages/excalidraw/scene/export.ts
index 2299923542..67dd946f0f 100644
--- a/packages/excalidraw/scene/export.ts
+++ b/packages/excalidraw/scene/export.ts
@@ -82,9 +82,9 @@ const truncateText = (element: ExcalidrawTextElement, maxWidth: number) => {
if (metrics.width > maxWidth) {
// we iterate from the right, removing characters one by one instead
- // of bulding the string up. This assumes that it's more likely
+ // of building the string up. This assumes that it's more likely
// your frame names will overflow by not that many characters
- // (if ever), so it sohuld be faster this way.
+ // (if ever), so it should be faster this way.
for (let i = text.length; i > 0; i--) {
const newText = `${text.slice(0, i)}...`;
if (ctx.measureText(newText).width <= maxWidth) {
@@ -376,7 +376,7 @@ export const exportToSvg = async (
try {
encodeSvgBase64Payload({
metadataElement,
- // when embedding scene, we want to embed the origionally supplied
+ // when embedding scene, we want to embed the originally supplied
// elements which don't contain the temp frame labels.
// But it also requires that the exportToSvg is being supplied with
// only the elements that we're exporting, and no extra.
diff --git a/packages/excalidraw/scene/types.ts b/packages/excalidraw/scene/types.ts
index 08b05a57de..8cd79f07cb 100644
--- a/packages/excalidraw/scene/types.ts
+++ b/packages/excalidraw/scene/types.ts
@@ -50,7 +50,7 @@ export type SVGRenderConfig = {
embedsValidationStatus: EmbedsValidationStatus;
/**
* whether to attempt to reuse images as much as possible through symbols
- * (reduces SVG size, but may be incompoatible with some SVG renderers)
+ * (reduces SVG size, but may be incompatible with some SVG renderers)
*
* @default true
*/
diff --git a/packages/excalidraw/subset/woff2/woff2-bindings.ts b/packages/excalidraw/subset/woff2/woff2-bindings.ts
index a861de681a..97fc64962c 100644
--- a/packages/excalidraw/subset/woff2/woff2-bindings.ts
+++ b/packages/excalidraw/subset/woff2/woff2-bindings.ts
@@ -2,8 +2,8 @@
// @ts-nocheck
/**
- * Slitghly modified emscripten bindings of https://github.com/kekee000/fonteditor-core/blob/582bba757aa2915ec2240c61717ff12c50594675/woff2src/woff2.js
- *
+ * Slightly modified emscripten bindings of https://github.com/kekee000/fonteditor-core/blob/582bba757aa2915ec2240c61717ff12c50594675/woff2src/woff2.js
+ *
* CHANGELOG:
* - replaced existing exports with default esm export (`export default Module;`)
* - replaced "instanceof ArrayBuffer" with "Object.prototype.toString.call(d) === "[object ArrayBuffer]", due to unreliability of different ArrayBuffer instances depending on the context (i.e. inside VM)
diff --git a/packages/excalidraw/tests/__snapshots__/App.test.tsx.snap b/packages/excalidraw/tests/__snapshots__/App.test.tsx.snap
index 49c2fd0fcc..2a4c5bf969 100644
--- a/packages/excalidraw/tests/__snapshots__/App.test.tsx.snap
+++ b/packages/excalidraw/tests/__snapshots__/App.test.tsx.snap
@@ -5,7 +5,7 @@ exports[`Test > should show error modal when using brave and measureText
data-testid="brave-measure-text-error"
>
- Looks like you are using Brave browser with the
+ Looks like you are using Brave browser with the
@@ -14,7 +14,7 @@ exports[`Test > should show error modal when using brave and measureText
setting enabled.
- This could result in breaking the
+ This could result in breaking the
@@ -23,22 +23,22 @@ exports[`Test > should show error modal when using brave and measureText
in your drawings.
- We strongly recommend disabling this setting. You can follow
+ We strongly recommend disabling this setting. You can follow
these steps
on how to do so.
- If disabling this setting doesn't fix the display of text elements, please open an
+ If disabling this setting doesn't fix the display of text elements, please open an
issue
- on our GitHub, or write us on
+ on our GitHub, or write us on
diff --git a/packages/excalidraw/tests/__snapshots__/excalidraw.test.tsx.snap b/packages/excalidraw/tests/__snapshots__/excalidraw.test.tsx.snap
index bbcc8d7e0b..248d626a80 100644
--- a/packages/excalidraw/tests/__snapshots__/excalidraw.test.tsx.snap
+++ b/packages/excalidraw/tests/__snapshots__/excalidraw.test.tsx.snap
@@ -20,7 +20,7 @@ exports[` > > should render main menu with host menu it