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

Publication draft lost if containing list items #1691

Closed
1 task done
foolo opened this issue Jan 28, 2023 · 3 comments
Closed
1 task done

Publication draft lost if containing list items #1691

foolo opened this issue Jan 28, 2023 · 3 comments

Comments

@foolo
Copy link
Contributor

foolo commented Jan 28, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Steps To Reproduce

  1. On start page, write a draft with a list item (a line starting with a dash: - example) without publishing

  2. Close the modal without publiishing
    Screenshot_2023-01-28_17-19-41

  3. Open the modal again

Current Behavior

Modal is empty
Error message in console:

next-dev.js?36dd:20 Error: Create node: Attempted to create node ListItemNode that was not configured to be used on the editor.
    at errorOnTypeKlassMismatch (Lexical.dev.js?cb45:7415:1)
    at new LexicalNode (Lexical.dev.js?cb45:6705:1)
    at new ElementNode (Lexical.dev.js?cb45:7487:1)
    at new ListItemNode (LexicalList.dev.js?b341:615:1)
    at Object.$createListItemNode (LexicalList.dev.js?b341:1030:1)
    ...

Expected Behavior

Should show the draft text from before (- example)

What platform(s) does this occur on?

Web

What browser(s) does this occur on?

Chrome

Anything else?

No response

@bigint
Copy link
Member

bigint commented Sep 7, 2023

is this still happening?

@bigint bigint closed this as completed Sep 7, 2023
@foolo
Copy link
Contributor Author

foolo commented Sep 7, 2023

is this still happening?

nope, i saw you closed it so you probably found that out too

Copy link
Contributor

github-actions bot commented Jan 7, 2024

This issue has been locked since it has been closed for more than 10 days.

If you found a concrete bug or regression related to it, please open a new bug report.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants