Skip to content

Improve block preview.#12212

Merged
youknowriad merged 1 commit into
masterfrom
try/editor-styles-wrapper-preview
Nov 23, 2018
Merged

Improve block preview.#12212
youknowriad merged 1 commit into
masterfrom
try/editor-styles-wrapper-preview

Conversation

@jasmussen

Copy link
Copy Markdown
Contributor

Hopefully fixes #11997.

It polishes the preview code a bit to be leaner and more readable. But mostly it adds a fwe CSS style overrides that it might inherit from the theme.

CC: @m-e-h

screenshot 2018-11-22 at 11 10 07

screenshot 2018-11-22 at 11 11 00

screenshot 2018-11-22 at 11 11 15

screenshot 2018-11-22 at 11 11 23

screenshot 2018-11-22 at 11 11 38

Hopefully fixes #11997.

It polishes the preview code a bit to be leaner and more readable. But mostly it adds a fwe CSS style overrides that it might inherit from the theme.
@jasmussen jasmussen added the [Type] Enhancement A suggestion for improvement. label Nov 22, 2018
@jasmussen jasmussen added this to the WordPress 5.0.x Follow Ups milestone Nov 22, 2018
@jasmussen jasmussen self-assigned this Nov 22, 2018
@jasmussen
jasmussen requested a review from a team November 22, 2018 10:15
@jasmussen

Copy link
Copy Markdown
Contributor Author

I'm leaving unmerged as I'm not quite sure, at this point in time, whether and when is a good time to merge. Feel free to merge & milestone if it should go in now.

@mtias mtias modified the milestones: WordPress 5.0.x Follow Ups, 4.6 Nov 22, 2018
@youknowriad
youknowriad merged commit 70b378b into master Nov 23, 2018
@youknowriad
youknowriad deleted the try/editor-styles-wrapper-preview branch November 23, 2018 08:58
@mtias mtias added the [Feature] Blocks Overall functionality of blocks label Nov 29, 2018
youknowriad pushed a commit that referenced this pull request Nov 29, 2018
Hopefully fixes #11997.

It polishes the preview code a bit to be leaner and more readable. But mostly it adds a fwe CSS style overrides that it might inherit from the theme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Blocks Overall functionality of blocks [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

editor-styles-wrapper effecting previews in the components panel

3 participants