Slate: Attempted import error: 'Value' is not exported from 'slate'.

Created on 22 Dec 2019  路  2Comments  路  Source: ianstormtaylor/slate

Hello, when I try to parse Slate value into html using slate-html-serializer. But I recieved an error like this:

./node_modules/slate-html-serializer/lib/slate-html-serializer.es.js
Attempted import error: 'Value' is not exported from 'slate'.

My code:

import HTML from 'slate-html-serializer';

<Slate editor={editor} value={value} onChange={value => {
      const html = new HTML();
      console.log(html.serialize(value))
      setValue(value)
}}>
question

Most helpful comment

Hey, thanks for using Slate! Unfortunately, we can't offer support for usage questions in the issues here because it becomes overwhelming to maintain the project if the issues are filled with questions.

However, we do have a Slack channel and people are constantly asking and answering questions in there. So I'm going to close this issue, but I definitely recommend joining the Slack channel if you want to find people that might be able to help.

Thanks for understanding!

All 2 comments

@thaind97git are you perhaps using slate-html-serializer with slate > 0.47 ?

Hey, thanks for using Slate! Unfortunately, we can't offer support for usage questions in the issues here because it becomes overwhelming to maintain the project if the issues are filled with questions.

However, we do have a Slack channel and people are constantly asking and answering questions in there. So I'm going to close this issue, but I definitely recommend joining the Slack channel if you want to find people that might be able to help.

Thanks for understanding!

Was this page helpful?
1 / 5 - 3 ratings

Related issues

ianstormtaylor picture ianstormtaylor  路  3Comments

ianstormtaylor picture ianstormtaylor  路  3Comments

Slapbox picture Slapbox  路  3Comments

YurkaninRyan picture YurkaninRyan  路  3Comments

gorillatron picture gorillatron  路  3Comments