Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments Title: Make non-editable #40817

Merged
merged 9 commits into from
May 6, 2022
Prev Previous commit
Next Next commit
Add supports deprecation
  • Loading branch information
cbravobernal committed May 4, 2022
commit 4ebf66e7fb3aab52cdb5f22c3aa38aa0eb3bd184
3 changes: 2 additions & 1 deletion packages/block-library/src/comments-title/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import metadata from './block.json';

const { attributes } = metadata;
const { attributes, supports } = metadata;

export default [
{
Expand All @@ -16,6 +16,7 @@ export default [
type: 'string',
},
},
supports,
migrate: ( oldAttributes ) => {
/* eslint-disable no-unused-vars */
const {
Expand Down