-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Post Tags: Fix bug where no tags are rendered (#24082)
Previously, when the post tags block was added to a view, post tags were not being loaded. In addition to that, post tags were previously misaligned when rendered in the front-end. The wrapping div now constrains the tags within the predefined margins of site editor content.
- Loading branch information
Showing
3 changed files
with
50 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{ | ||
"name": "core/post-tags", | ||
"category": "design", | ||
"usesContext": [ | ||
"postId" | ||
], | ||
"usesContext": [ "postId", "postType" ], | ||
"supports": { | ||
"html": false | ||
"html": false, | ||
"lightBlockWrapper": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters