Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Historically, the problem with doing things like this is that it can cause something like table cell height to be imported into an editor that doesn't otherwise support row resizing. This would mean the row is sort of "stuck" with the height and the user wouldn't be able to change it in the destination editor. Typically we'd ask users to implement this in a TableCellNode override, but I will defer to @zurfyx if he think this is functionality that should be baked into core tables logic. |
|
I understand this concern, but as far as I can tell this data is also passed with the serialized node, so a copy and paste of a resized column or row from an editor that allows resizing into one that doesn't presents the same "problem" - the cell/row is now "stuck" at this size. In fact Just as a counter-point, if resizing should be a custom operation and editor-builders are expected to implement it themselves fully, why do the base Row and Cell Nodes even contain width and height properties. |
Yes, valid point. Let's do this then. |
Addresses #4518