Skip to content

Commit

Permalink
Merge pull request #19519 from Yoast/19479-block-editor-the-highlight…
Browse files Browse the repository at this point in the history
…ing-feature-does-not-highlight-text-in-image-captions

Allows highlighting in captions
  • Loading branch information
hdvos authored Jan 16, 2023
2 parents 5458e65 + 6974812 commit 0665660
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions packages/js/src/decorator/gutenberg.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,36 @@ const ANNOTATION_ATTRIBUTES = {
key: "content",
},
],
"core/audio": [
{
key: "caption",
},
],
"core/embed": [
{
key: "caption",
},
],
"core/gallery": [
{
key: "caption",
},
],
"core/image": [
{
key: "caption",
},
],
"core/table": [
{
key: "caption",
},
],
"core/video": [
{
key: "caption",
},
],
};

const ASSESSMENT_SPECIFIC_ANNOTATION_ATTRIBUTES = {
Expand Down

0 comments on commit 0665660

Please sign in to comment.