diff --git a/docs/contributors/code/e2e/overusing-snapshots.md b/docs/contributors/code/e2e/overusing-snapshots.md index 6364fd7394789e..5fbc8b735c2320 100644 --- a/docs/contributors/code/e2e/overusing-snapshots.md +++ b/docs/contributors/code/e2e/overusing-snapshots.md @@ -90,7 +90,7 @@ Due to the lack of inline snapshots in Playwright, some migrated tests are using ```js expect( await editor.getEditedPostContent() ).toBe( ` -

Paragraph

+

Paragraph

` ); ``` diff --git a/docs/explanations/architecture/key-concepts.md b/docs/explanations/architecture/key-concepts.md index 30318d29422d37..aaf801c269db46 100644 --- a/docs/explanations/architecture/key-concepts.md +++ b/docs/explanations/architecture/key-concepts.md @@ -18,7 +18,7 @@ Blocks understand content as attributes and are serializable to HTML. To this po ```html -

Welcome to the world of blocks.

+

Welcome to the world of blocks.

``` diff --git a/docs/explanations/architecture/styles.md b/docs/explanations/architecture/styles.md index 68f09f04d21d32..506793221aa6b8 100644 --- a/docs/explanations/architecture/styles.md +++ b/docs/explanations/architecture/styles.md @@ -27,7 +27,7 @@ Since the introduction of the block editor in WordPress 5.0, there were tools fo By default, blocks come with a given HTML markup. Think of the paragraph block, for example: ```html -

+

``` In its simplest form, any style rule that targets the `p` selector will apply styles to this block, whether it comes from a block, a theme, etc. @@ -37,7 +37,7 @@ The user may change the state of this block by applying different styles: a text After some user modifications to the block, the initial markup may become something like this: ```html -

``` diff --git a/docs/getting-started/fundamentals/block-wrapper.md b/docs/getting-started/fundamentals/block-wrapper.md index 98c435f6ebe2f7..def44fe084f4a0 100644 --- a/docs/getting-started/fundamentals/block-wrapper.md +++ b/docs/getting-started/fundamentals/block-wrapper.md @@ -90,6 +90,7 @@ When you add `supports` for any feature, the proper classes get added to the obj ```html

This is a test.

``` diff --git a/docs/how-to-guides/curating-the-editor-experience/patterns.md b/docs/how-to-guides/curating-the-editor-experience/patterns.md index abb7d131041dfb..056204b1ffd8c0 100644 --- a/docs/how-to-guides/curating-the-editor-experience/patterns.md +++ b/docs/how-to-guides/curating-the-editor-experience/patterns.md @@ -32,7 +32,7 @@ To opt into this, include `core/post-content` in the Block Types for your patter -

To RSVP, please join the #fse-outreach-experiment in Make Slack.

+

To RSVP, please join the #fse-outreach-experiment in Make Slack.

@@ -43,7 +43,7 @@ To opt into this, include `core/post-content` in the Block Types for your patter
-

We hope to see you there!

+

We hope to see you there!

``` @@ -62,7 +62,7 @@ register_block_pattern( array( 'title' => __( '404 Only template pattern', 'wp-my-theme' ), 'templateTypes' => array( '404' ), - 'content' => '

404 pattern

', + 'content' => '

404 pattern

', ) ); ``` @@ -87,4 +87,4 @@ The content creator will then find the respective Pattern in the inserter “Pat ## Additional resources -- [Using template patterns to build multiple homepage designs](https://developer.wordpress.org/news/2023/04/13/using-template-patterns-to-build-multiple-homepage-designs/) (WordPress Developer Blog) \ No newline at end of file +- [Using template patterns to build multiple homepage designs](https://developer.wordpress.org/news/2023/04/13/using-template-patterns-to-build-multiple-homepage-designs/) (WordPress Developer Blog) diff --git a/docs/how-to-guides/platform/custom-block-editor.md b/docs/how-to-guides/platform/custom-block-editor.md index b376cc3a9569a4..36c23241e71029 100644 --- a/docs/how-to-guides/platform/custom-block-editor.md +++ b/docs/how-to-guides/platform/custom-block-editor.md @@ -502,7 +502,7 @@ If you open DeveloperTools and inspect the LocalStorage you will see serialized -

This is an experiment to discover how easy (or otherwise) it is to create a standalone instance of the Block Editor in the WordPress admin.

+

This is an experiment to discover how easy (or otherwise) it is to create a standalone instance of the Block Editor in the WordPress admin.

