Site logo

Archived topic

Changing Classic to Block Editor - Post paragraphs changed to html in edit mode

9 replies · Started by Carl on May 25, 2022

Viewing posts 1–10 of 10

I have converted an older post from classic editor to blocks and have paragraphs showing as html in the edit mode. I can't seem to figure out how to get them to display as paragraphs in the edit mode. I did get some changed by brute force of (preview > copy >Paste into new paragraph) but some are just disappearing when I try to preview them. Can you help me?

Thank you,
Carl

Hi there,

can you provide a login so we can see the editor ?

Here is the login.

Hello?
Did you get my login data?

What's the username and password for WP admin login?

I did send it earlier, I pasted it again below.

Hi Carl,

Some Block’s structure which are the custom HTML Blocks were converted differently. You may view this through the Code Editor: https://share.getcloudapp.com/9ZuoGnm1

See: https://share.getcloudapp.com/v1uO68gB

This sample is a WP Heading Block. As shown, there are inconsistencies with regards to the tags - <!—wp:heading —> turned to <!— wp:html —> and <h2> turned to <div>. Mainly the tags, <div> are the one preventing this to happen.

You may manually correct this by fixing the tags. Example: https://share.getcloudapp.com/Jruol9oX

Result on my test website: https://share.getcloudapp.com/Wnu71P7q

The same goes for Paragraph Blocks.

My suggestion is if you want to go this route, you can just manually convert the necessary Blocks, and then recreate the ones with no style included.

Or, you can also try recreating them through GenerateBlocks Headline Blocks.

Hope this clarifies. :)

Hi Fernando,
Well, first off, I am not a coder. I have had some compsi 101 computer courses about 30 years ago, so I can tell you, things are totally different now.

I tried to duplicate your "changing the tags" but it did not work out well. I lost everything below the last heading, it's gone.

I could have accomplished that by just deleting the html code.

Another issue with that particular post, is that my browser keeps freezing every few seconds, making edits extremely frustrating!
Anyway, I am not sure what else I can do except rewrite a new ending for that post.

Something in there, is causing a conflict and it is extremely difficult to edit!

Thanks for trying, I did learn and have some success with heading, and paragraph tags, but trying to remove and change the

tags messed things up and broke the article code.
Carl

Yes, switching from the Classic to the Block editor does cause a couple of headaches based from my experience as well.

Recreating the broken Blocks from scratch, though tedious, may be the better course of action to avoid any complications.

In any case, if you’ll need assistance with anything else, let us know, and we’ll try our best to assist you. You’re welcome, and hope you have a nice day!

This archived topic is closed to new replies.