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

Feat (data compatibility): Add normalization for List tool data #96

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

e11sy
Copy link

@e11sy e11sy commented Oct 30, 2024

Problem

For now nested list does not support data format of the @editor-js/list tool

Solution

  • Added util method that checks that passed data related to the Lits tool and normalizes it
  • Added demo in index, how block with List tool data displayes with Nested List tool
  • Added interface that represents List tool data format

Additional

@e11sy e11sy changed the base branch from release/2.0 to improve-toolbox-input October 30, 2024 18:23
src/utils/normalizeData.ts Outdated Show resolved Hide resolved
Base automatically changed from improve-toolbox-input to release/2.0 October 30, 2024 18:49
@e11sy e11sy merged commit e04ffe3 into release/2.0 Oct 30, 2024
1 check passed
@e11sy e11sy deleted the add-converter-for-list-tool-data branch October 30, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants