Open vincentdesmares opened 4 years ago
Can you provide more details regarding the error?
It seems this error is occured in blockSelection.ts
.
When multiple Editor.js instances are launched, this error can be occured by Ctrl + A (Select All Command),
Provide proper steps for reproducing the error. @vincentdesmares
don't know what tooling you use when writing the code for the library, but as getBlock()
might return undefined, you should not chain its call with property access/method call. i get the same error described by the author of this thread in handleCommandA()
where you rely on getBlock()
returning value based on event.target
which is really unpredictable in general
We got a report from Sentry that one of our user got a bug when modifying a text.
I cannot reproduce it as I don't know how it got triggered.
Yet I know the last user action:
ui.click | div.ce-block__content > div.ce-paragraph.cdx-block
Browser : Chrome Version: 81.0.4044 Computer : Macbook pro with Mac OS X Version:10.14.6
Editor.js version and plugins you use with their versions: