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

Conversion to Classic Block needed for completing the formatting workflow #12899

Closed
burnuser opened this issue Dec 15, 2018 · 4 comments
Closed
Labels
[Block] Classic Affects the Classic Editor Block [Feature] Block Transforms Block transforms from one block to another [Status] Not Implemented Issue/PR we will (likely) not implement.

Comments

@burnuser
Copy link

Classic Editor (especially with plugins like TinyMCE Advanced) has much more inline-formatting options than Gutenberg. Knowing such need in advance, I can select Classic Block to solve it. But in most cases I have 2 formatting problems:
I.) I recognise the need of extended inline-formatting after filling the block with content or even later when reworking the site content.
II.) I have a existing- pre Gutenberg - site, with a lot of inline formatting which is than converted to blocks. Thankfully the most formatting is shown also in Gutenberg blocks. But ... can not be edited any longer.

I made some - working - tests with second case:

Formatting:
*) Font Family
*) Font Size
*) Text Color
*) Background Color
*) Subscript
*) Superscript
*) Special character
*) Nonbreaking Space

All convertible Standard-Blocks:
x) Paragraph
x) List
x) Quote
x) Heading
x) Verse
x) Preformatted

Test:

  1. Used this formats in Classic block
  2. Duplicate block
  3. Converted Duplicate to blocks
  4. Converted blocks to each other (all possible conversions)
  5. Formatting works!
  6. Deinstalled TinyMCE Advanced
  7. All formats are unchanged, blocks are valid
  8. Reinstalled TinyMCE Advanced
  9. All special formats are editable (in Classic) again

The only not correct working (but with open tickets):
a) Nonbreaking space works, but is not encoded
#3549
b) Justify does not work
#8450

ToDo:
In the moment all listed blocks are convertible to Paragraph.
But an additional conversion of all blocks to Classic would resolve the above stated problems.
It would allow extended inline formatting of existing regular block content AND the editing of existing formatting in converted block content.
All fully standard compatible AND interchangeable (Classic convert to Blocks <=> Blocks convert to Classic), building a closed workflow for inline-formatting!

@swissspidy swissspidy added Needs Technical Feedback Needs testing from a developer perspective. [Block] Classic Affects the Classic Editor Block labels Dec 15, 2018
@swissspidy
Copy link
Member

I personally don't think we should encourage people to use the classic block in such a way. Add the necessary labels to get some more feedback on this.

@swissspidy swissspidy added the [Feature] Block Transforms Block transforms from one block to another label Dec 15, 2018
@azaozz
Copy link
Contributor

azaozz commented Jan 23, 2019

Thinking that is a pretty nice way to "ease in" switching from Classic to Block editor. Unfortunately the Classic Block is not suitable for such use, it is actually not a block at all, just some "loose" HTML in between other blocks.

Also thinking it is okay for such functionality to be added by plugins. The above mentioned TinyMCE Advanced does something similar with its Classic Paragraph block :)

(Was going to assign a "Close" label but it doesn't exist?? Should probably be added, it is pretty useful/works well on core trac.)

@bozzmedia
Copy link

I have run into a similar workflow issue where once you go forward using paragraph blocks on a lot of content, it becomes cumbersome to edit and may be best suited for the classic editor block. Is there any way to convert para blocks to classic editor?

I think this is worth persuing long term because this encourages folks to use Gutenberg without worrying about making a decision to use blocks on a particular page if they can always revert the page back to classic editor. As it is, having built a few sites now using Gutenberg, I am finding myself now moving back to using classic editor as a default for pages with a lot of text content and regretting using gutenberg on some pages. If I could switch between classic editor and blocks as part of my content workflow I would be more inclined to continue to experiment with Gutenberg for these pages. My 2 cents.

@swissspidy swissspidy added the [Status] Not Implemented Issue/PR we will (likely) not implement. label Feb 13, 2019
@gziolo gziolo removed the Needs Technical Feedback Needs testing from a developer perspective. label May 24, 2019
@gziolo
Copy link
Member

gziolo commented May 24, 2019

I have run into a similar workflow issue where once you go forward using paragraph blocks on a lot of content, it becomes cumbersome to edit and may be best suited for the classic editor block. Is there any way to convert para blocks to classic editor?

This should be part of the Classic Editor plugin if ever implemented.

I'm closing this issue based on feedback from @swissspidy and @azaozz.

(Was going to assign a "Close" label but it doesn't exist?? Should probably be added, it is pretty useful/works well on core trac.)

There is Won't FIx label as well.

@gziolo gziolo closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Classic Affects the Classic Editor Block [Feature] Block Transforms Block transforms from one block to another [Status] Not Implemented Issue/PR we will (likely) not implement.
Projects
None yet
Development

No branches or pull requests

5 participants