From 74e2259b5c0d219fbddb8e7d183571c7457b52a8 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Tue, 10 Jun 2025 15:26:56 +0000 Subject: [PATCH] Don't throw "token not found" --- src/patcher/paragraph-split-inject.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/patcher/paragraph-split-inject.ts b/src/patcher/paragraph-split-inject.ts index c3033732cd..9c6f22c81a 100644 --- a/src/patcher/paragraph-split-inject.ts +++ b/src/patcher/paragraph-split-inject.ts @@ -19,8 +19,6 @@ export const findRunElementIndexWithToken = (paragraphElement: Element, token: s } } } - - throw new Error("Token not found"); }; export const splitRunElement = (runElement: Element, token: string): { readonly left: Element; readonly right: Element } => {