diff --git a/packages/block-editor/src/components/copy-handler/README.md b/packages/block-editor/src/components/copy-handler/README.md index 1e9883d9a2b3b3..cc6b536d50e7f3 100644 --- a/packages/block-editor/src/components/copy-handler/README.md +++ b/packages/block-editor/src/components/copy-handler/README.md @@ -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 diff --git a/packages/block-editor/src/components/link-control/test/index.js b/packages/block-editor/src/components/link-control/test/index.js index bd97fec4ba0073..bf81da21d98609 100644 --- a/packages/block-editor/src/components/link-control/test/index.js +++ b/packages/block-editor/src/components/link-control/test/index.js @@ -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)', - 'Yes this is expected behaviour', + 'Yes this is expected behavior', ], ] )( "should ensure text input reflects the current link value's `title` property %s", diff --git a/packages/block-editor/src/components/list-view/use-clipboard-handler.js b/packages/block-editor/src/components/list-view/use-clipboard-handler.js index e7c3026e70f090..3960fbf7ac3bf0 100644 --- a/packages/block-editor/src/components/list-view/use-clipboard-handler.js +++ b/packages/block-editor/src/components/list-view/use-clipboard-handler.js @@ -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 { diff --git a/packages/block-editor/src/components/selection-scroll-into-view/index.js b/packages/block-editor/src/components/selection-scroll-into-view/index.js index 773eab12a7b97f..26a853b7e88b74 100644 --- a/packages/block-editor/src/components/selection-scroll-into-view/index.js +++ b/packages/block-editor/src/components/selection-scroll-into-view/index.js @@ -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;