Skip to content

Introduce a Next Page Block to allow post pagination #4930

@felixarntz

Description

@felixarntz

Issue Overview

In the classic editor, you can insert a <!--nextpage--> comment to break a post into multiple pages. This should be supported in Gutenberg as well and be possible in an intuitive way.

Expected Behavior

It should be intuitive to add pagination functionality to a post.

Current Behavior

You can currently insert the comment manually in the HTML view, and it technically works because of existing core logic. However it's not possible to create that in a user-friendly way, and is not visually reflected in the editor when the comment exists.

Possible Solution

There should be a "Next Page" block that takes over that functionality. Existing <!--nextpage--> comments could be autoconverted to that.

Related Issues and/or PRs

#983 (similar approach for the more tag)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backwards CompatibilityIssues or PRs that impact backwards compatabilityNew BlockSuggestion for a new block[Feature] BlocksOverall functionality of blocks

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions