-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Enable access to block settings within UBE #48435
fix: Enable access to block settings within UBE #48435
Commits on Feb 24, 2023
-
fix: Enable access to block settings within UBE
The "Show more settings" menu item is no longer included in the block toolbar after #46709 merged. Rather than relying upon that menu item, this conditionally displays the sidebar toggle button whenever a block is selected.
Configuration menu - View commit details
-
Copy full SHA for 5bd1081 - Browse repository at this point
Copy the full SHA 5bd1081View commit details -
fix: Disable white space stripping that breaks nested CSS selectors
CSS selectors rely upon a single white space between selectors to represent an ancestor relationship. Globally removing white space in the stylesheet breaks this functionality, as it transforms the selector to target a single element with all the selectors. The white space stripping should likely be replaced with a proper CSS minification long term.
Configuration menu - View commit details
-
Copy full SHA for fcfb7d4 - Browse repository at this point
Copy the full SHA fcfb7d4View commit details -
fix: Hide block actions unrelated to editing a single block
Hide the entire "block settings" drop-down menu now that we no longer rely upon it to access the "Show more settings" menu option that was removed entirely.
Configuration menu - View commit details
-
Copy full SHA for a5b08b1 - Browse repository at this point
Copy the full SHA a5b08b1View commit details -
refactor: Relocate script toggling block settings visibility
This relates more to editor behavior than the post content.
Configuration menu - View commit details
-
Copy full SHA for 25dddd0 - Browse repository at this point
Copy the full SHA 25dddd0View commit details
Commits on Feb 27, 2023
-
fix: Apply styles and script to editor canvas iframe
The editor canvas now relies upon an iframe. It is not possible to style elements within an iframe from the parent context. This copies the styles from the parent conext to the iframe. Additionally, the logic selecting the first block also failed due to the block not existing when it was invoked. This relocates that logic until after the iframe is ready.
Configuration menu - View commit details
-
Copy full SHA for ea8d18e - Browse repository at this point
Copy the full SHA ea8d18eView commit details
Commits on Feb 28, 2023
-
fix: Expand conditional checks for partial DOM trees
On Android, there were times where the iframe was present, but the nested window was not yet ready.
Configuration menu - View commit details
-
Copy full SHA for 7c1773b - Browse repository at this point
Copy the full SHA 7c1773bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7f10f5 - Browse repository at this point
Copy the full SHA b7f10f5View commit details -
fix: Avoid React removing appended iframe styles
Append the styles to the `document` element, as React will remove the mutation to the `head` element.
Configuration menu - View commit details
-
Copy full SHA for a7eb9a2 - Browse repository at this point
Copy the full SHA a7eb9a2View commit details -
Merge branch 'trunk' of github.com:WordPress/gutenberg into fix/enabl…
…e-access-to-block-settings-within-ube
Configuration menu - View commit details
-
Copy full SHA for 752a659 - Browse repository at this point
Copy the full SHA 752a659View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7233623 - Browse repository at this point
Copy the full SHA 7233623View commit details