-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add layout styles from Post Content block to post editor (#44258)
* Add layout styles from Post Content block to post editor * Fix post content finding logic. * Remove extra styles when Post Content block exists. * templateContent should always be a string * Memoise post content block. * Change function signature and mark experimental * _Really_ make sure templateContent is a string * Update layout type for legacy layouts. * Fix selector specificity and legacy layout logic. * Fix 404s on fetch and only parse content if needed * Fix acces to layout when no Post Content block * Add doc comment to findPostContent * Increase specificity * Remove unneeded LayoutStyle
- Loading branch information
1 parent
6ae3319
commit cf0b87a
Showing
5 changed files
with
180 additions
and
43 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
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