Support

Account

Home Forums Bug Reports Setting default alignment and disabling the toolbar does not work

Helping

Setting default alignment and disabling the toolbar does not work

    • Sjardo

    • June 5, 2019 at 7:52 pm

    When setting the default alignment to “wide” and disabling the toolbar, does not reflect the “wide” condition in the editor. It will return to the default.

    on the front-end, everything works fine.

    Code for setting the alignment and disabling the toolbar for alignment:

    'align' => 'full',
    'supports'        => [
       'align' => false,
    ],

    This does not place data-align="full" on a block, but removes the attribute in total.

    Also,

    When setting support align to “true” you can toggle between default and full, something that should not be happening if the default is “full” and the only support is “full”

    • apmeyer

    • September 10, 2019 at 8:41 am

    Also noticing this behavior. Seems counter to what it should do (or at least two what I’d expect it to do), which is for the default alignment to honor the value of the specified align property.

    When set to full, blocks seem to not be displaying as full. I still have to click the full icon – which means I also have to leave that icon visible.

    Ideally I’d be able to set the default alignment to full and also disable the icon bar.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.