Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backspace crashes the app #6240

Closed
streetwriters bot opened this issue Jul 27, 2024 · 1 comment
Closed

Backspace crashes the app #6240

streetwriters bot opened this issue Jul 27, 2024 · 1 comment
Labels
Unit: Editor Issues related to the editor

Comments

@streetwriters
Copy link

streetwriters bot commented Jul 27, 2024

How did it happen:
Create a note with first- and second-level of outlines.
Change the fonts' colour for one of the first-level outline in the middle.
Go to the first letter (of the changed colour line), and hit backspace.
The desktop app crashed.

The error message:

Invalid content for node outlineListItem: <paragraph(textStyle(bold("WHY"))), outlineList(ou
RangeError: Invalid content for node outlineListItem: <paragraph(textStyle(bold("WHY"))), outlineList(ou
    at TE.checkContent (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:7:5580)
    at Wi (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:67267)
    at bE (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:67471)
    at gE (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:66675)
    at gE (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:66386)
    at gE (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:66386)
    at gE (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:66386)
    at tN (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:66277)
    at ug.replace (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:6:72799)
    at yt.fromReplace (https://app.notesnook.com/assets/app-Ckca7oIpc5V5.js:9:11807

Device information:
App version: 3.0.13-9019490-desktop
OS: Windows 10 64-bit
Browser: Electron 29.3.1
Pro: true

@ammarahm-ed ammarahm-ed added the Unit: Editor Issues related to the editor label Sep 30, 2024
@ammarahm-ed
Copy link
Collaborator

Hi I am unable to reproduce this in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unit: Editor Issues related to the editor
Projects
None yet
Development

No branches or pull requests

1 participant