UPDATE:
Putting Classic Blocks into columns, kadence or the standard ones seems to be problematic. Best avoided.
on the Classic Paragraph block these appear also off the top left of the block
Fixing š
Putting the classic block into a third party block such as Kadence columns triggers a broken block after going back into edit. Using regular paragraph blocks avoid this error
Thinking to change that behavior back to keeping the Classic Paragraph blocks in the source. It is nice to convert them to (standard) Classic blocks so there will be no conflicts but can perhaps add another setting for that.
you have a misspelling…
Thanks, fixing.
Have a look in the (just released) 4.8.2 š
Thanks Andrew.
That sorted all the issues in my opening post, even putting the blocks into the various column options. Great work.
I like the way you can transform from classic block to classic paragraph to paragraph and back again and combine blocks back to one classic block again.
-
This reply was modified 7 years, 4 months ago by
irishetcher.
A number of things.
I notice that when I create a new post, a classic paragraph gets added automatically. Perhaps some settings to set what happens by default, Classic Block, Classic Paragraph or user defined ( none with option to add other types of blocks). I notice if you try to remove the initial classic paragraph, a new one is added again, straight away. And the + to the left stops working after deleting/re-appearance of the classic paragraph. Switching it to a classic block, doing a add a different block type, then delete the classic block, dance is the current workaround.
Generally when you add a Classic paragraph there is no + icons underneath
to add other types of blocks.
Similarly when you add columns, a classic paragraph gets automatically added. Users might want to add a different type of block. There is a few workarounds like converting deleting but these are a bit cumbersome with the wack-a-mole nature of Gutenberg.
Not sure if the following is a feature but in the process of fiddling with blocks and what I think was a kadence block row with two columns, then viewing and going back to edit, fixing/resolving a breakage by converting to classic block, I ended up with that classic block with two paragraphs in two columns. Checking the html isee it wrapped in some classed divs
<div class=”wp-block-columns has-2-columns”>
<div class=”wp-block-column”>
<p data-tadv-p=”keep”>content</p>
</div>
<p data-tadv-p=”keep”></p>
<div class=”wp-block-column”>
<p data-tadv-p=”keep”>Content</p>
</div>
</div>
It actually looks quite nice but I cannot reproduce this? The only thing I can think of is that it’s part of the new block editors resolve mechanism.
-
This reply was modified 7 years, 4 months ago by
irishetcher.
-
This reply was modified 7 years, 4 months ago by
irishetcher.
-
This reply was modified 7 years, 4 months ago by
irishetcher.
-
This reply was modified 7 years, 4 months ago by
irishetcher.
Thanks for the review š
I notice that when I create a new post, a classic paragraph gets added automatically.
Right. This is because the classic parafraph is set as default block. It only works for the first block when starting a post, or after adding a “parent block” like columns.
Currently a plugin cannot control how that works in different contexts. I’m considering to add checkboxes for both classic and classic paragraph blocks but plugin’s settings screen will get pretty close to “wall of checkboxes”… Will probably have to think about some other way or at least some better UI for such “very very advanced” settings š
Generally when you add a Classic paragraph there is no + icons underneath to add other types of blocks.
I can see the icon. It’s higher on the left (assuming that’s because of the TinyMCE toolbars). However clicking it works only the first time (sometimes). The same happens for the classic block, but the other default blocks seem to work. Think this is a Gutenberg big.
Yeah, the workarounds are cumbersome. Will keep looking in ways to fix this (in the plugin or in Gutenberg).
I ended up with that classic block with two paragraphs in two columns. Checking the html isee it wrapped in some classed divs
This is a “feature” š When you convert from any block to the classic paragraph block, it takes the previous block’s HTML output as content. That way you can continue editing with TinyMCE. Looked at how to best handle these conversions, but that way seems the most logical/expected.
(The data-tadv-p="keep" are from the plugin. It’s a crude way to always keep the <p> tags… These will be stripped on saving the post.)
-
This reply was modified 7 years, 4 months ago by
Andrew Ozz.
Thanks for the clarifications.
Will watch out for updates and keep investigating workarounds. Agree, you can end up with too many checkboxes and settings.
Yeah… Looks like I’ll have to add at least two more. May need to “rethink” the UI, tabs?