Skip to content

Inserter: Remove duplicated and simplify sibling inserter styles#3705

Merged
aduth merged 2 commits intomasterfrom
remove/block-inserter-duplication
Nov 30, 2017
Merged

Inserter: Remove duplicated and simplify sibling inserter styles#3705
aduth merged 2 commits intomasterfrom
remove/block-inserter-duplication

Conversation

@aduth
Copy link
Copy Markdown
Member

@aduth aduth commented Nov 28, 2017

Related: #3546

This pull request seeks to eliminate duplicated styles which were left-over in VisualEditor styles after BlockList was extracted to a separate component in #3546. Further, it simplifies width styling of the sibling inserter to not assume visual editor width, but instead apply padded centering via margins. This eliminates the implicit dependency between block list and visual editor, and is more accommodating to other inserter contexts (nesting).

Testing instructions:

Verify that there are no visual regressions in the display of the block list inserter, for inserting between blocks, and when using the global and end-of-content inserters.

@aduth aduth added the [Feature] Inserter The main way to insert blocks using the + button in the editing interface label Nov 28, 2017
Copy link
Copy Markdown
Member

@noisysocks noisysocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Code looks good and the inserter looks and behaves well.

@aduth aduth force-pushed the remove/block-inserter-duplication branch from 57dbfd5 to 5cfbff4 Compare November 30, 2017 13:17
@aduth aduth merged commit 08f2df8 into master Nov 30, 2017
@aduth aduth deleted the remove/block-inserter-duplication branch November 30, 2017 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Inserter The main way to insert blocks using the + button in the editing interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants