@dwelle/excalidraw 0.3.43 → 0.3.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -11,30 +11,29 @@ The change should be grouped under one of the below section and must contain PR
11
11
  Please add the latest change on the top under the correct section.
12
12
  -->
13
13
 
14
- ## Unreleased
14
+ ## 0.11.0 (2022-02-17)
15
15
 
16
16
  ## Excalidraw API
17
17
 
18
- - [`exportToBlob`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToBlob) now automatically sets `appState.exportBackground` to `true` if exporting to `image/jpeg` MIME type (to ensure that alpha channel is not compressed to black color).
19
-
20
18
  ### Features
21
19
 
20
+ - Add `onLinkOpen` prop which will be triggered when clicked on element hyperlink if present [#4694](https://github.com/excalidraw/excalidraw/pull/4694).
22
21
  - Support updating library using [`updateScene`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#updateScene) API [#4546](https://github.com/excalidraw/excalidraw/pull/4546).
23
22
 
24
- - Introduced primary colors to the app. The colors can be overriden. Check [readme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#customizing-styles) on how to do so.
23
+ - Introduced primary colors to the app. The colors can be overriden. Check [readme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#customizing-styles) on how to do so [#4387](https://github.com/excalidraw/excalidraw/pull/4387).
25
24
 
26
- - #### BREAKING CHANGE
25
+ - [`exportToBlob`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToBlob) now automatically sets `appState.exportBackground` to `true` if exporting to `image/jpeg` MIME type (to ensure that alpha channel is not compressed to black color) [#4342](https://github.com/excalidraw/excalidraw/pull/4342).
27
26
 
28
- Removed `getElementMap` util method.
27
+ #### BREAKING CHANGE
29
28
 
30
- - Changes to [`exportToCanvas`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToCanvas) util function:
29
+ Remove `getElementMap` util [#4306](https://github.com/excalidraw/excalidraw/pull/4306).
30
+
31
+ - Changes to [`exportToCanvas`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportToCanvas) util function [#4321](https://github.com/excalidraw/excalidraw/pull/4321):
31
32
 
32
33
  - Add `maxWidthOrHeight?: number` attribute.
33
34
  - `scale` returned from `getDimensions()` is now optional (default to `1`).
34
35
 
35
- - Image support.
36
-
37
- NOTE: the unreleased API is highly unstable and may change significantly before the next stable release. As such it's largely undocumented at this point. You are encouraged to read through the [PR](https://github.com/excalidraw/excalidraw/pull/4011) description if you want to know more about the internals.
36
+ - Image support added for host [PR](https://github.com/excalidraw/excalidraw/pull/4011)
38
37
 
39
38
  General notes:
40
39
 
@@ -54,13 +53,13 @@ Please add the latest change on the top under the correct section.
54
53
  Other notes:
55
54
 
56
55
  - `.excalidraw` files may now contain top-level `files` key in format of `Record<FileId, BinaryFileData>` when exporting any (image) elements.
57
- - Changes were made to various export utilityies exported from the package so that they take `files`. For now, TypeScript should help you figure the changes out.
56
+ - Changes were made to various export utilities exported from the package so that they take `files`, you can refer to the docs for the same.
58
57
 
59
- - Export [`isLinearElement`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#isLinearElement) and [`getNonDeletedElements`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#getNonDeletedElements).
58
+ - Export [`isLinearElement`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#isLinearElement) and [`getNonDeletedElements`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#getNonDeletedElements) [#4072](https://github.com/excalidraw/excalidraw/pull/4072).
60
59
 
61
- - Support [`renderTopRightUI`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderTopRightUI) in mobile UI.
60
+ - Support [`renderTopRightUI`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#renderTopRightUI) in mobile UI [#4065](https://github.com/excalidraw/excalidraw/pull/4065).
62
61
 
63
- - Export `THEME` constant from the package so host can use this when passing the theme.
62
+ - Export `THEME` constant from the package so host can use this when passing the theme [#4055](https://github.com/excalidraw/excalidraw/pull/4055).
64
63
 
65
64
  #### BREAKING CHANGE
66
65
 
@@ -70,15 +69,285 @@ Please add the latest change on the top under the correct section.
70
69
 
71
70
  - Reset `unmounted` state on the component once component mounts to fix the mounting/unmounting repeatedly when used with `useEffect` [#4682](https://github.com/excalidraw/excalidraw/pull/4682).
72
71
  - Panning the canvas using `mousewheel-drag` and `space-drag` now prevents the browser from scrolling the container/page [#4489](https://github.com/excalidraw/excalidraw/pull/4489).
73
- - Scope drag and drop events to Excalidraw container to prevent overriding host application drag and drop events.
72
+ - Scope drag and drop events to Excalidraw container to prevent overriding host application drag and drop events [#4445](https://github.com/excalidraw/excalidraw/pull/4445).
73
+
74
+ ### Build
75
+
76
+ - Release preview package [@excalidraw/excalidraw-preview](https://www.npmjs.com/package/@excalidraw/excalidraw-preview) when triggered via comment
77
+
78
+ ```
79
+ @excalibot trigger release
80
+ ```
81
+
82
+ [#4750](https://github.com/excalidraw/excalidraw/pull/4750).
83
+
84
+ - Added an example to test and develop the package [locally](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#Development) using `yarn start` [#4488](https://github.com/excalidraw/excalidraw/pull/4488)
85
+
86
+ - Remove `file-loader` so font assets are not duplicated by webpack and use webpack asset modules for font generation [#4380](https://github.com/excalidraw/excalidraw/pull/4380).
87
+
88
+ - We're now compiling to `es2017` target. Notably, `async/await` is not compiled down to generators. [#4341](https://github.com/excalidraw/excalidraw/pull/4341).
89
+
90
+ ---
91
+
92
+ ## Excalidraw Library
93
+
94
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
95
+
96
+ ### Features
97
+
98
+ - Show group/group and link action in mobile [#4795](https://github.com/excalidraw/excalidraw/pull/4795)
99
+
100
+ - Support background fill for freedraw shapes [#4610](https://github.com/excalidraw/excalidraw/pull/4610)
101
+
102
+ - Keep selected tool on canvas reset [#4728](https://github.com/excalidraw/excalidraw/pull/4728)
103
+
104
+ - Make whole element clickable in view mode when it has hyperlink [#4735](https://github.com/excalidraw/excalidraw/pull/4735)
105
+
106
+ - Allow any precision when zooming [#4730](https://github.com/excalidraw/excalidraw/pull/4730)
107
+
108
+ - Throttle `pointermove` events per framerate [#4727](https://github.com/excalidraw/excalidraw/pull/4727)
109
+
110
+ - Support hyperlinks 🔥 [#4620](https://github.com/excalidraw/excalidraw/pull/4620)
111
+
112
+ - Added penMode for palm rejection [#4657](https://github.com/excalidraw/excalidraw/pull/4657)
113
+
114
+ - Support unbinding bound text [#4686](https://github.com/excalidraw/excalidraw/pull/4686)
115
+
116
+ - Sync local storage state across tabs when out of sync [#4545](https://github.com/excalidraw/excalidraw/pull/4545)
117
+
118
+ - Support contextMenuLabel to be of function type to support dynmaic labels [#4654](https://github.com/excalidraw/excalidraw/pull/4654)
119
+
120
+ - Support decreasing/increasing `fontSize` via keyboard [#4553](https://github.com/excalidraw/excalidraw/pull/4553)
121
+
122
+ - Link to new LP for excalidraw plus [#4549](https://github.com/excalidraw/excalidraw/pull/4549)
123
+
124
+ - Update stroke color of bounded text along with container [#4541](https://github.com/excalidraw/excalidraw/pull/4541)
125
+
126
+ - Hints and shortcuts help around deep selection [#4502](https://github.com/excalidraw/excalidraw/pull/4502)
127
+
128
+ - Support updating text properties by clicking on container [#4499](https://github.com/excalidraw/excalidraw/pull/4499)
129
+
130
+ - Bind text to shapes when pressing enter and support sticky notes 🎉 [#4343](https://github.com/excalidraw/excalidraw/pull/4343)
131
+
132
+ - Change `boundElementIds` → `boundElements` [#4404](https://github.com/excalidraw/excalidraw/pull/4404)
133
+
134
+ - Support selecting multiple points when editing line [#4373](https://github.com/excalidraw/excalidraw/pull/4373)
135
+
136
+ - Horizontally center toolbar menu [commit link](https://github.com/excalidraw/excalidraw/commit/9b8ee3cacfec239617c357693cf2a3ca9972d2cb)
137
+
138
+ - Add support for rounded corners in diamond [#4369](https://github.com/excalidraw/excalidraw/pull/4369)
139
+
140
+ - Allow zooming up to 3000% [#4358](https://github.com/excalidraw/excalidraw/pull/4358)
141
+
142
+ - Stop discarding precision when rendering [#4357](https://github.com/excalidraw/excalidraw/pull/4357)
143
+
144
+ - Support Image binding [#4347](https://github.com/excalidraw/excalidraw/pull/4347)
145
+
146
+ - Add `element.updated` [#4070](https://github.com/excalidraw/excalidraw/pull/4070)
147
+
148
+ - Compress shareLink data when uploading to json server [#4225](https://github.com/excalidraw/excalidraw/pull/4225)
149
+
150
+ - Supply `version` param when installing libraries [#4305](https://github.com/excalidraw/excalidraw/pull/4305)
151
+
152
+ - Log FS abortError to console [#4279](https://github.com/excalidraw/excalidraw/pull/4279)
153
+
154
+ - Add validation for website and remove validation for library item name [#4269](https://github.com/excalidraw/excalidraw/pull/4269)
155
+
156
+ - Allow publishing libraries from UI [#4115](https://github.com/excalidraw/excalidraw/pull/4115)
157
+
158
+ - Create confirm dialog to use instead of window.confirm [#4256](https://github.com/excalidraw/excalidraw/pull/4256)
159
+
160
+ - Allow letters in IDs for storing files in backend [#4224](https://github.com/excalidraw/excalidraw/pull/4224)
161
+
162
+ - Remove support for V1 unencrypted backend [#4189](https://github.com/excalidraw/excalidraw/pull/4189)
163
+
164
+ - Use separate backend for local storage [#4187](https://github.com/excalidraw/excalidraw/pull/4187)
165
+
166
+ - Add hint around canvas panning [#4159](https://github.com/excalidraw/excalidraw/pull/4159)
167
+
168
+ - Stop using production services for development [#4113](https://github.com/excalidraw/excalidraw/pull/4113)
169
+
170
+ - Add triangle arrowhead [#4024](https://github.com/excalidraw/excalidraw/pull/4024)
171
+
172
+ - Add rewrite to webex landing page [#4102](https://github.com/excalidraw/excalidraw/pull/4102)
173
+
174
+ - Switch collab server [#4092](https://github.com/excalidraw/excalidraw/pull/4092)
175
+
176
+ - Use dialog component for clear canvas instead of window confirm [#4075](https://github.com/excalidraw/excalidraw/pull/4075)
177
+
178
+ ### Fixes
179
+
180
+ - Rename --color-primary-chubb to --color-primary-contrast-offset and fallback to primary color if not present [#4803](https://github.com/excalidraw/excalidraw/pull/4803)
181
+
182
+ - Add commits directly pushed to master in changelog [#4798](https://github.com/excalidraw/excalidraw/pull/4798)
183
+
184
+ - Don't bump element version when adding files data [#4794](https://github.com/excalidraw/excalidraw/pull/4794)
185
+
186
+ - Mobile link click [#4742](https://github.com/excalidraw/excalidraw/pull/4742)
187
+
188
+ - ContextMenu timer & pointers not correctly reset on iOS [#4765](https://github.com/excalidraw/excalidraw/pull/4765)
189
+
190
+ - Use absolute coords when rendering link popover [#4753](https://github.com/excalidraw/excalidraw/pull/4753)
191
+
192
+ - Changing font size when text is not selected or edited [#4751](https://github.com/excalidraw/excalidraw/pull/4751)
193
+
194
+ - Disable contextmenu on non-secondary `pen` events or `touch` [#4675](https://github.com/excalidraw/excalidraw/pull/4675)
195
+
196
+ - Mobile context menu won't show on long press [#4741](https://github.com/excalidraw/excalidraw/pull/4741)
197
+
198
+ - Do not open links twice [#4738](https://github.com/excalidraw/excalidraw/pull/4738)
199
+
200
+ - Make link icon clickable in mobile [#4736](https://github.com/excalidraw/excalidraw/pull/4736)
201
+
202
+ - Apple Pen missing strokes [#4705](https://github.com/excalidraw/excalidraw/pull/4705)
203
+
204
+ - Freedraw slow movement jittery lines [#4726](https://github.com/excalidraw/excalidraw/pull/4726)
205
+
206
+ - Disable three finger pinch zoom in penMode [#4725](https://github.com/excalidraw/excalidraw/pull/4725)
207
+
208
+ - Remove click listener for opening popup [#4700](https://github.com/excalidraw/excalidraw/pull/4700)
209
+
210
+ - Link popup position not accounting for offsets [#4695](https://github.com/excalidraw/excalidraw/pull/4695)
211
+
212
+ - PenMode darkmode style [#4692](https://github.com/excalidraw/excalidraw/pull/4692)
213
+
214
+ - Typing `_+` in wysiwyg not working [#4681](https://github.com/excalidraw/excalidraw/pull/4681)
215
+
216
+ - Keyboard-zooming in wysiwyg should zoom canvas [#4676](https://github.com/excalidraw/excalidraw/pull/4676)
217
+
218
+ - SceneCoordsToViewportCoords, jumping text when there is an offset [#4413](https://github.com/excalidraw/excalidraw/pull/4413) (#4630)
219
+
220
+ - Right-click object menu displays partially off-screen [#4572](https://github.com/excalidraw/excalidraw/pull/4572) (#4631)
221
+
222
+ - Support collaboration in bound text [#4573](https://github.com/excalidraw/excalidraw/pull/4573)
223
+
224
+ - Cmd/ctrl native browser behavior blocked in inputs [#4589](https://github.com/excalidraw/excalidraw/pull/4589)
225
+
226
+ - Use cached width when calculating min width during resize [#4585](https://github.com/excalidraw/excalidraw/pull/4585)
227
+
228
+ - Support collaboration in bounded text [#4580](https://github.com/excalidraw/excalidraw/pull/4580)
229
+
230
+ - Port for collab server and update docs [#4569](https://github.com/excalidraw/excalidraw/pull/4569)
231
+
232
+ - Don't mutate the bounded text if not updated when submitted [#4543](https://github.com/excalidraw/excalidraw/pull/4543)
233
+
234
+ - Prevent canvas drag while editing text [#4552](https://github.com/excalidraw/excalidraw/pull/4552)
235
+
236
+ - Support shift+P for freedraw [#4550](https://github.com/excalidraw/excalidraw/pull/4550)
237
+
238
+ - Prefer spreadsheet data over image [#4533](https://github.com/excalidraw/excalidraw/pull/4533)
239
+
240
+ - Show text properties button states correctly for bounded text [#4542](https://github.com/excalidraw/excalidraw/pull/4542)
241
+
242
+ - Rotate bounded text when container is rotated before typing [#4535](https://github.com/excalidraw/excalidraw/pull/4535)
243
+
244
+ - Undo should work when selecting bounded textr [#4537](https://github.com/excalidraw/excalidraw/pull/4537)
245
+
246
+ - Reduce padding to 5px for bounded text [#4530](https://github.com/excalidraw/excalidraw/pull/4530)
247
+
248
+ - Bound text doesn't inherit container [#4521](https://github.com/excalidraw/excalidraw/pull/4521)
249
+
250
+ - Text wrapping with grid [#4505](https://github.com/excalidraw/excalidraw/pull/4505) (#4506)
251
+
252
+ - Check if process is defined before using so it works in browser [#4497](https://github.com/excalidraw/excalidraw/pull/4497)
253
+
254
+ - Pending review fixes for sticky notes [#4493](https://github.com/excalidraw/excalidraw/pull/4493)
255
+
256
+ - Pasted elements except binded text once paste action is complete [#4472](https://github.com/excalidraw/excalidraw/pull/4472)
257
+
258
+ - Don't select binded text when ungrouping [#4470](https://github.com/excalidraw/excalidraw/pull/4470)
259
+
260
+ - Set height correctly when text properties updated while editing in container until first submit [#4469](https://github.com/excalidraw/excalidraw/pull/4469)
261
+
262
+ - Align and distribute binded text in container and cleanup [#4468](https://github.com/excalidraw/excalidraw/pull/4468)
263
+
264
+ - Move binded text when moving container using keyboard [#4466](https://github.com/excalidraw/excalidraw/pull/4466)
265
+
266
+ - Support dragging binded text in container selected in a group [#4462](https://github.com/excalidraw/excalidraw/pull/4462)
267
+
268
+ - Vertically align single line when deleting text in bounded container [#4460](https://github.com/excalidraw/excalidraw/pull/4460)
269
+
270
+ - Update height correctly when updating text properties in binded text [#4459](https://github.com/excalidraw/excalidraw/pull/4459)
271
+
272
+ - Align library item previews to center [#4447](https://github.com/excalidraw/excalidraw/pull/4447)
273
+
274
+ - Vertically center align text when text deleted [#4457](https://github.com/excalidraw/excalidraw/pull/4457)
275
+
276
+ - Vertically center the first line as user starts typing in container [#4454](https://github.com/excalidraw/excalidraw/pull/4454)
277
+
278
+ - Switch cursor to center of container when adding text when dimensions are too small [#4452](https://github.com/excalidraw/excalidraw/pull/4452)
279
+
280
+ - Vertically center align the bounded text correctly when zoomed [#4444](https://github.com/excalidraw/excalidraw/pull/4444)
281
+
282
+ - Support updating stroke color for text by typing in color picker input [#4415](https://github.com/excalidraw/excalidraw/pull/4415)
283
+
284
+ - Bound text not atomic with container when changing z-index [#4414](https://github.com/excalidraw/excalidraw/pull/4414)
285
+
286
+ - Update viewport coords correctly when editing text [#4416](https://github.com/excalidraw/excalidraw/pull/4416)
287
+
288
+ - Use word-break break-word only and update text editor height only when binded to container [#4410](https://github.com/excalidraw/excalidraw/pull/4410)
289
+
290
+ - Husky not able to execute pre-commit on windows [#4370](https://github.com/excalidraw/excalidraw/pull/4370)
291
+
292
+ - Make firebase config parsing not fail on undefined env [#4381](https://github.com/excalidraw/excalidraw/pull/4381)
293
+
294
+ - Adding to library via contextmenu when no image is selected [#4356](https://github.com/excalidraw/excalidraw/pull/4356)
295
+
296
+ - Export scale quality regression [#4316](https://github.com/excalidraw/excalidraw/pull/4316)
297
+
298
+ - Remove `100%` height from tooltip container to fix layout issues [#3980](https://github.com/excalidraw/excalidraw/pull/3980)
299
+
300
+ - Inline ENV variables when building excalidraw package [#4311](https://github.com/excalidraw/excalidraw/pull/4311)
301
+
302
+ - SVG export in dark mode with embedded bitmap image [#4285](https://github.com/excalidraw/excalidraw/pull/4285)
303
+
304
+ - New FS API not working on Linux [#4280](https://github.com/excalidraw/excalidraw/pull/4280)
305
+
306
+ - Url -> URL for consistency [#4277](https://github.com/excalidraw/excalidraw/pull/4277)
307
+
308
+ - Prevent adding images to library via contextMenu [#4264](https://github.com/excalidraw/excalidraw/pull/4264)
309
+
310
+ - Account for libraries v2 when prompting [#4263](https://github.com/excalidraw/excalidraw/pull/4263)
311
+
312
+ - Skia rendering issues [#4200](https://github.com/excalidraw/excalidraw/pull/4200)
313
+
314
+ - Ellipse roughness when `0` [#4194](https://github.com/excalidraw/excalidraw/pull/4194)
315
+
316
+ - Proper string for invalid SVG [#4191](https://github.com/excalidraw/excalidraw/pull/4191)
317
+
318
+ - Images not initialized correctly [#4157](https://github.com/excalidraw/excalidraw/pull/4157)
319
+
320
+ - Image-related fixes [#4147](https://github.com/excalidraw/excalidraw/pull/4147)
321
+
322
+ - Rewrite collab element reconciliation to fix z-index issues [#4076](https://github.com/excalidraw/excalidraw/pull/4076)
323
+
324
+ - Redirect excalidraw.com/about to for-webex.excalidraw.com [#4104](https://github.com/excalidraw/excalidraw/pull/4104)
325
+
326
+ - Redirect to webex LP instead of rewrite to fix SW [#4103](https://github.com/excalidraw/excalidraw/pull/4103)
327
+
328
+ - Clear image/shape cache of affected elements when adding files [#4089](https://github.com/excalidraw/excalidraw/pull/4089)
329
+
330
+ - Clear `LibraryUnit` DOM on unmount [#4084](https://github.com/excalidraw/excalidraw/pull/4084)
331
+
332
+ - Pasting images on firefox [#4085](https://github.com/excalidraw/excalidraw/pull/4085)
333
+
334
+ ### Refactor
335
+
336
+ - Simplify zoom by removing `zoom.translation` [#4477](https://github.com/excalidraw/excalidraw/pull/4477)
337
+
338
+ - Deduplicate encryption helpers [#4146](https://github.com/excalidraw/excalidraw/pull/4146)
339
+
340
+ ### Performance
341
+
342
+ - Cache approx line height in textwysiwg [#4651](https://github.com/excalidraw/excalidraw/pull/4651)
74
343
 
75
344
  ### Build
76
345
 
77
- - Added an example to test and develop the package [locally](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#Development) using `yarn start`
346
+ - Rename release command to 'release package' [#4783](https://github.com/excalidraw/excalidraw/pull/4783)
78
347
 
79
- - Remove `file-loader` so font assets are not duplicated by webpack and use webpack asset modules for font generation [#4380](https://github.com/excalidraw/excalidraw/pull/4380)
348
+ - Deploy excalidraw package example [#4762](https://github.com/excalidraw/excalidraw/pull/4762)
80
349
 
81
- - We're now compiling to `es2017` target. Notably, `async/await` is not compiled down to generators. [#4341](https://github.com/excalidraw/excalidraw/pull/4341)
350
+ - Allow package.json changes when autoreleasing next [#4068](https://github.com/excalidraw/excalidraw/pull/4068)
82
351
 
83
352
  ---
84
353
 
@@ -88,7 +357,7 @@ Please add the latest change on the top under the correct section.
88
357
 
89
358
  ### Fixes
90
359
 
91
- - Don't show save file to disk button in export dialog when `saveFileToDisk` passed as `false` in [`UIOptions.canvasActions.export`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportOpts).
360
+ - Don't show save file to disk button in export dialog when `saveFileToDisk` passed as `false` in [`UIOptions.canvasActions.export`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#exportOpts) [#4073](https://github.com/excalidraw/excalidraw/pull/4073).
92
361
 
93
362
  - [`onPaste`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#onPaste) prop should return false to prevent the native excalidraw paste action [#3974](https://github.com/excalidraw/excalidraw/pull/3974).
94
363