Files
excalidraw/packages/common
David Luzar dabd83c4aa fix(editor): keep the split-paste preference in the app state, not in localStorage (#12742)
* fix(editor): keep the split-paste preference in the app state, not in localStorage

The editor wrote the preference to the host's localStorage itself. It's
an app state key now (splitPastedTextEnabled, kept in the browser as the
other preferences are), for the host to store with the rest.

Removes the EDITOR_LS_KEYS.PASTE_TEXT_AS_LINES key and the ownerWindow
parameter of EditorLocalStorage, which nothing uses any more.

* refactor(editor): rename splitPastedTextEnabled to splitOnPaste
2026-11-25 22:59:21 +01:00
..

@excalidraw/common

Install

npm install @excalidraw/common

If you prefer Yarn over npm, use this command to install the Excalidraw utils package:

yarn add @excalidraw/common

With PNPM, similarly install the package with this command:

pnpm add @excalidraw/common