Open gscr opened 5 years ago
@MWDelaney could you create a new package release for include those changes? Thank you!
@bebjakub This is already added to the core files with this PR: https://github.com/MWDelaney/sage-acf-wp-blocks/pull/26.
This issue can be closed.
@luukskeur thanks. I see now. I'll require dev-master
FYI SupportsAlign: false
isn’t having any effect for me in WP v5.4.1
{{--
Title: Example block
Category: mycategory
Icon: align-right
Keywords: example
Mode: auto
PostTypes: page post custom-post-type
SupportsAlign: false
SupportsMultiple: true
--}}
I’ve enabled “wide” and “full” alignments using add_theme_support('align-wide');
but removing that doesn’t seem to make a difference.
This isn’t a major issue for me, just wanted to mention it in case it’s an easy fix. Thanks so much for your work on this plugin, it’s great!
Hi, SupportsAlign: false
should just hide align options in the block... for more info refer to acf_register_block_type
Noticed that if I set:
Align: full
SupportsAlign: false
It won't show the block as full width
But if I set:
Align: full
SupportsAlign: full
It shows the block full width (and the align toggle is shown, with full as the only option)
My custom blocks load and save but it seems like the Align and SupportsAlign options have no effect. I am new to gutenberg but am I right in saying SupportsAlign: false should disable the alignment options in the block editor?