forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Merge main into fork #16
Merged
Merged
Conversation
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
* add variation's keywords search support * add search tests * add docs
* Fix block wrapper selector * Fix linting issue Co-authored-by: Riad Benguella <[email protected]>
* Editor: Fix block outline rendering after block is moved * Fix rendering for tests. Reduce Timeout from 250 -> 200 to improve UX. * Fix rAF call with toggling highlight * Resolve the E2E test issue, which appears to be caused by a double-mounting Toolbar * Use reducer Co-authored-by: Ella van Durpe <[email protected]>
* Inserter: fix line to show again * Fix client id * Split component * Reorganise
* Rename release notes to changelog. * Update to follow standard format. * Add changelog to react-native-aztec and react-native bridge packages. * Add information categorization labels.
* ReusableBlockConvertButton: use React hooks. * Fix/simplify _isVisible initialization. * Add types JSDoc to component.
…ent. (#23945) * add text align * add wrapper and line-height inherit * php format * get this working in site editor? * set initial readMore, get rid of extra parent component * styles to ensure link color is shown * no elipsis * dont initialize for now /shrug * add custom warning if no post found in context * more simple error fix * actually we need this warning... otherwise user can edit what cannot be dirtied/saved * get rid of important
…lLineHeight (#23044) * add the new support flag * remove the old * remove unnecessary attributes * updated colors in php * add link color support * update background classname * gutting the unnecessary * add style rules to add the set link color * remove important style
* Change gallery to wide width * Update two-images.php Change the image URLs to reflect the proposed new location from the Core Trac ticket. Co-authored-by: Jon Desrosiers <[email protected]>
- @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected] - @wordpress/[email protected]
Co-authored-by: Dominik Schilling <[email protected]> Co-authored-by: jasmussen <[email protected]>
* Use GutenbergProps object for initialProps * Simplify GutenbergProps object * Update demo app with GutenbergProps changes
* Fix race condition when onChange callback changed * Add tests to cover the scenario
…led> component. (#24397)
Co-authored-by: ntsekouras <[email protected]>
…allow inner blocks (#24514) * Fix canInsertBlockType returns incorrect value for block that does not support inner blocks * Update unit tests
… and items are less. (#24481) * fill with available variations if limit is set * Inserter: Test for isDefault:true block variations * Fix provision of variations in block inserter items * Simplify overall logic * Prioritize base block types, excluding those superseded by isDefault:true block variations * add quick exit if there are enough items * remove incomplete limit check on top Co-authored-by: Miguel Fonseca <[email protected]>
* First stab at sidebars_widgets based widget management * Render widgets screen based on sidebars endpoint * Fully functional blocks rendering * Add a scaffold of store-based saving * Sidebars API -based widget management * Entity-based save operation * Enable REST-based widgets save operation * Display success/error notice after saving * Add the experimental sidebars controller * Clean up unused apis * Restore the widget-forms endpoint * Refactor widget-forms to widget-utils controller * Make widget form and preview work * Remove $core_widgets = [] override * Make the new widgets screen fully functional * Remove obsolete changes * Remove unused code * Restore the experimental customizer UI * Lint PHP code * Lint * Add permissions_check * Define read / edit routes using a single declaration * replace get_param with array syntax * Add wp_slash to input widget settings * Use schema * lint * Use single, global editor instead of separate editors * Update lib/class-wp-rest-sidebars-controller.php Co-authored-by: Robert Anderson <[email protected]> * Update lib/class-wp-rest-widget-utils-controller.php Co-authored-by: Robert Anderson <[email protected]> * Update packages/edit-widgets/src/components/widget-areas-block-editor-content/index.js Co-authored-by: Robert Anderson <[email protected]> * Remove lib/class-experimental-wp-widget-blocks-manager.php * Clean up the endpoints * Invoke getWidgetAreas at the top level * rename widgetArea entity to sidebars * Enable the experiment code conditionally * Load Gutenberg styles on widgets.php * Make the API compatible with old-style widgets * Clean up WP_REST_Widget_Utils_Controller * revert code data layer change * Add unit tests for the endpoints * Fix indexing bug Co-authored-by: Robert Anderson <[email protected]>
* Initial work on column percentage mechanism * Revert width changes * Add columns presets * Add toFixed in RangeCell * Code refactor, adjusting to comments * Fix paddings and typo * Display layout picker only for default columns * Add styles in menu item * Create columns preview * Columns refactor * Refactor columns preview * Refactor after CR * Extract column preview to the separate file * Support multiple sliders * Add slider patch * Correct useMemo in variation picker * Change button color and slider step * Hide TextInput for multiple sliders * Add function getColumnsSliders * Update packages/block-library/src/columns/edit.native.js Co-authored-by: Drapich Piotr <[email protected]> * Update changelog * Rename flag to shouldDisplayTextInput Co-authored-by: Drapich Piotr <[email protected]>
* Fix incorrect siblingCount value * Remove outdated comment
Co-authored-by: epiqueras <[email protected]> Co-authored-by: Jon Q <[email protected]>
* normalize styles for dedupe * update tests * Refactor style deduping; amend tests * add comment back in Co-authored-by: Miguel Fonseca <[email protected]>
…24499) * i18n: make a string translatable inside large-header-button pattern Make the "Read now" string translatable. Fixes https://core.trac.wordpress.org/ticket/50904 * Add text-domain
* Use blockLabel for BlockTitle component * Truncate the label to 15 characters
…24083) * Add API to get all blocks even controlled ones * Show inner block controller blocks in block navigator * Create settings object for inner block param
* Add experimental font size attribute to nav block * Remove font size attributes.
* remove redundant "opens in a new tab" its already in the link text * Update snapshots. * Make the VisuallyHidden part of the conditional. * Update snaps again.
* Mobile - Gallery - Media editing * Mobile - Update changelog * Mobile - Gallery - Remove extra separator * Mobile - Media Editing - Allow disabling the replace option * Mobile - Gallery block - Disable replace option for media editing and fix caption styles and scrolling * Mobile - Gallery block - Caption styles improvements * Mobile - Gallery - Styles improvements for caption * Mobile - Gallery - Remove option to replace image * Mobile - Gallery - Update styles to use border variable * Mobile - Gallery - Use grid unit for styles and code improvements
…eady done in block.js (#24466)
* Refactor tests to use RTL * Add test for ordering of the month/day input * Add storybook for <TimePicker> * Refactor <TimePicker> * Coding style updates as per suggested in code reviews
…4510) * [RNAztec iOS] Forcing minimum height to be equal to placeholder's height * Update CHANGELOG.md
* Add navigation dependencies * Add android links * link ios * WIP add height animation - needs polishing * Fix gradient picker * remove unused variables * Use FlatList inside the BottomSheet * remove unused code * Move BottomSheetScreen to separate file * Split color-settings to few files * add hardware back button support * fix max height after back * fix android padding when there is no safe area * Add BottomSheet.NavigationContainer * Update Podfile.lock * revert changes with FlatList to make review easier * add mocks * use LayoutAnimmation * update podfile.lock * add jitpack versions * fix name of masked-view package * add mocks for media * fix css lint error * update package-lock.json * fix dependencies * update masked-view package * update lock file * update react-native-gesture-handler hash * update deps * move names of screens to consts * fix issue with import of blockSettingsScreen * bottom-sheet-context refactor * fix: rename handler prop in picker screen * fix spacing in slider * set push animation * use debounce to fix the initial animation * remove unused onReplaceSubsheet method * refactor navigation screen and navigation container WIP * change animation to fade * change the in/out animation duration * fix slider styles * rename setMaxHeight to avoid confusion * fix js-lint * use configPath in jest config * performance optimisation * fix custom color from initial palette - cover block * refactor navigation screen and navigation container * Revert cell styles * Add readme for navigation in bottom sheet and refactor container and screen * rename dirname because manifest title * update manifest * make custom-gradient-picker component independent of navigation
#24232) * InnerBlocks: introduce prop to specify wrapper element for children. Initial web edit implementation. (No save or native implementations yet.) * Initial save implementation. * For testing purposes: wrap each child of Group in section tag. * Fix save implementation over-escaping. * Move wrapper logic from BlockList to BlockListBlock. Fixes block moving animations for inner blocks. * Fix drag-and-drop for inner blocks. * Initial native implementation. * Remove need for 'block-editor-block-list-block__wrapper'. This makes it possible to switch to a callback-based API, e.g. "itemWrapper={ ( item ) => <div>{ item }</div> }". * Switch to callback-based API. Edit implementation: <InnerBlocks __experimentalItemCallback={ ( item ) => <div>{ item }</div> } /> Save implementation: <InnerBlocks.Content __experimentalItemCallback={ ( item ) => <div>{ item }</div> } /> * Rename __experimentalCallback to __experimentalRenderCallback. * Apply render callback at a slightly higher level. Fixes non-light blocks having the render callback applied inside the Block component rather than outside. Also moves the "Edit as HTML" form of blocks inside the render callback. * Remove obsolete unit test. getNearestBlockIndex now assumes all elements passed to it are the root elements of blocks; we filter out the other elements before passing the array to the function. * Revert temporary Group block changes.
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.
No description provided.