Editor Block Outline

描述

This a Gutenberg plugin that adds an outline around each block. Outline settings are based on user meta. Each user can
change the settings according to their needs and it will applied only to their account.

Users can change:

  • When to show outline. On hover or always displayed.
  • Lock outline for a single block.
  • Disable outline completely.
  • Show data (name and class) outside block, inside or floating when hovering over block
  • Change outline color.
  • Change outline style to solid, dashed or dotted line
  • Change padding size
  • Show/hide block name

Filters

  • editor_outline_default_user_meta
    You can override the default user meta by using this filter. The filter will receive the default user meta as an array and
    you can return a modified array.
    Check github repo for more information. https://github.com/kalimahapps/Editor-Block-Outline#filters

屏幕截图

  • Outline around each block when set to always visible
  • Editor outline settings

评价

2023年3月17日
While testing the Editor Block Outline plugin, I came up with a feature I thought would be helpful to most anyone and likely not too difficult for the developer to add. I suggested the feature to the developer, and within a few days, it was added. Amazing!
2022年12月15日
This little gem of a plugin is really helpful, especially when working with layouts in the block editor. Installed it, found the settings in the block editor (top right) and fell in love. This will be installed on all my WP sites.
2021年11月5日
Absolutely excellent. Very easy to use. Can't believe how little it is used. Ross
2021年7月16日
Great work. I've been considering making a similar plugin myself, so I'm glad I found this one before I did. It works well and makes it considerably easier to see where each block is. Especially useful when you have blocks within blocks. i.e. Group -> Columns -> Column -> Paragraph
阅读所有16条评价

贡献者及开发者

“Editor Block Outline” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Editor Block Outline”插件已被翻译至8种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Editor Block Outline”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3.0

  • Add default meta filter

1.2.1

  • Fixed colorpalette issue with WordPress 6.0+

1.2

  • Added toggle for enabling/disabling outline padding
    Please note that this is a breaking behavioral change. Users who set
    padding previously will need to enable this option for padding to take
    effect.

1.1.2

  • Fixed block title for cover block

1.1.1

  • Fixed floating box bug
  • Set initial show class name to false

1.1

  • Added data position setting (outside, inside or floating)
  • Added show class name option
  • Fixed hover setting for nested blocks
  • Removed twitter admin notice
  • Code formatting and optimization

1.0.4

  • Fixed bugs

1.0.3

  • Added lock outline per single block
  • Added outline padding
  • Fixed drag and drop issue with WP 5.7 where dragging line is not showing
  • Removed outline for add block box
  • New icon and banner design
  • Fixed block name for spacer block

1.0.2

  • Code formatting and optimization

1.0.1

  • Added opacity option

1.0

  • First version