-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error: Cannot resolve a DOM node from Slate node when using plugin with default config #16
Comments
@tomasmazzocchi I don't actively maintain this library, but I'm happy to review and merge PRs. Would you be interested in sending one? |
Same issue here. The error occurs after I have added rows/cells and try to activate one in order to type in it. |
@leads if you are interested in fixing the issue, I am would be happy to review your PR |
add
props in TableInput.tsx for the MemberField component.
That should fix it |
@davydog187 Is it possible to get the NPM version of this updated? |
Yep, on it |
I tried to get a version out, but typescript is throwing a bunch of errors. npx tsc
node_modules/@sanity/types/lib/dts/src/index.d.ts:756:3 - error TS1139: Type parameter declaration expected.
756 const TType extends string | IntrinsicTypeName, // IntrinsicTypeName here improves autocompletion in _some_ IDEs (not VS Code atm)
~~~~~
node_modules/@sanity/types/lib/dts/src/index.d.ts:756:15 - error TS1005: ',' expected.
756 const TType extends string | IntrinsicTypeName, // IntrinsicTypeName here improves autocompletion in _some_ IDEs (not VS Code atm)
~~~~~~~
node_modules/@sanity/types/lib/dts/src/index.d.ts:756:30 - error TS1005: ',' expected.
756 const TType extends string | IntrinsicTypeName, // IntrinsicTypeName here improves autocompletion in _some_ IDEs (not VS Code atm)
~
node_modules/@sanity/types/lib/dts/src/index.d.ts:757:3 - error TS1109: Expression expected. I don't have time to debug this, so if someone can provide guidance I can fix. Otherwise I will not be able to get a new version out |
PRs are welcome to fix the issue. I'm happy to review and release new versions. I do not have the capacity to triage and fix myself as I am no longer a user of Sanity |
Background
I am trying to use this plugin because fits my requirements but when I added it to my schema and then tried to create a table in the Desk Sanity Studio I got this error after clicking to activate a cell
Error
Config
The text was updated successfully, but these errors were encountered: