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: 1 comment
-
Second that |
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
-
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