refactor(changes): allow set attributes to be width or height
This commit is contained in:
@@ -7,7 +7,7 @@ export type NodeDimensionChange = {
|
||||
/* if this is true, the node is currently being resized via the NodeResizer */
|
||||
resizing?: boolean;
|
||||
/* if this is true, we will set width and height of the node and not just the measured dimensions */
|
||||
setAttributes?: boolean;
|
||||
setAttributes?: boolean | 'width' | 'height';
|
||||
};
|
||||
|
||||
export type NodePositionChange = {
|
||||
|
||||
Reference in New Issue
Block a user