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

Add link rel and link class to image block inspector (see #7504) #7771

Merged
merged 16 commits into from
Nov 19, 2018
Prev Previous commit
Next Next commit
Resolve final review comment
  • Loading branch information
Ned Zimmerman committed Nov 13, 2018
commit 48dc15fe83bc0b62d4ceaee4ce75c6eb6192d6b9
2 changes: 1 addition & 1 deletion packages/block-library/src/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const schema = {
children: {
...imageSchema,
a: {
attributes: [ 'linkClass', 'href', 'rel', 'target' ],
attributes: [ 'href', 'rel', 'target' ],
children: imageSchema,
},
figcaption: {
Expand Down