Skip to content

Commit

Permalink
Updated Several Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
shail-mehta committed Jan 2, 2025
1 parent b97604f commit b71aa0a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The `CopyHandler` component handles the copy/cut and paste events of its childre

Concretely, it handles the display of success messages and takes care of copying the block to the clipboard. It uses for that the [serialize function](https://github.com/WordPress/gutenberg/blob/HEAD/packages/blocks/src/api/serializer.js), which outputs HTML augmented with the HTML-comment demarcations to denote blocks.

![Copy/cut behaviours](https://user-images.githubusercontent.com/150562/81698101-6e341d80-945d-11ea-9bfb-b20781f55033.gif)
![Copy/cut behaviors](https://user-images.githubusercontent.com/150562/81698101-6e341d80-945d-11ea-9bfb-b20781f55033.gif)

## Development guidelines

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2422,12 +2422,12 @@ describe( 'Controlling link title text', () => {

it.each( [
[ '', 'Testing' ],
[ '(with leading and traling whitespace)', ' Testing ' ],
[ '(with leading and trailing whitespace)', ' Testing ' ],
[
// Note: link control should always preserve the original value.
// The consumer is responsible for filtering or otherwise handling the value.
'(when containing HTML)',
'<strong>Yes this</strong> <em>is</em> expected behaviour',
'<strong>Yes this</strong> <em>is</em> expected behavior',
],
] )(
"should ensure text input reflects the current link value's `title` property %s",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { focusListItem } from './utils';
import { getPasteBlocks, setClipboardBlocks } from '../writing-flow/utils';

// This hook borrows from useClipboardHandler in ../writing-flow/use-clipboard-handler.js
// and adds behaviour for the list view, while skipping partial selection.
// and adds behavior for the list view, while skipping partial selection.
export default function useClipboardHandler( { selectBlock } ) {
const registry = useRegistry();
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import deprecated from '@wordpress/deprecated';
*/
export function MultiSelectScrollIntoView() {
deprecated( 'wp.blockEditor.MultiSelectScrollIntoView', {
hint: 'This behaviour is now built-in.',
hint: 'This behavior is now built-in.',
since: '5.8',
} );
return null;
Expand Down

0 comments on commit b71aa0a

Please sign in to comment.