question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

slate-html-serializer is not supported anymore?

See original GitHub issue

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

What’s the current behavior? After updating package version slate-html-serializer throwing error Uncaught TypeError: slate.Node.createProperties is not a function at new Html (slate-html-serializer.js:209) Looks like Node inside the new Slate don’t have this method and cant be used

I created sandbox: https://jsfiddle.net/xkb69mqe/2/

Slate: 0.59.0 slate-html-serializer: 0.8.13 Browser: Chrome OS: MacOS

What’s the expected behavior? slate-html-serializer should work instead of breaks with error

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

32reactions
jordie23commented, Nov 11, 2021

What’s the recommended method to converting HTML to slate js format?

16reactions
JacobTheHeroDevcommented, Sep 7, 2021

The slate-html-serializer package should be marked as deprecated so people know not to use it going forward.

Read more comments on GitHub >

github_iconTop Results From Across the Web

slate-html-serializer - npm
An HTML serializer for Slate editors.. Latest version: 0.8.13, last published: 3 years ago. Start using slate-html-serializer in your ...
Read more >
slate-html-serializer
The HTML serializer lets you parse and stringify arbitrary HTML content, based on your specific schema's use case. You must pass a series...
Read more >
slate.js based reactjs rich text editor reverse engineering
The Html, Plain and Raw serializers are broken into new packages. Previously you'd import them from slate. But now you'll import them from...
Read more >
packages/slate/Changelog.md · Gitee 极速下载/Slate-js
The Raw serializer is no longer terse by default! Previously, the Raw serializer would return a "terse" representation of the document, omitting information ......
Read more >
UNPKG - @ksimons/slate-html-serializer
**Remove all previously deprecated code paths.** This helps to reduce some of the complexity in Slate by not having to handle these code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found