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

Html-serializer: Cannot read property 'reduce' of undefined #2829

Closed
coltontravers opened this issue May 23, 2019 · 4 comments
Closed

Html-serializer: Cannot read property 'reduce' of undefined #2829

coltontravers opened this issue May 23, 2019 · 4 comments

Comments

@coltontravers
Copy link

Do you want to request a feature or report a bug?

bug

What's the current behavior?

When trying to serialize a Slate value, it gives me a "Cannot read property 'reduce' of undefined" error.

The error happens here:
image

@brendancarney
Copy link
Collaborator

Could you provide a CodeSandbox or JSFiddle demonstrating the issue?

@coltontravers
Copy link
Author

@brendancarney Well, I created a codesandbox here (https://codesandbox.io/s/stupefied-lake-855zy), but it works in that. I have my repo up here that has the error: https://github.com/coltontravers/Slyde

@davidgolden
Copy link

I was seeing this same error and upgrading to the latest versions of slate and slate-react along with updating some code to match those versions seems to have resolved it.

@ianstormtaylor ianstormtaylor mentioned this issue Nov 6, 2019
@ianstormtaylor
Copy link
Owner

As of #3093 (which was just merged), I believe this issue is no longer applicable, because a lot has changed. I'm going through and closing out any potential issues that are not out of date with the overhaul. Thanks for understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants