• Resolved Wolf

    (@siteussia)


    Hi. Is it possible to remove classes like “wp-block-advanced-bootstrap-blocks-column” and row.
    I want to make the code as clean as possible .. that would be nothing more.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author helpful

    (@helpfuldev)

    @siteussia, thank you for your feedback. I am working on a solution (which doesn’t break existing page-layouts) and will update this ticket when a new version of the plugin is ready for review.

    Joe

    Thread Starter Wolf

    (@siteussia)

    Thank you so much! 🙂

    Plugin Author helpful

    (@helpfuldev)

    @siteussia, thank you for your patience here.

    A new (beta) version of Advanced Bootstrap Blocks is available for review. You can download a copy of this plugin from the “Advanced” tab of the plugin homepage, or click this link directly:
    https://downloads.wordpress.org/plugin/advanced-bootstrap-blocks.1.3-beta.zip

    v1.3-beta removed the default classNames from all _new_ blocks, and exposes the original classname for any existing blocks. This release also “fixes” the order of classnames to now render as class="container bg-dark text-white" instead of class="bg-dark text-white container".

    Unfortunately, I haven’t found a graceful way to remove the default classnames from existing blocks without causing these blocks to initially break in the editor. This would then require content-creators to “Attempt Block Resolution” (or save the page and hope for the best.) My tests with this approach were wholly successful, but I don’t want to give the few people who may rely on this plugin a heart-attack/headache.

    I’ve also gone back to WordPress 5.0, 5.1, 5.2 and tested the plugin. A breaking change was introduced between 5.2 and 5.3 has been resolved, and the plugin now appears compatible back to WordPress 5.1.

    Please backup your website before testing. Otherwise, thank you for your feedback and please let me know if you see any major issues here or if there’s anything more I can do to make working with Bootstrap/Wordpress easier.

    Joe

    • This reply was modified 4 years ago by helpful. Reason: Clarify breaking change was indeed corrected
    • This reply was modified 4 years ago by helpful. Reason: Fix words omitted during last edit
    Plugin Author helpful

    (@helpfuldev)

    Hi @siteussia, v1.3 is now the latest and no longer includes extraneous (wordpress-generated) classnames on _new_ advanced-bootstrap-blocks. For existing blocks, the wp-block-advanced-bootstrap-blocks-* classes will persist, but are now exposed through the editor interface and can be removed without issue. Please let me know if you run into any issues here.

    Joe

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I remove “wp-block-advanced-bootstrap-blocks-column”’ is closed to new replies.