``` diff --git a/docs/reference-guides/block-api/block-patterns.md b/docs/reference-guides/block-api/block-patterns.md index b0096e24791de8..04abd3d2396f61 100644 --- a/docs/reference-guides/block-api/block-patterns.md +++ b/docs/reference-guides/block-api/block-patterns.md @@ -152,7 +152,7 @@ register_block_pattern( 'title' => __( 'Powered by WordPress', 'my-plugin' ), 'blockTypes' => array( 'core/paragraph' ), 'content' => ' -

Powered by WordPress

+

Powered by WordPress

', ) ); @@ -174,7 +174,7 @@ register_block_pattern(

Hi everyone

-

Powered by WordPress

+

Powered by WordPress

', ) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 630bcdd574e9a0..879a7776ce8f0e 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -531,7 +531,7 @@ Start with the basic building block of all narrative. ([Source](https://github.c - **Name:** core/paragraph - **Category:** text -- **Supports:** __unstablePasteTextInline, anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), splitting, typography (fontSize, lineHeight), ~~className~~ +- **Supports:** __unstablePasteTextInline, anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), splitting, typography (fontSize, lineHeight) - **Attributes:** align, content, direction, dropCap, placeholder ## Pattern Placeholder diff --git a/lib/blocks.php b/lib/blocks.php index 75ffd0a6c34a42..7b07fb918395ed 100644 --- a/lib/blocks.php +++ b/lib/blocks.php @@ -82,6 +82,7 @@ function gutenberg_reregister_core_block_types() { 'navigation-link.php' => 'core/navigation-link', 'navigation-submenu.php' => 'core/navigation-submenu', 'page-list.php' => 'core/page-list', + 'paragraph.php' => 'core/paragraph', 'page-list-item.php' => 'core/page-list-item', 'pattern.php' => 'core/pattern', 'post-author.php' => 'core/post-author', diff --git a/packages/block-editor/src/components/block-draggable/test/__snapshots__/index.native.js.snap b/packages/block-editor/src/components/block-draggable/test/__snapshots__/index.native.js.snap index 1c2dc4c68a0ab5..6b8eced6ea0c3a 100644 --- a/packages/block-editor/src/components/block-draggable/test/__snapshots__/index.native.js.snap +++ b/packages/block-editor/src/components/block-draggable/test/__snapshots__/index.native.js.snap @@ -2,7 +2,7 @@ exports[`BlockDraggable moves blocks: Initial order 1`] = ` " -

This is a paragraph.

+

This is a paragraph.

