Site logo

Archived topic

Switching To Blocks

11 replies · Started by Jeff on April 1, 2021

Viewing posts 1–12 of 12

Hi

I am in the process of updating my posts/pages from the classic editor to the block editor. This is the reason I bought Generate Press Premium. When I click "Convert to Blocks" It switches to an HTML view of the blocks.

Can you tell me is there some way that I can view just text and images as it is very confusing for doing the updates.

Kind regards

Jeff

Hi there,

if you edit your User profile do you have this checked: Disable the visual editor when writing ?
If so Uncheck that.

Hi David

I checked my User Profile: for " Disable the visual editor when writing " - I didn't have the box checked

Jeff

Ok, edit a post where you're seeing the HTML - and go to the 3 dot menu in the top toolbar, and switch to Visual Editor.

David

I have done what you said, but it hasn't sorted the problem. The post in question is at https://crazyoverdogs.com/best-gps-trackers-for-dogs/

In the editing part, the post has a mixture of blocks of text and HTML code. At the top of the post, the HTML box is highlighted in black.

At the top right corner, when I click on the 3 dots, the visual editor is ticked.

Hope you can help

Kind regards

Jeff

Hi there,

This is quite unusual.

The normal behavior in converting to blocks should've been as simple as this:
https://share.getcloudapp.com/KoudLpY2

Can you show us a recording of what's occurring on your end?

Or perhaps provide us temporary backend access so we could conduct our own inspection? Perhaps with this, we could spot any errors.

You can use the private information text field to provide the site details. Let us know.

Hi Elvin

Thank you for your valued email. I would appreciate it if you could have a look.

As requested, I have provided temporary backend access. Details are below.

Again the post I am trying to fix is at https://crazyoverdogs.com/best-gps-trackers-for-dogs/

Look forward to hearing from you

Jeff

I logged in to your site and checked out the post you listed above.
I see a mixture of Blocks and HTML Blocks.
WP cannot convert custom HTML that was in your original content so it just outputs them as a HTML block. It recognises things like <p> <ul> <img> <figure> etc but it don't like <div>

Here's an example of one of your HTML blocks:

<div>
<p style="text-align: left;">This tracker has an attractive price point and is lightweight and waterproof. It attached easily to any harness or collar.</p>
<p style="text-align: left;">Define virtual fences or safe areas and get alerts when your pet leaves these areas. The rechargeable battery has a life of 2-5 days and only requires two hours to be fully re-charged.</p>
<figure><img src="https://crazyoverdogs.com/wp-content/uploads/2018/04/pros-150x150.jpg"></figure><p style="text-align: left;"></p>
<ul style="text-align: left;">
<li><strong>Has loads of upgrades</strong></li>
<li>Ability to define safe areas</li>
<li><strong>The app is easy to use</strong></li>
<li>Looks and performs great</li>
</ul>
<figure><img src="https://crazyoverdogs.com/wp-content/uploads/2018/04/cons-150x150.jpg"></figure><p style="text-align: left;"></p>
</div>

If you were to edit that HTML block, and delete the <div> </div> elements, then in the Block toolbar 3 dot menu, select Convert to Blocks it should convert the content.

Hi David

As always, sincere thanks for your valued reply.

I went into the post and deleted the

and

elements as you told me. I have checked all the HTML blocks 3 times. However, when I go to the Block toolbar 3 dot menu, I cannot find the "Convert to Blocks" part.

Jeff

David

Thank you once again for all your kind and valued help. Very much appreciated.

Jeff

You're very welcome - glad to be of help.

This archived topic is closed to new replies.