-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eventbrite Block: Add alignment support (#14817)
* Eventbrite Alignment: Add left, center, right alignment support to the Eventbrite block. Fixes #14505 * Eventbrite Alignment: Add position relative to block to make sure that the iframe cannot be interacted with when alignment is set. See #14820 * Eventbrite Alignment: Make sure the alignment classes are added to the server side rendered iframe embed. * Use the block_classes helper function and escape the result * Update the CSS to target the new class name * Add support for wide and full alignments Co-authored-by: Ben Dwyer <ben@scruffian.com>
- Loading branch information
Showing
4 changed files
with
13 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ export const settings = { | |
], | ||
supports: { | ||
html: false, | ||
align: true, | ||
}, | ||
attributes, | ||
edit, | ||
|
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