Closed dsas closed 12 months ago
Writing to the props passed causes an error if it doesn't already have width and height properties as the object isn't extensible.
props
This is fixed by copying to an intermediary object and then using that.
This error is fatal - crashes the whole of GB when using current GB trunk (15d644f2)
nvm use && yarn install
yarn plugin layout-grid && yarn bundle
cd bundles && unzip jetpack-layout-grid.zip && cd jetpack-layout-grid
scp -r * wpcom-sandbox:public_html/wp-content/plugins/gutenberg-blocks/jetpack-layout-grid/
Closes #328
Note that the tests fail, but then they failed before and it looks unrelated so...
Writing to the
props
passed causes an error if it doesn't already have width and height properties as the object isn't extensible.This is fixed by copying to an intermediary object and then using that.
This error is fatal - crashes the whole of GB when using current GB trunk (15d644f2)
Testing steps
nvm use && yarn install
yarn plugin layout-grid && yarn bundle
cd bundles && unzip jetpack-layout-grid.zip && cd jetpack-layout-grid
scp -r * wpcom-sandbox:public_html/wp-content/plugins/gutenberg-blocks/jetpack-layout-grid/
Closes #328