Compare commits
1 Commits
master
...
dont-throw
Author | SHA1 | Date | |
---|---|---|---|
74e2259b5c |
@ -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 } => {
|
||||
|
Reference in New Issue
Block a user