getting error with isPlainObject when using Slate in a Javascript project: TypeError: Object(...) is not a function #4585
Unanswered
mahuzedada
asked this question in
Q&A
Replies: 2 comments
-
Second that |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am also getting this error, did anyone find a solution? @aleksandrenko @mahuzedada |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using slate in a javascript project. When i load the page I get the following error:
TypeError: Object(...) is not a function
.The error seems to be thrown in this function:
isText(value) { return isPlainObject(value) && typeof value.text === 'string'; },
Any idea what might be causing this?
Beta Was this translation helpful? Give feedback.
All reactions