Skip to content
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

Pagebreaks <!--nextpage-->not visible / supported in Gutenberg #4065

Closed
ghost opened this issue Dec 18, 2017 · 2 comments
Closed

Pagebreaks <!--nextpage-->not visible / supported in Gutenberg #4065

ghost opened this issue Dec 18, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2017

Have an existing page with html content similar to this, pagebreaks are shown in old visual editor as dotted line with "- - - PAGE BREAK - - -" text:

Page 1 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
<!--nextpage-->
Page 2 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
<!--nextpage-->
Page 3 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
<!--nextpage-->
Page 4 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

Open page with Gutenberg, page gets converted to a single paragraph block, pagebreaks are not shown in visual editor, but are still there and used in frontend.

<p>Page 1 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
<!--nextpage-->
Page 2 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
<!--nextpage-->
Page 3 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
<!--nextpage-->
Page 4 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>

Expected behaviour: Show pagebreaks or cut page in different blocks with types depending on content between <!--nextpage--> markers.

Possible reason: <!--nextpage--> not supported by Gutenberg (yet).

@ghost ghost changed the title Pagebreaks <!--nextpage-->not visible in Gutenberg Pagebreaks <!--nextpage-->not visible / supported in Gutenberg Dec 18, 2017
@karmatosed
Copy link
Member

Right now that's not been added but it may be: #1328. Closing this issue in light of that.

@ghost
Copy link
Author

ghost commented Dec 19, 2017

This issue breaks existing content.

@karmatosed: Your referenced issue is closed. How does closing this one as well solve the problem in any way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant