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

How to convert old posts content portions to Gutenberg blocks? #4126

Closed
afercia opened this issue Dec 21, 2017 · 4 comments
Closed

How to convert old posts content portions to Gutenberg blocks? #4126

afercia opened this issue Dec 21, 2017 · 4 comments
Labels
Needs Design Needs design efforts. [Status] Needs More Info Follow-up required in order to be actionable. [Type] Enhancement A suggestion for improvement. [Type] Question Questions about the design or development of the editor.

Comments

@afercia
Copy link
Contributor

afercia commented Dec 21, 2017

Noticed during WordCamp Rome contributor day users testing session. /cc @johnbillion

Not sure if this has been already discussed of if there's already an issue about it. Please do feel free to close if I've missed it.

When editing an old (pre-existing, created with the classic editor) post with Gutenberg, all the content is within a "Classic" Gutenberg block. This is a wise move to preserve existing content integrity: that content was created with TinyMCE and it makes perfectly sense to edit it with TinyMCE by default.

However, seems there's no easy way to convert single portions of a Classic block to other Gutenberg blocks. As far as I see, there's only one "Convert to blocks" option in the ellipsis menu:

screen shot 2017-12-21 at 15 00 43

which has two issues:

  • it's not so discoverable (we haven't found this option during the users testing session)
  • it parses and converts all the content in separate blocks: there's no way to convert single pieces of content

As a user, I might want, for example, to split a single paragraph in a paragraph block to take advantage of the new formatting features. Or split a single image in an image block to make it full width, etc.

As far as I can see, the only option now is to manually cut and paste single pieces of content in new blocks.

At the very least, I'd propose to make the "Convert to blocks" option easily discoverable. Maybe put it in the TinyMCE toolbar? (maybe as a TinyMCE custom button?)

I'd also propose to consider a way to convert sngle pieces of a Classic block in separate blocks, thus leaving to users the choice about what to convert and what not.

@mtias
Copy link
Member

mtias commented Dec 26, 2017

At the very least, I'd propose to make the "Convert to blocks" option easily discoverable. Maybe put it in the TinyMCE toolbar? (maybe as a TinyMCE custom button?)

Definitely, the main point was adding the functionality, now we need to figure out the best ways to present it. There have been discussions about showing a notice to convert an old post, doing it automatically, etc. I want to be a bit more confident in the transformation before exposing it more, but definitely something that needs to be more visible.

@jeffpaul jeffpaul added [Type] Enhancement A suggestion for improvement. [Type] Question Questions about the design or development of the editor. [Status] Needs More Info Follow-up required in order to be actionable. Needs Design Needs design efforts. labels Jan 26, 2018
@jeffpaul
Copy link
Member

This ticket was mentioned in Slack in #core-editor by jeffpaul. View the logs.

@danielbachhuber
Copy link
Member

I'd also propose to consider a way to convert sngle pieces of a Classic block in separate blocks, thus leaving to users the choice about what to convert and what not.

Does the user need this option? Given the UX and technical complexity of producing such a feature, couldn't you convert the entirety into blocks, and then change each created block individually as you see fit?

@jasmussen
Copy link
Contributor

Per Daniel's comment, I'm going to close this ticket for now. The behavior has been in master for a while, and though there are separate actionable issues for issues that have popped up (like #4926 and #4859). We can revisit if the issue reappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Needs design efforts. [Status] Needs More Info Follow-up required in order to be actionable. [Type] Enhancement A suggestion for improvement. [Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

5 participants