draft-js-table
draft-js-table copied to clipboard
Documentation?
What is NestedUtils? I see that in your code snippet, but I don't see anything with that name in the package.json, and Googling for it didn't turn anything up. I'm trying to use this in a project but when I try to insert a table it blows up:
this.onChange(TableUtils.insertTable( this.props.editorState, 1, 1 ));
insertTable.js:26 Uncaught TypeError: currentBlock.getParentKey is not a function
I'm guessing it's because I'm not using NestedUtils but I haven't been able to figure out what that even is. Thanks!
Hi @dwightware4 Did you get around with that issue?
Still an issue.
@kevinguard hey I did not.
The docs mention you need to use this yet-to-be-merge PR of draft-js: https://github.com/facebook/draft-js/pull/388
This is where NestedUtils comes from. Hopefully it gets merged in soon -- also looking for official table support.
+1
pls help me to fix it
This project is still under active development ?
Same issue