Skip to content

Commit

Permalink
Add linkTarget to JS allowed blocks object
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Jan 24, 2024
1 parent 3e3ba71 commit 222bd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/use-bindings-attributes.js
Expand Up @@ -26,7 +26,7 @@ const BLOCK_BINDINGS_ALLOWED_BLOCKS = {
'core/paragraph': [ 'content' ],
'core/heading': [ 'content' ],
'core/image': [ 'url', 'title', 'alt' ],
'core/button': [ 'url', 'text' ],
'core/button': [ 'url', 'text', 'linkTarget' ],
};

const createEditFunctionWithBindingsAttribute = () =>
Expand Down

0 comments on commit 222bd27

Please sign in to comment.