外掛說明
WordPress plugin Editor Bridge expand the Block Editor (Gutenberg).
This WordPress plugin expands the functionality of blocks and adds styles and formats.
Compatibility
- WordPress version 5.5 or later
- Gutenberg version 8.5 or later
Expansion
There are three expansion points.
Expanded block
- Background image settings
- core/heading
- core/paragraph
- core/column
- core/columns
- core/group
- Border settings
- core/heading
- core/paragraph
- core/group
- core/columns
- core/column
- Button size and width settings
- core/button
- Container settings
- core/group
- core/cover
- Space settings, Margin (upper margin as default) and Padding
- core/heading
- core/paragraph
- core/image
- core/button (only Margin)
- core/buttons
- core/media-text (only Margin)
- core/gallery (only Margin)
- core/list (only Margin)
- core/table (only Margin)
- core/columns
- core/column (only Padding)
- core/group
- core/cover
- Width settings
- core/table
- core/columns
- core/group
Format
- Badge
- Font size
- Font weight
- Highlight
Style
- Button
- Heading
- Image
- List
- Separator
- Table
Test Matrix
For operation compatibility between PHP version and WordPress version, see below GitHub Actions.
Contribution
Small patches and bug reports can be submitted a issue tracker in GitHub. Forking on GitHub is another good way. You can send a pull request.
If you would like to contribute, here are some notes and guidlines.
- All development happens on the develop branch, so it is always the most up-to-date
- The master branch only contains tagged releases
- If you are going to be submitting a pull request, please submit your pull request to the develop branch
- See about forking and pull requests
安裝方式
- Download and unzip files. Or install Editor Bridge plugin using the WordPress plugin installer. In that case, skip 2.
- Upload “editor-bridge” to the “/wp-content/plugins/” directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Have fun!
使用者評論
2021 年 9 月 22 日
This could have been a 5 star plugin - easily !
Having preset values for paddings/margins is almost a deal breaker for me here. The author of the post/page should be the only one in authority to decide exactly how much spacing is needed for the blocks, as different sites/themes have different requirements.
This plugin adds most of the necessary things to make Gutenberg a viable page builder, and (this plugin) comes very close in filling the missing items, but really, the site admin needs to make ALL the decisions for their own site.
I would very gladly revise my rating to 5 stars, once I we get more options and freedoms with the block spacings.
UPDATE: Sept 22, 2021: The new update fixes many things, and even though I wanted to be able to have custom padding/margin values, I think it's only fair to change my rating from 4 stars to 5. I just wish more people would appreciate this plugin, so it would further be developed. Good job, and thanks again!
參與者及開發者
變更記錄
1.6.0 – 2022.05.03
- change mysql from version 8.0 to version 5.7 using docker image
- fix test case
- update japanese translation
- update pot
- update package.json
- cleanup code
- add text color to badge format
- change icon with badge format
- rename from styleSlug to classNameSlug
- remove withSpokenMessages
- change assert from assertEquals to assertSame
1.5.1 – 2022.02.09
- fix scss
- update japanese translation
- update pot
1.5.0 – 2022.02.01
- tested up to 5.9.0
- update japanese translation
- update pot
- remove unused functions
- fix scss for popover
- fix wp-block-separator style for dotted
- change popover to TabPanel
- update npm dependencies
- improve getActive** functions, change from replace() to match()
- change svg icon for RichTextToolbarButton
- support font units for FontSizePicker
- fix RichTextToolbarButton behavior when active for WordPress 5.9
- change scss library from LibSass to dart sass
1.4.0 – 2022.01.07
- add jest unit test only php 7.4
- fix composer install via composer.json
- bump up yoast/phpunit-polyfills version
- change os to ubuntu-20.04
- update japanese translation
- update pot
- add test case for jest
- fix npm scripts
- update npm dependencies for jest
- fix plugin_data and asset_file
- improve popover
- fix test case
- move jest.config.js to root path
- add Dot style to highlight
- improve list block scss
- set initial color
- add Frame style to table block
- change font size and improve stack and line-height
- add timeout-minutes to workflows
1.3.0 – 2021.09.17
- update japanese translation
- update pot
- fix panel display order
- add border expansion with core/column
- add list style
- fix wp-block-table css
- add Asterisk style with with core/separator
- remove Shadow and Circle Mark style with with core/separator
- add width settings expansion
- fix disable-padding-horizontal
- add edit-widgets-block-editor selector for block widgets area
- remove unit with font size
1.2.1 – 2021.06.28
- fix space
- change disable inner container width to fix layout width
1.2.0 – 2021.06.21
- exclude README.md with archive:package npm script
- update japanese translation
- update pot
- add container expansion
- remove duplicate settings
- add disable the horizontal setting with padding
- improve border expansion, change default attributes
- add Three Quarters size button
- merge style settings with existing ones
- fix popover width
- fix return color value
1.1.2 – 2021.06.09
- fix image block styles
- add asset-release workflow
1.1.1 – 2021.03.23
- remove EDITOR_BRIDGE_PATH constant
- update japanese translation
- update pot
- update package.json
- fix width with components popover of font size format
- fix margin with backgound image icon on the toolbar
- fix button block for wordpress 5.7
- change integer value
- fix .editorconfig
- fix font size
- add test case
- add sponsor link
- update wordpress-test-matrix
- add FUNDING.yml
- add donate link
1.1.0 – 2020.11.24
- update japanese translation
- update pot
- improve border expansion
- add Thin Underline style to core/heading block
- add One Third button size
- fix uninstall-wp-tests.sh
- fix npm scripts
- fix test case
- move hooks
- add load_asset_file method
- add load_plugin_data method, change version number with wp_enqueue_*
- remove .travis.yml, change CI/CD to GitHub Actions
- add workflow for unit test
1.0.2 – 2020.11.02
- add background color to image table block style ‘Frame’
- remove table block style ‘Underline Emphasis’
- fix separator block style ‘Circle Mark’
- redesign heading block style ‘Stripe Line’
- rename heading block style name
1.0.1 – 2020.10.23
- change the plugin name and slug to Editor Bridge
1.0.0 – 2020.10.21
- Initial release