mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: support multi-embed pasting & x.com domain (#7516)
This commit is contained in:
parent
4249b7dec8
commit
43ccc875fb
4 changed files with 63 additions and 27 deletions
|
@ -1071,3 +1071,7 @@ export function addEventListener(
|
|||
target?.removeEventListener?.(type, listener, options);
|
||||
};
|
||||
}
|
||||
|
||||
export const normalizeEOL = (str: string) => {
|
||||
return str.replace(/\r?\n|\r/g, "\n");
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue