forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RichText: remove wrapper (and use Popover for inline toolbar) (WordPr…
…ess#17607) * wip * Calculate inline toolbar position without wrapper element * Fix e2e tests * Use Popover, use createRef * Position Popover to editable element * Revert packages/block-library/src/image/edit.js * Simplify * Fix switcher e2e tests * Adjust anchorRect: subtract padding and add buffer * Remove toolbar padding * Remove dead CSS * Clean up * Increase toolbar buffer by 2 * Remove more dead CSS * Remove more dead CSS
- Loading branch information
Showing
10 changed files
with
97 additions
and
139 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
packages/block-editor/src/components/rich-text/format-toolbar/style.scss
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,13 +1,3 @@ | ||
.block-editor-format-toolbar { | ||
display: flex; | ||
flex-shrink: 0; | ||
} | ||
|
||
.block-editor-format-toolbar__selection-position { | ||
position: absolute; | ||
transform: translateX(-50%); | ||
} | ||
|
||
.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after { | ||
margin: 7px; | ||
} |
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
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
Oops, something went wrong.