Describe the bug
I made a custom button for the Table named table setting Settings and it should update the tableSource value but i am not able to do that.
I added a updated the defaultProps and added this
tableSource: { default: "" as const, },
, but I'm encountering issues when trying to access or update that property. While debugging, I noticed that the values are correctly passed to updateBlockTr() and tr.setNodeMarkup() functions, but the properties don't persist after these calls.
To Reproduce
- Created a custom table prop schema that extends the default table props
- Attempted to update the tableSource property using the editor.updateBlock() method
- Values appear to be passed correctly to the internal update functions
- However, the updated property doesn't persist in the block after the update
Misc
Describe the bug
I made a custom button for the Table named table setting Settings and it should update the
tableSourcevalue but i am not able to do that.I added a updated the
defaultPropsand added thistableSource: { default: "" as const, },, but I'm encountering issues when trying to access or update that property. While debugging, I noticed that the values are correctly passed to updateBlockTr() and tr.setNodeMarkup() functions, but the properties don't persist after these calls.
To Reproduce
Misc