Block Editor Bootstrap Blocks

外掛說明

Fully responsive Bootstrap 5 blocks, components and extends for Gutenberg

Now you can use Gutenberg editor as full-featured website builder.

Thanks to Bootstrap 5 – the world’s most popular front-end open source toolkit – you can build your layouts in 6 different breakpoints, so they will work perfectly on each device, no matter if your website visitor is on the phone, tablet, laptop or desktop.

You can use Bootstrap row and columns blocks with detailed settings for each breakpoint and autocomplete extension for bootstrap classes

  • Option to load Bootstrap 5 css to editor from plugin if your theme doesn’t contain it
  • Option to load Bootstrap 5 css to frontent from plugin if your theme doesn’t contain it
  • Option to load Bootstrap 5 js to frontent from plugin if your theme doesn’t contain it
  • Option to automatically add .container class to inner container of fullwidth group or cover block
  • Option to remove .is-layout-constrained class from fullwidth group block
  • Custom breakpoints control – add, remove or change any breakpoint
  • Optimize Bootstrap CSS file by disabling not needed options and parts of Bootstrap
  • Bootstrap container block
  • Bootstrap row block

    • Use quick selector to instantly select row while editing
    • Use predefined layouts
    • Generate custom layout instantly just by adding columns counts, eg. 2+8+2
    • Use any amount of columns
    • Use 6 different breakpoints to setup:

      • Vertical alignment (align-items-*)
      • Horizontal alignment (justify-content-*)
      • Gutter (g-*)
      • Row columns (row-columns-*)
  • Bootstrap column block

    • Use quick selector to instantly select column while editing
    • Use 6 different breakpoints to setup:

      • Size (col-*)
      • Offset (offset-*)
      • Order (order-*)
      • Vertical alignment (align-self-*)
  • Bootstrap accordion block

    • Two styles – default and flush
    • Always open option
    • First open on load option
    • Unlimited amount of accordion items
    • Unlimited accordion item inner blocks content
  • Bootstrap tabs block

    • Three styles – tabs, pills and text
    • Possibility to reorder tabs
    • Possibility to add and remove tabs
    • Unlimited amount of tabs items
    • Unlimited tab item inner blocks content
  • Component for margin and padding Spacing for any block for 6 different breakpoints
  • Component for Display visibility – display per breakpoints, print display, logged in/out display
  • Component for Snapping for group block, so you can push some content out of container (or just background)
  • Component for Alignment, so you can align your text to the left for PC but to the center for mobile
  • Component for autocomplete Bootstrap classes
  • Extended formats – uppercase, capitalize, lowercase, stretched-link, mark, non-breaking space (nbsp) and soft-hypen (shy) inserter
  • Extended shortcuts – shift+alt+[1..7] to switch between paragraph and headings levels – same as in classic editor (tinymce wysiwyg)

螢幕擷圖

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

使用者評論

2022 年 12 月 21 日
Simple and clear options. Love it.
2022 年 11 月 24 日
The best plugin to implement bootstrap with gutenberg. Many many thanks
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Block Editor Bootstrap Blocks〉的開發相關工作。

參與者

將〈Block Editor Bootstrap Blocks〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

3.0

  • Bootstrap 5.2.3
  • new custom breakpoints control
  • new admin to configure Bootstrap and recompile SCSS
  • new container block
  • new option to disable .is-layout-constrained class for fullwidth group block
  • new option to disable .container class for fullwidth group block and cover block

2.5

  • Bootstrap 5.2.2
  • render spacing CSS in head instead of body
  • enable custom classes for all blocks

2.4

  • autofocus input when row block added
  • fix custom attributes for ServerSideRender

2.3

  • fix group inner container inside nested groups for WP 6.0

2.2

  • tested on WP 6.0
  • fix missing accordion item ID for first save
  • added option to set accordion item collapse button wrapper tag for SEO reasons
  • added indicator for elements with custom margin or/and padding in editor

2.1

  • change accordion item ID logic to prevent duplicate IDs – you may need to click on Attempt Recovery

2.0

  • fix group inner container inside nested groups for Gutenberg 12.9

1.9

  • fix group inner container for Gutenberg 12.9

1.8

  • fix for widgets scrren

1.7

  • tested on WP 5.9
  • fix blocks metadata to make it works with block managers

1.6

  • instant breakpoint tab switch on all open and closed instances
  • fix col- class to col for xs auto grow

1.5

  • remember selected breakpoint tab
  • fix __experimentalUseInnerBlocksProps for Gutenberg 11.9+

1.4

  • Bootstrap 5.1.3
  • fix stretched-link className check

1.3

  • always load bootstrap-blocks css
  • new Layout control for Tabs (vertical/horizontal)
  • fix tabs text style appearance for older browsers
  • fix type check for bsSpacing, bsAlignment, bsSnapping, bsDisplay – issue with widgets
  • optimized for FSE – snapping – getBoundingClientRect error
  • optimized for FSE – spacing – universal CSS selector
  • optimized for FSE – tabs – remove href=”#” on links in editor

1.2

  • new display property extension – display per breakpoints, print display, logged in/out display
  • new text format uppercase
  • new text format lowercase
  • new text format capitalize
  • new text format stretched link
  • new toolbar button for Nonbreaking space
  • new toolbar button for Soft hyphen
  • move left/right controls for tabs
  • global shortcuts shift+alt+[1..7] to switch between paragraph and headings levels – same as in classic editor (tinymce wysiwyg)

1.1

  • new Alignment controls
  • new Accordion block
  • new Tabs block
  • fix snapping in editor
  • load bootstrap css earlier in the editor, so it will not override user editor styles
  • fix media queries order for Spacing in editor
  • replace cover block and group block inner container with bootstrap container
  • optimize JS code
  • tested on WP 5.8

1.0

  • Release