* enable vertical toolbar for non full width elements, anchor based on parent
* Update packages/block-editor/src/components/block-popover/index.js
Co-authored-by: Dave Smith <[email protected]>
* Update packages/block-editor/src/components/block-popover/index.js
Co-authored-by: Dave Smith <[email protected]>
* make zoom out check a dependency of the memoization, improve code readability
* comment typos
* subscribe to state instead of calculating zoom out view state when calculating the anchor
* get the section wrapper for anchoring instead of the parent
* use a selector instead of computing on the fly the parent section
* check if the block element exists yet before computing the anchor
* check if the block element exists yet before computing the anchor
* differentiate between section toolbar and block toolbar for correct positioning when both are visible
* address some nits
* make the select in anchor setting rerun when block selection changes
* fix bug with anchor rect when zoom out not engaged
* fix typo
* Use root container element in post editor as popover anchor
* improve comment
* improve comment to max improvement possible
Co-authored-by: Dave Smith <[email protected]>
* mega nit commit
Co-authored-by: Dave Smith <[email protected]>
* Fix bug with Posts with no full width blocks
* give up on section root, always seek canvas element to position vertical toolbar, also fix typo
* introduce the concept of canvas via a 1st variable
* Use `__unstableContentRef` for zoomed out toolbar positioning instead of dom classname
---------
Co-authored-by: draganescu <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: MaggieCabrera <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: andrewserong <[email protected]>