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

Fixed bug in Slate converter #4

Merged
merged 1 commit into from
Sep 29, 2021
Merged

Conversation

ianconsolata
Copy link
Contributor

Apparently slate nodes don't always have a type, even if they have
children. So just recursive if you find a child key even if there is no
type.

This fixes the broken note Travis linked me too. Gonna check some of the ones Tani linked too to see if there are more bugs, or if this covers it.

Apparently slate nodes don't always have a type, even if they have
children. So just recursive if you find a child key even if there is no
type.
@vercel
Copy link

vercel bot commented Sep 29, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mysilio/garden/Gv39Cn7RCGdf9zgU2farPQxULfiy
✅ Preview: https://garden-git-id-fix-note-migrator.mysilio.page

@ianconsolata
Copy link
Contributor Author

ianconsolata commented Sep 29, 2021

Gonna merge this to get it to staging.mysilio.com so I can test against her broken notes

@ianconsolata ianconsolata merged commit 6d24527 into staging Sep 29, 2021
@ianconsolata ianconsolata deleted the id/fix-note-migrator branch September 29, 2021 21:38
@ianconsolata ianconsolata restored the id/fix-note-migrator branch September 29, 2021 21:38
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.

1 participant