@@ -30,7 +30,7 @@ exports[`BlockDraggable moves blocks: Paragraph block moved from first to second -

This is a paragraph.

+

This is a paragraph.

@@ -58,7 +58,7 @@ exports[`BlockDraggable moves blocks: Spacer block moved from third to first pos -

This is a paragraph.

+

This is a paragraph.

diff --git a/packages/block-editor/src/components/block-draggable/test/index.native.js b/packages/block-editor/src/components/block-draggable/test/index.native.js index 3611f6669ef5d5..060cdad0a3c7dd 100644 --- a/packages/block-editor/src/components/block-draggable/test/index.native.js +++ b/packages/block-editor/src/components/block-draggable/test/index.native.js @@ -46,7 +46,7 @@ const BLOCKS = [ name: 'Paragraph', html: ` -

This is a paragraph.

+

This is a paragraph.

`, layout: { x: 0, y: 0, width: 100, height: 100 }, }, diff --git a/packages/block-editor/src/components/block-mover/test/__snapshots__/index.native.js.snap b/packages/block-editor/src/components/block-mover/test/__snapshots__/index.native.js.snap index 3f34bb39ef1422..1a6186d995898e 100644 --- a/packages/block-editor/src/components/block-mover/test/__snapshots__/index.native.js.snap +++ b/packages/block-editor/src/components/block-mover/test/__snapshots__/index.native.js.snap @@ -2,7 +2,7 @@ exports[`Block Mover Picker moving blocks disables the Move Down button for the last block 1`] = ` " -

Hello!

+

Hello!

@@ -16,7 +16,7 @@ exports[`Block Mover Picker moving blocks disables the Move Down button for the exports[`Block Mover Picker moving blocks disables the Move Up button for the first block 1`] = ` " -

Hello!

+

Hello!

@@ -34,7 +34,7 @@ exports[`Block Mover Picker moving blocks moves blocks up and down 1`] = ` -

Hello!

+

Hello!

diff --git a/packages/block-editor/src/components/block-patterns-list/stories/fixtures.js b/packages/block-editor/src/components/block-patterns-list/stories/fixtures.js index 7825ad0d1391c6..0c643250a9cc99 100644 --- a/packages/block-editor/src/components/block-patterns-list/stories/fixtures.js +++ b/packages/block-editor/src/components/block-patterns-list/stories/fixtures.js @@ -384,7 +384,7 @@ export default [ }, innerBlocks: [], originalContent: - '

Let
\'EM
Roll

', + '

Let
\'EM
Roll

', validationIssues: [], }, { @@ -410,7 +410,7 @@ export default [ }, innerBlocks: [], originalContent: - '

Big
John
Patton

', + '

Big
John
Patton

', validationIssues: [], }, ], @@ -500,7 +500,7 @@ export default [ }, innerBlocks: [], originalContent: - '

Oceanic Inspiration

', + '

Oceanic Inspiration

', validationIssues: [], }, ], @@ -592,7 +592,7 @@ export default [ }, innerBlocks: [], originalContent: - '

Winding veils round their heads, the women walked on deck. They were now moving steadily down the river, passing the dark shapes of ships at anchor, and London was a swarm of lights with a pale yellow canopy drooping above it. There were the lights of the great theatres, the lights of the long streets, lights that indicated huge squares of domestic comfort, lights that hung high in air.

', + '

Winding veils round their heads, the women walked on deck. They were now moving steadily down the river, passing the dark shapes of ships at anchor, and London was a swarm of lights with a pale yellow canopy drooping above it. There were the lights of the great theatres, the lights of the long streets, lights that indicated huge squares of domestic comfort, lights that hung high in air.

', validationIssues: [], }, ], @@ -625,7 +625,7 @@ export default [ }, innerBlocks: [], originalContent: - '

No darkness would ever settle upon those lamps, as no darkness had settled upon them for hundreds of years. It seemed dreadful that the town should blaze for ever in the same spot; dreadful at least to people going away to adventure upon the sea, and beholding it as a circumscribed mound, eternally burnt, eternally scarred. From the deck of the ship the great city appeared a crouched and cowardly figure, a sedentary miser.

', + '

No darkness would ever settle upon those lamps, as no darkness had settled upon them for hundreds of years. It seemed dreadful that the town should blaze for ever in the same spot; dreadful at least to people going away to adventure upon the sea, and beholding it as a circumscribed mound, eternally burnt, eternally scarred. From the deck of the ship the great city appeared a crouched and cowardly figure, a sedentary miser.

', validationIssues: [], }, ], @@ -737,7 +737,7 @@ export default [ }, innerBlocks: [], originalContent: - '

✴︎ Walk

', + '

✴︎ Walk

', validationIssues: [], }, { @@ -763,7 +763,7 @@ export default [ }, innerBlocks: [], originalContent: - '

In the

', + '

In the

', validationIssues: [], }, { @@ -789,7 +789,7 @@ export default [ }, innerBlocks: [], originalContent: - '

Park

', + '

Park

', validationIssues: [], }, { @@ -817,7 +817,7 @@ export default [ }, innerBlocks: [], originalContent: - '

—01.03

', + '

—01.03

', validationIssues: [], }, ], diff --git a/packages/block-editor/src/components/block-toolbar/test/__snapshots__/block-toolbar-menu.native.js.snap b/packages/block-editor/src/components/block-toolbar/test/__snapshots__/block-toolbar-menu.native.js.snap index 6e6c832d5bd52b..56347adcf21157 100644 --- a/packages/block-editor/src/components/block-toolbar/test/__snapshots__/block-toolbar-menu.native.js.snap +++ b/packages/block-editor/src/components/block-toolbar/test/__snapshots__/block-toolbar-menu.native.js.snap @@ -2,7 +2,7 @@ exports[`Block Actions Menu block options copies and pastes a block 1`] = ` " -

Hello!

+

Hello!

@@ -28,13 +28,13 @@ exports[`Block Actions Menu block options cuts and pastes a block 1`] = ` -

Hello!

+

Hello!

" `; exports[`Block Actions Menu block options does not replace a non empty Paragraph block when pasting another block 1`] = ` " -

Hello!

+

Hello!

@@ -52,7 +52,7 @@ exports[`Block Actions Menu block options does not replace a non empty Paragraph exports[`Block Actions Menu block options duplicates a block 1`] = ` " -

Hello!

+

Hello!

@@ -84,7 +84,7 @@ exports[`Block Actions Menu block options transforms a Paragraph block into a Pu exports[`Block Actions Menu moving blocks disables the Move Down button for the last block 1`] = ` " -

Hello!

+

Hello!

@@ -98,7 +98,7 @@ exports[`Block Actions Menu moving blocks disables the Move Down button for the exports[`Block Actions Menu moving blocks disables the Move Up button for the first block 1`] = ` " -

Hello!

+

Hello!

@@ -116,7 +116,7 @@ exports[`Block Actions Menu moving blocks moves blocks up and down 1`] = ` -

Hello!

+

Hello!

diff --git a/packages/block-editor/src/components/block-toolbar/test/block-toolbar-menu.native.js b/packages/block-editor/src/components/block-toolbar/test/block-toolbar-menu.native.js index 6e26b906d68c9a..8bf5f567537c7a 100644 --- a/packages/block-editor/src/components/block-toolbar/test/block-toolbar-menu.native.js +++ b/packages/block-editor/src/components/block-toolbar/test/block-toolbar-menu.native.js @@ -34,7 +34,7 @@ describe( 'Block Actions Menu', () => { it( "renders the block name in the Picker's header", async () => { const screen = await initializeEditor( { initialHtml: ` -

+

`, } ); const { getByRole } = screen; diff --git a/packages/block-editor/src/components/inserter/test/__snapshots__/index.native.js.snap b/packages/block-editor/src/components/inserter/test/__snapshots__/index.native.js.snap index f53e11c9e310bb..95fb2a71170813 100644 --- a/packages/block-editor/src/components/inserter/test/__snapshots__/index.native.js.snap +++ b/packages/block-editor/src/components/inserter/test/__snapshots__/index.native.js.snap @@ -24,7 +24,7 @@ exports[`Inserter can add blocks after another block 1`] = ` -

+

" `; @@ -34,7 +34,7 @@ exports[`Inserter can add blocks before another block 1`] = ` -

+

" `; @@ -48,7 +48,7 @@ exports[`Inserter can add blocks creates a new Paragraph block tapping on the em -

+

" `; @@ -94,7 +94,7 @@ exports[`Inserter can add blocks to the beginning 1`] = ` -

+

" `; @@ -108,7 +108,7 @@ exports[`Inserter can add blocks to the end 1`] = ` -

+

diff --git a/packages/block-editor/src/components/rich-text/native/test/__snapshots__/index.native.js.snap b/packages/block-editor/src/components/rich-text/native/test/__snapshots__/index.native.js.snap index 84e9b467132714..88905c1874fdf0 100644 --- a/packages/block-editor/src/components/rich-text/native/test/__snapshots__/index.native.js.snap +++ b/packages/block-editor/src/components/rich-text/native/test/__snapshots__/index.native.js.snap @@ -2,7 +2,7 @@ exports[` when applying the font size renders component with style and font size 1`] = ` " -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet ut nibh vitae ornare. Sed auctor nec augue at blandit.

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet ut nibh vitae ornare. Sed auctor nec augue at blandit.

" `; diff --git a/packages/block-editor/src/components/rich-text/native/test/index.native.js b/packages/block-editor/src/components/rich-text/native/test/index.native.js index 26b6d6c5358ec5..4157d320b6e2f8 100644 --- a/packages/block-editor/src/components/rich-text/native/test/index.native.js +++ b/packages/block-editor/src/components/rich-text/native/test/index.native.js @@ -310,7 +310,7 @@ describe( '', () => { it( 'renders component with style and font size', async () => { // Arrange. const initialHtml = ` -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet ut nibh vitae ornare. Sed auctor nec augue at blandit.

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet ut nibh vitae ornare. Sed auctor nec augue at blandit.

`; // Act. await initializeEditor( { initialHtml } ); diff --git a/packages/block-editor/src/hooks/test/__snapshots__/align.native.js.snap b/packages/block-editor/src/hooks/test/__snapshots__/align.native.js.snap index 045fb0e3bd944a..53a5884b2b90cb 100644 --- a/packages/block-editor/src/hooks/test/__snapshots__/align.native.js.snap +++ b/packages/block-editor/src/hooks/test/__snapshots__/align.native.js.snap @@ -56,18 +56,18 @@ exports[`Align options for media block sets Wide width option 1`] = ` exports[`Align options for text block sets Align text center option 1`] = ` " -

+

" `; exports[`Align options for text block sets Align text left option 1`] = ` " -

+

" `; exports[`Align options for text block sets Align text right option 1`] = ` " -

+

" `; diff --git a/packages/block-editor/src/hooks/test/__snapshots__/anchor.native.js.snap b/packages/block-editor/src/hooks/test/__snapshots__/anchor.native.js.snap index 03407a1fe55d85..bf95450805a45e 100644 --- a/packages/block-editor/src/hooks/test/__snapshots__/anchor.native.js.snap +++ b/packages/block-editor/src/hooks/test/__snapshots__/anchor.native.js.snap @@ -2,6 +2,6 @@ exports[`anchor should set the ID attribute on the block 1`] = ` " -

+

" `; diff --git a/packages/block-library/src/block/test/edit.native.js b/packages/block-library/src/block/test/edit.native.js index 46c6d39034f8b0..0a6c94182281a2 100644 --- a/packages/block-library/src/block/test/edit.native.js +++ b/packages/block-library/src/block/test/edit.native.js @@ -29,7 +29,7 @@ const getMockedReusableBlock = ( id ) => ( { -

Bold Italic Striked Superscript(1) Subscript(2) Link

+

Bold Italic Striked Superscript(1) Subscript(2) Link

!-- wp:heading {"level":4} --> diff --git a/packages/block-library/src/buttons/test/__snapshots__/edit.native.js.snap b/packages/block-library/src/buttons/test/__snapshots__/edit.native.js.snap index a7eebbf97144fa..61f12bfe06c1d2 100644 --- a/packages/block-library/src/buttons/test/__snapshots__/edit.native.js.snap +++ b/packages/block-library/src/buttons/test/__snapshots__/edit.native.js.snap @@ -68,7 +68,7 @@ exports[`Buttons block when a button is shown adds another button using the inli -

+

" `; @@ -94,6 +94,6 @@ exports[`Buttons block when a button is shown adjusts the border radius 1`] = ` exports[`Buttons block when a button is shown removing button along with buttons block removes the button and buttons block when deleting the block using the block delete action 1`] = ` " -

+

" `; diff --git a/packages/block-library/src/columns/test/__snapshots__/edit.native.js.snap b/packages/block-library/src/columns/test/__snapshots__/edit.native.js.snap index f7b47026a4ec46..6a7c0383fe5272 100644 --- a/packages/block-library/src/columns/test/__snapshots__/edit.native.js.snap +++ b/packages/block-library/src/columns/test/__snapshots__/edit.native.js.snap @@ -62,7 +62,7 @@ exports[`Columns block removes column with the remove button 1`] = ` exports[`Columns block removes the only one left Column with the remove button 1`] = ` " -

+

" `; @@ -88,7 +88,7 @@ exports[`Columns block transforms a nested Columns block into a Group block 1`]
-

+

diff --git a/packages/block-library/src/columns/test/__snapshots__/transforms.native.js.snap b/packages/block-library/src/columns/test/__snapshots__/transforms.native.js.snap index 939638c4c579e1..06d4612b0acaa9 100644 --- a/packages/block-library/src/columns/test/__snapshots__/transforms.native.js.snap +++ b/packages/block-library/src/columns/test/__snapshots__/transforms.native.js.snap @@ -5,29 +5,29 @@ exports[`Columns block transforms to Group block 1`] = `
-

Built with modern technology.

+

Built with modern technology.

-

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

+

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

-

Learn more

+

Learn more

-

Designed for compatibility.

+

Designed for compatibility.

-

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

+

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

-

Learn more

+

Learn more

@@ -36,26 +36,26 @@ exports[`Columns block transforms to Group block 1`] = ` exports[`Columns block transforms ungroups block 1`] = ` " -

Built with modern technology.

+

Built with modern technology.

-

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

+

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

-

Learn more

+

Learn more

-

Designed for compatibility.

+

Designed for compatibility.

-

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

+

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

-

Learn more

+

Learn more

" `; diff --git a/packages/block-library/src/columns/test/edit.native.js b/packages/block-library/src/columns/test/edit.native.js index 20430704c8e1e2..7a3c38ef39d62d 100644 --- a/packages/block-library/src/columns/test/edit.native.js +++ b/packages/block-library/src/columns/test/edit.native.js @@ -472,7 +472,7 @@ describe( 'Columns block', () => {
-

+

diff --git a/packages/block-library/src/columns/test/transforms.native.js b/packages/block-library/src/columns/test/transforms.native.js index a2103bdb86aa00..2da7c4cb16b2cb 100644 --- a/packages/block-library/src/columns/test/transforms.native.js +++ b/packages/block-library/src/columns/test/transforms.native.js @@ -17,29 +17,29 @@ const initialHtml = `
-

Built with modern technology.

+

Built with modern technology.

-

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

+

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

-

Learn more

+

Learn more

-

Designed for compatibility.

+

Designed for compatibility.

-

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

+

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

-

Learn more

+

Learn more

`; diff --git a/packages/block-library/src/cover/test/__snapshots__/edit.native.js.snap b/packages/block-library/src/cover/test/__snapshots__/edit.native.js.snap index 647e401636ce61..8dc994f3046c5a 100644 --- a/packages/block-library/src/cover/test/__snapshots__/edit.native.js.snap +++ b/packages/block-library/src/cover/test/__snapshots__/edit.native.js.snap @@ -3,7 +3,7 @@ exports[`color settings clears the selected overlay color and maintains the inner blocks 1`] = ` "
-

+

" `; @@ -11,7 +11,7 @@ exports[`color settings clears the selected overlay color and maintains the inne exports[`color settings sets a color for the overlay background when the placeholder is visible 1`] = ` "
-

+

" `; @@ -19,7 +19,7 @@ exports[`color settings sets a color for the overlay background when the placeho exports[`color settings sets a gradient overlay background when a solid background was already selected 1`] = ` "
-

+

" `; @@ -27,7 +27,7 @@ exports[`color settings sets a gradient overlay background when a solid backgrou exports[`color settings toggles between solid colors and gradients 1`] = ` "
-

+

" `; @@ -35,7 +35,7 @@ exports[`color settings toggles between solid colors and gradients 1`] = ` exports[`minimum height settings changes the height value between units 1`] = ` "
-

+

" `; @@ -43,7 +43,7 @@ exports[`minimum height settings changes the height value between units 1`] = ` exports[`minimum height settings changes the height value to 20(vw) 1`] = ` "
-

+

" `; @@ -51,7 +51,7 @@ exports[`minimum height settings changes the height value to 20(vw) 1`] = ` exports[`minimum height settings disables the decrease button when reaching the minimum value for Pixels (px) 1`] = ` "
-

+

" `; @@ -59,7 +59,7 @@ exports[`minimum height settings disables the decrease button when reaching the exports[`minimum height settings disables the decrease button when reaching the minimum value for Relative to parent font size (em) 1`] = ` "
-

+

" `; @@ -67,7 +67,7 @@ exports[`minimum height settings disables the decrease button when reaching the exports[`minimum height settings disables the decrease button when reaching the minimum value for Relative to root font size (rem) 1`] = ` "
-

+

" `; @@ -75,7 +75,7 @@ exports[`minimum height settings disables the decrease button when reaching the exports[`minimum height settings disables the decrease button when reaching the minimum value for Viewport height (vh) 1`] = ` "
-

+

" `; @@ -83,7 +83,7 @@ exports[`minimum height settings disables the decrease button when reaching the exports[`minimum height settings disables the decrease button when reaching the minimum value for Viewport width (vw) 1`] = ` "
-

+

" `; @@ -91,7 +91,7 @@ exports[`minimum height settings disables the decrease button when reaching the exports[`when an image is attached updates background opacity 1`] = ` "
-

+

" `; @@ -99,7 +99,7 @@ exports[`when an image is attached updates background opacity 1`] = ` exports[`when no media is attached and overlay color is set adds image 1`] = ` "
-

+

" `; diff --git a/packages/block-library/src/cover/test/__snapshots__/transforms.native.js.snap b/packages/block-library/src/cover/test/__snapshots__/transforms.native.js.snap index 680c863d6a52a7..90476f0d7da8c8 100644 --- a/packages/block-library/src/cover/test/__snapshots__/transforms.native.js.snap +++ b/packages/block-library/src/cover/test/__snapshots__/transforms.native.js.snap @@ -5,7 +5,7 @@ exports[`Cover block transformations with Image to Columns block 1`] = `
-

Cool cover

+

Cool cover

@@ -16,7 +16,7 @@ exports[`Cover block transformations with Image to Group block 1`] = ` "
-

Cool cover

+

Cool cover

" @@ -31,7 +31,7 @@ exports[`Cover block transformations with Image to Image block 1`] = ` exports[`Cover block transformations with Image to Media & Text block 1`] = ` "
-

Cool cover

+

Cool cover

" `; @@ -41,7 +41,7 @@ exports[`Cover block transformations with Video to Columns block 1`] = `
-

Cool cover

+

Cool cover

@@ -52,7 +52,7 @@ exports[`Cover block transformations with Video to Group block 1`] = ` "
-

Cool cover

+

Cool cover

" @@ -61,7 +61,7 @@ exports[`Cover block transformations with Video to Group block 1`] = ` exports[`Cover block transformations with Video to Media & Text block 1`] = ` "
-

Cool cover

+

Cool cover

" `; diff --git a/packages/block-library/src/cover/test/edit.native.js b/packages/block-library/src/cover/test/edit.native.js index 461a75f69e075d..4d0ddc26ebe904 100644 --- a/packages/block-library/src/cover/test/edit.native.js +++ b/packages/block-library/src/cover/test/edit.native.js @@ -50,17 +50,17 @@ const COVER_BLOCK_PLACEHOLDER_HTML = ` `; const COVER_BLOCK_SOLID_COLOR_HTML = `
-

+

`; const COVER_BLOCK_IMAGE_HTML = `
-

+

`; const COVER_BLOCK_CUSTOM_HEIGHT_HTML = `
-

+

`; diff --git a/packages/block-library/src/cover/test/transforms.native.js b/packages/block-library/src/cover/test/transforms.native.js index 5a664d51f78ba8..14e867660e4d95 100644 --- a/packages/block-library/src/cover/test/transforms.native.js +++ b/packages/block-library/src/cover/test/transforms.native.js @@ -13,13 +13,13 @@ const block = 'Cover'; const initialHtmlWithImage = `
-

Cool cover

+

Cool cover

`; const initialHtmlWithVideo = `
-

Cool cover

+

Cool cover

`; diff --git a/packages/block-library/src/embed/test/__snapshots__/index.native.js.snap b/packages/block-library/src/embed/test/__snapshots__/index.native.js.snap index 2979ef0324592f..c723722adf761f 100644 --- a/packages/block-library/src/embed/test/__snapshots__/index.native.js.snap +++ b/packages/block-library/src/embed/test/__snapshots__/index.native.js.snap @@ -58,7 +58,7 @@ https://www.youtube.com/watch?v=lXMskKTw3Bc exports[`Embed block create by pasting URL creates link when pasting URL in paragraph block 1`] = ` " -

https://www.youtube.com/watch?v=lXMskKTw3Bc

+

https://www.youtube.com/watch?v=lXMskKTw3Bc

" `; @@ -134,7 +134,7 @@ https://twitter.com/notnownikki exports[`Embed block retry converts to link if preview request failed 1`] = ` " -

https://twitter.com/notnownikki

+

https://twitter.com/notnownikki

" `; diff --git a/packages/block-library/src/embed/test/index.native.js b/packages/block-library/src/embed/test/index.native.js index 59e4cfe51fccec..07a28278d901ca 100644 --- a/packages/block-library/src/embed/test/index.native.js +++ b/packages/block-library/src/embed/test/index.native.js @@ -115,7 +115,7 @@ https://wordpress.org/news/2021/07/tatum/ `; const EMPTY_PARAGRAPH_HTML = - '

'; + '

'; const MOST_USED_PROVIDERS = embed.settings.variations.filter( ( { name } ) => [ 'youtube', 'twitter', 'wordpress', 'vimeo' ].includes( name ) diff --git a/packages/block-library/src/freeform/test/__snapshots__/index.native.js.snap b/packages/block-library/src/freeform/test/__snapshots__/index.native.js.snap index aad87487b93bec..538d36bfb897f7 100644 --- a/packages/block-library/src/freeform/test/__snapshots__/index.native.js.snap +++ b/packages/block-library/src/freeform/test/__snapshots__/index.native.js.snap @@ -2,6 +2,6 @@ exports[`Classic block converts content into blocks 1`] = ` " -

I'm classic!

+

I'm classic!

" `; diff --git a/packages/block-library/src/group/test/__snapshots__/transforms.native.js.snap b/packages/block-library/src/group/test/__snapshots__/transforms.native.js.snap index ca0bd5b36ee0c4..6f9726a97a0661 100644 --- a/packages/block-library/src/group/test/__snapshots__/transforms.native.js.snap +++ b/packages/block-library/src/group/test/__snapshots__/transforms.native.js.snap @@ -5,15 +5,15 @@ exports[`Group block transforms to Columns block 1`] = `
-

One.

+

One.

-

Two

+

Two

-

Three.

+

Three.

@@ -22,14 +22,14 @@ exports[`Group block transforms to Columns block 1`] = ` exports[`Group block transforms ungroups block 1`] = ` " -

One.

+

One.

-

Two

+

Two

-

Three.

+

Three.

" `; diff --git a/packages/block-library/src/group/test/transforms.native.js b/packages/block-library/src/group/test/transforms.native.js index 9293482f119055..abfffdcb387a51 100644 --- a/packages/block-library/src/group/test/transforms.native.js +++ b/packages/block-library/src/group/test/transforms.native.js @@ -16,15 +16,15 @@ const block = 'Group'; const initialHtml = `
-

One.

+

One.

-

Two

+

Two

-

Three.

+

Three.

`; diff --git a/packages/block-library/src/heading/test/__snapshots__/index.native.js.snap b/packages/block-library/src/heading/test/__snapshots__/index.native.js.snap index ceb77e2c8c7f06..2e278065473af6 100644 --- a/packages/block-library/src/heading/test/__snapshots__/index.native.js.snap +++ b/packages/block-library/src/heading/test/__snapshots__/index.native.js.snap @@ -38,6 +38,6 @@ exports[`Heading block should set a text color 1`] = ` exports[`Heading block should transform to a paragraph block when pressing backspace at the beginning of the first heading block 1`] = ` " -

A quick brown fox jumps over the lazy dog.

+

A quick brown fox jumps over the lazy dog.

" `; diff --git a/packages/block-library/src/heading/test/__snapshots__/transforms.native.js.snap b/packages/block-library/src/heading/test/__snapshots__/transforms.native.js.snap index c773f863077715..1b1274e9c51e19 100644 --- a/packages/block-library/src/heading/test/__snapshots__/transforms.native.js.snap +++ b/packages/block-library/src/heading/test/__snapshots__/transforms.native.js.snap @@ -28,7 +28,7 @@ exports[`Heading block transforms to List block 1`] = ` exports[`Heading block transforms to Paragraph block 1`] = ` " -

Example text

+

Example text

" `; diff --git a/packages/block-library/src/image/test/__snapshots__/transforms.native.js.snap b/packages/block-library/src/image/test/__snapshots__/transforms.native.js.snap index 338848fcae1c68..18ae54d8351ba4 100644 --- a/packages/block-library/src/image/test/__snapshots__/transforms.native.js.snap +++ b/packages/block-library/src/image/test/__snapshots__/transforms.native.js.snap @@ -13,7 +13,7 @@ exports[`Image block transformations to Columns block 1`] = ` exports[`Image block transformations to Cover block 1`] = ` "
-

Mountain

+

Mountain

" `; @@ -43,7 +43,7 @@ exports[`Image block transformations to Group block 1`] = ` exports[`Image block transformations to Media & Text block 1`] = ` "
-

+

" `; diff --git a/packages/block-library/src/list/test/__snapshots__/transforms.native.js.snap b/packages/block-library/src/list/test/__snapshots__/transforms.native.js.snap index 9e28f1c77de943..2223c6adda1746 100644 --- a/packages/block-library/src/list/test/__snapshots__/transforms.native.js.snap +++ b/packages/block-library/src/list/test/__snapshots__/transforms.native.js.snap @@ -54,15 +54,15 @@ exports[`List block transforms to Heading block 1`] = ` exports[`List block transforms to Paragraph block 1`] = ` " -

First Item

+

First Item

-

Second Item

+

Second Item

-

Third Item

+

Third Item

" `; diff --git a/packages/block-library/src/list/test/edit.native.js b/packages/block-library/src/list/test/edit.native.js index 3084b11ecbd146..30e05ea252e9dd 100644 --- a/packages/block-library/src/list/test/edit.native.js +++ b/packages/block-library/src/list/test/edit.native.js @@ -374,7 +374,7 @@ describe( 'List block', () => { -

+

@@ -393,7 +393,7 @@ describe( 'List block', () => { -

Two

+

Two

@@ -481,7 +481,7 @@ describe( 'List block', () => { it( 'unwraps first item when attempting to merge with non-list block', async () => { const initialHtml = ` -

A quick brown fox.

+

A quick brown fox.