Add back old Navigation and File blocks JavaScript implementation when Gutenberg is not installed#52553
Merged
SantosGuillamot merged 6 commits intotrunkfrom Jul 12, 2023
Conversation
|
Size Change: -472 B (0%) Total Size: 1.43 MB
ℹ️ View Unchanged
|
luisherranz
approved these changes
Jul 12, 2023
Member
luisherranz
left a comment
There was a problem hiding this comment.
It works as expected. Thanks for the quick fix, Mario!
Member
|
Yes, thank you for this quick fix. However...
Can something more tailored than this be provided? Setting the |
westonruter
added a commit
that referenced
this pull request
Jul 12, 2023
…dd/defer-script-loading-strategy * 'trunk' of https://github.com/WordPress/gutenberg: Update Changelog for 16.2.0 Adding support for defined IDs in `TextControl` component (#52028) Bump plugin version to 16.2.0 Revert "Bump plugin version to 16.2.0" Bump plugin version to 16.2.0 Add maxLength to LinkControl search items (#52523) [RNMobile] Update Editor block inserter button styles and default text input placeholder/selection styles (#52269) Site Editor: Reset device preview type when exiting the editing mode (#52566) Trim footnote anchors from excerpts (#52518) Add back old Navigation and File blocks JavaScript implementation when Gutenberg is not installed (#52553) Block Editor: Ensure synced patterns are accounted for in 'getAllowedBlocks' (#52546) Fix md5 class messed up with new block key (#52557) Fix entity cache misses for single posts due to string as recordKey (#52338) Make "My patterns" permanently visible (#52531) Hide site hub when resizing frame upwards to avoid overlap (#52180) Fix "Manage all patterns" link appearance (#52532) Update navigation menu title size & weight in detail panels (#52477) Site Editor Patterns: Ensure sidebar does not shrink when long pattern titles are used (#52547) Site Editor: Restore quick inserter 'Browse all' button (#52529) Patterns: update the title of Pattern block in the block inspector card (#52010)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Add back the old JavaScript files used for the Navigation and File blocks.
Why?
As reported here, in that pull request the old JavaScript files, currently used when Gutenberg is not installed, were removed. This is causing issues for testing and triaging bugs in the 6.3 release.
How?
view.jsfiles and move the Interactivity API code to a newview-interactivity.jsfile.view.jsfiles depending if Gutenberg is activated or not.Testing Instructions
We can simulate if Gutenberg is activated or not changing the IS_GUTENBERG_PLUGIN variable in the load.php file.
When it is
false:When it is
true: